Ms2ger
3d504dcb66
Merge latest PGO-green inbounc changeset to m-c.
2013-08-14 14:45:47 +02:00
Ms2ger
c2315a28ab
Bug 904110 - Move alignment features out of Util.h into a new header; r=Waldo
2013-08-14 09:00:52 +02:00
Ms2ger
363f72b597
Bug 903849 - Use MOZ_ASSERT consistently in XPConnect; r=bholley
2013-08-14 09:00:34 +02:00
Ms2ger
6ec28362b3
Bug 901323 - Don't include nsContentUtils.h unnecessarily; r=jlebar
2013-08-14 08:56:21 +02:00
Szu-Yu Chen [:aknow]
337db88f36
Bug 887690 - Part 1: Add emergency callback mode support (idl, webidl). r=hsinyi, sr=smaug
2013-08-14 08:48:28 -04:00
Ehsan Akhgari
0d5d6f77f6
Bug 904264 - Don't #include js/MemoryMetrics.h in xpcpublic.h; r=bholley
2013-08-13 13:51:50 -04:00
Kyle Huey
8ef412bec4
Bug 901630: Remove support for the cc thread. r=mccr8
2013-08-13 10:45:32 -07:00
Ryan VanderMeulen
a0d9f811c2
Backed out 4 changesets (bug 887690) for suspicion of causing frequent mochitest-2 failures.
...
Backed out changeset 106ae6eee902 (bug 887690)
Backed out changeset e2c72cb029f4 (bug 887690)
Backed out changeset 9eea090ed6f7 (bug 887690)
Backed out changeset 1defeb691f5c (bug 887690)
2013-08-12 19:13:38 -04:00
Ryan VanderMeulen
ef22033490
Merge m-c to b2g-inbound.
2013-08-12 17:44:21 -04:00
Bobby Holley
32e6b2535f
Bug 901364 - Make operation callbacks runtime-wide. r=mrbkap
2013-08-12 12:54:50 -07:00
Bobby Holley
abcced8549
Bug 901364 - Implement a replacement operation callback in XPConnect. r=mrbkap
2013-08-12 12:54:49 -07:00
Jon Coppeard
8d0a37229f
Bug 903352 - Handlify remaining PropertyDescriptor APIs r=terrence r=bholley r=smaug
2013-08-12 12:09:14 +01:00
Ryan VanderMeulen
f7b0f7438b
Merge m-c to b2g-inbound.
2013-08-12 15:36:24 -04:00
Thomas Zimmermann
bda2731440
Bug 888595 - Convert BluetoothDevice to WebIDL. r=bz, r=echou
...
We keep the old XPIDL files in place to stay compatible with existing
code. They can probably be removed when all bindings have been converted
to WebIDL.
2013-08-12 10:34:28 +02:00
Carsten "Tomcat" Book
3f2e1bc9c0
Backed out changeset 6855c55668a7 (bug 888595) for mochitest oranges
2013-08-12 18:07:32 +02:00
Szu-Yu Chen [:aknow]
5c21852cf6
Bug 887690 - Part 1: Add emergency callback mode support (idl, webidl). r=hsinyi, sr=smaug
2013-08-12 08:24:53 -04:00
Carsten "Tomcat" Book
7ae8018071
merge mozilla-central to b2g-inbound
2013-08-12 11:52:02 +02:00
Thomas Zimmermann
d1a87dc4f2
Bug 888595: Converted BluetoothDevice to WebIDL, r=bzbarsky,echou
...
We keep the old XPIDL files in place to stay compatible with existing
code. They can probably be removed when all bindings have been converted
to WebIDL.
--HG--
extra : rebase_source : b6612fbd237d89bd02a2fde34e121691be3c0f08
2013-08-12 10:34:28 +02:00
Ryan VanderMeulen
13be9bc4d0
Merge inbound to m-c.
2013-08-09 19:08:45 -04:00
Ryan VanderMeulen
877a258694
Merge m-c to b2g-inbound.
2013-08-08 16:24:53 -04:00
Ryan VanderMeulen
a7872e972f
Backed out changesets 1fa1f28c6edf and e74f694f31c4 (bug 850380) for PGO bustage on a CLOSED TREE.
2013-08-14 15:12:20 -04:00
Brian O'Keefe
08e5de443f
Bug 896177 - Remove more config.mk includes; r=gps
2013-07-17 16:07:14 -04:00
Gregory Szorc
260d3a8e7c
Bug 850380 - Derecursify and optimize XPIDL processing and move into precompile tier; r=glandium
2013-08-14 08:40:25 -07:00
Ryan VanderMeulen
a199b3df6e
Merge m-c to inbound.
2013-08-09 19:29:45 -04:00
Nicholas Nethercote
28c61d3569
Bug 898263 (part 15) - Remove jsutil.h from EXPORTS. r=jorendorff.
...
--HG--
extra : rebase_source : 5a835a5229838dfa03d3536cd2a3569344ccadb1
2013-07-26 00:57:03 -07:00
Nicholas Nethercote
24779f3511
Bug 898263 (part 7) - Remove jsprvtd.h from EXPORTS. r=jorendorff.
...
--HG--
extra : rebase_source : eca8164f8652587796a8283932d8ba8ec76c0b5b
2013-07-25 22:52:59 -07:00
Nicholas Nethercote
fa931e84a6
Bug 898263 (part 1) - Slim down jsprvtd.h. r=jorendorff.
...
--HG--
extra : rebase_source : 7a926428c59e388fc08148bf60f6dbc7bfe71271
2013-07-25 21:23:14 -07:00
Boris Zbarsky
b3d562602e
Bug 897913 part 2. Allow touching interface objects via an Xray even if the page they're in can't touch them. r=bholley,smaug
2013-08-07 17:40:00 -04:00
Nicholas Nethercote
aa5919539d
Bug 902332 - Replace JS_{FALSE,TRUE} with {false,true} almost everywhere. r=luke,bz.
...
--HG--
extra : rebase_source : 25f4de1bfae830b0af6407d260a70b787ab1dc9b
2013-08-06 23:59:54 -07:00
Nicholas Nethercote
c1d8302699
Bug 901750 - Change return type of |JSNative| from |JSBool| to |bool|. code=nnethercote,jandem. r=luke,bz.
...
--HG--
extra : rebase_source : 5b3d7cc339af6d93bde078322e25c6e740d1b617
2013-08-02 00:41:57 -07:00
Mihnea Dobrescu-Balaur
6133f659d2
Bug 899857 - Make xpcshell default to a plugins directory only if -p is not specified. r=ted
2013-08-02 15:07:54 -07:00
Justin Lebar
8579375adb
Bug 899256 - Part 2: Change XPCJSRuntime.cpp's REPORT_BYTES so it doesn't require "nsIMemoryReporter::". r=me
2013-08-05 16:33:01 -07:00
Justin Lebar
a985ccb38c
Bug 899256 - Rework JS memory reporters so gc-heap is no longer a top-level node. r=njn
2013-08-05 16:33:01 -07:00
Justin Lebar
fb5630ed11
Bug 893222 - Part 3: Modify the JS memory reporter to consider a string as "notable" if we have many small copies of it. r=njn
2013-08-05 16:33:00 -07:00
Justin Lebar
f2f063a8e3
Bug 893222 - Part 2: Fix escaping for huge strings displayed in about:memory. r=njn
...
We were escaping "/" to "\/", but about:memory expects us to escape "/" to "\".
Escaping "/" to "\/" is probably quite sensible, since then we can represent strings which have both "\" and "/". But that's a bigger change.
2013-08-05 16:33:00 -07:00
Jon Coppeard
da8c061053
Bug 900986 - Convert JS_*Element API to use MutableHandleValue for out params r=terrence r=bholley r=smaug
2013-08-05 14:02:47 +01:00
Jon Coppeard
0f31f8c399
Bug 900979 - Change JS_DeleteProperty APIs to use a boolean out param rather than a value r=waldo r=bz
2013-08-05 14:01:53 +01:00
Carsten "Tomcat" Book
ce9fe7db3d
Merge b2g-inbound to m-c
2013-08-05 11:22:48 +02:00
Yoshi Huang
dfc815e181
Bug 883741 - Part 1: WebCrypto: Move Crypto to WebIDL. r=bz
2013-08-01 14:57:25 +08:00
Ryan VanderMeulen
3a385f459a
Merge inbound to m-c.
2013-08-02 16:36:40 -04:00
Ryan VanderMeulen
e4c4af080d
Backed out 7 changesets (bug 893222, bug 899256) for build bustage on a CLOSED TREE.
...
Backed out changeset 4aa234138f44 (bug 893222)
Backed out changeset 4b0bf28abdf2 (bug 899256)
Backed out changeset ea8b6ba99c05 (bug 893222)
Backed out changeset ac8220cb61d5 (bug 893222)
Backed out changeset d01358ff4b15 (bug 893222)
Backed out changeset 3baebe7cc655 (bug 893222)
Backed out changeset 4bdf8611ec57 (bug 893222)
2013-08-02 14:49:38 -04:00
Justin Lebar
4fbaf6abdb
Bug 893222 - Part 5: Fix bustage. r=me
2013-08-02 10:53:34 -07:00
Ed Morley
05a37c3a43
Merge mozilla-central and b2g-inbound
2013-08-02 13:51:22 +01:00
Ms2ger
aaa8d8915a
Merge m-c to inbound.
2013-08-02 11:40:30 +02:00
Ms2ger
ed2a9cfb16
Backout changeset 531f544bc9ce for breaking B2G tests.
2013-08-02 11:38:49 +02:00
Ms2ger
21409e5d2c
Merge m-c to inbound.
2013-08-02 11:07:57 +02:00
Ms2ger
468d7dab87
Bug 832883 - Move IDBKeyRange to WebIDL; r=khuey
2013-08-02 09:09:15 +02:00
Ms2ger
f8a25b94f5
Bug 897945 - Use an XPCOM string for nsContentUtils::ReportToConsole's category argument; r=bholley
2013-08-02 09:09:11 +02:00
Bobby Holley
595cbc9fd5
Bug 897322 - Allow callers to manually fire OnNewGlobalObject when bootstrapping is complete. r=luke
2013-08-01 18:38:47 -07:00
Mike Hommey
ca80cd82ad
Bug 881323 - Re-implement CycleCollectorParticipant with actual vtables, with constexpr to avoid static initializers. r=mccr8
2013-08-02 10:29:05 +09:00
Gina Yeh
93e89304fd
Bug 853221 - Patch 2: Distribute events from BluetoothAdapter, r=smaug, sr=mrbkap
2013-08-02 18:33:15 +08:00
Bill McCloskey
f2eacd8ccc
Bug 899812 - Error reporters should consistently report errors to stderr (r=bholley)
2013-07-31 17:04:49 -07:00
Justin Lebar
bfb6dfdd9d
Bug 899256 - Rework JS memory reporters so gc-heap is no longer a top-level node. r=njn
2013-08-02 10:02:40 -07:00
Justin Lebar
de68575288
Bug 893222 - Part 3: Modify the JS memory reporter to consider a string as "notable" if we have many small copies of it.
2013-08-02 10:02:40 -07:00
Justin Lebar
049d8eccbc
Bug 893222 - Part 2: Fix escaping for huge strings displayed in about:memory. r=njn
...
We were escaping "/" to "\/", but about:memory expects us to escape "/" to "\".
Escaping "/" to "\/" is probably quite sensible, since then we can represent strings which have both "\" and "/". But that's a bigger change.
2013-08-02 10:02:40 -07:00
Ms2ger
6be6993d73
Bug 900987 - Handle a null category argument to nsScriptError::Init without crashing; pending-r=bholley
2013-08-04 11:18:41 +02:00
Kyle Huey
c9d1557bdb
Bug 845545: Part 4 - Create a worker implementation of CycleCollectedJSRuntime. r=mccr8,bent
2013-08-03 16:55:40 -07:00
Kyle Huey
46d249128b
Bug 845545: Part 3 - Give the CycleCollectedJSRuntime more control over
...
SnowWhite. r=smaug
2013-08-03 16:55:39 -07:00
Kyle Huey
147c3dee65
Bug 845545: Part 2 - Refactor context creation callbacks. r=bholley,mccr8
2013-08-03 16:55:39 -07:00
Kyle Huey
b09945aa3b
Bug 845545: Part 1 - Fix heap dumping to work off the main thread. r=mccr8
2013-08-03 16:55:39 -07:00
Andrea Marchesini
4cf68c1978
Bug 887524 - Move IDBRequest to WebIDL, r=janv
2013-08-01 00:28:15 +02:00
Andrea Marchesini
ebeb72d6f9
Bug 891944 - Move IDBCursor to WebIDL, r=janv
2013-08-01 00:28:13 +02:00
Masatoshi Kimura
a7c7daa22e
Backed out changeset 2aa62db58f24 (bug 673919) due to Web compat
2013-08-01 06:44:51 +09:00
Tom Schuster
8ac55e5939
Bug 884410 - Handlify JS_GetPrototype. r=terrence
2013-07-31 12:20:33 -04:00
Andrea Marchesini
20617169ee
Bug 888596 - Move IDBDatabase to WebIDL, r=janv
2013-07-31 17:48:46 +02:00
Andrea Marchesini
9dbd04ea78
Bug 892065 - Move IDBIndex to WebIDL, r=janv
2013-07-31 17:48:40 +02:00
Andrea Marchesini
ef616d1baf
Bug 888597 - Move IDBObjectStore to WebIDL, r=janv
2013-07-31 17:48:36 +02:00
Bobby Holley
590dbb3712
Bug 898939 - Disable crashtest on android. r=me CLOSED TREE
2013-07-30 11:11:44 -07:00
Bobby Holley
7c9838cdcf
Bug 897676 - Null out |si| if we end up using that of the proto in WrapNewGlobal. r=mrbkap
2013-07-30 08:53:56 -07:00
Bobby Holley
6b673fab54
Bug 898939 - Crashtest. r=me
2013-07-30 08:43:46 -07:00
Bobby Holley
5660b229c6
Bug 898939 - Loosen assertion. r=bz
...
This is just an overzealous assertion, rather than a security issue.
2013-07-30 08:43:46 -07:00
Ehsan Akhgari
3717325909
Bug 872127 - Part 2: Replace mozilla/StandardInteger.h with stdint.h; r=Waldo,ted
2013-07-30 10:25:31 -04:00
Wes Kocher
d6c9ce2081
Backed out changeset a0bc16b5a428 (bug 897676) for causing mochitest failures on a CLOSED TREE
2013-07-29 18:27:04 -07:00
Bobby Holley
99246966e4
Bug 899245 - Rename JS_GetGlobalForScopeChain to JS::CurrentGlobalOrNull. r=luke
...
This was done with perl/grep.
2013-07-29 16:45:27 -07:00
Bobby Holley
08f9b6fd28
Bug 899245 - Rename JS_SetGlobalObject and move it into jsfriendapi. r=luke
2013-07-29 16:45:26 -07:00
Bobby Holley
9f3d1e24f0
Bug 899245 - Rename js::GetDefaultGlobalForContext to js::DefaultObjectForContextOrNull. r=luke
...
This is more correct, since the object very often is not a global.
2013-07-29 16:45:25 -07:00
Bobby Holley
6e5c2a0773
Bug 897676 - Null out |si| if we end up using that of the proto in WrapNewGlobal. r=mrbkap
2013-07-29 16:03:04 -07:00
Andrea Marchesini
a1a1e17579
Bug 888598 - Move IDBTransaction to WebIDL, r=janv
2013-07-29 19:12:21 +02:00
Jon Coppeard
fd4d274d46
Bug 897484 - GC: Convert JS_GetProperty APIs to take MutableHandleValue r=terrence r=bholley r=smaug
2013-07-26 10:00:38 +01:00
Jeff Walden
70e6b51fcb
Bug 896124 - Implement a JS_Init() JSAPI function, to be called before any other JSAPI operations (except JS_SetICUMemoryFunctions) are performed, to centralize whole-engine initialization tasks. r=bsmedberg for the XPCOM bits, r=luke for the JS bits
...
--HG--
extra : rebase_source : fd308ab3bd76c67a0b128eaefae3edf177893fe1
2013-07-19 20:14:34 -07:00
Carsten "Tomcat" Book
ac22f0d0ad
Backed out changeset ae8d72538dee (bug 897484) for b2g bustage
2013-07-26 12:34:25 +02:00
Jon Coppeard
fed22eac4c
Bug 897484 - GC: Convert JS_GetProperty APIs to take MutableHandleValue r=terrence r=bholley r=smaug
2013-07-26 10:00:38 +01:00
Jon Coppeard
4258a261db
Bug 896949 - JS_SetProperty APIs should take an immutable parameter r=waldo r=bz
2013-07-26 10:00:38 +01:00
Ryan VanderMeulen
d6be8d390f
Backed out 3 changesets (bug 896124, bug 784739, bug 894026) for Windows checktest orange on a CLOSED TREE.
...
Backed out changeset 631b3d5d54f4 (bug 896124)
Backed out changeset 5e1dd28ede5d (bug 894026)
Backed out changeset c10c0a6270ec (bug 784739)
2013-07-26 00:08:51 -04:00
Peter Van der Beken
52d88da1d5
Bug 894448 part 2 - Remove nativeOwnership = 'nsisupports'. r=bzbarsky
2013-07-04 17:24:59 +02:00
Boris Zbarsky
a0857fe689
Bug 894448 part 1. Move IsChromeOrXBL to xpcpublic.h. r=bholley
2013-07-25 19:41:46 -07:00
Jeff Walden
b023ffcb98
Bug 896124 - Implement a JS_Init() JSAPI function, to be called before any other JSAPI operations are performed, to centralize whole-engine initialization tasks. r=bsmedberg for the XPCOM bits, r=luke for the JS bits
2013-07-19 20:14:34 -07:00
Terrence Cole
562f743f71
Bug 887563 - Convert CallArgs::operator[] to return a Handle; r=Waldo,bz
...
--HG--
extra : rebase_source : a06130820b34f6e1f5bc317e89c087cf0db9eeb8
2013-06-26 16:26:45 -07:00
Jon Coppeard
bd28d643f7
Bug 896540 - GC: Convert JS_SetProperty* to take MutableHandleValue - browser changes r=bz
2013-07-25 13:57:00 +01:00
Bobby Holley
b9ad141c3d
Bug 897789 - Add a fuzz factor to watchdog tests. r=Waldo
...
CLOSED TREE
2013-07-24 23:00:22 -04:00
Bobby Holley
4af12de291
Bug 870043 - Watchdog tests. r=mrbkap
2013-07-24 15:33:32 -07:00
Bobby Holley
cb2e05a511
Bug 870043 - Add a way to simulate the JSRuntime activity callback from xpcshell. r=mrbkap
...
The JS engine fires this callback when the request count drops to zero, and we
use it determine when we should hibernate the watchdog thread. But since the
request count never drops to zero for nested event loops, the watchdog never
runs in those cases. And since our xpcshell harness runs tests in a nested event
loop, this means we can't test watchdog hibernation from xpcshell. And we don't
want to test it in mochitests, because the non-determinism of timer CCs and GCs
are likely to be problematic.
Really, we should consider finding a way to integrate nested event loops into
the activity callback mechanism, and should probably get a bug on file. But such
a task is out of scope for this bug, so we just add a way to fake it.
2013-07-24 15:33:32 -07:00
Bobby Holley
22a7891400
Bug 870043 - Add support for scripted operation callbacks in XPCShell. r=mrbkap
2013-07-24 15:33:31 -07:00
Bobby Holley
93442ca1ad
Bug 870043 - Add a script-accessible statistics for various watchdog events. r=mrbkap
...
We need this even for testing wakeups, because we can't be certain that any
given operation callback was necessarily triggered from the watchdog thread
(since it's triggered from within the JS engine in various cases as well).
2013-07-24 15:33:31 -07:00
Bobby Holley
63f5620548
Bug 870043 - Factor the watchdog machinery into a helper class. r=mrbkap
...
This is a long-overdue change in general. It's now particularly necessary
because we want to start and stop the watchdog, potentially multiple times
during a session. Encapsulating this into a class that we can
destroy/instantiate several times means that we don't end up with inconsistent
state.
As a nice bonus, this centralizes the whole setup and makes it easier to
comprehend. I actually had this nicely split up into several patches, but
I accidentally squashed them while rebasing. :-(
2013-07-24 15:33:31 -07:00
Jon Coppeard
ef396b7874
Bug 899973 - GC: Convert the rest of the JS property API to use MutableHandleValue for out params - browser changes r=bz
2013-08-02 13:15:39 +01:00
Jon Coppeard
d2c8887ec3
Bug 899976 - GC: Fix unsafe references related to ToInt* functions - browser changes r=bholley
2013-08-02 13:15:38 +01:00
Ms2ger
8ab83f380e
Merge m-c to inbound.
2013-07-24 11:53:22 +02:00
Ms2ger
3c5e135131
Bug 896280 - Pass MutableHandleValue to JS::Call(); r=terrence
2013-07-24 09:40:01 +02:00
Ms2ger
5ae654e2b6
Bug 885170 - Remove nsINode::GetClassInfo(); r=peterv
2013-07-24 09:31:06 +02:00
Nicholas Nethercote
e90847c8e0
Bug 890238 - Add a memory reporter for ICU. r=jwalden.
...
--HG--
extra : rebase_source : 05721759ca5abc45d3bcf133eb6559c23de36a54
2013-07-07 20:29:14 -07:00
Bill McCloskey
c1cd226370
Bug 895340 - Fix error reporting of JS exceptions from C++ (r=bholley)
2013-07-23 08:32:36 -07:00
Joshua Cranmer
bb26e8f816
Bug 884061 - Part 4: Remove nsAtomicRefcnt.h, r=jlebar
...
--HG--
extra : rebase_source : ce24ab345baa48104328e3c101b7266a31e81870
2013-07-11 15:21:45 -05:00
Joshua Cranmer
41b9daad54
Bug 884061 - Part 3n: Use NS_DECL_THREADSAFE_ISUPPORTS in js/, r=bholley
...
--HG--
extra : rebase_source : 4f888058e3f842affd496e35bdd3c2037d1abf43
2013-07-18 21:23:32 -05:00
Jon Coppeard
40af0d6a36
Bug 896398 - GC: Fix some reported rooting hazards in XPConnect r=bholley
2013-07-23 10:58:28 +01:00
Jon Coppeard
da1bfb1578
Bug 888338 - 5 - post barrier remaining heap-based GC things in XPConnect r=bholley
2013-07-23 10:58:27 +01:00
Jon Coppeard
74ca3cb51e
Bug 888338 - 2 - give post barrier callback function an extra data argument r=terrence
2013-07-23 10:58:26 +01:00
Jon Coppeard
6c0077c7f6
Bug 888338 - 1 - Add TenuredHeap<T> class r=terrence r=bz
2013-07-23 10:58:26 +01:00
Masatoshi Kimura
f851214c0b
Bug 895231 - Make sure the Components shim is consistent with the real Components. r=bholley
2013-07-20 07:53:51 +09:00
Luke Wagner
dc8eda6706
Bug 893434 - OdinMonkey: make accessing non-data properties a link-time validation error (r=bbouvier)
...
--HG--
extra : rebase_source : beb308b3455d0fae18a6d6d5fee744f8b59dc2f2
2013-07-17 17:22:07 -05:00
Gervase Markham
83c0913922
Bug 715549 - remove last vestiges of tri-licence. DONTBUILD.
2013-07-19 16:08:33 +01:00
Ehsan Akhgari
c069003a4b
Bug 895141 - Remove useless prlong.h inclusions from the tree; r=jcranmer
2013-07-18 12:06:38 -04:00
Bobby Holley
09e84333e6
Bug 887334 - Enter a compartment in b2g-only unloading code. r=me CLOSED TREE
2013-07-17 14:28:54 -07:00
Bobby Holley
a93493b71d
Bug 887334 - Add a JSAutoCompartment to AutoCxPusher. r=luke,gabor
...
This should hopefully take care of any cases where consumers expect to be in
the default compartment.
2013-07-17 11:53:52 -07:00
Bobby Holley
0c5572cc76
Bug 887334 - Don't rethrow in quickstubs if there's already an exception pending. r=luke
2013-07-17 11:53:52 -07:00
Bobby Holley
a5bbbb322d
Bug 887334 - Rejigger the string manipulation in OnJSContextNew to avoid depending on being in a compartment. r=luke
...
The current code makes calls that assume (implicitly, via assertions) that |cx|
is in a compartment, which isn't a valid assumption going forward.
2013-07-17 11:53:51 -07:00
Bobby Holley
26926302d8
Bug 889911 - Switch xpcshell to SystemErrorReporter with a little bit of special magic. r=mrbkap
...
XPCShell currently overrides all the JSContexts whose creation it observes with
its own custom error reporter. This reporter does all sorts of funny things which
we try to clean up for the most part. But there are a few very intricate
considerations at play.
First, the old xpcshell error reporter does some mumbo jumbo with the
XPCCallContext stack to try to guess whether some other code might catch the
exception. This is total garbage on a number of fronts, particularly because
the XPCCallContext stack has no concept of saved frame chains, nested event
loops, sandbox boundaries, origin boundaries, or any of the myriad of
complicating factors that determine whether or not an exception will propagate.
So we get rid of it. But this causes some crazy debugger tests to fail, because
they rely on an exception from uriloader/exthandler/nsHandlerService.js getting
squelched, and can't handle anybody reporting errors to the console service at
the particular moment of contortionism when the exception is raised. So we need
to introduce an explicit mechanism to disable the error reporter here to keep
things running.
Second, we have to be very careful about tracking the return status of the
xpcshell binary. The old code would simply flag an error code if the error
handler was invoked, and we can mostly continue to do that. But there are some
complications. See the comments.
Finally, we don't anything analogous in XPCShellEnvironment, because I have
patches in bug 889714 to remove its state-dependence on the error reporter.
I'll switch it to SystemErrorReporter in that bug.
2013-07-16 20:38:44 -07:00
Bobby Holley
b755828946
Bug 889911 - Replace mozJSLoaderErrorReporter with SystemErrorReporter and remove the former. r=mrbkap
2013-07-16 20:38:44 -07:00
Bobby Holley
a2deff3242
Bug 889911 - Introduce xpc::SystemErrorReporter, roughly based on mozJSComponentLoader's error reporter. r=mrbkap
2013-07-16 20:38:44 -07:00
Ryan VanderMeulen
5333a265b8
Backed out 10 changesets (bug 889911, bug 889714) due to merge conflicts on a CLOSED TREE.
...
Backed out changeset 1a1a536121da (bug 889714)
Backed out changeset 2cd88ef9eea5 (bug 889714)
Backed out changeset 489723887eca (bug 889714)
Backed out changeset 2b38ce22cf97 (bug 889714)
Backed out changeset 87b0a59a5d51 (bug 889714)
Backed out changeset 13229bab2ba4 (bug 889714)
Backed out changeset 234bd6d1fbed (bug 889714)
Backed out changeset 4f5f62284917 (bug 889714)
Backed out changeset 18537c4436c7 (bug 889911)
Backed out changeset ca7060ab1588 (bug 889911)
2013-07-16 21:16:31 -04:00
Bobby Holley
b6f705b27a
Bug 889911 - Switch xpcshell to SystemErrorReporter with a little bit of special magic. r=mrbkap
...
XPCShell currently overrides all the JSContexts whose creation it observes with
its own custom error reporter. This reporter does all sorts of funny things which
we try to clean up for the most part. But there are a few very intricate
considerations at play.
First, the old xpcshell error reporter does some mumbo jumbo with the
XPCCallContext stack to try to guess whether some other code might catch the
exception. This is total garbage on a number of fronts, particularly because
the XPCCallContext stack has no concept of saved frame chains, nested event
loops, sandbox boundaries, origin boundaries, or any of the myriad of
complicating factors that determine whether or not an exception will propagate.
So we get rid of it. But this causes some crazy debugger tests to fail, because
they rely on an exception from uriloader/exthandler/nsHandlerService.js getting
squelched, and can't handle anybody reporting errors to the console service at
the particular moment of contortionism when the exception is raised. So we need
to introduce an explicit mechanism to disable the error reporter here to keep
things running.
Second, we have to be very careful about tracking the return status of the
xpcshell binary. The old code would simply flag an error code if the error
handler was invoked, and we can mostly continue to do that. But there are some
complications. See the comments.
Finally, we don't anything analogous in XPCShellEnvironment, because I have
patches in bug 889714 to remove its state-dependence on the error reporter.
I'll switch it to SystemErrorReporter in that bug.
2013-07-16 18:04:49 -07:00
Bobby Holley
269151d7fe
Bug 889911 - Introduce xpc::SystemErrorReporter, roughly based on mozJSComponentLoader's error reporter. r=mrbkap
2013-07-16 18:04:48 -07:00
Masatoshi Kimura
9df2e5de6d
Bug 899388 - Part 3: Remove XUL-related interfaces and ChromeWindow from content. r=bz
2013-08-09 23:35:54 +09:00
Terrence Cole
a08ea9c568
Bug 862115 - Use Rooted<JSPropertyDescriptor> in favor of JSPropertyDescriptor::AutoRooter r=terrence r=smaug r=bholley
2013-04-30 10:29:40 -07:00
Nicholas Nethercote
849635b8f1
Bug 898914 (part 1) - Remove JSBool.
...
--HG--
extra : rebase_source : 2d202e0e5005a7f54724b1540481c15cde3ad52e
2013-08-08 15:53:04 -07:00
Trevor Saunders
a8a12176ad
bug 659722 - remove _IMPL_NS_LAYOUT r=bz
2013-03-16 00:31:38 -04:00
Brian O'Keefe
f98dd45a72
Bug 883502 - Part 1: Move 'chromium_config.mk' includes after rules.mk. r=gps
2013-07-04 08:28:43 -04:00
Gabor Krizsanits
c9c9a69587
Bug 874158 - Crash in GetNativeForGlobal. r=bholley
2013-07-16 15:04:28 +02:00
Boris Zbarsky
4e13ee3c6a
Bug 838146 part 10. Turn on WebIDL bindings for Navigator. r=smaug
2013-07-12 10:37:23 -04:00
Ryan VanderMeulen
b8afdbdee5
Backed out 4 changesets (bug 889911) for Windows bustage.
...
Backed out changeset 5e55ddfc9dc3 (bug 889911)
Backed out changeset 5e296989dd3d (bug 889911)
Backed out changeset 6e48a408d1de (bug 889911)
Backed out changeset e4ec71ab768f (bug 889911)
2013-07-15 15:28:29 -04:00
Bobby Holley
f7d58acf7f
Bug 889911 - Switch xpcshell to SystemErrorReporter with a little bit of special magic. r=mrbkap
...
XPCShell currently overrides all the JSContexts whose creation it observes with
its own custom error reporter. This reporter does all sorts of funny things which
we try to clean up for the most part. But there are a few very intricate
considerations at play.
First, the old xpcshell error reporter does some mumbo jumbo with the
XPCCallContext stack to try to guess whether some other code might catch the
exception. This is total garbage on a number of fronts, particularly because
the XPCCallContext stack has no concept of saved frame chains, nested event
loops, sandbox boundaries, origin boundaries, or any of the myriad of
complicating factors that determine whether or not an exception will propagate.
So we get rid of it. But this causes some crazy debugger tests to fail, because
they rely on an exception from uriloader/exthandler/nsHandlerService.js getting
squelched, and can't handle anybody reporting errors to the console service at
the particular moment of contortionism when the exception is raised. So we need
to introduce an explicit mechanism to disable the error reporter here to keep
things running.
Second, we have to be very careful about tracking the return status of the
xpcshell binary. The old code would simply flag an error code if the error
handler was invoked, and we can mostly continue to do that. But there are some
complications. See the comments.
Finally, we don't anything analogous in XPCShellEnvironment, because I have
patches in bug 889714 to remove its state-dependence on the error reporter.
I'll switch it to SystemErrorReporter in that bug.
2013-07-15 11:44:51 -07:00
Bobby Holley
773913d40f
Bug 889911 - Replace mozJSLoaderErrorReporter with SystemErrorReporter and remove the former. r=mrbkap
2013-07-15 11:44:50 -07:00
Bobby Holley
3b5f53a397
Bug 889911 - Introduce xpc::SystemErrorReporter, roughly based on mozJSComponentLoader's error reporter. r=mrbkap
2013-07-15 11:44:49 -07:00
Trevor Saunders
238525e2d8
bug 887483 - remove a bunch of useless assignments to FORCE_STATIC_LIB implied by LIBXUL_LIBRARY=1 r=mshal
2013-07-11 11:06:34 -04:00
Hsin-Yi Tsai
f7c97fd706
Bug 888592 - move Telephony and TelephonyCall to webidl. sr=sicking, r=bent
2013-07-15 16:27:19 +08:00
Gregory Szorc
0a41c9c2f9
Bug 891632 - Port NO_DIST_INSTALL to moz.build; r=joey
...
Many of the moved variables are likely not needed. moz.build should one
day validate the sandbox's output and error if "useless" variables are
present.
--HG--
extra : rebase_source : 3abdea056c18d00ede8c15b37db60532eca58630
2013-07-10 12:08:21 -07:00
Ryan VanderMeulen
1d7eff0f7a
Backed out changeset b7d6458d2a3c (bug 887483) for apparently causing Android robocop-2 failures.
2013-07-10 13:51:28 -04:00
Trevor Saunders
d82043f811
bug 887483 - rm a bunch of useless assignments to FORCE_STATIC_LIB r=mshal
2013-06-25 14:29:26 -04:00
Ryan VanderMeulen
ec6b3d53b5
Merge m-c to inbound.
2013-07-10 09:45:16 -04:00
Olli Pettay
6767d0a1a8
bug 789919, (snow-white) make addref/release of CCable objects faster by removing indirect refcnt increase/decrease, r=mccr8, test changes r=ehsan
...
--HG--
extra : rebase_source : 2a3b22425c14d6daedc91d62a652c34431acd2fb
2013-07-09 13:30:58 -04:00
Peter Van der Beken
9cbb0938bb
Bug 734503 - Add new DOM binding for TouchList; r=jst.
2013-07-10 11:53:53 +02:00
Bobby Holley
fb8f42b563
Bug 867486 - Remove |Components| from content sandboxes. r=gabor
2013-07-08 10:05:31 -07:00
Joey Armstrong
df6123b0bc
bug 870407: cleanup bug. r=mshal
2013-07-08 11:53:00 -04:00
Randy Lin
e4abcaea62
Bug 803414 - Part 0: Add RecordErrorEvent. r=smaug
2013-06-20 14:06:39 +08:00
Ehsan Akhgari
3c0afe53b2
Bug 890382 - Implement a Web IDL event constructor for IDBVersionChangeEvent; r=smaug
2013-07-05 13:57:28 -04:00
Masatoshi Kimura
c4547c9358
Bug 889148 - Remove legacy QS/classinfo bits from events even more. r=smaug, peterv
2013-07-05 07:53:59 +09:00
Bobby Holley
b97faac20c
Bug 860085 - Remove XPCCallContext refcounting optimization. r=gabor
...
We only use XPCCallContext for reflector calls now, at which point an AddRef
is totally insignificant. Using an auto pointer here lets us clean up some
code, and makes the XPCCallContext destructor start to look pretty sane. :-)
2013-07-03 11:05:20 -06:00
Bobby Holley
dc6e1fc657
Bug 860085 - Remove nsIXPConnect::ReleaseJSContext. r=gabor
2013-07-03 11:05:19 -06:00
Bobby Holley
e742285dcd
Bug 860085 - Stop using XPConnect::ReleaseJSContext in nsJSEnvironment::DestroyJSContext. r=gabor,mccr8
...
We now have the invariant that any in-use cx must be pushed onto the JSContext
stack with one of our stack-scoped automatic nsCxPusher classes. These classes
hold a strong ref to the nsIScriptContext associated with the JSContext they
push (if any). This means that, if this cx is in use, we will always have at
least one strong reference to the nsJSContext coming from the stack, meaning
that neither the destructor nor the Unlink() implementation will be called.
So we don't need to do any deferred destruction of the cx anymore.
2013-07-03 11:05:19 -06:00
Bobby Holley
bace2e0d83
Bug 860085 - Make XPCJSContextStack manipulators private to enforce that we go through the RAII classes. r=gabor
...
With this change, we can be very, very sure that we never push an nsJSContext
without instantiating an AutoCxPusher on the stack.
2013-07-03 11:05:19 -06:00
Bobby Holley
66ffe2da8e
Bug 860085 - Remove unused AutoPopJSContext. r=gabor
2013-07-03 11:05:19 -06:00
Bobby Holley
45f6c08eae
Bug 860085 - Rename xpc::{Push,Pop}JSContext and make them assert against DOM JSContexts. r=gabor
2013-07-03 11:05:18 -06:00
Bobby Holley
9da76160c2
Bug 860085 - Use an AutoPushJSContext in XPCCallContext instead of doing it manually. r=gabor
2013-07-03 11:05:18 -06:00
Kyle Huey
afae5b1108
Bug 885866: Separate deferred finalization from XPConnect so we can use it off the main thread. r=mccr8, peterv, bsmedberg, jorendorff
2013-07-09 07:28:15 -07:00
David Anderson
a52a14df6e
Rewrite CPOWs to use one actor per process (bug 853209, r=billm,bholley,smaug).
2013-07-03 00:24:32 -07:00
Bobby Holley
d78958267e
Bug 888104 - Fix xpcshell linkage error on windows. r=me CLOSED TREE
2013-07-02 16:34:33 -06:00
Joey Armstrong
b7ee853939
bug 870407: move CMMSRCS to mozbuild (file batch #3 ). r=mshal
2013-07-02 17:09:08 -04:00
Bobby Holley
480b6ca3f9
Bug 888104 - Reimplement Auto*JSContext in terms of AutoCxPusher. r=gabor
2013-07-02 14:39:03 -06:00
Bobby Holley
18d35b7c33
Bug 888104 - Introduce AutoCxPusher and reimplement nsCxPusher in terms of it. r=gabor
2013-07-02 14:39:03 -06:00
Bobby Holley
f849650e66
Bug 888104 - Move nsCxPusher's mScx grabbing code into the common helper method. r=gabor
...
This function is called by Push and PushNull, so with the added null check this
is equivalent. This facilitates the refactoring in the next patch.
2013-07-02 14:39:02 -06:00
Mike Shal
8afd7f737d
Bug 880245 - Move EXTRA_JS_MODULES to moz.build (batch #4 ); r=joey
2013-07-01 11:34:30 -04:00
Jeff Walden
63dbd9617f
Bug 888106 - Add too-much-recursion detection to isExtensible tests, and make the isExtensible hook capable of failing. r=bholley, r=ejpbruel
...
--HG--
extra : rebase_source : fe7345322f87dd214aa5122ea8704750e8b2375a
2013-06-28 14:01:09 -07:00
Terrence Cole
c9aa76bb68
Bug 878160 - GC: post barrier weak references in the browser - part 2 browser r=terrence r=billm
...
--HG--
extra : rebase_source : a1856a7dce28da5086f6fbeaeda15596193aa7ad
2013-06-05 16:40:02 -07:00
Ms2ger
29f5ad4120
Bug 888579 - Remove some code that handled WN Nodes; r=bholley
2013-07-01 09:14:36 +02:00
Ms2ger
5ee433e133
Bug 887909 - Convert IDBFileHandle to WebIDL; r=janv
2013-07-01 09:02:37 +02:00
Bobby Holley
d74725cf62
Bug 880917 - Add an API to mutate the version on the compartment and use it from the shells. r=luke
2013-06-29 09:11:19 -06:00
Bobby Holley
b279157b5e
Bug 880917 - Remove XPConnect version munging test. r=luke
...
This test calls the version() shell command, and expects it to work like an
override, rather than the dumb compartment-mutator that I'm turning it into.
Let's just kill the test.
2013-06-29 09:11:18 -06:00
Bobby Holley
c5c7c812ca
Bug 880917 - Convert JS_SetVersion API consumers to per-compartment versions. r=luke
2013-06-29 09:11:18 -06:00
Bobby Holley
8ddaa2c00c
Bug 880917 - Add support for "latest" as a version to evalInSandbox, and use it for sjs files. r=luke
...
Sandboxes always default to JSVERSION_DEFAULT in the browser. But XPCShell sets
up a ContextCallback that does JS_SetVersion(cx, JSVERSION_LATEST) on every
context that gets created, including the ephemerial Sandbox JSContexts. Since
httpd.js runs in xpcshell and evaluates SJS in a sandbox, we've (somewhat
accidentally) supported JSVERSION_LATEST in SJS, which certain SJS files have
taken advantage of. Let's continue to support it explicitly.
2013-06-29 09:11:18 -06:00
Bobby Holley
49f8ff5f9d
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-29 09:11:17 -06:00
Justin Lebar
c889f21d8f
Bug 820686 - Follow-up: s/MOZ_ASSUME_NOT_REACHED/MOZ_ASSUME_UNREACHABLE/. rs=waldo
...
I'd meant to do this, but I only got as far as the comment in mfbt. Oops!
--HG--
extra : rebase_source : 3cfe3ef1bf401eb7d9a10fcabcfb39008e9553a4
2013-06-28 19:20:12 -07:00
Justin Lebar
09d2312322
Bug 820686 - Remove code after MOZ_CRASH or MOZ_ASSUME_NOT_REACHED. r=(see below)
...
r=tbsaunde for accessible
r=jmuizelaar for gfx
r=waldo for js
r=roc for layout
r=glandium for mozglue
r=jduell for netwerk
r=khuey for everything else
2013-06-28 18:38:32 -07:00
Gabor Krizsanits
b72d4b8a58
Bug 885737 - EvalInSandbox should return error if there was an exception. r=bholley
2013-06-27 09:52:57 +02:00
Cykesiopka
506def29fd
Bug 831741 - Followup: Remove remaining __cplusplus bits from /js (with exceptions). r=jorendorff
2013-06-26 21:35:11 -04:00
Guilherme Gonçalves
a764e011fd
Bug 884407 - Use an enum in SpeechRecognitionError. r=smaug
2013-06-25 20:08:58 -04:00
Andrew McCreight
819c36784c
Bug 883657, part 2 - Don't force a GC in mozJSComponentLoader::UnloadModules. r=bholley
2013-06-25 08:42:40 -07:00
Catalin Iacob
83b78343dc
Bug 798914 (part 5) - Use newly introduced mozilla::MallocSizeOf instead of nsMallocSizeOfFun. r=njn.
...
--HG--
extra : rebase_source : fc472490dd978d165f02f77ed37f07aed6e5bb61
2013-06-23 14:03:39 +02:00
Catalin Iacob
fddabbee4e
Bug 798914 (part 4) - Use newly introduced mozilla::MallocSizeOf in js. r=njn.
...
--HG--
extra : rebase_source : d1c063b94c7ec58729150cbea602bb4c9f2a0e24
2013-06-23 13:21:01 +02:00
Bobby Holley
16605e4fa8
Bug 885800 - Unwrap CCWs in Cu.isDeadWrapper. r=gabor
2013-06-24 10:02:08 -07:00
Ehsan Akhgari
93c54f4145
Bug 885583 - Enable Web Audio unconditionally across mochitests; r=roc
2013-06-23 19:23:02 -04:00
Ms2ger
2c937acc56
Bug 882848 - Use MOCHITEST_BROWSER_FILES more; r=gps
2013-06-23 09:16:19 +02:00
Ms2ger
e81841c9a6
Bug 884951 - Use XPCWrappedNative::Get more; r=bholley
2013-06-23 09:15:55 +02:00
Ms2ger
67f84492bd
Bug 884268 - Part b: Move nsContentUtils::PreserveWrapper to nsWrapperCache; r=smaug
2013-06-23 09:15:42 +02:00
Ms2ger
984de31759
Bug 884947 - Remove superfluous null check in XPCConvert::NativeInterface2JSObject; r=bholley
2013-06-23 09:14:02 +02:00
Jan Varga
24f8419a8f
Bug 884936 - Add Blob/File support to xpcshell. r=bent
2013-06-21 17:15:46 +02:00
Jan de Mooij
f957967378
Bug 881902 - Remove ContextStack and StackSpace. r=luke,njn
2013-06-21 08:28:06 +02:00
Jon Coppeard
cdf1583b6e
Bug 885310 - 2 Rename JSHandleFoo in js directory r=bholley
2013-06-21 14:12:46 +01:00
Bobby Holley
7a9309f7be
Bug 883450 - Miscellaneous requests. r=gabor
2013-06-20 11:05:34 -07:00
Bobby Holley
b997cd8dc3
Bug 883450 - Remove custom request munging in XPCCallContext and use a JSAutoRequest. r=gabor
2013-06-20 11:05:34 -07:00
Bobby Holley
b3a2a6fb80
Bug 883450 - Unscope the JSAutoRequest in XPCJSContextStack. r=gabor
2013-06-20 11:05:33 -07:00
Bobby Holley
f3f2e9af1f
Bug 883450 - MOZ_CRASH if we fail to spin up the SafeJSContext, and remove error handling. r=gabor
...
There's not a lot we can do without it in the browser these days.
2013-06-20 11:05:33 -07:00
Bobby Holley
b214e9065e
Bug 884245 - Simplify nsContentUtils::GetDocumentFromCaller. r=bz
...
The first three lines of this function are an obvious bug. But the behavior in
general is also worrisome, because it's using antiquated XPConnect machinery
that will be less and less correct as we move to the new DOM bindings. Let's
just infer our global from the active compartment.
2013-06-20 11:05:32 -07:00
Olli Pettay
75377b423a
Bug 884296 - Remove the rest of the classinfos for DOM events, r=peterv
...
--HG--
extra : rebase_source : 9b397e2e19e8e15d2753dc5bf7c18e2b3147f92b
2013-06-20 17:13:52 +03:00
Ed Morley
cf5b96d1e9
Merge mozilla-central and inbound
2013-06-20 09:20:10 +01:00
Ed Morley
4e0a681101
Merge latest green birch changeset and mozilla-central
2013-06-20 09:01:19 +01:00
Gregor Wagner
944367b7e8
Bug 885025 - B2G: Add missing request in mozJSComponentLoader::UnloadModules. r=khuey
2013-06-19 21:09:48 -04:00
Brian O'Keefe
ed17339221
Bug 875934 - Move LIBRARY_NAME to moz.build (batch #1 ); r=mshal
...
--HG--
extra : rebase_source : 385d3fd65475ffc18ee44ae088753649470e214b
2013-06-17 15:21:01 -04:00
L. David Baron
c906c85901
Fix XPC_DUMP_AT_SHUTDOWN bustage from Bug 882162 Part 1 (changeset efb0b493cc21).
2013-06-19 16:55:06 -07:00
Kyle Huey
c696ced296
Bug 882893: Move observer notifications out of the cycle collector and into the runtime. r=smaug
2013-06-19 14:06:50 -07:00
Terrence Cole
3234462fbc
Bug 884410 - Handlify the JS_EnumerateStandardClasses interface; r=jonco
...
--HG--
extra : rebase_source : b111de82bde762c2d34897bd7e65c55cd239e0df
2013-06-13 17:10:00 -07:00
Terrence Cole
066e7ee97b
Bug 884410 - Handlify the JS_ResolveStandardClass interface; r=jonco
...
--HG--
extra : rebase_source : 3ba45931aad97fb7cbca517ae9bccb974d42e57a
2013-06-13 17:10:00 -07:00
Terrence Cole
075d331390
Bug 884410 - Handlify the JS_TransplantObject interfaces; r=jonco
...
--HG--
extra : rebase_source : f1c2adc7380e5806ce6b4fce5bb41f9400b9e1b1
2013-06-13 17:09:55 -07:00
Boris Zbarsky
919f238e96
Bug 884401. Remove the hasXPConnectImpls annotations for HTMLElement, Element, and Node in WebIDL bindings, since all those are gone. r=peterv
2013-06-19 14:48:43 -04:00
Andrea Marchesini
cac6aa669b
Bug 841442 - Move HTMLFormElement to WebIDL, r=bz
2013-06-19 10:24:37 -04:00
Andrea Marchesini
dc9752fc49
Bug 841442 - Rename nsHTMLFormElement to HTMLFormElement
...
--HG--
rename : content/html/content/src/nsHTMLFormElement.cpp => content/html/content/src/HTMLFormElement.cpp
rename : content/html/content/src/nsHTMLFormElement.h => content/html/content/src/HTMLFormElement.h
2013-06-19 10:24:37 -04:00
Jon Coppeard
fb1219b24e
Bug 884371 - Remove JSMutableHandleXXX from the js directory r=bholley
2013-06-19 11:32:27 +01:00
Ryan VanderMeulen
6e172126b6
Merge cypress and inbound.
2013-06-18 18:15:53 -04:00
Kyle Huey
48d0d710c8
Bug 882162: Part 11 - Push the final uses of mJSHolders down into mozilla::CycleCollectedJSRuntime and make it private. r=mccr8
2013-06-18 12:02:16 -07:00
Kyle Huey
b2eb672ede
Bug 882162: Part 10 - Add a hook for tracing black JS and update the big comment to more accurately describe how this works. r=mccr8
2013-06-18 12:02:16 -07:00
Kyle Huey
1b8071cf87
Bug 882162: Part 9 - Kill nsCycleCollectionJSRuntime. r=mccr8
2013-06-18 12:02:16 -07:00
Kyle Huey
67e8082658
Bug 882162: Part 8 - Move the rest of nsCycleCollectionJSRuntime's implementation into mozilla::CycleCollectedJSRuntime. r=mccr8
2013-06-18 12:02:16 -07:00
Kyle Huey
9863cf7d37
Bug 882162: Part 7 - Move tracing of gray roots into mozilla::CycleCollectedJSRuntime. r=mccr8
2013-06-18 12:02:15 -07:00
Kyle Huey
24678967c5
Bug 882162: Part 6 - Move the runtime and zone CC participants into mozilla::CycleCollectedJSRuntime. r=mccr8
2013-06-18 12:02:15 -07:00
Kyle Huey
9ca4ebe0b0
Bug 882162: Part 5 - Move most of nsCycleCollectionJSRuntime's implementation into mozilla::CycleCollectedJSRuntime. r=mccr8
2013-06-18 12:02:15 -07:00
Kyle Huey
3df573da7b
Bug 882162: Part 4 - Push tracing of global objects down into mozilla::CycleCollectedJSRuntime. r=mccr8
2013-06-18 12:02:15 -07:00
Kyle Huey
7530b2b62d
Bug 882162: Part 3 - Replace GetJSRuntime() with just Runtime(). r=mccr8
2013-06-18 12:02:15 -07:00
Kyle Huey
c5d2a3de07
Bug 882162: Part 2 - Begin to push mJSHolders down into mozilla::CycleCollectedJSRuntime. r=mccr8
2013-06-18 12:02:14 -07:00
Kyle Huey
ab9a17c350
Bug 882162: Part 1 - Create a mozilla::CycleCollectedJSRuntime class. r=mccr8,bholley
2013-06-18 12:02:07 -07:00
Kyle Huey
d91ec7682b
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
Jon Coppeard
c43484e0e2
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
c1b9a0f0bd
Bug 877762 - GC: Post-barrier cycle collector participants - 6 Convert jsid and JS::String to use Heap<T> r=smaug
2013-06-18 11:00:38 +01:00
Jon Coppeard
7bcacd601c
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
Jon Coppeard
ab74ea727b
Bug 877762 - GC: Post-barrier cycle collector participants - 4 Convert JSScript* to use Heap<T> r=smaug
2013-06-18 11:00:37 +01:00
Olli Pettay
ce64a01652
Bug 847611 - Paris bindings for autogenerated events, r=peterv
2013-06-18 21:48:45 +03:00
Dan Gohman
55d23f9696
Bug 883574 - Add const qualifiers to variables and pointers in the JS tree. r=evilpies
2013-06-17 18:31:47 -07:00
Nicholas Nethercote
a43808353f
Bug 884649 (part 1) - Used PLDHash instead of JSDHash in xpconnect. r=mccr8.
...
--HG--
extra : rebase_source : 7a206a6dfba19d8678ef9aee7517b4833c2a4f00
2013-06-19 16:15:21 -07:00
Boris Zbarsky
cf49b7e92e
Bug 882653 part 3. Make the "does not implement interface" error reporting better in WebIDL bindings. r=smaug
2013-06-17 13:07:03 -04:00
Nils Maier
82984fe6e0
Bug 846019 - Part 2: Prefix memory reports with add-on ids. r=njn
2013-06-14 22:48:28 -04:00
Peter Van der Beken
1ad10a867b
Bug 851465 - Remove slim wrappers - rename WRAPPER_MULTISLOT. r=bholley.
2013-06-13 16:55:40 +02:00
Peter Van der Beken
ef9e24aa33
Bug 851465 - Remove slim wrappers - remove slim wrapper macros and rename WN macros. r=bholley.
2013-04-19 21:58:30 +02:00
Peter Van der Beken
7d1069ede0
Bug 851465 - Remove slim wrappers - whitespace changes. r=bholley.
2013-04-19 21:58:26 +02:00
Peter Van der Beken
70822c5a47
Bug 851465 - Remove slim wrappers - remove slim wrapper proto code and logging code. r=bholley.
2013-04-19 21:58:26 +02:00
Peter Van der Beken
cffa62184d
Bug 851465 - Remove slim wrappers - remove various slim wrapper code and checks. r=bholley.
2013-04-19 21:57:18 +02:00
Peter Van der Beken
ed705d5d38
Bug 851465 - Remove slim wrappers - stop morphing slim wrappers. r=bholley.
2013-04-19 21:57:15 +02:00
Peter Van der Beken
8cd1dfca20
Bug 851465 - Remove slim wrappers - stop constructing slim wrappers. r=bholley.
2013-03-25 11:36:24 +01:00
Edgar Chen
c846841173
Bug 860585 - Part 1: Move cardLock API from mozMobileConnection to mozIccManager (IDL). r=allstars.chh. sr=sicking
...
--HG--
rename : dom/icc/interfaces/nsIDOMICCCardLockErrorEvent.idl => dom/icc/interfaces/nsIDOMIccCardLockErrorEvent.idl
2013-04-11 11:19:36 +08:00
Boris Zbarsky
65c0969f7c
Bug 880367 part 1. Change the "enabled" callback for WebIDL constructors to take a JSContext* and the object the constructor will be defined on. r=smaug,bholley
2013-06-13 01:12:26 -04:00
Nicholas Nethercote
5c0a0c7f4f
Bug 882520 - Two minor tweaks to the memory reporting paths. r=bhackett.
...
--HG--
extra : rebase_source : b6176cd0b0314c2216ccc79f76a34fd558876092
2013-06-12 20:14:52 -07:00
Bobby Holley
302ad9de7c
Bug 881517 - Remove mPrototypeNoHelper machinery. r=mrbkap
...
The comments surrounding it don't make any sense to me, and most likely applied
to a pre-CPG world.
2013-06-12 14:10:54 -07:00
Bobby Holley
bc3880cc53
Bug 881517 - Just use Object.prototype for vanilla XPCWNs. r=mrbkap
2013-06-12 14:10:53 -07:00
Andrea Marchesini
0abf71d713
Bug 856410 - Implement futures - Part 2: Future.then() and Future.catch(). r=mounir, r=bz, r=smaug
2013-06-11 21:41:22 -04:00
Ed Morley
aa048e78a3
Merge mozilla-central and inbound
2013-06-12 08:41:06 +01:00
Ms2ger
43b0a494b4
Bug 881358 - Kill build warnings in XPConnect; r=bholley
2013-06-12 09:00:09 +02:00
Ryan VanderMeulen
79cab24538
Backed out changeset 1df122edcf0d (bug 823978) for bustage (again).
...
CLOSED TREE (again)
2013-06-11 15:27:46 -04:00
Benjamin Peterson
ad3fb45421
Bug 823978 - Rename JSOPTION_STRICT to JSOPTION_EXTRA_WARNINGS. r=Waldo
...
--HG--
extra : rebase_source : 1396c8ec5bd99ab35343cfff2b87d22955671243
2013-06-11 11:30:18 -07:00
Phil Ringnalda
10c5964711
Back out 2ccb9ec11a9f:d27ecea31590 (bug 856410) for b2g mochitest-3 failures
...
CLOSED TREE
2013-06-11 21:24:56 -07:00
Andrea Marchesini
cb935c984c
Bug 856410 - Implement futures - Part 2: Future.then() and Future.catch(). r=mounir, r=bz, r=smaug
2013-06-11 21:41:22 -04:00
Ryan VanderMeulen
911f19ec09
Backed out changeset 7e69e102a432 (bug 823978) for bustage.
...
CLOSED TREE
2013-06-11 14:28:17 -04:00
Benjamin Peterson
bf9614501d
Bug 823978 - Rename JSOPTION_STRICT to JSOPTION_EXTRA_WARNINGS. r=Waldo
...
--HG--
extra : rebase_source : f5c0e9c743dadb0431eacef6b46b6e274264d3aa
2013-06-11 10:55:21 -07:00
Ed Morley
64b2bc1c50
Merge mozilla-central and inbound
2013-06-11 16:24:51 +01:00
Ed Morley
71b7df3bfd
Backed out changeset 2864e2610800 (bug 877584) for causing bug 881266
2013-06-11 16:11:14 +01:00
Ed Morley
f5d357a991
Backed out changeset 94fb66d82988 (bug 877584)
2013-06-11 16:10:51 +01:00
Kyle Huey
3329670a4b
Bug 877584: Add missing #ifdef DEBUG. r=me
2013-06-09 16:08:19 -07:00
Kyle Huey
756f02ce3d
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
Bobby Holley
a0507f61d6
Bug 770840 - Add Runtime aborts when using XPCWrappedJS off-main-thread. v2
2013-04-12 15:35:00 -04:00
Bobby Holley
360f1a1f1e
Bug 770840 - Remove XPConnect test that explicitly runs JS on a seperate thread. v1
2013-04-12 15:34:00 -04:00
Gabor Krizsanits
08c61f7f29
Bug 877760 - XPConnect always logs an error when a component doesn't implement a method. r=mrbkap
2013-06-11 12:01:33 +02:00
Terrence Cole
6df78c5573
Bug 880392 - Fix use-after free with exact rooting in XPCShell; r=sfink
...
--HG--
extra : rebase_source : a509e84b7165b8a40f4a06e006dfc614665eef2c
2013-06-07 11:34:57 -07:00
Arnaud Sourioux
a5d79837b1
Bug 880089 - Remove unused parameter 'flags' from nsIXPConnect.idl's in setDefaultSecurityManager() methods correctly. r=bholley
2013-06-07 08:40:56 -04:00
Kyle Huey
86d6d2b6ae
Back out bug 877584 on this CLOSED TREE.
2013-06-06 10:49:09 -07:00
Kyle Huey
0c7597e1cb
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
Peter Van der Beken
0e0cb23737
Bug 877654 - Remove thisptr offset tables - Remove thisptr table support from XPConnect. r=Ms2ger.
...
--HG--
extra : rebase_source : 9f333a76ba13b518e3a33a230adcdd154606fa1a
2013-05-21 21:59:30 +02:00
Daniel Holbert
984ba95807
Bug 880078: Remove no-longer-used variable 'secFlag' from XPCWrappedNative::CallMethod. r=bholley
2013-06-06 00:27:16 -07:00
Bobby Holley
a28e914d2c
Bug 877261 - Fold XPCCallContext::Init into XPCCallContext::XPCCallContext. r=Ms2ger
...
The large block is a simple move.
2013-06-04 21:11:21 -07:00
Bobby Holley
106481e316
Bug 877261 - Remove WrapperInitOptions. r=Ms2ger
...
Now that we don't have the separate path for initialization from an
XPCLazyCallContext, this stuff can be simplified. We get rid of Init entirely
in the next patch.
2013-06-04 21:11:21 -07:00
Bobby Holley
79e154981a
Bug 877261 - Kill XPCLazyCallContext. r=Ms2ger
...
\o/
2013-06-04 21:11:21 -07:00
Bobby Holley
9ab7c2d38c
Bug 877261 - Remove XPCLazyCallContext from Quickstubs. r=Ms2ger
...
There are a number of places where quickstubs does a scary-looking call to
lccx->SetWrapper. However, the lccx never gets morphed into a ccx, nor does
it escape in any other way. And unlike ccxes, declaring an lccx on the stack
doesn't have any observable side-effects. So this should actually be safe.
2013-06-04 21:11:20 -07:00
Bobby Holley
4843761664
Bug 877261 - Stop Passing lccx in a few Quickstubs places where we just want a JSContext. r=Ms2ger
2013-06-04 21:11:20 -07:00
Bobby Holley
6bfdce50e9
Bug 877261 - Remove the last two non-quickstub XPCLazyCallContexts. r=Ms2ger
2013-06-04 21:11:20 -07:00
Bobby Holley
e7426ec772
Bug 877261 - Remove a bunch of now-unnecessary ccx declarations from nsXPConnect. r=Ms2ber
2013-06-04 21:11:20 -07:00
Bobby Holley
19baba1983
Bug 877261 - Remove XPCCallContext from XPCCComponents. r=Ms2ger
2013-06-04 21:11:19 -07:00
Bobby Holley
ad7187ee15
Bug 877261 - Stop taking a cx in XPCWrappedJS::GetNewOrUsed. r=Ms2ger
...
Some of these callers seem to be passing a ccx when they don't need to, but
let's just remove the param all together for consistency.
2013-06-04 21:11:19 -07:00
Bobby Holley
41e994226a
Bug 877261 - Stop using XPCCallContext for XPCConvert. r=Ms2ger
2013-06-04 21:11:19 -07:00
Bobby Holley
21f7e67df3
Bug 877261 - Stop using XPCCallContext for most stuff in XPCWrappedNative.cpp. r=Ms2ger
...
Starting with the above, this is the smallest unit change that will compile.
2013-06-04 21:11:18 -07:00
Bobby Holley
84df3243e8
Bug 877478 - Remove the machinery for security managers in XPCContext. r=mrbkap
2013-06-04 19:56:43 -07:00
Bobby Holley
bb1196da20
Bug 877478 - Move all consumers of GetAppropriateSecurityManager to GetDefaultSecurityManager and rm the former. r=mrbkap
2013-06-04 19:56:43 -07:00
Bobby Holley
6592cd4cc4
Bug 877478 - Remove SetSecurityManagerForJSContext and related APIs. r=mrbkap
...
The only consumers here were the shells, which we've now fixed.
2013-06-04 19:56:43 -07:00
Bobby Holley
213d43e430
Bug 877478 - Remove FullTrustSecMan junk. r=mrbkap
...
This stuff shouldn't be necessary anymore. The default security manager should
do the right thing given for script running in the scope of a BackstagePass.
2013-06-04 19:56:42 -07:00
Bobby Holley
a473e25686
Bug 879341 - Use an AutoSafeJSContext in CheckForDebugMode like we should. r=gabor
2013-06-04 15:37:59 -07:00
Bobby Holley
2031113f6a
Bug 879341 - Move CheckForDebugMode into the main thread event observer. r=gabor
...
This gets invoked at the very end of nsThread::ProcessNextEvent(). If the cx stack
is empty here, that means the event loop isn't nested - if it it was, we'd at
least have a null cx on the stack from a higher-level call to OnProcessNextEvent
for the main thread observer.
As such, this seems like a much more reasonable place to make debug mode changes.
2013-06-04 15:37:58 -07:00
Bobby Holley
f21d52542c
Bug 877862 - Propagate exceptions from PrepareForWrapping. r=mrbkap
2013-06-04 10:30:11 -07:00
Daniel Holbert
b867c07c1b
Bug 879029: Remove no-longer-used variable 'xpc' from nsCxPusher::DoPush. r=bholley
2013-06-03 16:17:22 -07:00
Ryan VanderMeulen
125253843d
Backed out 3 changesets (bug 877862, bug 878325) for mochitest-other orange on a CLOSED TREE.
...
Backed out changeset 803586f0a297 (bug 878325)
Backed out changeset d4a39e18e5a7 (bug 878325)
Backed out changeset 08a29f18500a (bug 877862)
2013-06-03 15:50:59 -04:00
Bobby Holley
23b5ae184f
Bug 877862 - Propagate exceptions from PrepareForWrapping. r=mrbkap
2013-06-03 11:27:41 -07:00
Trevor Saunders
87900be6b7
bug 873622 - remove XPCCallContext::GetXPConnect() r=bholley
2013-05-17 15:21:23 -04:00
Trevor Saunders
76cd3878e0
bug 873622 - remove nsIXPConnectWrappedNative::GetXPConnect() r=bholley
2013-05-17 14:31:02 -04:00
Trevor Saunders
252ee3acf9
bug 873622 - remove some useless xpconnect getters r=bholley
2013-05-17 13:28:08 -04:00
Trevor Saunders
f1e455a13f
bug 873622 - speed up nsXPConnect::GetXPConnect() and rename it since it never returns null r=bholley
2013-05-17 01:49:41 -04:00
Ms2ger
1602264ebc
Bug 876604 - Outparamdel UnwrapDOMObjectToISupports; r=bz
2013-06-01 08:56:02 +02:00
Bobby Holley
5d4d04cffd
Bug 858101 - Run the DefaultValue algorithm directly on the wrapper for Xrays. r=mrbkap
2013-05-31 10:36:01 -07:00
Benjamin Peterson
f4dc321a08
Bug 823978 - Rename JSOPTION_STRICT to JSOPTION_EXTRA_WARNINGS. r=Waldo
...
--HG--
extra : rebase_source : 34f95fc6017d3f3f4f091083debacbd466b51bf6
2013-06-11 12:49:11 -07:00
Gabor Krizsanits
654fe7f8ff
Bug 875405 - fixing unpushed cx usages. r=bholley
2013-05-30 16:54:46 +02:00
Peter Van der Beken
86d520dcf2
Bug 874321 - Fix setting of expandos on Xrays for DOM bindings with named properties. r=bz.
...
--HG--
extra : rebase_source : 697545417d27696de05c0f22987e4cb187d226cd
2013-05-29 11:38:57 +02:00
Brian Hackett
c14649e5d8
Bug 678037 - Add (disabled) ability to parse script bytecode lazily, r=luke.
2013-05-30 06:29:56 -06:00
Kyle Huey
fb465d209c
Bug 876555: Avoid including xpcprivate.h in most generated dom binding code. r=bz
2013-05-30 11:15:31 +08:00
Boris Zbarsky
14e7edc59d
Bug 876805. Fix unsafe reference gc hazards in dom/ code. r=smaug
2013-05-29 16:16:04 -04:00
Bobby Holley
93149db762
Bug 876762 - Remove support for mScopeForNewJSObjects. r=luke
2013-05-29 09:50:49 -07:00
Ryan VanderMeulen
3aa3d304f2
Merge m-c to fx-team.
2013-05-28 21:25:32 -04:00
Bobby Holley
f8be750902
Bug 872135 - Remove unnecessary nsContentUtils include. r=me DONTBUILD
2013-05-28 11:05:38 -07:00
Bobby Holley
214e104806
Bug 870423 - Tests. r=bz
2013-05-28 10:29:38 -07:00
Mihai Sucan
4e10acc040
Bug 859756 - [browserconsole] Add timestamp to nsIConsoleMessages; r=bz
2013-05-24 21:36:56 +03:00
Mike Shal
6f32ddf61c
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
Jon Coppeard
f53a29e132
Bug 874691 - Make CC participant tracing indirect r=mccr8 r=smaug r=bz
2013-05-27 12:50:49 +01:00
Masatoshi Kimura
5e157a3641
Bug 875155 - Make bug 809674 test self-contained. r=bholley
2013-05-25 07:55:18 +09:00
Boris Zbarsky
d5daf7eeff
Bug 875628. NewProxyObject should take a handle for the private value. r=till
2013-05-24 13:03:13 -04:00
Bobby Holley
29228294cc
Bug 874318 - Don't allow CALL on XOWs. r=mrbkap
2013-05-22 22:27:16 -06:00
Bobby Holley
8e973c4709
Bug 862380 - Tests. r=mrbkap
2013-05-22 22:27:15 -06:00
Bobby Holley
047952f04b
Bug 862380 - Silently fail for enumerate-like operations on XOWs. r=mrbkap
2013-05-22 22:27:15 -06:00
Bobby Holley
7e08d10ad9
Bug 862380 - Be more explicit about rejecting JSID_VOID for XOWs. r=mrkbap
...
We already do this, but it's helpful to be clear about it.
2013-05-22 22:27:15 -06:00
Bobby Holley
db59678169
Bug 862380 - Pass the entered id in addition to the wrapper action to Policy::deny. r=mrbkap
2013-05-22 22:27:15 -06:00
Bobby Holley
11f2396ec2
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
Tom Schuster
0c845c2f9b
Bug 863957 - Check if jsid is really a string in Components.interfacesByID. r=bz
2013-05-22 22:32:50 +02:00
Bobby Holley
66c9dffde0
Bug 872135 - Use the SafeJSContext in nsXPConnect::CheckForDebugMode. r=gabor
2013-05-22 10:05:28 -06:00
Bobby Holley
bc91b98ea1
Bug 868130 - Fix include guard. r=me
2013-05-22 10:05:28 -06:00
Bobby Holley
1b2f22fe61
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
583ca59ca3
Bug 868130 - Add an AutoRequest inside nsCxPusher. r=gabor
2013-05-22 10:05:26 -06:00
Bobby Holley
2b2cd4e0b7
Bug 868130 - Remove the dependencies of the nsCxPusher machinery on nsContentUtils, use nsCxPusher in xpcshell, and privatize APIs. r=gabor
...
No more xpc::danger, for now. ;-)
2013-05-22 10:05:26 -06:00
Bobby Holley
772a8da25d
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
ba05c93769
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
8ed4c38fb9
Bug 868130 - Enter a request for all of OnJSContextNew. r=peterv
2013-05-22 10:05:23 -06:00
Jan de Mooij
2c2722d303
Bug 857845 part 3 - Remove JM JSAPI flags, memory reporters and browser prefs. r=djvj
...
--HG--
extra : rebase_source : 8b2ed85801fcd8c8fd0fc16a89b1a275add1a310
2013-05-22 14:50:45 +02:00
Boris Zbarsky
b0c5538087
Bug 874612. Make some nsIXPConnectWrappedNative methods take a Handle<jsid> instead of a jsid. r=bholley
2013-05-21 22:59:17 -04:00
Bobby Holley
ca6f7896a8
Bug 874083 - Ignore domain in PrepareForWrapping prototype remapping. r=gabor, billm
2013-05-21 07:53:35 -06:00
Brian Hackett
73af90e972
Bug 871079 - Don't trigger operation callback if JS has been running for less than one second, r=bholley.
2013-05-20 20:26:44 -06:00
Andrew McCreight
5eae3f10e5
Bug 873111 - Statically enforce root/child phase separation in cycle collector graph building. r=smaug
2013-05-20 13:08:11 -07:00
Masatoshi Kimura
febdba954d
Bug 873753 - Remove classinfo bits from WebIDL-bound events. r=smaug
2013-05-21 04:34:12 +09:00
Bobby Holley
76cfaf4368
Bug 871887 - Make sure |this|-binding is correct or marquee event listeners. r=bz
2013-05-20 11:33:49 -06:00
Boris Zbarsky
810766595d
Bug 873735 part 2. Change nsIXPConnectJSObjectHolder::GetJSObject to return a JSObject*. r=bholley
2013-05-20 08:44:18 -04:00
Boris Zbarsky
be0882e3a1
Bug 873735 part 1. Fix the more or less mechanical browser rooting hazards. r=terrence
2013-05-20 08:40:06 -04:00
Boris Zbarsky
1760bc9f2d
Bug 873730. Make JS_SourceHook take a Handle for the JSScript. r=till
2013-05-18 23:09:11 -04:00
Masatoshi Kimura
8897c8b3e0
Bug 871786 - Remove KeyboardEvent classinfo. r=smaug
2013-05-19 10:28:48 +09:00
Andrea Marchesini
0e20d68ea0
Bug 870856 - Convert DOMError to WebIDL. r=Ms2ger, r=bz
2013-05-18 13:52:06 -04:00
Boris Zbarsky
620839f027
Bug 868312 finale: finish rooting dom/ code. r=smaug
2013-05-17 21:48:25 -04:00
Gregory Szorc
c1b865f669
Bug 873629 - Remove 129 empty Makefile.in files; r=ted
2013-05-17 16:20:11 -07:00
Ryan VanderMeulen
64bb07971b
Merge m-c to inbound on a CLOSED TREE.
2013-05-17 17:34:54 -04:00
Ryan VanderMeulen
1732f4e103
Backed out changesets 073791f33ab7 and 7ac5779a426c (bug 859756) for causing intermittent Windows build failures.
...
CLOSED TREE
2013-05-17 17:30:20 -04:00
Ryan VanderMeulen
1575a033a0
Merge m-c to fx-team.
2013-05-17 12:51:20 -04:00
Mihai Sucan
7c419043ce
Bug 859756 - [browserconsole] Add timestamp, category and window IDs to nsIConsoleMessages; r=bz
2013-05-16 20:23:46 +03:00
Jan-Ivar Bruaroey
7921c9c1e4
Bug 823512: Rewrite PeerConnection in JS-implemented WebIDL r=bz,jesup
2013-05-07 20:55:21 -04:00
Ryan VanderMeulen
20ac561a9b
Merge m-c to inbound.
2013-05-17 15:40:53 -04:00
Bobby Holley
19dc83c3d3
Bug 872772 - Tests. r=gabor
2013-05-17 10:44:25 -07:00
Bobby Holley
d1f03a0013
Bug 872772 - Fix up lost Xray waivers when wrapping into the content compartment. r=gabor
2013-05-17 10:44:25 -07:00
Andrew McCreight
e7c16849ba
Bug 865320 - Move the logic for deciding when to doing a merging CC into the cycle collector. r=smaug
2013-04-29 16:41:41 -07:00
Nathan Froyd
d97ca8a232
Bug 871595 - don't include WrapperFactory.h in AccessCheck.h; r=bholley
2013-05-13 12:04:23 -04:00
David Zbarsky
36ae0d2a11
Remove some unused code due to bug 871189, r=bz over irc
2013-05-16 12:29:03 -07:00
David Zbarsky
a5f718b924
Bug 871189 - Remove Document classinfo r=bz
2013-05-16 11:06:21 -07:00
Olli Pettay
9e26f82682
additional patch for Bug 847594, remove bogus assertion, r=bz, CLOSED TREE
2013-05-16 19:16:29 +03:00
Ted Mielczarek
47d7af59de
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
Aryeh Gregor
2075ff6575
Bug 867098 - Don't implicitly convert to already_AddRefed in js/xpconnect/. r=peterv
2013-04-28 14:49:41 +03:00
Cameron McCormack
9c655c183c
Bug 839103 - Part 11: Add StyleRule{Added,Removed,Changed} events. r=bz
2013-05-16 17:13:36 +10:00