Jan de Mooij
0f65c9be84
Bug 1286159 - Clean up FinishOffThread* APIs for off-thread parsing. r=jonco
2016-07-19 09:19:54 +02:00
Wes Kocher
c9783f64cb
Backed out 4 changesets (bug 471020) for frequent Windows w(2) failures CLOSED TREE a=merge
...
Backed out changeset d9675ab3d203 (bug 471020)
Backed out changeset 3ee328c56de0 (bug 471020)
Backed out changeset 000576e264bd (bug 471020)
Backed out changeset ffe60708c457 (bug 471020)
2016-07-18 16:07:28 -07:00
Carsten "Tomcat" Book
0b2b46fcdb
Merge mozilla-central to mozilla-inbound
2016-07-18 17:10:52 +02:00
Carsten "Tomcat" Book
ca457776f8
merge mozilla-inbound to mozilla-central a=merge
2016-07-18 17:07:59 +02:00
Carsten "Tomcat" Book
779d97cbaf
Backed out changeset a80fdfc128b0 (bug 911216) for high crash-rate on developers - RyanVM request
2016-07-18 16:14:59 +02:00
Christoph Kerschbaumer
f897b7df7e
Bug 471020 - Implement X-Content-Type-Options: nosniff. r=dveditz,bz,mcmanus
2016-07-18 14:47:48 +02:00
Jan de Mooij
b68d3ea4c4
Bug 1285134 part 1 - Move the runtime private to the context. r=efaust
2016-07-18 14:36:13 +02:00
Till Schneidereit
3a9eed06fe
Bug 911216 - Part 30: Enable SpiderMonkey Promise implementation. r=bz,efaust,bholley,Paolo,tromey,shu
...
Also contains folded version of the following patches that have to land at the same time with enabling the new implementation (or be backed out at the same time, if it comes to that):
Add Promise checks to test_xrayToJS.xul. r=bholley
Change Promise debugger hook tests to use Promise ctor instead of makeFakePromise. r=shu
Change DOM interface tests to assume Promise is an ES builtin, not a DOM one. r=bz
Remove some PromiseDebugging references. r=bz
Adapt promise rejections test to new xray-unwrapping error. r=bz
Fix expectations in browser_timelineMarkers tests. r=tromey
2016-07-16 15:05:12 +02:00
Nicholas Nethercote
2ebfc5116b
Bug 1197973 - Use MOZ_MUST_USE in AutoJSAPI. r=bz.
2016-07-14 13:18:11 +10:00
Tom Schuster
7bd3f26521
Bug 1285750 - Remove __defineGetter__/__defineSetter__ telemetry. r=Waldo
2016-07-12 11:08:12 +02:00
Jan de Mooij
9a3db3c861
Bug 1283855
part 4 - Make localization APIs take JSContext instead of JSRuntime. r=terrence
2016-07-11 18:46:56 +02:00
Boris Zbarsky
efc4dcf284
Bug 1275315 part 2. Use the new Realm getters in binding code. r=peterv
2016-07-09 00:19:52 -04:00
Chris Peterson
43c2748f66
Bug 1277775 - Replace MOZ_CONSTEXPR{_VAR,_TMPL} with constexpr. r=froydnj
2016-07-08 14:39:53 -07:00
Boris Zbarsky
0184b4df38
Bug 1282150 part 6. Get rid of GetSafeJSContext. r=bholley
2016-07-07 20:08:26 -04:00
Boris Zbarsky
4f728ae258
Bug 1278608. Just bail out of mozJSComponentLoader::LoadModule if it's called on a non-main thread. r=bholley
2016-07-07 20:08:25 -04:00
Jan de Mooij
900af968f3
Bug 1283855
part 28 - Make more GC APIs take JSContext instead of JSRuntime. r=terrence
...
--HG--
extra : rebase_source : c2d35b5d45cad074b9a9a144bc25ea4a32b8b246
2016-07-07 09:56:09 +02:00
Jan de Mooij
7ec38687c8
Bug 1283855
part 27 - Make more GC APIs take JSContext instead of JSRuntime. r=jonco
...
--HG--
extra : rebase_source : b666bd88d0247b58f7311f81e5116199779cc806
2016-07-07 09:55:45 +02:00
Jan de Mooij
1ffe7cc891
Bug 1283855
part 26 - Make more GC APIs take JSContext instead of JSRuntime. r=terrence,mccr8
...
--HG--
extra : rebase_source : 68e6c63b179094f2441f01df58e0bdd68620ed09
2016-07-07 09:55:41 +02:00
Jan de Mooij
a53a99aab6
Bug 1284808 - Rename RuntimeOptions to ContextOptions and move it to the context. r=luke,baku
...
--HG--
extra : rebase_source : acd82642a27b36b98bf1bf34c29d33c7e0b57dea
2016-07-07 08:15:15 +02:00
Jan de Mooij
ea775f40f5
Bug 1283855
part 21 - Make performance monitoring APIs take JSContext instead of JSRuntime. r=Yoric
2016-07-06 16:53:50 +02:00
Jan de Mooij
96da4695c8
Bug 1283855
part 25 - Make JS_GC take JSContext instead of JSRuntime. r=terrence
2016-07-06 11:40:20 +02:00
Jan de Mooij
c1ed92b71b
Bug 1283855
part 3 - Make some callback setters take JSContext instead of JSRuntime. r=efaust
2016-07-06 11:40:20 +02:00
Bill McCloskey
c952246316
Bug 1214824 - Forbid CPOW usage if add-on declares it is multiprocessCompatible (r=mrbkap)
2016-07-05 13:59:36 -07:00
Jan de Mooij
95d24f32ab
Bug 1283855
part 22 - Make GetErrorTypeName take JSContext instead of JSRuntime. r=arai
...
--HG--
extra : rebase_source : b8fee2c303140257fdae29ea709a94a99fc6739d
2016-07-05 16:49:48 +02:00
Jan de Mooij
078a91ca56
Bug 1283855
part 19 - Make security callbacks take JSContext instead of JSRuntime. r=jorendorff
...
--HG--
extra : rebase_source : c106826540912b00550b2d6162dcae6e1fb616d4
2016-07-05 16:49:44 +02:00
Jan de Mooij
6c5b8f4c2e
Bug 1283855
part 18 - Make JS_DropPrincipals take JSContext instead of JSRuntime. r=luke
...
--HG--
extra : rebase_source : 6f86a455c5ae2e0b306916a7121708a537a6105b
2016-07-05 16:49:41 +02:00
Jan de Mooij
ebc4aaed13
Bug 1283855
part 16 - Make source hook functions take JSContext instead of JSRuntime. r=mrrrgn
...
--HG--
extra : rebase_source : 8311b02e6facb3d3b08ead519c06dd8d3319ad0f
2016-07-05 16:49:39 +02:00
Jan de Mooij
4ca08a4466
Bug 1283855
part 15 - Make {Get,Set}DOMCallbacks, SetWindowProxyClass take JSContext instead of JSRuntime. r=h4writer
2016-07-05 14:35:28 +02:00
Jan de Mooij
fb15cb143c
Bug 1283855
part 14 - Make more callback setters take JSContext instead of JSRuntime. r=shu
2016-07-05 14:35:26 +02:00
Jan de Mooij
3e6263744c
Bug 1283855
part 13 - Make JS_SetNativeStackQuota take JSContext instead of JSRuntime. r=fitzgen
2016-07-05 14:35:23 +02:00
Jan de Mooij
c8334f438a
Bug 1283855
part 12 - Make some GC APIs take JSContext instead of JSRuntime. r=sfink
2016-07-05 14:35:21 +02:00
Jan de Mooij
185fef3784
Bug 1283855
part 10 - Make some GC callback APIs take JSContext instead of JSRuntime. r=jonco
2016-07-05 14:35:16 +02:00
Jan de Mooij
539f2c4a46
Bug 1283855
part 8 - Make JIT compiler option APIs take JSContext instead of JSRuntime. r=nbp
2016-07-05 11:06:06 +02:00
Jan de Mooij
3ffa1fd00d
Bug 1283855
part 7 - Make JS_SetGCZeal take JSContext instead of JSRuntime. r=sfink
2016-07-05 11:06:05 +02:00
Jan de Mooij
acb65dff35
Bug 1283855
part 6 - Make JS_AbortIfWrongThread take JSContext instead of JSRuntime. r=terrence
2016-07-05 11:06:05 +02:00
Jan de Mooij
7c1a1cec44
Bug 1283855
part 2 - Make some callback setters take JSContext instead of JSRuntime. r=luke
2016-07-05 11:06:05 +02:00
Jan de Mooij
d39ad7fb2d
Bug 1283855
part 1 - Make JS_GetEmptyString take JSContext instead of JSRuntime. r=jorendorff
2016-07-05 11:06:05 +02:00
Phil Ringnalda
ef87dff4e9
Back out 14928a6b38f3 (bug 1214824) for leaking an nsStringBuffer in debug e10s devtools
2016-06-30 21:12:11 -07:00
Bill McCloskey
3f712641d1
Bug 1214824 - Forbid CPOW usage if add-on declares it is multiprocessCompatible (r=mrbkap)
2016-06-30 17:38:54 -07:00
Xidorn Quan
4cbe3b8fd3
Bug 1279991 - Use [Func=] for EventTarget.mozSystemGroup. r=peterv
...
MozReview-Commit-ID: B5pMVCUuss9
--HG--
extra : transplant_source : %F7%8A4%2B%B5d_%D8%3AR%19%C4%21%D7%D6%8C%AE%82%FE%1B
2016-06-20 15:49:11 +10:00
Christoph Kerschbaumer
e327196a9a
Bug 1279481 - Convert mozJSComponentLoader.cpp to use channel->Open2() r=bholley
2016-06-10 14:32:09 +02:00
Andrea Marchesini
37ac18fc67
Bug 1269162 - part 6 - Merge XMLHttpRequestWorker and XMLHttpRequestMainThread, r=smaug
...
--HG--
rename : dom/xhr/nsXMLHttpRequest.cpp => dom/xhr/XMLHttpRequestMainThread.cpp
rename : dom/xhr/nsXMLHttpRequest.h => dom/xhr/XMLHttpRequestMainThread.h
2016-06-27 19:13:41 +02:00
Boris Zbarsky
759bad9a0b
Bug 767938 part 11. Move the "safe JS context" to where it belongs: the CycleCollectedJSRuntime. r=bholley
2016-06-24 14:19:51 -04:00
Boris Zbarsky
9b1f1daa04
Bug 767938 part 10. Remove the now write-only XPCJSContextStack's actual stack of JSContexts and AutoCxPusher. r=bholley
2016-06-24 14:19:51 -04:00
Boris Zbarsky
3fd6b57c2b
Bug 767938 part 8. Remove the no-longer-really-needed Debug_SetActiveJSContext. r=bholley
2016-06-24 14:19:51 -04:00
Boris Zbarsky
ad60b5c087
Bug 767938 part 7. Remove the now-debug-only uses of XPCJSContextStack::Peek and Count(). r=bholley
2016-06-24 14:19:50 -04:00
Boris Zbarsky
16f83caaad
Bug 767938 part 6. Get rid of XPConnect's GetCurrentJSContext getter. r=bholley
2016-06-24 14:19:50 -04:00
Boris Zbarsky
53a1c93f93
Bug 767938 part 4. Put an AutoNoJSAPI on the stack while running events off the event loop. r=bholley,khuey
2016-06-24 14:19:50 -04:00
Boris Zbarsky
4eb82c0b30
Bug 1281071
. Be a bit more careful with our cross-origin-accessible stuff on windows. r=bholley
2016-06-23 19:39:53 -04:00
Boris Zbarsky
5254910dfb
Bug 1276310 part 5. Remove the now-unused XPCContext. r=bholley
...
The XPCShellImpl change is needed because we're now unifying XPCShellImpl with
some file that does "using namespace xpc" at toplevel, so the "Atob" and "Btoa"
barewords in its JSFunctionSpecs become ambiguous. Luckily, the file-static
versions of those in XPCShellImpl are completely identical to the xpc-namespaced
versions anyway.
2016-06-23 00:32:20 -04:00