Ehsan Akhgari
891ead97b0
Backed out changeset 57624f26be8f (bug 702080) on the suspicion of causing a b2g mochitest-3 failure, since it touches code near remote browser stuff
...
Landed on a CLOSED TREE
2013-06-18 23:52:07 -04:00
Ryan VanderMeulen
558b14210d
Merge cypress and inbound.
2013-06-18 18:15:53 -04:00
Benjamin Smedberg
7a3a6c1a37
Back out revision d3da96f774b3 on a CLOSED TREE - Bug 882339 because of mochitest-browser failures in browser_CTP_drag_drop.js and browser-pluginnotification.js
2013-06-18 16:44:07 -04:00
Kyle Huey
c094a9abfa
Bug 877584: Route JS holding through the cycle collection runtime so it can do different things on different threads. r=mccr8
2013-06-18 12:01:26 -07:00
Benjamin Smedberg
a75ca744ee
Bug 882339 - Cache the blocklist state on plugin tags to avoid querying the blocklist service constantly, r=johns
2013-06-18 13:16:40 -04:00
Arnaud Sourioux
84af79928e
Bug 702080 - Replace GetDisplayDocument with IsResourceDoc when needed. r=bz
2013-06-18 17:25:50 -04:00
Andrea Marchesini
74b148c97f
Bug 870787 - Improve named getter for form, r=bz
2013-06-18 08:53:23 -04:00
Jon Coppeard
586c7b4514
Bug 877762 - GC: Post-barrier cycle collector participants - 7 Convert most JSObect to use Heap<T> (ex. XBL) r=bz
2013-06-18 11:00:38 +01:00
Jon Coppeard
59d5490ab4
Bug 877762 - GC: Post-barrier cycle collector participants - 5 Convert JS::Value to use Heap<T> r=smaug
2013-06-18 11:00:37 +01:00
Julien Wajsberg
2ac970e539
Bug 814090 - [classList] Implement the second force argument for toggle. r=bz
2013-06-14 23:22:17 +02:00
Boris Zbarsky
350d302157
Back out revision 43927377e41c (bug 870787) and revision 25126626dd43 (bug 879319) for failing tests and contributing to a CLOSED TREE.
2013-06-17 14:54:24 -04:00
Andrea Marchesini
05e883faf9
Bug 870787 - Improve named getter for form, r=bz
2013-06-17 13:07:04 -04:00
Boris Zbarsky
4a83c172fc
Bug 882547. Treat undefined values in WebIDL dictionaries as missing. r=smaug
2013-06-17 13:07:03 -04:00
Phil Ringnalda
b10574fc0f
Bug 862199 - double the timeout for test_bug416317-2.html so it doesn't time out on b2g all the time
...
--HG--
extra : rebase_source : a9949516a2abb87b725fc9ac1f56020bf4c213e6
2013-06-14 22:37:59 -07:00
David Zbarsky
bad7d32b05
Bug 845668 Part 1: Remove nsFrameMessageManager::IsChromeProcess r=smaug
2013-06-14 23:40:22 -07:00
Martijn Wargers
6a0cb9a8a4
Bug 883094 - Fix some test files that don't unset their prefs correctly. r=jgriffin
2013-06-15 00:33:47 +02:00
David Zbarsky
5c9468c760
[Bug 882536] Remove nsIDOMSVGDocument r=Ms2ger
2013-06-14 15:37:27 -07:00
Joey Armstrong
ad3592a2c7
bug 880246: move EXTRA_PP_COMPONENTS to mozbuild (file batch #1 ) r=mshal
2013-06-14 14:07:19 -04:00
Peter Van der Beken
76ae99ee96
Bug 851465 - Remove slim wrappers - stop morphing slim wrappers. r=bholley.
2013-04-19 21:57:15 +02:00
Peter Van der Beken
2930bc79fe
Bug 882193 - Remove nsIDocumentRegister. r=mrbkap.
2013-06-05 22:19:22 +02:00
Frederik Braun
0988572917
Bug 879316 - Clean up CSP logging code. r=imelven
2013-05-15 11:30:43 +02:00
L. David Baron
533609848e
Bug 882573 patch 4: Make nsHTMLStyleSheet and nsHTMLCSSStyleSheet stop implementing nsIStyleSheet. r=heycam
...
Note that this removes the Reset method and the mURL and mDocument
members (and arguments to set them) from nsHTMLCSSStyleSheet.
On the other hand, from nsHTMLStyleSheet it only removes mURL (and
equivalent arguments), and nsHTMLStyleSheet keeps the SetOwningDocument
method that was previously part of nsIStyleSheet (but no longer virtual).
2013-06-13 22:34:37 -07:00
L. David Baron
eb4df95760
Bug 882573 patch 3: Stop putting the presentational hint and style attribute style sheets in the style set's list of style sheets; put them only in the list of rule processors. r=heycam
2013-06-13 22:34:37 -07:00
L. David Baron
fd81904e29
Bug 882573 patch 1: Move the style attribute style sheet from nsDocument to nsIDocument, and devirtualize its getter. r=bzbarsky
2013-06-13 22:34:37 -07:00
Ehsan Akhgari
06d527d3fe
Bug 882948 follow-up - Fix a typo (sorry!)
2013-06-13 21:38:22 -04:00
Ehsan Akhgari
8ee5a78089
Bug 882948 - Add widget level support for AeroLite for Winodws Server 2012/2013; r=roc
2013-06-13 18:41:26 -04:00
Ryan VanderMeulen
44a3f39ea8
Backed out changeset c1c441c9edce (bug 845668) for frequent Windows mochitest-2 crashes.
...
CLOSED TREE
2013-06-13 18:31:27 -04:00
Ryan VanderMeulen
3446362831
Backed out 13 changesets (bug 880917) for Android and B2G test bustage on a CLOSED TREE.
...
Backed out changeset 71c1ce2cb0a4 (bug 880917)
Backed out changeset cd240e19560f (bug 880917)
Backed out changeset 93509a0001b5 (bug 880917)
Backed out changeset fdbba20e4647 (bug 880917)
Backed out changeset d82060172367 (bug 880917)
Backed out changeset 709f0b699489 (bug 880917)
Backed out changeset 421bdbccfa7c (bug 880917)
Backed out changeset 962c656c7452 (bug 880917)
Backed out changeset 888a5690ccdf (bug 880917)
Backed out changeset 57228f5fcd87 (bug 880917)
Backed out changeset ce8c3e14c234 (bug 880917)
Backed out changeset 08fe7b777450 (bug 880917)
Backed out changeset 5192a9233d83 (bug 880917)
2013-06-13 15:19:50 -04:00
David Zbarsky
f5e7f70073
Bug 845668 Part 0: Remove nsFrameLoader::mChildHost r=jdm
2013-06-13 11:53:13 -07:00
Bobby Holley
038cdefdeb
Bug 880917 - Convert JS_SetVersion API consumers to per-compartment versions. r=luke
2013-06-13 10:09:26 -07:00
Bobby Holley
3b2745a4be
Bug 880917 - Generalize JS_NewGlobalObject API to take CompartmentOptions. r=luke
...
This will be useful for versioning, as well as JIT options and all the other
stuff that eventually needs to move out of the JSContext.
2013-06-13 10:09:25 -07:00
James Kitchener
41dd9cfa20
Bug 796850 - Change XMLHttpRequest interface to support ByteString r=bz
2013-06-13 01:20:10 -04:00
Ehsan Akhgari
0cae3ba5bd
Bug 579517 follow-up: Remove NSPR types that crept in
2013-06-12 21:26:59 -04:00
Trevor Saunders
a2966f198d
bug 882079 - merge nsIDocShellHistory into nsIDocShell r=smaug
2013-02-15 11:07:29 -05:00
Martin Stransky
f672df1462
Bug 877626 - Port GTK2 to GTK3 - build config, rest of the tree. r=karlt
2013-06-12 08:04:28 -04:00
Ed Morley
5b8c1b2eec
Merge mozilla-central and inbound
2013-06-12 08:41:06 +01:00
Ms2ger
5c6989f531
Bug 880340 - Remove the security checks on nsImageLoadingContent methods; r=bz
2013-06-12 09:00:09 +02:00
Ms2ger
6d05931999
Bug 854231 - Remove Element::GetOffsetRect; r=jst
2013-06-12 09:00:08 +02:00
Ehsan Akhgari
4a563226cb
Backed out changeset 149475141471 (bug 877626) for apparently breaking mochitest-4 on Linux
...
Landed on a CLOSED TREE
2013-06-11 19:23:37 -04:00
Martin Stransky
b9da383027
Bug 877626 - Port GTK2 to GTK3 - build config, rest of the tree. r=karlt
2013-06-11 15:09:29 -04:00
Cameron McCormack
9da62b7959
Bug 880925 - Flush layout when caretPositionFromPoint is called. r=bz
2013-06-12 13:20:19 +10:00
Ed Morley
747fbe02ba
Merge mozilla-central and inbound
2013-06-11 16:24:51 +01:00
Ed Morley
dbe9ed7b72
Backed out changeset 2864e2610800 (bug 877584) for causing bug 881266
2013-06-11 16:11:14 +01:00
Masatoshi Kimura
043ca816ee
Bug 881252 - Warn use of getUserData() or setUserData(). r=bz
2013-06-11 07:41:42 +09:00
Kyle Huey
fa511cb934
Bug 877584: Route JS holding through the cycle collection runtime so it can do different things on different threads. r=mccr8
2013-06-09 16:02:02 -07:00
Jon Coppeard
d99e2a4f5c
Bug 860573 - Part 2 - Use spare bits of wrapper cache flags for nsINode r=smaug
2013-06-08 09:54:59 +01:00
Boris Zbarsky
6a7b47964f
Bug 877281 part 6. Replace ${jsvalPtr} with a MutableHandle ${jsvalHandle}. r=peterv
...
It's a little unfortunate that we need both ${jsvalHandle} and
${jsvalRef}, but the only other option is to consistently have a
MutableHandle in this code. If the thing we have to work with is a
Rooted, that means doing JS::MutableHandle<JS::Value>(&myRooted) as
the thing to substitute for ${jsvalHandle}. Just using "&myRooted"
doesn't work, because things like "&myRooted.set()" or
"&myRooted.address()" fail, even if parenthesized as
"(&myRooted).set()", because &myRooted is actually a Rooted*, not a
MutableHandle.
We could go the JS::MutableHandle<JS::Value>(&myRooted) route if
desired; it would primarily uglify dictionary and sequence to-js
conversions. With the setup in this patch, ideally it looks pretty
idiomatic except for the use of .set() instead of operator= on Rooted.
2013-06-07 22:45:46 -04:00
Benjamin Smedberg
167df5915e
Bug 875454 - Rework handling of per-site plugin permissions in objectloadingcontent such that users can disable or enable plugins per-site no matter what their "global" permission is (currently only plugins marked click-to-activate globally honor per-site overrides). Also change the pageInfo UI such that "use default" is separate from the explicit click-to-play setting. r=jschoenick/jaws
...
--HG--
extra : rebase_source : e5bfba45eaa5619d695c484573b90303cc113181
2013-06-11 10:58:43 -04:00
Benjamin Smedberg
21b1ee6a24
Bug 880675 - Remove the writable nsIPluginTag.blocklisted property, which is a poorly-constructed cache of the blocklist data, r=jschoenick r=unfocused
...
--HG--
extra : rebase_source : 04fd347af86d9bb47493ca37455008dedcc570f4
2013-06-11 10:58:42 -04:00
Benjamin Smedberg
61a933f3ec
Bug 881270 - Remove the MIME type fallback tests in test_bug391728 because they are testing the incorrect behavior and only happen to work because the test plugin remained blocklisted from a prior test. r=johns
...
--HG--
extra : rebase_source : c7b1d6e6f50f35598d8ca98c1527673542c6798d
2013-06-11 10:58:42 -04:00
David Zbarsky
bdf2a2f2ed
[Bug 879998] Remove some dead code in content/ r=Ms2ger, emk
2013-06-07 14:05:57 -07:00
David Zbarsky
ca3ddd10cc
Bug 880037: Don't try to mark message managers when we're not in the root process r=jlebar
2013-06-07 14:05:36 -07:00
Ryan VanderMeulen
f5c3e7c7b7
Merge inbound to m-c.
2013-06-07 11:10:54 -04:00
Ryan VanderMeulen
24f3657c0a
Merge m-c to fx-team.
2013-06-06 15:21:01 -04:00
Tim Taubert
0b02403a61
Bug 878747 - part 1 - implement 'nodefaultsrc' attribute for XUL frames; r=smaug
2013-06-06 21:05:21 +02:00
Ed Morley
c55145e3be
Merge mozilla-central and inbound
2013-06-06 10:46:45 +01:00
Michael Wu
a6e67842ea
Bug 771551 - Add CSS Media Query for physical home buttons, r=heycam
2013-06-05 22:42:02 -04:00
David Bolter
db7f4014bd
Bug 577727 - Make pinned tabs distinguishable from other tabs for accessibility. r=marcoz
2013-06-05 17:03:52 +02:00
Peter Van der Beken
5eba9021ed
Bug 877654 - Remove thisptr offset tables - Remove offset tables from non-HTMLElement objects and remove offset table macros. r=Ms2ger.
...
--HG--
extra : rebase_source : 6d6fbb260c564d295d33c76a1b21ffd7187eeae2
2013-05-21 21:59:27 +02:00
Robert O'Callahan
8c99c9f5e0
Bug 865537. Part 1: Add nsRange::SetEnableGravitationOnElementRemoval to suppress 'gravitation' behavior on node removal. r=smaug
...
--HG--
extra : rebase_source : 3823c3a0400c80b6f22021f22195f73febd5d85e
2013-06-07 16:26:28 +12:00
Peter Van der Beken
78659f5642
Bug 871849 - Correctly trace expando objects for OverrideBuiltin proxies. r=bzbarsky.
...
--HG--
extra : rebase_source : 0c848e1c18a366ecd95b1a9acc4b517d108131fe
2013-05-17 17:04:08 +02:00
Bobby Holley
2efb065754
Bug 877478 - Fix tests that depend on creating verboten instances in content. r=mrbkap
...
XPConnect generally throws when trying to create instances of non-DOM objects
in content. Due to some bugs this has historically worked in certain cases, but
we're fixing those now. So we need to fix the tests that do this sort of thing.
2013-06-04 19:56:42 -07:00
Bobby Holley
30b74b2c6b
Bug 877478 - Fix mochitests with problematic callbacks to use the new API. r=mrbkap
2013-06-04 19:56:41 -07:00
Wellington Fernando de Macedo
863cef57d8
Bug 869882 - [eventsource] Check HTTP status:204,205,210,299 readyState returns CONNECTING but not CLOSED and throws unreached assertion; r=bugs@pettay.fi
2013-06-04 12:34:15 +03:00
Randell Jesup
1409e2dda2
Bug 878945: rename RTCDataChannelInit dictionary items to match updated spec r=smaug
2013-06-03 17:34:42 -04:00
Robert O'Callahan
94b708cfbf
Bug 874295. Fix viewport tests. r=mbrubeck
...
--HG--
extra : rebase_source : 48252cd24f804fbac3c6a7eaf7792fbc9c7584b8
2013-06-03 19:02:46 +12:00
Robert O'Callahan
9964dceee8
Bug 874295. On non-Android platforms (and eventually for Android), use call GetDefaultScale instead of GetDevicePixelsPerMetaViewportPixel. r=mbrubeck
...
--HG--
extra : rebase_source : 92e6c476f847349969430d96fa363b6f46bb8d5b
2013-05-30 16:34:32 +12:00
Kyle Huey
b8b637e901
Back out bug 877584 on this CLOSED TREE.
2013-06-06 10:49:09 -07:00
Kyle Huey
8ffe7e2c57
Bug 877584: Route JS holding through the cycle collection runtime so it can do different things on different threads. r=mccr8
2013-06-06 10:23:45 -07:00
Scott Johnson
2d7a268651
Bug 865654: Adjust offsets within text areas only so that other text controls get correct offsets. [r=blassey]
2013-06-03 11:27:48 -05:00
Chia-hung Tai
d75d680f5b
Bug 810099 - B2G MMS: support onretrieving event. r=vyang
2013-05-10 13:39:22 -07:00
Trevor Saunders
6a25cfb54f
bug 873622 - speed up nsXPConnect::GetXPConnect() and rename it since it never returns null r=bholley
2013-05-17 01:49:41 -04:00
Boris Zbarsky
7392630c95
Bug 877540. Fix remaining unsafe reference hazards in browser code. r=terrence
2013-05-30 17:46:48 -04:00
Boris Zbarsky
a3d695962d
Bug 865377. Give EventTarget a chrome-only getter that returns its global. r=smaug
...
The idea is that you then do things like t.dispatchEvent(new t.ownerGlobal.Event("something")).
2013-05-30 17:46:39 -04:00
Phil Ringnalda
fbdc14b941
Back out 87e2bfbb427d (bug 874295) for mochitest-1 failures
...
CLOSED TREE
2013-05-29 23:55:29 -07:00
Arnaud Sourioux
ac2132dad0
Bug 856822: Annotate ~1700 methods with MOZ_OVERRIDE in /content r=smaug
2013-05-29 13:43:41 -07:00
Robert O'Callahan
e6dc7a239c
Bug 874295. On non-Android platforms (and eventually for Android), use call GetDefaultScale instead of GetDevicePixelsPerMetaViewportPixel. r=mbrubeck
...
--HG--
extra : rebase_source : 9c0544baccfe277e9340d185f189eda174923eb4
2013-05-30 16:34:32 +12:00
Kyle Huey
3cc4ccd2f5
Bug 876555: Avoid including xpcprivate.h in most generated dom binding code. r=bz
2013-05-30 11:15:31 +08:00
Ryan VanderMeulen
468b93224a
Backed out changeset a966aadd9ae3 (bug 856822) for Windows bustage on a CLOSED TREE.
2013-05-29 17:56:10 -04:00
Arnaud Sourioux
ff4b91709f
Bug 856822: Annotate ~1700 methods with MOZ_OVERRIDE in /content r=smaug
2013-05-29 13:43:41 -07:00
Jon Coppeard
6fec5f0632
Bug 876639 - Address unsafe references from JS_ParseJSON() - Fix browser r=smaug
2013-05-29 09:29:39 +01:00
Ed Morley
ebb42781a7
Backed out changeset 7acdb79e4d71 (bug 876639)
2013-05-29 12:09:10 +01:00
Jon Coppeard
a5f7aee9a5
Bug 876639 - Address unsafe references from JS_ParseJSON() - Fix browser r=smaug
2013-05-29 09:29:39 +01:00
Simon Montagu
034354edf3
Assert that entry exists before removing it. Bug 876155, r=ehsan
2013-05-29 10:36:59 +03:00
Zachary Easterbrook
9caeb26605
Bug 875409 - Replace nsINode::Trace() with nsWrapperCache::TraceWrapper(). r=mccr8
2013-05-28 16:58:29 -07:00
Ryan VanderMeulen
b019438822
Merge m-c to inbound.
2013-05-28 15:55:17 -04:00
Garrett Robinson
e684855db6
Bug 858836 - CSP inline style blocking doesn't work in the Firefox OS emulator. r=bz, r=imelven
2013-05-28 13:29:34 -04:00
Ms2ger
1d57226508
Bug 876282 - Add unprefixed cancelAnimationFrame; r=bz
...
--HG--
rename : content/base/test/test_bug647518.html => content/base/test/test_bug876282.html
2013-05-28 19:31:31 +02:00
Mats Palmgren
17c3dd2d83
Bug 871099. r=bzbarsky
2013-05-28 03:00:08 +00:00
Andrew McCreight
eb059d91b2
Bug 874583 - Use NS_IMPL_CYCLE_COLLECTION_INHERITED_n in more places. r=smaug
2013-05-21 16:23:53 -07:00
Phil Ringnalda
91622f83cb
Merge m-c to a CLOSED TREE m-i
2013-05-27 11:46:31 -07:00
Masatoshi Kimura
18fd56d251
Bug 726933 - Add a deprecation warning to getPreventDefault. r=smaug
2013-05-27 23:43:51 +09:00
Jon Coppeard
8a68ce4b84
Bug 874691 - Make CC participant tracing indirect r=mccr8 r=smaug r=bz
2013-05-27 12:50:49 +01:00
Andrea Marchesini
30f3e235ca
Bug 869002 - DocumentFragment should be constructable, r=Ms2ger
2013-05-23 03:59:00 -07:00
Masatoshi Kimura
fad511757b
Bug 876040 - Replace nsIDOMEvent::GetPreventDefault() with nsIDOMEvent::DefaultPrevented(). r=smaug
2013-05-26 06:05:36 +09:00
Masatoshi Kimura
7147a31a15
Backed out changeset db13e1fbc642 (bug 691151) because some in-tree callers are still using the function
2013-05-25 08:41:19 +09:00
Masatoshi Kimura
58666b20c5
Bug 726933 - Add a deprecation warning to getPreventDefault. r=smaug
2013-05-25 07:55:20 +09:00
Justin Lebar
46907ebf24
Bug 832609 - Make memory reporter for blobs threadsafe. r=khuey
...
--HG--
extra : rebase_source : 4dc2387ae3867699085139545ff2b57104b1f72a
2013-05-24 13:10:48 -04:00
Cameron McCormack
6d61db3877
Bug 875705 - Fix odd numbering of nsAttrValue::ValueType. r=smaug
2013-05-24 23:27:51 +10:00
Mike Shal
994cfe0b6b
Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey CLOSED TREE
...
From 9e0ba7f425143f545eb6c4b26a9a96b5ade4d8e9 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00
Aryeh Gregor
18866d81dc
Bug 867101 - Fix more implicit conversion to already_AddRefed; r=Ms2ger
2013-04-28 14:52:10 +03:00
Vladimir Vukicevic
ff55db5503
b=873757; crash in JSStructuredCloneWriter::writeArrayBuffer; r=bz
2013-05-23 22:09:38 -04:00
Daniel Holbert
9ae3f5f736
Bug 875328: Remove stranded (and unnecessary) method-override Attr::AppendChildTo(). r=bz
2013-05-24 09:39:17 +08:00
John Schoenick
c8c753f060
Bug 871942 - Don't synchronously stop plugins in DestroyContent. r=benjamin
2013-05-23 16:22:28 -07:00
Olli Pettay
6ac541ab4a
Bug 874592 - nsFrameMessageManager::NewProcessMessageManager may construct child process managers with no parent, r=jdm
...
--HG--
extra : rebase_source : faa0b708e9e0e5f88db2319215144540622fbd3a
2013-05-23 21:17:57 +03:00
Olli Pettay
610190eb17
Bug 875050, make WebSocket to use EventListenerAdded/Removed, r=bz
...
--HG--
extra : rebase_source : fa0995983c4a6c738bae2d88152db65e59cc1d72
2013-05-23 14:41:32 +03:00
Phil Ringnalda
dcd6ed49c6
Back out 4fd41b93f97c (bug 865654) for mochitest-1 failure
2013-05-22 21:35:41 -07:00
Matthew Gregan
34633b64df
Bug 855130 - Traverse nsHostObjectProtocolHandler from nsDocument. r=khuey
2013-05-03 12:54:05 +12:00
Scott Johnson
28ef4985bf
Bug 865654: Adjust offsets within text areas only so that other text controls get correct offsets. [r=blassey]
2013-05-23 11:20:50 +08:00
Ralph Giles
d98efa09c2
Bug 833385 - Implement HTMLTrackElement and TextTrack. r=bz,Ms2ger
...
Add webidl interfaces and implementations of the HTML <track>
element and related TextTrack, TextTrackList, TextTrackCue,
and TextTrackCueList dom objects.
Visibility is controlled by the media.webvtt.enabled pref,
which defaults to false.
HTMLMediaElement:NewURIFromString() is hoisted to
nsGenericHTMLElement so it's available to the track
element as well.
This patch is primarily work by Dale Karp, David Humphrey
and others as Seneca College.
2013-05-22 00:14:00 +08:00
Bobby Holley
d1daeb827a
Bug 868110 - Introduce a more private API for the consumers that really do need the default compartment object. r=luke
...
The primary consumer of this is the whole inner/outer DOM window setup, which
uses the default global to track the current inner. But there are few other
random ones as well.
We use this as an opportunity to convert a bunch of consumers from the two-step
GetNativeContext() -> JS_GetGlobalObject() into just |GetNativeGlobal()|. This
will make things much easier to convert when we start tracking the current inner
explicitly.
2013-05-22 15:42:44 -06:00
Bobby Holley
91448a9dac
Bug 868130 - Remove the lion's share of JSAutoRequests in gecko. r=gabor
...
There are still a handful that either are used with other runtimes, or that
happen very early/late in cx the lifetime of various things where it doesn't
necessarily make sense to have a cx on the stack. This should definitely ensure
that we're not doing double-duty with the nsCxPusher change, though.
2013-05-22 10:05:28 -06:00
Bobby Holley
fbfc8f9abe
Bug 868130 - Move nsCxPusher into XPConnect. r=gabor
...
The JSContext stack is an XPConnect construction. In particular, there are
situations where we want to manipulate it outside the lifetime of nsContentUtils
but within the lifetime of the stack itself. In order to do this cleanly, it's
helpful to use private XPConnect APIs. So the first step here is to move this into
js/src/xpconnect, so that we can take advantage of the stuff in xpcprivate.h.
--HG--
rename : content/base/src/nsCxPusher.cpp => js/xpconnect/src/nsCxPusher.cpp
rename : content/base/public/nsCxPusher.h => js/xpconnect/src/nsCxPusher.h
2013-05-22 10:05:26 -06:00
Bobby Holley
54ef3d2952
Bug 868130 - Include nsCxPusher.h everywhere we need it, and stop including it from nsContentUtils.h. r=gabor
2013-05-22 10:05:26 -06:00
Bobby Holley
14dca53fc9
Bug 868130 - Separate nsCxPusher an friends into their own file. r=gabor
...
We want to put a JSAutoRequest into nsCxPusher, but that would involve
including jsapi.h in nsContentUtils.h, which we'd probably rather avoid doing.
Let's just bite the bullet and do this.
2013-05-22 10:05:25 -06:00
Bobby Holley
c65c7d599a
Bug 868130 - Use an AutoSafeJSContext in nsObjectLoadingContent::TeardownProtoChain. r=gabor
2013-05-22 10:05:24 -06:00
Bobby Holley
b8b8c5bd4d
Bug 868130 - Make sure the new cx is stack-top in nsFrameMessageManager. r=gabor
2013-05-22 10:05:23 -06:00
Matthew Gregan
5529ef2ac1
Backout fbc3ef777ded (bug 855130).
2013-05-22 15:50:03 +08:00
Matthew Gregan
ff93a26cd1
Bug 855130 - Traverse nsHostObjectProtocolHandler from nsDocument. r=khuey
2013-05-03 12:54:05 +12:00
Garrett Robinson
4781a07b87
Bug 791284 - Add debugging code to nsDocument::StartDocumentLoad and fix and re-enable test. r=sicking
2013-05-21 14:50:26 -04:00
Andrea Marchesini
1fdceffe8b
Bug 869000 - Text should be constructable. r=Ms2ger
2013-05-21 14:34:36 -04:00
Andrea Marchesini
4911358f5f
Bug 868999 - Range should be constructable. r=Ms2ger
2013-05-21 14:33:28 -04:00
Wellington Fernando de Macedo
410fd9530b
Bug 869432 - [eventsource] readyStage on eventsource:close() returns CONNECTING instead of CLOSED. r=smaug
2013-05-21 08:29:31 -04:00
Bobby Holley
a457b1a245
Bug 834701 - Stop depending on the XBL bit in IsCallerXBL. r=bz
2013-05-20 22:34:17 -06:00
Andrew McCreight
45b08b78f1
Bug 873111 - Statically enforce root/child phase separation in cycle collector graph building. r=smaug
2013-05-20 13:08:11 -07:00
Boris Zbarsky
85b06d58a3
Bug 873735 part 2. Change nsIXPConnectJSObjectHolder::GetJSObject to return a JSObject*. r=bholley
2013-05-20 08:44:18 -04:00
Boris Zbarsky
8fdfd3f823
Bug 873735 part 1. Fix the more or less mechanical browser rooting hazards. r=terrence
2013-05-20 08:40:06 -04:00
Ms2ger
f919a15533
Bug 868778 - Part d: Actually move DataChannel to WebIDL.
2013-05-20 11:48:16 +02:00
Ms2ger
0ed0441e1e
Bug 868778 - Part c: Move DataChannel to WebIDL; r=mounir+jesup
...
--HG--
rename : content/base/public/nsIDOMDataChannel.idl => dom/webidl/DataChannel.webidl
2013-05-20 09:19:45 +02:00
Ms2ger
be663c2829
Bug 868778 - Part b: Move the declaration of nsDOMDataChannel into nsDOMDataChannel.h; r=jesup
...
--HG--
rename : content/base/src/nsDOMDataChannel.cpp => content/base/src/nsDOMDataChannel.h
2013-05-20 09:10:59 +02:00
Ms2ger
6d4b3079a3
Bug 868778 - Part a: Move nsDOMDataChannel.h to nsDOMDataChannelDeclarations.h; r=jesup
...
--HG--
rename : content/base/src/nsDOMDataChannel.h => content/base/src/nsDOMDataChannelDeclarations.h
2013-05-20 09:10:59 +02:00
Andrea Marchesini
38fc5d8909
Bug 870856 - Convert DOMError to WebIDL. r=Ms2ger, r=bz
2013-05-18 13:52:06 -04:00
Boris Zbarsky
fd290b314c
Bug 868312 finale: finish rooting dom/ code. r=smaug
2013-05-17 21:48:25 -04:00
Boris Zbarsky
8fc54ee80a
Bug 873337. Change the order of the decl and holder in js-to-native conversions to clean up the code some. Now the holder always comes after the decl. r=smaug
2013-05-17 21:48:25 -04:00
Gregory Szorc
14c4938355
Bug 873629 - Remove 129 empty Makefile.in files; r=ted
2013-05-17 16:20:11 -07:00
David Zbarsky
8649b6e814
Bug 864206 - Use dom::Touch instead of nsIDOMTouch where possible r=Ms2ger
2013-05-17 13:17:53 -07:00
Bobby Holley
77d1e43d75
Bug 860941 - Remove assertion annotations for the now-removed mArguments assertion. r=jst
2013-05-17 10:43:20 -07:00
Jan-Ivar Bruaroey
724cdbf7ac
Bug 823512: Rewrite PeerConnection in JS-implemented WebIDL r=bz,jesup
2013-05-07 20:55:21 -04:00
Ed Morley
aadfc4d36c
Backed out changeset 34c65a615373 (bug 860941)
2013-05-17 09:08:31 +01:00
Bobby Holley
7f49ad21dd
Bug 860941 - Remove assertion annotations for the now-removed mArguments assertion. r=jst
2013-05-16 23:33:15 -07:00
Tim Abraldes
4a868b408f
bug 839342. Make metro widget listen for EdgeGestureStarted and EdgeGestureCanceled, in addition to EdgeGestureCompleted. Show the edge UI on EdgeGestureStarted and EdgeGestureCompleted, hide it on EdgeGestureCanceled. This time without bustage! r=bbondy
2013-05-16 21:22:21 -07:00
Phil Ringnalda
eb385de2df
Back out 9675dce26f53 (bug 839342) for browser-chrome bustage
2013-05-16 20:09:24 -07:00
Tim Abraldes
b11ea57c38
bug 839342. Make metro widget listen for EdgeGestureStarted and EdgeGestureCanceled, in addition to EdgeGestureCompleted. Show the edge UI on EdgeGestureStarted and EdgeGestureCompleted, hide it on EdgeGestureCanceled. r=bbondy
2013-05-16 17:47:46 -07:00
Ian Melven
48879dbfb8
Bug 763879 - implement inline stylesheet blocking for CSP (r=dbaron)
2012-08-30 10:58:24 -07:00
Bobby Holley
2e42030f56
Bug 873253 Crash clicking on file input in XUL whitelisted site r=bz
2013-05-16 23:57:18 +01:00
Olli Pettay
37d16b90a3
Bug 873203 - Backout the patch for bug 814001, r=bz
2013-05-16 23:11:55 +03:00
John Schoenick
953e5b39a3
Bug 870216 - Fire SetWindow on plugins twice to make Adobe Reader happy. r=josh
2013-05-16 11:38:40 -07:00
Ryan VanderMeulen
dcdda90f46
Backed out 2 changesets (bug 763879, bug 842657) for landing with an r-. DONTBUILD
...
Backed out changeset 254c1ac4ab8b (bug 842657)
Backed out changeset 58a2011beeac (bug 763879)
2013-05-16 11:15:07 -04:00
Ian Melven
6937a45eae
Bug 763879 - implement inline stylesheet blocking for CSP (r=dbaron)
2012-08-30 10:58:24 -07:00
Ted Mielczarek
110919af49
bug 871712 - make MSVC PGO opt-in per-directory, and opt-in in the directories that matter. r=glandium
2013-05-16 09:33:26 -04:00
Martijn Wargers
62dbb66e47
Bug 841402 - Remove last piece of EnablePrivilege usage from CSP tests. r=bholley
2013-05-16 11:16:22 +02:00
Maria Grazia Alastra
d645d2e812
Bug 331566 - Change idl interfaces to use @throws instead of @return NS_. r=bsmedberg
2013-05-16 08:26:55 -04:00
Cameron McCormack
5cffb9cbd6
Bug 839103 - Part 11: Add StyleRule{Added,Removed,Changed} events. r=bz
2013-05-16 17:13:36 +10:00
Cameron McCormack
26cb31824b
Bug 839103 - Part 10: Add StyleSheetApplicableStateChange event. r=bz
2013-05-16 17:13:36 +10:00
Cameron McCormack
0a241ee395
Bug 839103 - Part 9: Unify nsIDOMStyleSheet{Added,Removed}Event. r=bz
2013-05-16 17:13:36 +10:00
Cameron McCormack
29590443e9
Bug 839103 - Part 7: Only dispatch style sheet change events when enabled. r=bz
2013-05-16 17:13:36 +10:00
Cameron McCormack
2f16b7777c
Bug 839103 - Part 6: Allow style sheet change event enabling to be controlled through a chrome-only attribute on Documents. r=bz
2013-05-16 17:13:35 +10:00
Cameron McCormack
26c2af43bb
Bug 839103 - Part 5: Add a state bit on documents to control whether style sheet change events are dispatched. r=bz
2013-05-16 17:13:35 +10:00
Vladimir Vukicevic
f1a8f1660f
b=871549, use Content-Length in XHR ArrayBuffer requests, and fix ResetResponse(); r=bz
2013-05-15 14:42:10 -04:00
David Zbarsky
d7a446f1c4
Bug 872367 Part 1: Mark some nsIDocument arguments as const r=reuben
2013-05-15 12:45:45 -07:00
Olli Pettay
dd044a0aca
Bug 866915, update XHR.send to follow the spec, r=sicking
...
--HG--
extra : rebase_source : ee7ce01fa3a71db5327e42f40a725db99efbe345
2013-05-15 14:48:59 +03:00
Olli Pettay
cd7161f3f9
Bug 848535, simplify js object holding in XHR and FileReader, r=mccr8
...
--HG--
extra : rebase_source : d10c2315bf3eafb0e3ef7f4199c1439e96c47da3
2013-05-15 14:48:55 +03:00
Olli Pettay
2a40b81746
Bug 857883, don't assert about readyState when not needed, r=bz
...
--HG--
extra : rebase_source : 1dc9dc6bae5907cac3f2b8b1c31d79e7bcbb68f2
2013-05-15 14:35:41 +03:00
Ehsan Akhgari
67b44c27c9
Bug 871315 - Fix some rooting hazards in content/; r=till,bzbarsky
2013-05-13 13:43:53 -04:00
Mounir Lamouri
4ba9420d46
Bug 851642 - Make sure fullscreenchange event is sent even when the document is being removed from the doctree. r=smaug
...
... instead of relying on nsScreen being destroyed which was causing flaky
behaviour on Firefox Android (based on GC) and was creating a race condition bug
on Firefox OS.
2013-05-13 12:00:42 +01:00
Joey Armstrong
2dbf79e9a4
bug 869143: phase2 cleanup for XPCSHELL_TEST conversion. r=mshal
2013-05-13 16:24:07 -04:00
Andrea Marchesini
575e465b04
Bug 869006 - Comment should be consructable. r=Ms2ger
2013-05-13 09:22:30 -04:00
Ed Morley
36fb30076b
Backed out changeset 496846474ed3 (bug 864774)
2013-05-13 10:05:49 +01:00
Mike Shal
02469b68e2
Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey
...
From 140b9201e3b5d2d8efe7af286d279c2411dbc197 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00
Vladimir Vukicevic
f5a6dcb943
b=866431, Create XHR ArrayBuffer directly instead of going via nsCString, r=bz,sfink
2013-04-27 15:25:24 -04:00
Boris Zbarsky
c9051013c6
Bug 870566. Make dataset gets faster by spending less time messing with strings. r=smaug
2013-05-10 18:57:58 -04:00
Boris Zbarsky
6994912da0
Bug 870667. Reinstate a way to turn off performance.timing bits using a pref. r=smaug
...
This is used by the Tor project, for example.
2013-05-10 18:57:58 -04:00
Ryan VanderMeulen
faa7131e2b
Merge m-c to inbound.
2013-05-10 14:57:50 -04:00
David Zbarsky
ae680f2b5f
Bug 868312 - Rooting fixes for dom r=bz
2013-05-10 14:22:21 -04:00
Justin Lebar
772e3b6ff9
Bug 870598 - Don't send the frameloader-visibility-changed notification if the frameloader's visibility didn't actually change. r=khuey
2013-05-10 11:46:08 -04:00
Ed Morley
345c8d111b
Merge latest green inbound changeset and mozilla-central
2013-05-10 09:13:03 +01:00
Ms2ger
610f3c9bf8
Bug 868730 - Make nsDocument::ResetStylesheetsToURI return void; r=mounir
2013-05-10 09:13:37 +02:00
Bobby Holley
d0202a05c6
Bug 857356 - Remove XBL field auto-waiving. r=bz
2013-05-09 09:16:01 -07:00
Jon Coppeard
4aa94e46d9
Bug 868040 - GC: Fix some rooting hazards in content/base r=bz
2013-05-09 10:44:19 +01:00
L. David Baron
1afa49b221
Remove SimpleTest.expectAssertions() call now that bug 846137 is fixed. No review.
2013-05-08 13:45:34 -07:00
Terrence Cole
cd1aec056b
Bug 777548 - Make non-cc-participant tracing indirect; r=smaug,billm,jst
2013-03-28 13:37:22 -07:00
Peter Van der Beken
3a19a30b85
Bug 869038 - Clear expando object the right way. r=bz.
...
--HG--
extra : rebase_source : c75c0ac7b07bbe9396f1b77b34c1e34575078a49
2013-05-08 09:20:13 +02:00
Boris Zbarsky
4f17ea0254
Bug 869311. More rooting in dom/bindings and content/base. r=smaug
2013-05-07 22:34:56 -04:00
Timothy Nikkel
2c413efad1
Bug 869476. nsImageLoadingContent::Track/UntrackImage should return void. r=khuey
2013-05-07 13:38:35 -05:00
Sumedh Shekhar
427e7549ee
Bug 804742 - EnsureStringLength doesn't work. f=Ms2ger, r=ehsan
2013-05-08 00:52:52 +09:00
Peter Van der Beken
07b207de36
Bug 868929 - Convert ImageDocument to WebIDL, consolidate PostCreateWrapper call into nsIDocument::WrapObject. r=bz.
...
--HG--
rename : content/html/document/src/ImageDocument.cpp => content/html/document/src/ImageDocument.h
extra : rebase_source : 79780765f9e6be8846774344e0218631903478d4
2013-05-06 15:42:00 +02:00
Nathan Froyd
dc3bfcbc39
Bug 869073 - make WebIDL enums enum classes instead of plain enums; r=bz
2013-05-06 15:28:13 -04:00
Iivari Äikäs
18ecd9248b
Bug 617897 - Replace calls to AppendASCII('*') with Append('*'). r=dougt
2013-05-07 10:25:21 -04:00
Aryeh Gregor
f99066cb93
Bug 867092 - Don't implicitly convert to already_AddRefed in nsNodeInfoManager; r=bz
2013-04-26 14:51:07 +03:00
Bobby Holley
023dfdb6f3
Bug 834707 - Disable SOWs for remote XUL domains. r=bz
...
We have to do this if we want to proceed with eliminating SOWs entirely. Given
the other restrictions around remote XUL, I don't think this is a problem.
Note that we shouldn't need any special handling in the wrapper reparenting
paths, because those all depend on whether a SOW was there already. So that
would only be an issue if it were possible to adoptNode from a non-remote-XUL
domain into a remote-XUL domain, which thankfully can't happen.
2013-05-06 19:38:22 -07:00
Olli Pettay
a5774cdaac
Bug 868265 - Make Attr and AttrMap skippable, r=mccr8
...
--HG--
extra : rebase_source : f8eb50631ac35abda47b3a00be1093a8197979ec
2013-05-07 02:37:47 +03:00
Bobby Holley
5b4a6b5b06
Bug 868122 - Remove nsIScriptContextPrincipal. r=gabor
...
\o/
2013-05-06 16:53:10 -07:00
Sankha Narayan Guria
7f0c4baace
Bug 867414 - Rename SafeAutoJSContext to AutoSafeJSContext. r=bholley
2013-05-06 09:04:17 -04:00
Boris Zbarsky
a22cedc74c
Bug 867844 part 2. Fix remaining rooting hazards in nsFrameMessageManager.cpp. r=smaug
2013-05-06 08:30:46 -04:00
Boris Zbarsky
eca92dda6d
Bug 867844 part 1. Fix rooting hazards in LegacyCall. r=smaug
2013-05-06 08:30:40 -04:00
Phil Ringnalda
fedf6c0df7
Merge m-c to m-i
2013-05-05 12:17:07 -07:00
Ms2ger
89a7551507
Bug 868729 - Remove nsHTMLCSSStyleSheet::Init; r=bz
2013-05-05 09:03:20 +02:00
David Zbarsky
5d06a9a499
[Bug 868701] Remove classinfo for Attr r=Ms2ger
2013-05-04 03:55:53 -04:00
Boris Zbarsky
3200d7e8dc
Bug 865969 part 4. Pass handles to WebIDL dictionary init. r=smaug,terrence
2013-05-03 19:29:08 -04:00
Boris Zbarsky
9d34cb3526
Bug 868266. Root the arguments list in nsObjectLoadingContent::LegacyCall. r=terrence
2013-05-03 19:28:32 -04:00