Commit Graph

5099 Commits

Author SHA1 Message Date
Wes Kocher
b9d77f5943 Backed out changeset 2c56aed63687 (bug 1219482) to hopefully fix the intermittent hazard failures CLOSED TREE
--HG--
extra : commitid : 7egFNnxx2ut
2016-01-29 10:15:38 -08:00
sajitk
6fdb9b782e Bug 1219482 - Replace PRLogModuleInfo with LazyLogModule in various files. r=bsmedberg
--HG--
extra : rebase_source : 37e8f53a8aa5242058ab8fc867804cbc8940653e
2016-01-28 10:35:00 -05:00
Tom Schuster
4d6aaf2f25 Bug 1242214 - Rename JSPropertyDescriptor JS::PropertyDescriptor everywhere else. r=smaug 2016-01-28 11:28:04 +01:00
Tom Schuster
180499c4ff Bug 1242214 - Rename JSPropertyDescriptor JS::PropertyDescriptor in js. r=sstangl 2016-01-28 11:28:04 +01:00
Chris Manchester
d6f59759cd Bug 1243096 - Remove ini manifests containing only support-files and move their contents to TEST_HARNESS_FILES. r=gps
--HG--
extra : commitid : FyLge9QyfDF
2016-01-27 17:46:34 -08:00
Carsten "Tomcat" Book
b9e929e1a7 merge mozilla-inbound to mozilla-central a=merge 2016-01-27 11:59:49 +01:00
Bill McCloskey
c95da3e673 Bug 1233497 - Fix infrastructure for disallowing unsafe CPOWs in browser code. r=mrbkap
--HG--
extra : commitid : AkRt0J9Cpgt
extra : rebase_source : 39bf3c27ce593c95e4aecb5f7bb55a8ffc05382c
2016-01-05 19:28:27 -05:00
simplyblue
4a7674779d Bug 1212533 - Change the out-param of js/JS::Construct from MutableHandleValue to MutableHandleObject. r=arai, r=jorendorff
--HG--
extra : rebase_source : 04e0ec01701a1c55b5589b36576b7bab433feafd
2015-10-28 16:38:27 +05:30
Tom Schuster
986704f36e Bug 1242072 - Continue using getPropertyDescriptor for get in Sandbox. r=bholley 2016-01-26 19:38:53 +01:00
Tom Schuster
7b7782424a Bug 1242072 - Continue using getPropertyDescriptor for get in XrayWrapper. r=bholley 2016-01-26 19:38:52 +01:00
Nigel Babu
8a27ca8919 Backed out changeset 66d4205c2958 (bug 1212533) for build bustage ON A CLOSED TREE
--HG--
extra : commitid : H6Jne8SfMu3
2016-01-26 13:08:20 +05:30
simplyblue
fcbffd6a14 Bug 1212533 - Change the out-param of js/JS::Construct from MutableHandleValue to MutableHandleObject. r=arai, r=jorendorff
--HG--
extra : rebase_source : 74a21ddaa663da2b66fda186b2289f82272f7761
2015-10-28 16:38:27 +05:30
Makoto Kato
a3c28e8e93 Bug 676828 - Use RAII for AudioSession instead. r=bholley 2016-01-22 16:08:14 +09:00
David Rajchenbach-Teller
583ca7286d Bug 1224374 - Profiler labels for the top 26-100 chrome hangs;r=BenWa
--HG--
extra : rebase_source : 39e94507c0288863e495322a6899ff009840870d
2016-01-15 11:38:03 +01:00
David Rajchenbach-Teller
42b6a4145f Bug 1224374 - Profiler labels for the 25 top chrome hangs;r=BenWa,MarcoZ
Experience shows that we do not have enough profiler labels to make
BHR hang reports meaningful. This patch adds enough labels to let us
exploit hang reports matching the 25 topmost chrome hangs.

--HG--
extra : rebase_source : b9ec379c58255a250db1020377147c95c82df712
2016-01-14 23:03:11 +01:00
Lars T Hansen
fe536f191a Bug 1240453 - enable shared memory in xpconnect. r=bz
--HG--
extra : rebase_source : 91a282de93b3456e22761b3ef269083220cd50c4
extra : histedit_source : 283564276cc5fbef86fc8908be8f5a115f566530
2016-01-18 09:50:05 +01:00
Sebastian Hengst
d8d4a2d1a5 Backed out 2 changesets (bug 1224374) for Windows bustage. r=bustage on a CLOSED TREE
Backed out changeset 5f458e6e4997 (bug 1224374)
Backed out changeset 0dc02cb0b604 (bug 1224374)
2016-01-19 21:30:41 +01:00
David Rajchenbach-Teller
2d53758d08 Bug 1224374 - Profiler labels for the top 26-100 chrome hangs;r=BenWa
--HG--
extra : rebase_source : 51d39d6f88bf58ccb29f5897c3dbbe71007ee842
2016-01-15 11:38:03 +01:00
David Rajchenbach-Teller
f5531f5260 Bug 1224374 - Profiler labels for the 25 top chrome hangs;r=BenWa,MarcoZ
Experience shows that we do not have enough profiler labels to make
BHR hang reports meaningful. This patch adds enough labels to let us
exploit hang reports matching the 25 topmost chrome hangs.

--HG--
extra : rebase_source : b9ec379c58255a250db1020377147c95c82df712
2016-01-14 23:03:11 +01:00
Luke Wagner
72ea23c63e Bug 1239601 - improve the UniquePtr situation (r=jandem)
--HG--
extra : commitid : JegWAoGsuQ9
extra : rebase_source : 995c1b6ab8e4fd3b83c44741cd84a2d7b0d934d7
2016-01-15 18:26:20 -06:00
Luke Wagner
6ebd19920f Bug 1239601 - improve the UniquePtr situation (r=jorendorff)
--HG--
extra : commitid : FwqWNSZ3SKY
extra : rebase_source : 75ed67bfadcbdaeb5bf89a57ad6ca9ef75b7f1f0
2016-01-15 18:26:06 -06:00
Makoto Kato
7ae350cb30 Bug 676828 - Initialize AudioSession on xpcshell. r=jmathies
--HG--
extra : commitid : 1mAJLVepOZR
2016-01-15 11:58:05 +09:00
Jan de Mooij
a057dc3075 Bug 1237201 part 9 - Fix remaining issues. r=nfroyd
--HG--
extra : rebase_source : fcb2bebb2a30c813b577d6f0f753cd04c69db2c3
2016-01-14 22:12:13 +01:00
Jan de Mooij
6aaa4ac617 Bug 1237201 part 5 - Ignore Vector OOM in JSMainRuntimeCompartmentsReporter. r=njn 2016-01-14 15:19:28 +01:00
Lars T Hansen
05ef2926fd Bug 1231337 - part 1, hook SAB+Atomics runtime enablement into xpconnect. r=mrbkap
--HG--
extra : rebase_source : bf784389bbf81ae80ba31364092744f45475ec0e
extra : histedit_source : f3e7b35038b6364e1129978ee3fbeb166c3df8e7
2016-01-04 14:54:16 +01:00
Terrence Cole
3a07971436 Bug 1238786 - Part 2: We no longer need to null check before using trace APIs; r=smaug
--HG--
extra : rebase_source : 5fdbdaa7be739afd93294b729d878ed33c55b5ce
2016-01-12 13:07:54 -08:00
Boris Zbarsky
413e8fe8b8 Bug 1237177. Make the this-rebinding callable proxy sandboxes use return the prototype of its target, not its own null prototype. r=efaust 2016-01-11 12:58:41 -05:00
Terrence Cole
fd0fcea703 Bug 1235923 - Part 2: Use new Root tracing APIs in Gecko; r=smaug 2015-12-30 11:31:16 -08:00
Chris Peterson
c69def398c Bug 1236321 - Annotate intentional switch fallthroughs to suppress -Wimplicit-fallthrough warnings in js/. r=luke 2015-12-31 01:05:49 -07:00
Shu-yu Guo
1768759efb Bug 1220564 - Update chrome code uses of genexprs and legacy comprehensions. (r=billm) 2016-01-06 16:02:16 -08:00
Terrence Cole
97c4c6520f Backout 7621c3ea95cb11e1c376a9f705accc0f90057c0a (bug 1235923) for build bustage on a CLOSED TREE.
--HG--
extra : rebase_source : 6c54aa7e1af75c270ab2b6833b56c780c537e297
2016-01-06 12:05:06 -08:00
Terrence Cole
d38e840e6f Bug 1235923 - Part 2: Use new Root tracing APIs in Gecko; r=smaug 2015-12-30 11:31:16 -08:00
Nathan Froyd
8070cbc00f Bug 1236571 follow-up - fix bustage on a CLOSED TREE; r=me 2016-01-05 16:36:11 -05:00
Nathan Froyd
26acea99b2 Bug 1236571 - convert easy cases of nsAutoArrayPtr<T> to UniquePtr<T[]> in js/xpconnect/; r=gabor
The other cases are tied up with the startup cache, and will need more
extensive refactoring.
2015-12-06 09:20:16 -05:00
Terrence Cole
bb224242a8 Bug 1235598 - Part 2: Use TraceEdge exclusively in Gecko; r=smaug
--HG--
extra : rebase_source : 27afd7eecd5a13f8d28b888b64d5e44b3c4a74a5
2015-12-30 08:52:14 -08:00
Jeff Walden
5be7be38a1 Bug 1235615 - Split JS::CompartmentOptions into JS::CompartmentCreationOptions that are immutable characteristics of a compartment, and JS::CompartmentBehaviors that may be changed after the compartment's been created. r=terrence
--HG--
extra : rebase_source : f08c380ae247d3308d4c36788ac765de1b75af50
2015-12-28 16:15:52 -06:00
Terrence Cole
add7a54a34 Bug 1225650 - Use stable hashing for JSObject2WrappedJSMap; r=jonco 2015-11-17 13:40:55 -08:00
Arthur Edelstein
3345f3b6d9 Bug 867501 - Pref allows JS locale to be set to US English/C. r=khuey 2015-12-29 13:56:00 +01:00
Nigel Babu
d7f551baae Backed out changeset b45ee8d3233f (bug 867501) for build bustage
--HG--
extra : commitid : Lek3ilQVsmK
2015-12-29 15:28:48 +05:30
Arthur Edelstein
ae80b093a6 Bug 867501 - Pref allows JS locale to be set to US English/C. r=khuey
--HG--
extra : rebase_source : 66cefc1fb5bc407280e3707de1fc8387965d20bf
2015-12-17 16:15:00 +01:00
Bogdan Postelnicu
51402b39bd Bug 1234177 - check to see if mFunctions.append returned error. r=bholley
DONTBUILD because this is a backout/reland to fix author info.

--HG--
extra : commitid : 44X9bWULWTE
2015-12-24 14:14:43 -05:00
Kartikaya Gupta
0f22bb9cfc Back out cset 1f862b370ab3 (bug 1234177) for landing with wrong author.
--HG--
extra : commitid : 2ThdQ6HBscM
2015-12-24 14:16:55 -05:00
Kartikaya Gupta
dd31769177 Bug 1234177 - check to see if mFunctions.append returned error. r=bholley
--HG--
extra : commitid : BpAqgipPvYN
2015-12-24 14:14:43 -05:00
Jon Coppeard
498b421261 Bug 1232672 - Use MOZ_WARN_UNUSED_RESULT to make hash table clients check for failure r=luke r=billm r=njn 2015-12-22 13:29:43 +00:00
Tooru Fujisawa
6dac2af6b1 Bug 1135377 - Part 1: Implement RegExp unicode flag. r=till, f=anba 2015-08-07 08:10:05 +09:00
Bogdan Postelnicu
bf563b30b4 Bug 1231309 - guard sz with assert. r=bobbyholley 2015-12-10 08:10:00 +01:00
Andrea Marchesini
32580a380e Bug 1231100 - Get rid of nsIDOMFileReader - patch 2, r=sicking 2015-12-09 15:52:38 -05:00
Andrea Marchesini
c2230f21f8 Bug 1231100 - Get rid of nsIDOMFileReader - patch 1, r=sicking 2015-12-09 15:52:15 -05:00
Boris Zbarsky
0c51191364 Bug 1227190 part 1. change PrepareScriptEnvironmentAndInvoke to return void, not bool, to make it clearer that it reports exceptions for you. r=jorendorff 2015-12-02 13:53:00 -05:00
Nathan Froyd
c381a6b86c Bug 1218454 - part 2 - don't #include nsContentUtils.h from CallbackObject.h; r=bz
We used to need nsContentUtils.h here for nsCxPusher, but since that got
moved to ScriptSettings.h, we no longer need nsContentUtils.h for
anything.
2015-10-26 12:14:47 -04:00
Wes Kocher
b16dc998b7 Backed out 4 changesets (bug 1227190) for still having failures after several followups, most recently jit test assertions in jsfriendapi.cpp CLOSED TREE
Backed out changeset e3ae43ee51fa (bug 1227190)
Backed out changeset 2e33a92988cd (bug 1227190)
Backed out changeset 4ebb551d8db2 (bug 1227190)
Backed out changeset 5f84bb42a723 (bug 1227190)

--HG--
extra : amend_source : 41b78fc50850a8a34c48b54aaaa82241607e98cd
2015-12-02 12:26:23 -08:00
Boris Zbarsky
f02a79a4e0 Bug 1227190 followup to address the review comments I missed. r=jorendorff 2015-12-02 14:04:47 -05:00
Boris Zbarsky
d6f277acb4 Bug 1227190 part 1. change PrepareScriptEnvironmentAndInvoke to return void, not bool, to make it clearer that it reports exceptions for you. r=jorendorff 2015-12-02 13:53:00 -05:00
Boris Zbarsky
29345faced Bug 1229664. Drop the concept of inner exceptions from Exception/DOMException. r=bholley 2015-12-02 13:52:59 -05:00
Lars T Hansen
6bda1e516c Bug 1176214 - Part 7: Ctypes, shell, xpconnect, etc. r=waldo
--HG--
extra : rebase_source : 47e9a61168f04ef0772784b12561f7597f14f663
2015-12-02 11:36:13 +01:00
Mike Hommey
88221586dd Bug 1225682 - Don't use nsAuto{,C}String as class member variables in js/xpconnect/. r=mccr8 2015-12-02 11:04:37 +09:00
Yury Delendik
b984c50fec Bug 1218029 - Adds ScriptLoadHandler and implements OnIncrementalData callback. r=djvj
--HG--
extra : commitid : 7TyrlgQ2f2Z
2015-12-01 08:00:58 -06:00
Yury Delendik
66199890c4 Bug 1218029 - Adds IncrementalStreamLoader interface stubs. r=djvj
--HG--
extra : commitid : J0UubFG9gvz
2015-11-30 08:54:11 -06:00
Carsten "Tomcat" Book
358e4575c4 merge mozilla-inbound to mozilla-central a=merge 2015-11-26 16:54:27 +01:00
Carsten "Tomcat" Book
4478aaa8da Merge mozilla-central to b2g-inbound 2015-11-25 14:00:32 +01:00
Yoshi Huang
4b500464f5 Bug 1209162 - Create OriginAttributes subtypes. IGNORE IDL r=sicking. 2015-11-03 09:50:54 +08:00
Ted Mielczarek
d9c04b91c1 bug 1224165 - Remove some Makefiles in js/xpconnect/tests/. r=glandium
--HG--
extra : commitid : CdYDnLGN2Yf
extra : rebase_source : 1dee19c8064f1afb53cc646e4659c12577ba6a94
2015-11-12 06:39:01 -05:00
Mike Hommey
394d50aba5 Bug 1226119 - Clear pending exception from script cache writing failure. r=bholley 2015-11-24 11:29:14 +09:00
Nicholas Nethercote
4dd2a30a0f Bug 1187146 - Replace nsBaseHashtable::Enumerate() calls in js/xpconnect/ with iterators. r=mrbkap.
--HG--
extra : rebase_source : 28dc3c5614ee36e6e6955b9cc380e85ccc618a0d
2015-11-22 18:52:40 -08:00
Terrence Cole
79de7574c1 Bug 1226687 - Part 2: Use stable hashing and builtin sweep for JSObject2JSObjectMap; r=mccr8
--HG--
extra : rebase_source : e3c5c05bead56da0dab01a3fdfb16a1f02fe862d
2015-11-20 13:54:35 -08:00
Boris Zbarsky
fb747879e0 Bug 1224007 part 3. Push down WouldReportJSException into MaybeSetPendingException, since anyone calling the latter will propagate the JS exception as needed. r=peterv 2015-11-20 16:29:41 -05:00
Boris Zbarsky
c19412a7ac Bug 1224007 part 1. Rename ThrowMethodFailed to MaybeSetPendingException and make it an ErrorResult instance method. r=peterv 2015-11-20 16:29:40 -05:00
Terrence Cole
2f08c5931f Bug 1225237 - Use stable hashing for DOMExpandoSet; r=jonco
--HG--
extra : rebase_source : 56667af18db264805536e8e559c5dd8d8b2750b3
2015-11-17 11:32:53 -08:00
Jan de Mooij
f9853f52a1 Bug 1223372 - Handle ToWindowProxyIfWindow returning a dead wrapper in PrepareForWrapping. r=bholley 2015-11-17 19:24:28 +01:00
Tom Tromey
d2046126d5 Bug 1165807 - display WeakSet and WeakMap contents in console; r=bz,fitzgen
--HG--
extra : commitid : 21J7fnJqwm5
extra : rebase_source : 95bf00beb87284b27c22c7497aa73ded0f05bfe2
2015-11-16 06:50:00 -08:00
Tom Tromey
4113691556 Bug 1221292 - move nondeterministicGetWeakMapKeys to ThreadSafeChromeUtils; r=bz 2015-11-11 12:55:00 +01:00
Terrence Cole
561ef143e1 Bug 1223078 - Release WrappedJS eagerly; r=mccr8
--HG--
extra : rebase_source : 4d510d3c8e71f1282f32483b091fa7af3089dd6d
2015-11-10 08:45:42 -08:00
Gijs Kruitbosch
35bed1c0ce Bug 1209591 - allow loadURI consumers to expose whether an error page was immediately loaded as result of an error, r=smaug,mak
--HG--
extra : commitid : 9tlkWrUKl12
extra : rebase_source : bb5b476dc28cebc66a99d23934a5214530e9a008
extra : amend_source : f62e5a91df5af9eea893fbb9a13980e9fdd56a38
2015-10-27 16:44:24 +01:00
Jan de Mooij
115d04ec63 Bug 1125423 part 5 - Remove innerObject/outerObject/thisValue Class hooks. r=luke 2015-11-06 19:03:52 +01:00
Jan de Mooij
932f8cece3 Bug 1125423 part 3 - Use IsWindow/IsWindowProxy functions instead of checking for Class hooks. r=bz 2015-11-06 19:03:52 +01:00
Jan de Mooij
fffc37012e Bug 1125423 part 2 - Rename stopAtOuter argument to *Unwrap functions to stopAtWindowProxy. r=bz 2015-11-06 19:03:52 +01:00
Jan de Mooij
a84c33ecb0 Bug 1125423 part 1 - Attach WindowProxies to globals instead of using innerObject/outerObject hooks. r=bz,luke 2015-11-06 19:03:51 +01:00
Gabor Krizsanits
b0e22ea0ea Bug 1196975 - part4: waiveInterposition. r=billm 2015-11-05 12:05:56 +01:00
Birunthan Mohanathas
9985829ecc Bug 1219392 - Capitalize mozilla::unused to avoid conflicts. r=froydnj 2015-11-02 07:53:26 +02:00
Ryan VanderMeulen
028dec7cc8 No bug - Various crashtest manifest cleanups.
--HG--
rename : dom/base/crashtests/713417.html => dom/base/crashtests/713417-1.html
rename : dom/workers/test/1158031.html => dom/workers/test/crashtests/1158031.html
rename : dom/workers/test/779707.html => dom/workers/test/crashtests/779707.html
rename : dom/workers/test/943516.html => dom/workers/test/crashtests/943516.html
rename : dom/workers/test/crashtests.list => dom/workers/test/crashtests/crashtests.list
rename : layout/generic/crashtests/812879.html => layout/generic/crashtests/812879-1.html
rename : layout/generic/crashtests/first-letter-638937.html => layout/generic/crashtests/first-letter-638937-1.html
extra : rebase_source : b9274dc6870030ed62bcee35350d566160502869
2015-10-31 19:35:27 -04:00
Terrence Cole
7a404f001b Bug 1214961 - Sweep XPConnect incrementally; r=mccr8, r=jonco
This patch splits up the "wrapped-js" table by compartment in order to allow us
to visit the miminal number of wrapped-js in each GC sweeping slice, instead of
visiting the entire table repeatedly. This dramatically reduces our sweeping
overhead, reducing the number of GC slices, and making them more likely to fall
within budget.

--HG--
extra : rebase_source : 1bb2b53f0cc51715e4e9c55caafdacd404278a04
2015-10-15 13:43:28 -07:00
Boris Zbarsky
7ae3b58eb6 Bug 1039986. Make Function.prototype.toString work on Web IDL interface objects. r=jorendorff,peterv 2015-10-27 16:25:14 -04:00
Birunthan Mohanathas
44936aabb2 Bug 1217320 - Remove more XPIDL signature comments in .cpp files. r=froydnj
Comment-only, DONTBUILD.
2015-10-27 06:54:25 +02:00
Kyle Huey
c7d3c4e21a Bug 1216401: Eviscerate nsIDOMWindow, move still needed methods to nsPIDOMWindow. r=bz 2015-10-26 14:37:32 -07:00
Tom Tromey
64050c40ce Bug 1200832 - make Console.trace follow async parents; r=baku,bgrins
--HG--
extra : rebase_source : a39ad1bdc73ac53d0f611c3b5e43327aea36ec6f
2015-10-21 08:40:00 +02:00
Jason Orendorff
0fed3b5351 Bug 1210570 - Ensure that ToPrimitive(location) is not spoofable. r=bz.
--HG--
extra : commitid : 2rz0SkgNFBy
extra : rebase_source : cc7551193fb3a81cb6d7b69535eb152335a6cda4
2015-10-06 10:42:17 -05:00
Wes Kocher
b8596f28a2 Merge inbound to m-c a=merge 2015-10-21 16:28:43 -07:00
J. Ryan Stinnett
986f2a5cde Bug 1203159 - Rewrite DevTools resource URLs. r=ochameau 2015-10-21 12:48:53 -05:00
David Rajchenbach-Teller
3ff3f77f9e Bug 1208747 - Move most of Stopwatch-related code to XPCOM-land (XPCOM-level + XPConnect-level);r=froydnj
--HG--
extra : transplant_source : %91G%19%1A%B33%A8%2C%F4%D0%D1%A3%E0%20G%86%CE%DF%A5%9D
2015-10-02 23:44:23 +02:00
Eric Rahm
e6f7a67577 Bug 1174785 - Part 1: Add LogModule, LogModuleManager, and LazyLogModule. r=froydnj
The logging interface is moved to xpcom/base, a LogModule wrapper for PR_Log is
added, a thread-safe LogModuleManager is added, and a LazyLogModule class used
to lazily load log modules in a thread-safe manner is added.

--HG--
rename : xpcom/glue/Logging.h => xpcom/base/Logging.h
extra : rebase_source : 89b76664d9477e2c894448cdea4dae1c61f8ca24
2015-10-19 12:22:11 -07:00
Jon Coppeard
59be23d316 Bug 930414 - Replace |thisObject| object op with |thisValue| and use if for modules r=shu r=smaug 2015-10-21 10:21:44 +01:00
Tooru Fujisawa
7c285c44e3 Bug 1211164 - Collect JS deprecated language extension telemetry for Add-ons. r=till,bsmedberg
--HG--
extra : commitid : 7dHndrGepgZ
extra : rebase_source : fd4a16cf3317cf3341dad6e31028cfa80a759933
2015-10-04 02:06:54 +09:00
Tooru Fujisawa
406d1e9fbe Bug 1215937 - Remove use of expression closure from js/xpconnect/. r=bholley
--HG--
extra : commitid : Ktu9nsb2ozN
extra : rebase_source : bd5757a6ed71461e92dec4a72f6bfa441a06bfb7
2015-10-19 00:01:58 +09:00
Nathan Froyd
01583602a9 Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout.  The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.

CLOSED TREE makes big refactorings like this a piece of cake.

 # The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
    xargs perl -p -i -e '
 s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
 s/nsRefPtr ?</RefPtr</g;   # handle declarations and variables
'

 # Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h

 # Handle nsRefPtr.h itself, a couple places that define constructors
 # from nsRefPtr, and code generators specially.  We do this here, rather
 # than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
 # things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
     mfbt/nsRefPtr.h \
     xpcom/glue/nsCOMPtr.h \
     xpcom/base/OwningNonNull.h \
     ipc/ipdl/ipdl/lower.py \
     ipc/ipdl/ipdl/builtin.py \
     dom/bindings/Codegen.py \
     python/lldbutils/lldbutils/utils.py

 # In our indiscriminate substitution above, we renamed
 # nsRefPtrGetterAddRefs, the class behind getter_AddRefs.  Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
    xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'

if [ -d .git ]; then
    git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
    hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi

--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Eric Faust
ba6966f2d0 Bug 1214936 - Make the ArrayBuffer constructor throw if invoked without 'new'. (r=evilpie) 2015-10-15 13:54:49 -07:00
Joel Maher
1b7e2af1de Bug 1210876 - test_bug799348.xul fails on Windows debug with runByDir enabled. r=dvander 2015-10-14 04:10:00 +02:00
Bobby Holley
2ae3a1d103 Bug 1198934 - Support special-case WebExtension behavior for TypedArrays. r=billm 2015-10-14 16:57:51 -07:00
Joel Maher
1eb70fbe5b Bug 1210863 - test_bug618176.xul fails on windows debug with runByDir enabled. r=dvander
--HG--
extra : rebase_source : 73d28be6270179719f42b51dd0978c9afce85abc
2015-10-13 14:10:00 +02:00
Jeff Walden
5a14010e95 Bug 1052139 - Adjust sandbox code to create the sandbox with an (observably) immutable [[Prototype]], once the flag's flipped. r=bz 2015-10-10 18:27:48 -07:00
Jeff Walden
a83ec4837b Bug 1052139 - Continued work on making the global object's prototype chain immutable, once a switch is flipped. r=bz
--HG--
extra : rebase_source : ca97d872091b35bb3b729f971f8cbfed404fd7bc
2015-10-09 13:21:39 -07:00
Boris Zbarsky
b90baf6535 Bug 1213289 part 1. Change dom::Throw to take an XPCOM string, not a raw C string, for the message. r=bkelly 2015-10-09 16:48:10 -04:00
Bobby Holley
796a2d66a8 Bug 1212693 - Remove skipCOWCallableChecks. r=bz 2015-10-08 10:22:00 -07:00
Carsten "Tomcat" Book
08997000eb Backed out 2 changesets (bug 1202902) to recking bug 1202902 to be able to reopen inbound on a CLOSED TREE
Backed out changeset 647025383676 (bug 1202902)
Backed out changeset d70c7fe532c6 (bug 1202902)
2015-10-07 14:03:21 +02:00
Sebastian Hengst
cdcff6d0a7 Backed out changeset c6b267589d0d (bug 1202902) for Mulet Reftest, W3C Platform Test and other failures. r=backout a=backout on a CLOSED TREE 2015-10-07 13:36:26 +02:00
Carsten "Tomcat" Book
e7ef778c9d Backed out 1 changesets (bug 1202902) for causing merge conflicts to mozilla-central
Backed out changeset cfc1820361f5 (bug 1202902)

--HG--
extra : rebase_source : 5d3db72337754bc7ab0ed0c30b2896100411ff92
2015-10-07 12:13:45 +02:00
Shu-yu Guo
d06b6030f6 Bug 1202902 - Scripted fix the world. 2015-10-06 14:00:31 -07:00
Shu-yu Guo
52e365bb7b Bug 1202902 - Fix the world. (r=ato for marionette, rs=Mossop for rest) 2015-10-06 14:00:30 -07:00
Shu-yu Guo
76da4d1112 Bug 1202902 - Support non-syntactic extensible lexical scopes. (r=billm) 2015-10-06 14:00:29 -07:00
Kaustabh Datta Choudhury
92494c4d5f Bug 1162003 - Enable run-by-dir mode for mochitest_chrome on Fx desktop debug builds. r=jmaher 2015-10-06 09:46:24 -04:00
Fabrice Desré
00266c87aa Bug 1211085 - Disable global reuse on b2gdroid r=khuey 2015-10-03 18:50:40 -07:00
Jason Orendorff
deb2270515 Bug 1054756, part 5 - Remove Class::convert.
--HG--
extra : commitid : 6KCxWrCseSZ
extra : rebase_source : 63f3cd6ec1ade43c732ffd9b661fe6f2dca9eb4b
2015-03-20 16:28:59 -05:00
Jason Orendorff
e2eba49587 Bug 1054756, part 4 - Remove BaseProxyHandler::defaultValue. r=jandem.
--HG--
extra : commitid : 6Z8hk7yUjaS
extra : rebase_source : cc5bfa42ce5790b87681f254e15c0ec8c9ced98f
2015-03-20 14:03:24 -05:00
Jason Orendorff
abd42d3ec5 Bug 1054756, part 3 - Implement Symbol.toPrimitive. Replace existing convert hooks with methods. r=jandem.
JSClass::convert is no longer used after this, but to minimize the noise, it will be deleted in a separate patch. However all non-nullptr convert hook implementations must be replaced with [@@toPrimitive] methods in this patch to avoid changing the behavior.

The changes in XrayWrapper.cpp fix a pre-existing bug: when an Xray wrapper tries to emit the "Silently denied access" warning, if id is a symbol, the existing code triggers an error trying to convert it to a string for the warning message. Implementing Symbol.toPrimitive revealed this bug; the fix is straightforward.

--HG--
extra : commitid : B48u39i6pxl
extra : rebase_source : bddefbd7bc131007303a5a00dd9c0bb8fec1b122
2015-03-20 14:02:55 -05:00
Jason Orendorff
cba3fb8913 Bug 1054756, part 1 - Support symbol-keyed properties in JSXrayTraits::resolveOwnProperty(). r=jandem.
--HG--
extra : commitid : Iw7k8V0s8vH
extra : rebase_source : 47344f609f8282df5cfe30ccb89792e3b26e5d3c
2015-07-07 19:22:20 -05:00
Andrea Marchesini
7373ebaca0 Bug 1209919 - Improving naming and comments in StructuredCloneHelper, r=smaug
--HG--
rename : dom/base/StructuredCloneHelper.cpp => dom/base/StructuredCloneHolder.cpp
rename : dom/base/StructuredCloneHelper.h => dom/base/StructuredCloneHolder.h
2015-09-30 13:22:08 +01:00
Terrence Cole
fe83447e72 Bug 1196848 - Add Zone::uniqueIds to about:memory reports; r=njn
--HG--
extra : rebase_source : 313662129f131a9249b73232c600f34c92738078
2015-08-26 14:51:43 -07:00
Benjamin Bouvier
26ee0d3f6b Bug 1206520: Add about:config prefs to enable throwing on asm.js validation failures; r=bz
--HG--
extra : commitid : 1mieasAF71F
extra : rebase_source : b7b9d3aae9158b12b75cf9f29203925265b0510f
extra : amend_source : 2c625d7ffa6c9b6f7ac48dcfc347c0119b459579
extra : histedit_source : 05e9b9b9cabf675bd4c742c8fe1d3b02735819c2
2015-09-28 12:40:03 +02:00
Wei-Cheng Pan
fb94baa0ac Bug 877896 - Print stack trace in the console service. r=bholley 2015-09-16 18:16:56 +08:00
Chris Peterson
71920a9550 Bug 1207030 - Enable -Wshadow flag in more directories that have no -Wshadow warnings. r=glandium 2015-09-22 21:39:03 -07:00
Jeff Walden
4046fe1490 Bug 1179003 - Convert the infallible objectClassIs proxy hook into a fallible getBuiltinClass hook that indicates class type via outparam. r=efaust, r=bz on DOM bits, r=billm on IPC bits
--HG--
extra : rebase_source : 6ddc3727c411fdfced6338e5e383a10572575f0f
2015-08-28 21:55:40 -07:00
Andrea Marchesini
c36e94b0c9 Bug 1203561 - Use StructuredCloneHelper in StackScopedCloneData, r=smaug 2015-09-22 12:54:34 +01:00
Carsten "Tomcat" Book
651a168616 merge mozilla-inbound to mozilla-central a=merge
--HG--
rename : toolkit/devtools/server/actors/styleeditor.js => devtools/server/actors/styleeditor.js
rename : toolkit/devtools/server/actors/stylesheets.js => devtools/server/actors/stylesheets.js
rename : toolkit/devtools/gcli/commands/screenshot.js => devtools/shared/gcli/commands/screenshot.js
2015-09-22 12:35:13 +02:00
J. Ryan Stinnett
efe328f1b2 Bug 912121 - Rewrite require / import to match source tree. rs=devtools
In a following patch, all DevTools moz.build files will use DevToolsModules to
install JS modules at a path that corresponds directly to their source tree
location.  Here we rewrite all require and import calls to match the new
location that these files are installed to.

--HG--
extra : commitid : F2ItGm8ptRz
extra : rebase_source : b082fe4bf77e22e297e303fc601165ceff1c4cbc
2015-09-21 12:04:18 -05:00
Christoph Kerschbaumer
668ebc2ff2 Bug 1206149 - Use channel->AsyncOpen2() js/xpconnect/loader/mozJSSubScriptLoader.cpp (r=sicking) 2015-09-19 20:26:09 -07:00
Bobby Holley
a15b59d7f8 Bug 1206817 - Take ownership of error reporting in the component loader. r=bz 2015-09-21 17:05:59 -07:00
Mike Hommey
538706caba Bug 1203840 - Trigger dirty pages purge after CC. r=njn,r=smaug,r=mccr8
Jemalloc 4 purges dirty pages regularly during free() when the ratio of dirty
pages compared to active pages is higher than 1 << lg_dirty_mult.  We set
lg_dirty_mult in jemalloc_config to limit RSS usage, but it also has an impact
on performance.

So instead of enforcing a high ratio to force more pages being purged, we keep
jemalloc's default ratio of 8, and force a regular purge of all dirty pages,
after cycle collection.

Keeping jemalloc's default ratio avoids cycle-collection-triggered purge to
have to go through really all dirty pages when there are a lot, in which case
the normal jemalloc purge during free() will already have kicked in. It also
takes care of everything that doesn't run the cycle collector still having
a level of purge, like plugins in the plugin-container.

At the same time, since jemalloc_purge_freed_pages does nothing with jemalloc 4,
repurpose the MEMORY_FREE_PURGED_PAGES_MS telemetry probe to track the time
spent in this cycle-collector-triggered purge.
2015-09-20 17:43:43 +09:00
Tom Schuster
e3fbb8bc43 Bug 603201 - Change GetProperty receiver argument to Value in the browser. r=smaug 2015-09-18 00:14:41 +02:00
Nicholas Nethercote
647b520991 Bug 1201135 - Rename pldhash.{h,cpp} to PLDHashTable.{h,cpp}. r=mccr8.
--HG--
rename : xpcom/glue/pldhash.cpp => xpcom/glue/PLDHashTable.cpp
rename : xpcom/glue/pldhash.h => xpcom/glue/PLDHashTable.h
extra : rebase_source : 06b9d30db96ed78500fd44d9c0b51609103508a3
2015-09-15 20:49:53 -07:00
Christoph Kerschbaumer
cd033a0e00 Bug 1205154 - Use channel->Open2() in js/xpconnect/src/XPCJSRuntime.cpp (r=sicking) 2015-09-15 19:52:07 -07:00
Nicholas Nethercote
2ee4fd783b Bug 1121760 (part 6) - Move all remaining PL_DHash*() functions into PLDHashTable. r=poiru.
--HG--
extra : rebase_source : 3cdc975507170d783b02d70f7c7d95c6bf2e1bcd
2015-09-14 14:23:47 -07:00
Nicholas Nethercote
59683492e5 Bug 1121760 (part 3) - Remove PL_DHashTableRemove(). r=poiru.
--HG--
extra : rebase_source : c34d693de4aca45f2ea05c2767c8b1007c89df29
2015-09-14 14:23:24 -07:00
Nicholas Nethercote
479244f7c9 Bug 1121760 (part 2) - Remove PL_DHashTableAdd(). r=poiru.
--HG--
extra : rebase_source : 41eb939bfb5c925cba58b1af57abce9a4e5fdb30
2015-09-14 14:23:12 -07:00
Nicholas Nethercote
fcfdd8f54b Bug 1121760 (part 1) - Remove PL_DHashTableSearch(). r=poiru.
--HG--
extra : rebase_source : 770e1f49a451ecbadd778e071b204611e27cf701
2015-05-21 00:34:25 -07:00
Michael Layzell
0097c41e01 Bug 1201190 - Part 3: Mark every consumer of GUARD_OBJECT as MOZ_RAII, r=ehsan 2015-09-12 16:53:33 -04:00
Dragana Damjanovic
4504f5f395 Bug 1197791 - hide password for uri in error and web console. r=michal r=mrbkap 2015-09-11 08:44:00 +02:00
Terrence Cole
0716d4888f Bug 1199843 - Part 3: Strongly type JS::TraceChildren; r=jonco r=mccr8
--HG--
extra : rebase_source : c779897338dc4b73dca98517acb8d0eef7e0d7a5
2015-09-02 11:34:36 -07:00
J. Ryan Stinnett
87a2341396 Bug 1186993 - Add MOZ_CHAOSMODE to XPCShell. r=roc 2015-09-03 18:31:30 -05:00
Terrence Cole
4955cf8ac2 Bug 1196925 - Remove the non-existing relocatable store buffer counts from about:memory; r=njn 2015-08-26 14:51:43 -07:00
Terrence Cole
ca1d87a88a Backout 15fa4c3a45ec (Bug 1196848) for being on top of a regression.
--HG--
extra : rebase_source : 7783be3966c4f963ad9aadfa9dc145b1b832c143
2015-09-03 09:35:43 -07:00
Terrence Cole
46a19ca98d Backout ff66ba4688c0 (Bug 1196925) for being on top of a regression.
--HG--
extra : rebase_source : 2a97f610801a7157f513ed3a3b52533d724f1c81
2015-09-03 09:35:02 -07:00
Terrence Cole
23db9f8879 Bug 1196925 - Remove the non-existing relocatable store buffer counts from about:memory; r=njn
--HG--
extra : rebase_source : 7b704f68283b7921225e43ec607315f283556817
2015-08-26 14:51:43 -07:00
Terrence Cole
899ec10be3 Bug 1196848 - Add Zone::uniqueIds to about:memory reports; r=njn
--HG--
extra : rebase_source : 0b7173fc4d344f55b5b8c41e010ea65c7048091e
2015-08-26 14:51:43 -07:00
Jon Coppeard
8acc0315a3 Bug 1088214 - Remove JSCLASS_IMPLEMENTS_BARRIERS now this is implemented everywhere r=terrence 2015-09-02 10:40:10 +01:00
Nicholas Nethercote
92315e0173 Bug 1200484 (part 5) - Use JS column numbers in XPCNativeInterface::NewInstance(). r=mrbkap.
--HG--
extra : rebase_source : 0dcb6934b44062887d911fd0e9eeaff817d65454
2015-09-01 17:56:03 -07:00
Nicholas Nethercote
f1569466ff Bug 1200484 (part 2) - Use JS column numbers in ReportWrapperDenial(). r=mrbkap.
--HG--
extra : rebase_source : 5bb85db84152d38cdf4d6206e0b4d2d5ee95b91b
2015-08-31 21:28:50 -07:00
Ben Kelly
e4c6f8d174 Bug 1184607 P7.6 Expose CacheStorage .caches property on xpcshell global. r=smaug
* * *
7.6 interdiff
2015-08-31 14:26:30 -07:00
Nicholas Nethercote
f44287005f Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium.
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and
adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in
code we control and which should be removable with a little effort.

--HG--
extra : rebase_source : 82e3387abfbd5f1471e953961d301d3d97ed2973
2015-08-27 20:44:53 -07:00
Shu-yu Guo
74dcccdc3f Bug 1193583 - Fix misc XPConnect and devtools tests. (r=jorendorff) 2015-08-30 15:08:19 -07:00
Ryan VanderMeulen
2f2b6923e2 Merge m-c to inbound. a=merge
CLOSED TREE
2015-08-28 12:12:44 -04:00
Ben Tian
f9389ddddf Bug 1193379 - Create dom/bluetooth/common/webapi folder. r=joliu
--HG--
rename : dom/bluetooth/common/BluetoothAdapter.cpp => dom/bluetooth/common/webapi/BluetoothAdapter.cpp
rename : dom/bluetooth/common/BluetoothAdapter.h => dom/bluetooth/common/webapi/BluetoothAdapter.h
rename : dom/bluetooth/common/BluetoothClassOfDevice.cpp => dom/bluetooth/common/webapi/BluetoothClassOfDevice.cpp
rename : dom/bluetooth/common/BluetoothClassOfDevice.h => dom/bluetooth/common/webapi/BluetoothClassOfDevice.h
rename : dom/bluetooth/common/BluetoothDevice.cpp => dom/bluetooth/common/webapi/BluetoothDevice.cpp
rename : dom/bluetooth/common/BluetoothDevice.h => dom/bluetooth/common/webapi/BluetoothDevice.h
rename : dom/bluetooth/common/BluetoothDiscoveryHandle.cpp => dom/bluetooth/common/webapi/BluetoothDiscoveryHandle.cpp
rename : dom/bluetooth/common/BluetoothDiscoveryHandle.h => dom/bluetooth/common/webapi/BluetoothDiscoveryHandle.h
rename : dom/bluetooth/common/BluetoothGatt.cpp => dom/bluetooth/common/webapi/BluetoothGatt.cpp
rename : dom/bluetooth/common/BluetoothGatt.h => dom/bluetooth/common/webapi/BluetoothGatt.h
rename : dom/bluetooth/common/BluetoothGattCharacteristic.cpp => dom/bluetooth/common/webapi/BluetoothGattCharacteristic.cpp
rename : dom/bluetooth/common/BluetoothGattCharacteristic.h => dom/bluetooth/common/webapi/BluetoothGattCharacteristic.h
rename : dom/bluetooth/common/BluetoothGattDescriptor.cpp => dom/bluetooth/common/webapi/BluetoothGattDescriptor.cpp
rename : dom/bluetooth/common/BluetoothGattDescriptor.h => dom/bluetooth/common/webapi/BluetoothGattDescriptor.h
rename : dom/bluetooth/common/BluetoothGattServer.cpp => dom/bluetooth/common/webapi/BluetoothGattServer.cpp
rename : dom/bluetooth/common/BluetoothGattServer.h => dom/bluetooth/common/webapi/BluetoothGattServer.h
rename : dom/bluetooth/common/BluetoothGattService.cpp => dom/bluetooth/common/webapi/BluetoothGattService.cpp
rename : dom/bluetooth/common/BluetoothGattService.h => dom/bluetooth/common/webapi/BluetoothGattService.h
rename : dom/bluetooth/common/BluetoothLeDeviceEvent.cpp => dom/bluetooth/common/webapi/BluetoothLeDeviceEvent.cpp
rename : dom/bluetooth/common/BluetoothLeDeviceEvent.h => dom/bluetooth/common/webapi/BluetoothLeDeviceEvent.h
rename : dom/bluetooth/common/BluetoothManager.cpp => dom/bluetooth/common/webapi/BluetoothManager.cpp
rename : dom/bluetooth/common/BluetoothManager.h => dom/bluetooth/common/webapi/BluetoothManager.h
rename : dom/bluetooth/common/BluetoothPairingHandle.cpp => dom/bluetooth/common/webapi/BluetoothPairingHandle.cpp
rename : dom/bluetooth/common/BluetoothPairingHandle.h => dom/bluetooth/common/webapi/BluetoothPairingHandle.h
rename : dom/bluetooth/common/BluetoothPairingListener.cpp => dom/bluetooth/common/webapi/BluetoothPairingListener.cpp
rename : dom/bluetooth/common/BluetoothPairingListener.h => dom/bluetooth/common/webapi/BluetoothPairingListener.h
rename : dom/bluetooth/common/BluetoothPbapRequestHandle.cpp => dom/bluetooth/common/webapi/BluetoothPbapRequestHandle.cpp
rename : dom/bluetooth/common/BluetoothPbapRequestHandle.h => dom/bluetooth/common/webapi/BluetoothPbapRequestHandle.h
2015-08-21 15:15:41 +08:00
Ben Tian
44c939383c Bug 1193379 - Rename bluetooth2 folder to common. r=joliu
--HG--
rename : dom/bluetooth/bluetooth2/BluetoothAdapter.cpp => dom/bluetooth/common/BluetoothAdapter.cpp
rename : dom/bluetooth/bluetooth2/BluetoothAdapter.h => dom/bluetooth/common/BluetoothAdapter.h
rename : dom/bluetooth/bluetooth2/BluetoothClassOfDevice.cpp => dom/bluetooth/common/BluetoothClassOfDevice.cpp
rename : dom/bluetooth/bluetooth2/BluetoothClassOfDevice.h => dom/bluetooth/common/BluetoothClassOfDevice.h
rename : dom/bluetooth/bluetooth2/BluetoothDevice.cpp => dom/bluetooth/common/BluetoothDevice.cpp
rename : dom/bluetooth/bluetooth2/BluetoothDevice.h => dom/bluetooth/common/BluetoothDevice.h
rename : dom/bluetooth/bluetooth2/BluetoothDiscoveryHandle.cpp => dom/bluetooth/common/BluetoothDiscoveryHandle.cpp
rename : dom/bluetooth/bluetooth2/BluetoothDiscoveryHandle.h => dom/bluetooth/common/BluetoothDiscoveryHandle.h
rename : dom/bluetooth/bluetooth2/BluetoothGatt.cpp => dom/bluetooth/common/BluetoothGatt.cpp
rename : dom/bluetooth/bluetooth2/BluetoothGatt.h => dom/bluetooth/common/BluetoothGatt.h
rename : dom/bluetooth/bluetooth2/BluetoothGattCharacteristic.cpp => dom/bluetooth/common/BluetoothGattCharacteristic.cpp
rename : dom/bluetooth/bluetooth2/BluetoothGattCharacteristic.h => dom/bluetooth/common/BluetoothGattCharacteristic.h
rename : dom/bluetooth/bluetooth2/BluetoothGattDescriptor.cpp => dom/bluetooth/common/BluetoothGattDescriptor.cpp
rename : dom/bluetooth/bluetooth2/BluetoothGattDescriptor.h => dom/bluetooth/common/BluetoothGattDescriptor.h
rename : dom/bluetooth/bluetooth2/BluetoothGattServer.cpp => dom/bluetooth/common/BluetoothGattServer.cpp
rename : dom/bluetooth/bluetooth2/BluetoothGattServer.h => dom/bluetooth/common/BluetoothGattServer.h
rename : dom/bluetooth/bluetooth2/BluetoothGattService.cpp => dom/bluetooth/common/BluetoothGattService.cpp
rename : dom/bluetooth/bluetooth2/BluetoothGattService.h => dom/bluetooth/common/BluetoothGattService.h
rename : dom/bluetooth/bluetooth2/BluetoothLeDeviceEvent.cpp => dom/bluetooth/common/BluetoothLeDeviceEvent.cpp
rename : dom/bluetooth/bluetooth2/BluetoothLeDeviceEvent.h => dom/bluetooth/common/BluetoothLeDeviceEvent.h
rename : dom/bluetooth/bluetooth2/BluetoothManager.cpp => dom/bluetooth/common/BluetoothManager.cpp
rename : dom/bluetooth/bluetooth2/BluetoothManager.h => dom/bluetooth/common/BluetoothManager.h
rename : dom/bluetooth/bluetooth2/BluetoothPairingHandle.cpp => dom/bluetooth/common/BluetoothPairingHandle.cpp
rename : dom/bluetooth/bluetooth2/BluetoothPairingHandle.h => dom/bluetooth/common/BluetoothPairingHandle.h
rename : dom/bluetooth/bluetooth2/BluetoothPairingListener.cpp => dom/bluetooth/common/BluetoothPairingListener.cpp
rename : dom/bluetooth/bluetooth2/BluetoothPairingListener.h => dom/bluetooth/common/BluetoothPairingListener.h
rename : dom/bluetooth/bluetooth2/BluetoothProfileController.cpp => dom/bluetooth/common/BluetoothProfileController.cpp
rename : dom/bluetooth/bluetooth2/BluetoothProfileController.h => dom/bluetooth/common/BluetoothProfileController.h
rename : dom/bluetooth/bluetooth2/BluetoothReplyRunnable.cpp => dom/bluetooth/common/BluetoothReplyRunnable.cpp
rename : dom/bluetooth/bluetooth2/BluetoothReplyRunnable.h => dom/bluetooth/common/BluetoothReplyRunnable.h
rename : dom/bluetooth/bluetooth2/BluetoothService.cpp => dom/bluetooth/common/BluetoothService.cpp
rename : dom/bluetooth/bluetooth2/BluetoothService.h => dom/bluetooth/common/BluetoothService.h
2015-08-21 15:19:12 +08:00
Ryan VanderMeulen
4ff4f84ce2 Merge inbound to m-c. a=merge 2015-08-27 11:43:16 -04:00
Till Schneidereit
36af475fe5 Bug 1198193 - Change all functions taking CallArgs to take const CallArgs& instead. r=Waldo
--HG--
extra : rebase_source : b7cd505c80b34d33d98e336490b117792030d9d5
2015-08-27 21:18:37 +02:00
Yoshi Huang
e6070e9062 Bug 1165272 - Part 2: replace getNoAppCodebasePrincipal. r=bholley 2015-08-18 15:01:42 +08:00
Nick Fitzgerald
f64a2b8739 Bug 1197970 - Expose the GC cycle's number through Debugger.Memory's onGarbageCollection hook. r=sfink 2015-08-26 10:13:00 -04:00
Bobby Holley
edfe287f26 Backed out 3 changesets (bug 1165272) for b2g sanity blocker. 2015-08-25 11:16:21 -07:00
Till Schneidereit
8614310b85 Bug 1070767 - Enable {Array, %TypedArray%}.prototype.includes in all builds. r=lth 2015-08-25 12:57:21 +02:00
Yoshi Huang
de47f4b89f Bug 1165272 - Part 2: Replace getNoAppCodebasePrincipal. r=bholley 2015-08-24 01:18:00 -04:00
David Rajchenbach-Teller
eaa230b89d Bug 1181175 - Use RDTSC for Performance Monitoring instead of getrusage. r=jandem
--HG--
extra : transplant_source : %7B%82%94E%8C%0AW%07%C2/n8%07%FD%95mt%03%EBM
2015-08-17 14:57:23 +02:00
Ryan VanderMeulen
0169e05964 Merge inbound to m-c. a=merge 2015-08-17 09:06:59 -04:00
Ben Tian
a0a229d80d Bug 1192693 - [02] Remove bluetooth1 folder and rename webidl files, r=joliu, r=mrbkap
--HG--
rename : dom/webidl/BluetoothAdapter2.webidl => dom/webidl/BluetoothAdapter.webidl
rename : dom/webidl/BluetoothDevice2.webidl => dom/webidl/BluetoothDevice.webidl
rename : dom/webidl/BluetoothManager2.webidl => dom/webidl/BluetoothManager.webidl
2015-08-17 15:30:34 +08:00
Bill McCloskey
ac32aef2fb Bug 1189125 - Allow xpcshell to use GTK (r=karlt) 2015-08-14 15:51:19 -07:00
Terrence Cole
de72ab688b Bug 1191529 - Remove JSIdArray and AutoIdArray and replace with Rooted<IdVector>; r=mccr8, r=jonco
* * *
imported patch 2_remove_AutoIdArray_gk

--HG--
extra : rebase_source : f4492f209248c7ae4b74d7d0345c51fa893167da
2015-08-05 11:02:00 -07:00
Jan de Mooij
eed2b5bfff Bug 1185653 - Fix enumerate hook on unboxed objects to skip non-enumerable properties. r=jorendorff
--HG--
extra : rebase_source : 4f359cb0b34ee5a92afcb983ec765c92eaa1d162
2015-08-11 17:42:56 +02:00
Kyle Huey
76e3009ab8 Bug 1179909: Refactor stable state handling. r=smaug
This is motivated by three separate but related problems:

1. Our concept of recursion depth is broken for things that run from AfterProcessNextEvent observers (e.g. Promises). We decrement the recursionDepth counter before firing observers, so a Promise callback running at the lowest event loop depth has a recursion depth of 0 (whereas a regular nsIRunnable would be 1). This is a problem because it's impossible to distinguish a Promise running after a sync XHR's onreadystatechange handler from a top-level event (since the former runs with depth 2 - 1 = 1, and the latter runs with just 1).

2. The nsIThreadObserver mechanism that is used by a lot of code to run "after" the current event is a poor fit for anything that runs script. First, the order the observers fire in is the order they were added, not anything fixed by spec. Additionally, running script can cause the event loop to spin, which is a big source of pain here (bholley has some nasty bug caused by this).

3. We run Promises from different points in the code for workers and main thread. The latter runs from XPConnect's nsIThreadObserver callbacks, while the former runs from a hardcoded call to run Promises in the worker event loop. What workers do is particularly problematic because it means we can't get the right recursion depth no matter what we do to nsThread.

The solve this, this patch does the following:

1. Consolidate some handling of microtasks and all handling of stable state from appshell and WorkerPrivate into CycleCollectedJSRuntime.
2. Make the recursionDepth counter only available to CycleCollectedJSRuntime (and its consumers) and remove it from the nsIThreadInternal and nsIThreadObserver APIs.
3. Adjust the recursionDepth counter so that microtasks run with the recursionDepth of the task they are associated with.
4. Introduce the concept of metastable state to replace appshell's RunBeforeNextEvent. Metastable state is reached after every microtask or task is completed. This provides the semantics that bent and I want for IndexedDB, where transactions autocommit at the end of a microtask and do not "spill" from one microtask into a subsequent microtask. This differs from appshell's RunBeforeNextEvent in two ways:
a) It fires between microtasks, which was the motivation for starting this.
b) It no longer ensures that we're at the same event loop depth in the native event queue. bent decided we don't care about this.
5. Reorder stable state to happen after microtasks such as Promises, per HTML. Right now we call the regular thread observers, including appshell, before the main thread observer (XPConnect), so stable state tasks happen before microtasks.
2015-08-11 06:10:46 -07:00
Ryan VanderMeulen
a7ea8705c1 Backed out changesets db4294fb662d and de9ae2ccb73b (bug 1181175) for Android test_compartments.js failures.
CLOSED TREE
2015-08-10 15:07:27 -04:00
David Rajchenbach-Teller
d326242e8b Bug 1181175 - Use RDTSC for Performance Monitoring instead of getrusage. r=jandem
--HG--
extra : transplant_source : %8D%A9%CC%17Dj9-%81T%B2%0D%E1%EA%BD%05%C7%DCl%CB
2015-07-07 18:45:54 +02:00
Birunthan Mohanathas
7315345693 Bug 1191100 - Remove XPIDL signature comments in .cpp files. r=ehsan
Comment-only so DONTBUILD.
2015-08-04 16:17:36 -07:00
Andrew McCreight
c3dc941170 Bug 1190436 - Part 2: Use an early return in XPCConvert::JSObject2NativeInterface. r=gabor 2015-08-03 11:48:00 -04:00
Andrew McCreight
074f97cf4c Bug 1190436 - Part 1: Use more smart pointers in XPConnect. r=gabor 2015-08-03 11:47:00 -04:00
Andrew McCreight
411609d79a Bug 1155773 - Remove gotos from XPCConvert::NativeArray2JS(). r=bholley
--HG--
extra : rebase_source : 4025b380f63bf87dae43becde7b5cf21ffc4ac0a
2015-08-03 11:47:00 +02:00
Nicholas Nethercote
d98d14fa1e Bug 1189156 (part 4) - Don't use enumeration style for nsBaseHashtable::SizeOf{In,Ex}cludingThis(). r=erahm,jfkthame.
After this change, we have ShallowSizeOf{In,Ex}cludingThis(), which don't do
anything to measure children. (They can be combined with iteration to measure
children.)

--HG--
extra : rebase_source : f98420176f50990bbc5a25e35788328154cfeb00
2015-07-30 21:19:57 -07:00
Boris Zbarsky
57621e1167 Bug 1135961. Implement subclassing of DOM objects. r=peterv 2015-07-31 13:30:55 -04:00
Nicholas Nethercote
2d56c1f52e Bug 1189156 (part 1) - Don't use enumeration style for PLDHashTable::SizeOf{In,Ex}cludingThis(). r=froydnj.
After this change, we have PLDHashTable::ShallowSizeOf{In,Ex}cludingThis(),
which don't do anything to measure children. (They can be combined with
iteration to measure children.)

This patch also removes the PL_DHashTableSizeOf{In,Ex}cludingThis() functions.
They're not necessary because the methods can be used instead.

Finally, the patch deliberately converts some SizeOfExcludingThis() calls to
SizeOfIncludingThis(). These are all done on heap pointers so this change is
valid.

--HG--
extra : rebase_source : b1d51096a8e7dcac29d7efd92e28938836ff5481
2015-07-29 22:28:20 -07:00
Alexandre Poirot
5f9afbc4de Bug 1182194 - Convert LayoutHelpers.jsm into a commonjs module. r=jwalker
--HG--
rename : toolkit/devtools/LayoutHelpers.jsm => toolkit/devtools/layout-helpers.js
2015-07-30 06:14:08 -07:00
Mike Kaply
68b080c7c5 Bug 1152512 - Use the latest JavaScript version when parsing AutoConfig files. r=mrbkap
--HG--
extra : rebase_source : 4527671894b43e60e16d4b6be5e6af55b68b6ebe
2015-07-28 13:57:55 -05:00
Andrew McCreight
6e8552d49a Bug 1185527 - Split out a refcountless base class for nsScriptError. r=gabor
This avoids shadowing the refcount if nsScriptErrorWithScript inherited from nsScriptError.
2015-07-28 16:51:10 -04:00
Carsten "Tomcat" Book
ce5ca9b688 Backed out changeset 0afe24f16cf4 (bug 1152512) for bustage 2015-07-28 14:38:01 +02:00
Mike Kaply
1acb520ff0 Bug 1152512 - Use the latest JavaScript version when parsing AutoConfig files. r=mrbkap 2015-07-28 07:13:26 -05:00
Giovanny Andres Gongora Granada
2e800a3fea Bug 1150312 - Remove MOZ_SHARK. r=glandium 2015-07-23 18:16:00 -04:00
Tom Tromey
9f3b16bf4c Bug 1148593 - Create async stack in callback objects. r=bz, r=fitzgen
--HG--
extra : rebase_source : f9b507d8f005dbca6f40f510ca41a0cbb03aebf9
2015-07-24 07:01:00 -04:00
Andrew McCreight
95bead4668 Bug 1187410 - Use GetNameShared() in XPCNativeInterface::NewInstance() to avoid a leak. r=mrbkap
GetName() returns a new string, but that string is never freed.

This patch avoids the leak by not copying the string. This is okay because
the scope of intfNameChars is within the scope of aInfo.
2015-07-26 14:26:23 -07:00
Bobby Holley
4dac367856 Bug 1186213 - Add an API to deep-freeze the result of Cu.cloneInto. r=gkrizsanits 2015-07-21 14:57:00 +02:00
Terrence Cole
f0591ea02e Bug 1186156 - Move the PersistentRooted list heads into RootLists; r=sfink 2015-07-09 14:13:10 -07:00
Andrew McCreight
13e2d3a560 Bug 931571, part 13 - Add a destructor for nsDiscriminatedUnion. r=froydnj
The existing nsDiscriminateUnions either always call Cleanup() when they
are about to go away, or they only handle scalar values so it is safe to
call Cleanup() on them without worrying about another discriminated union
having taken over any memory owned by this union.
2015-07-23 12:28:30 -07:00
Andrew McCreight
0994e4e4ed Bug 931571, part 12 - Add nsDiscriminatedUnion::GetType(). r=froydnj
This is not quite enough to make the data members private because
XPCVariant pokes around to do some JS array stuff.
2015-07-23 12:28:30 -07:00
Andrew McCreight
4bdbcd2020 Bug 931571, part 11 - Turn nsDiscriminatedUnion's Traverse function into a method. r=froydnj 2015-07-23 12:28:30 -07:00
Andrew McCreight
cb922209d3 Bug 931571, part 9 - Turn most of the nsVariant setters into nsDiscriminated methods. r=froydnj
This also adds a new nsDiscriminatedUnion method SetFromDOMString, as somebody added an nsVariant method without the corresponding helper.
2015-07-23 12:28:30 -07:00
Andrew McCreight
8c28737b59 Bug 931571, part 8 - Turn ConvertToISupports, ConvertToInterface and ConvertToArray to methods. r=froydnj 2015-07-23 12:28:30 -07:00
Andrew McCreight
219f81d45f Bug 931571, part 7 - Turn ConvertTo*String and ToString into methods. r=froydnj 2015-07-23 12:28:30 -07:00
Andrew McCreight
83b488957d Bug 931571, part 6 - Make ConvertToID and String2ID into methods. r=froydnj 2015-07-23 12:28:30 -07:00
Andrew McCreight
6c297a19d4 Bug 931571, part 5 - Turn basic ConvertTo functions into methods. r=froydnj 2015-07-23 12:28:30 -07:00
Andrew McCreight
ca92d9ebc0 Bug 931571, part 2 - Convert Cleanup() and FreeArray() to methods. r=froydnj 2015-07-23 12:28:29 -07:00
Andrew McCreight
7b7d1a30b8 Bug 931571, part 1 - Use a constructor for nsDiscriminatedUnion. r=froydnj 2015-07-23 12:28:29 -07:00
Andrew McCreight
621e57b2b7 Bug 1176341 - De-holder nsIXPConnect::CreateSandbox. r=baku,gabor 2015-07-21 11:31:44 -07:00
Ryan VanderMeulen
fb3e0b058e Backed out changeset 553a3e1e7b18 (bug 1176341) for bustage.
CLOSED TREE
2015-07-21 13:00:55 -04:00
Andrew McCreight
5cbc3abf39 Bug 1176341 - De-holder nsIXPConnect::CreateSandbox. r=baku,gabor 2015-07-21 09:44:37 -07:00
Andrew McCreight
6ea0227583 Bug 1185144 - nsConsoleService::LogMessageWithMode() should release the retired message on the main thread. r=froydnj
Also, add release asserts that the other methods that addref or release console messages are only run on the main thread.

Finally, add an assert that nsScriptErrorWithStack is only created on the main thread.
2015-07-21 07:50:09 -07:00
Andrew McCreight
d0c5cd2fd1 Bug 1185634 - Part 2: Remove obsolete comment. r=gabor 2015-07-20 11:46:00 -04:00
Andrew McCreight
a2bd54bd1d Bug 1185634 - Part 1: SandboxPrivate shouldn't be public. r=gabor
--HG--
rename : js/xpconnect/public/SandboxPrivate.h => js/xpconnect/src/SandboxPrivate.h
2015-07-20 11:46:00 -04:00
Andrew McCreight
39839cde51 Bug 1185056 - Use the normal CC macros for XPCWrappedNative. r=smaug 2015-07-17 14:14:00 +02:00
Jan de Mooij
250652b04a Bug 1184564 part 1 - Use Value instead of jsval in XPConnect. r=bholley 2015-07-18 21:45:35 +02:00
Brian Hackett
cd9e31dcba Bug 1183480 - Return old timeout value in setScriptTimeout(), r=bholley. 2015-07-17 09:45:08 -07:00
Ryan VanderMeulen
b171b787bd Backed out changesets fa9fe193778f and 3eaf867930dd (bug 1148593) for test_async_setTimeout_stack.html and test_async_setTimeout_stack_across_globals.html failures. 2015-07-17 12:37:24 -04:00
Tom Tromey
843465db8e Bug 1148593 - Create async stack in callback objects. r=bz, r=fitzgen 2015-07-17 07:48:00 -04:00
Kyle Huey
74f03750da Bug 1182316: Part 3 - Add assertions to most other WebIDL entry points, clean up nsIDOMJSWindow cruft. r=peterv 2015-07-16 22:10:35 -07:00
Andrew McCreight
7102f1c26b Bug 1184400, part 3 - Use HasExternalReference in XPCWrappedNative::Traverse. r=bholley
This is just for consistency.
2015-07-16 17:50:43 -07:00
Andrew McCreight
52b10c8714 Bug 1184400, part 2 - XPCWrappedNative::Suspect() should suspect the JS reflector object even if it doesn't own it. r=bholley 2015-07-16 17:50:43 -07:00
Andrew McCreight
e7070f39fe Bug 1184400, part 1 - Make XPCJSRuntime::SuspectWrappedNative into a method on XPCWrappedNative. r=bholley 2015-07-16 17:50:43 -07:00
Andrew McCreight
f3d75a224c Bug 1184630 - Remove the unused XPCWrappedNative::LocateTearOff(). r=gabor
Also, remove some redundant access specifiers in XPCWrappedNative.
2015-07-16 17:50:43 -07:00
Jason Orendorff
b99588d3e5 Bug 987514, part 4 - Implement most of the standard Reflect methods. r=Waldo.
Reflect.construct will be added in bug 1178932.

Reflect.enumerate is not implemented because we do not implement the underlying internal method to spec yet.

--HG--
extra : rebase_source : 47f533df6e2b4f38b3812c1ce955fa90ce055a75
2014-11-05 00:32:29 -06:00
Jason Orendorff
3a5f570d6f Bug 987514, part 3 - Make every global have a (usually empty) Reflect object; rename JS_InitReflect -> JS_InitReflectParse. r=Waldo.
The bit in MIRGenerator.h fixes a straight-up bug in the code, masked until now by unified builds (and unmasked because this patch adds a .cpp file, perturbing the unified build boundaries).

--HG--
extra : rebase_source : aa6bf55dc1ce87b9fc10af76cb506560b14c3de9
2014-11-04 21:41:43 -06:00
Bobby Holley
c8b6dbffb7 Bug 1184382 - Handle a sandboxPrototype we don't subsume. r=gabor 2015-07-16 11:24:18 -07:00
Daniel Holbert
c81b996b3b Bug 814497 followup: Add missing 'override' keyword to nsScriptErrorWithStack method 'GetStack'. rs=ehsan 2015-07-15 17:23:53 -07:00
Bobby Holley
f26bc6851d Bug 1182357 - Implement support for optional size_is for arrays passed from JS. r=mrbkap
The fact that the caller needs to pass this is just an artifact of the clunky
XPIDL type system. This should let us make nicer APIs.
2015-07-15 16:59:08 -07:00
Wes Kocher
c3eedd62ae Merge m-c to inbound, a=merge CLOSED TREE 2015-07-15 16:41:49 -07:00
Alexandre Poirot
ec268220f2 Bug 814497 - Fix nsScriptErrorWithStack constructor. r=ehsan 2015-07-15 09:58:26 -07:00
Bobby Holley
e53c744803 Bug 1182409 - Add 'allowWaivers' sandbox option. r=gabor 2015-07-15 11:32:30 -07:00
Alexandre Poirot
18efabed2b Bug 814497 - Pass SavedFrame from JS::ErrorObject to nsIScriptError. r=bholley 2015-07-09 07:02:00 -04:00
Birunthan Mohanathas
a8939590de Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
The bulk of this commit was generated by running:

  run-clang-tidy.py \
    -checks='-*,llvm-namespace-comment' \
    -header-filter=^/.../mozilla-central/.* \
    -fix
2015-07-13 08:25:42 -07:00
Geoff Brown
52d4e225a0 Bug 1026290 - Update mochitest-chrome manifests for android; r=jgriffin 2015-07-10 14:41:59 -06:00
Wes Kocher
d8780b2a3f Backed out changeset 74293125739a (bug 1176341) 2015-07-10 12:48:20 -07:00
Andrew McCreight
8047284e97 Bug 1176341 - De-holder nsIXPConnect::CreateSandbox. r=baku,gabor 2015-07-10 07:41:33 -07:00
Boris Zbarsky
d39d28be5c Bug 1180770 part 2. Remove the unused ifaceName/memberName arguments of ThrowMethodFailedWithDetails and rename it to ThrowMethodFailed. r=peterv 2015-07-09 22:51:28 -04:00
Martin Thomson
30fc9b669e Bug 1181262 - Disabling more code under --disable-webrtc, r=dholbert,bwc
--HG--
rename : dom/media/RTCIdentityProviderRegistrar.cpp => dom/media/webrtc/RTCIdentityProviderRegistrar.cpp
rename : dom/media/RTCIdentityProviderRegistrar.h => dom/media/webrtc/RTCIdentityProviderRegistrar.h
extra : commitid : 1wyjSLjnSs8
extra : rebase_source : b7777f20ed69324e8572f34f4cb1246d704b2c65
2015-07-08 12:27:45 -07:00
Nicholas Nethercote
f976bf5495 Bug 1179071 - Merge RemovingIterator into Iterator. r=froydnj.
The original motivation for the Iterator/RemovingIterator split was that
PLDHashTable Checker class would treat them differently. But that didn't end up
happening (see bug 1131308). So this patch merges them. This is a small code
size win now but it will become bigger when I add iterators to nsTHashTable and
nsBaseHashtable.

The only complication is that PLDHashTable::Iter() is now non-const, which is
a problem if you use it in a const method. So I added PLDHashTable::ConstIter()
which is used in just two places. It's a bit of a hack -- effectively a
const_cast -- but I don't think it's too bad.
2015-07-06 22:02:26 -07:00
Dragana Damjanovic
7987d2203e Bug 905127 - Part 2 - remove unnecessary nsNetUtil.h includes r=jduell 2015-07-06 07:55:00 +02:00
Emanuel Hoogeveen
7d1e52f2ff Bug 905127 - Part 1 - Make some functions from nsNetUtil not inline. r=jduell 2015-07-07 04:17:00 +02:00
Jeff Walden
9f7e9fa682 Bug 1163891 - Read lines of input in xpcshell/jsshell while properly handling EINTR failures and retrying in response. r=glandium
--HG--
extra : rebase_source : a821bfabfac56e7d9d82dc6b37475d6bae3c0ebc
2015-07-02 21:19:22 -07:00
Nicholas Nethercote
27c52263bb Bug 1180123 (part 2) - Minor nursery report fixes. r=terrence. 2015-07-03 00:49:40 -07:00
Nicholas Nethercote
39b01180b6 Bug 1180123 (part 1) - Report the size of the saved stacks sets. r=fitzgen.
--HG--
extra : rebase_source : e2a4247778e093ac37934878865e134ecc9aa062
2015-07-03 00:33:41 -07:00
Juan Gomez
258ad59e3f Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-07-03 18:29:00 -07:00
Martin Thomson
3f054841ce Bug 1176434 - Enabling indexedDB for content JS sandboxes, r=bent
--HG--
extra : commitid : DYgglyPMmSl
2015-07-02 13:30:15 -07:00
Carsten "Tomcat" Book
90ad3cb68a merge mozilla-inbound to mozilla-central a=merge 2015-07-02 15:44:14 +02:00
Fabrice Desré
b073ed1739 Bug 1179102 - The async version of loadSubscript doesn't get the right JS version. r=bholley 2015-07-01 16:26:08 -07:00
Jan de Mooij
2c2b7af49c Bug 1177892 part 4 - Remove INT_TO_JSVAL. r=evilpie 2015-06-30 21:10:04 -07:00
Jan de Mooij
303b210317 Bug 1177892 part 3 - Remove OBJECT_TO_JSVAL. r=evilpie 2015-06-30 21:09:46 -07:00
Jan de Mooij
80aa064383 Bug 1177892 part 2 - Remove PRIVATE_TO_JSVAL. r=evilpie 2015-06-30 11:20:58 -07:00
Jan de Mooij
155b1afd35 Bug 1177892 part 1 - Remove BOOLEAN_TO_JSVAL and STRING_TO_JSVAL. r=evilpie 2015-06-30 11:20:56 -07:00
Ryan VanderMeulen
7483c0563e Backed out changesets ad58c270ce87 and 849151330d60 (bug 1177892) for B2G bustage.
CLOSED TREE
2015-06-30 15:48:11 -04:00
Jan de Mooij
ba71789f3a Bug 1177892 part 2 - Remove PRIVATE_TO_JSVAL. r=evilpie
--HG--
extra : rebase_source : ab95d8c3cea6679b0dce33a9cac6a1c9b0b0871a
2015-06-30 11:20:58 -07:00
Jan de Mooij
731f441d6e Bug 1177892 part 1 - Remove BOOLEAN_TO_JSVAL and STRING_TO_JSVAL. r=evilpie
--HG--
extra : rebase_source : f7ae63c351c82516e7db48a12c4cfb2048a81805
2015-06-30 11:20:56 -07:00
Kartikaya Gupta
9ca2ba78c0 Bug 1178274 - Ensure the BrowserTabsRemoteAutostart function is first called on the main thread during xpcshell testing. r=billm 2015-06-30 06:43:07 -04:00
Jan de Mooij
976586cb5f Bug 1177825 - Remove JSVAL_* constants. r=evilpie 2015-06-29 18:36:44 -07:00
Andrew McCreight
898cb90713 Bug 886459, part 4 - Remove nsIJSRuntimeService. r=bholley,aklotz 2015-06-26 18:44:14 -07:00
Andrew McCreight
10dd21a3ef Bug 886459, part 3 - Remove simple uses of nsIJSRuntimeService to get the JSRuntime. r=bholley 2015-06-26 18:44:14 -07:00
Andrew McCreight
fd7600ed25 Bug 886459, part 2 - Remove context callbacks from XPCJSRuntime. r=bholley
These are unused.
2015-06-26 18:44:13 -07:00
Ryan VanderMeulen
5f5c327690 Backed out changeset 8b4e4083639e (bug 1171931) for B2G debug emulator bustage. 2015-06-25 19:48:42 -04:00
Juan Gomez
702a59d135 Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj
--HG--
extra : rebase_source : 2ecbe6c1dd8a7ad8dc529b53349ad431cf1116c9
2015-06-24 14:11:00 -04:00
Magnus Melin
9ccc5bb1d7 Bug 1176749. nsIScriptError.idl should use nsStringGlue.h, not nsString.h. r=mrbkap 2015-06-23 20:31:17 +03:00