Граф коммитов

5159 Коммитов

Автор SHA1 Сообщение Дата
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
Boris Zbarsky c064e99123 Bug 1276310 part 4. Store an XPCJSRuntime* in XPCCallContext instead of storing an XPCContext*. r=bholley 2016-06-23 00:22:30 -04:00
Boris Zbarsky 567e9bf030 Bug 1276310 part 3. Get rid of the mException member of XPCContext. r=bholley
The member is only set by SetException(), which is called with non-null in
precisely one place.  This place is always immediately followed by a call to
nsXPCWrappedJSClass::CheckForException which proceeds to grab the exception from
the XPCContext and call SetException(null).  So basically, it's all a weird
out-of-band argument to CheckForException.
2016-06-23 00:22:30 -04:00
Boris Zbarsky 9156808526 Bug 1276310 part 2. Get rid of Components.lastResult and the corresponding XPCContext member. r=bholley 2016-06-23 00:22:30 -04:00
Boris Zbarsky 684c694d35 Bug 1276310 part 1. Move XPCContext's mPendingResult member into XPCJSRuntime. r=bholley 2016-06-23 00:22:30 -04:00
Boris Zbarsky 55c20fd2a2 Bug 1281276 part 5. Get rid of the LangType argument of the XPCCallContext constructor and the now-dead language type enums. r=bholley 2016-06-23 00:22:29 -04:00
Boris Zbarsky eea77304b5 Bug 1281276 part 4. Get rid of XPCContext's mCallingLangType member. r=bholley 2016-06-23 00:22:29 -04:00
Boris Zbarsky 069e9491af Bug 1281276 part 3. Drop the one place that uses XPCContext::CallerTypeIsJavaScript() (an assertion). r=bholley 2016-06-23 00:22:29 -04:00
Boris Zbarsky 18ad20362f Bug 1281276 part 2. Eliminate the unused XPCContext::CallerTypeIsNative/CallerTypeIsKnown methods. r=bholley 2016-06-23 00:22:29 -04:00
Boris Zbarsky 115145d1e8 Bug 1281276 part 1. Eliminate XPCCallContext's mCallerLanguage member. r=bholley 2016-06-23 00:22:29 -04:00
Jan de Mooij fb0436ba41 Bug 1279295 - Create the runtime's JSContext when we create the runtime. r=luke 2016-06-22 09:47:52 +02:00
Lars T Hansen bd9aa07076 Bug 1278635 - about:config pref for Wasm baseline jit. r=luke
--HG--
extra : rebase_source : 61deacc42587de2aab04aa00da1614a9a916dcf1
2016-06-08 13:25:23 +02:00
Olli Pettay 6371f21e0c Bug 1279746 - Optimize xpc_TryUnmarkWrappedGrayObject, r=mccr8 2016-06-14 13:14:21 +01:00
Ralph Giles f608c28218 Bug 1275744 - Reference MOZ_LOG in xpconnect comments. r=erahm
NSPR_LOG_MODULES is deprecated.

MozReview-Commit-ID: 7a3EwGBFExT

--HG--
extra : rebase_source : fd4a85fcb89ac06038a1d30afd3607151a9e63ec
2016-05-25 16:31:13 -07:00
Jonathan Watt b15368cfcb Bug 1279451 - Remove a lot of unnecessary includes of nsAutoPtr.h. rs=sparky 2016-06-07 21:10:18 +01:00
Jan de Mooij 8c1aaa3154 Bug 1278947 part 1 - Stop using JSContext callback in XPConnect. r=bz
--HG--
extra : rebase_source : 1e971a2a2a2a2b9068bd59d98156fa84b8f4b105
2016-06-10 09:27:14 +02:00
Tom Schuster ccef679ea1 Bug 1245024 - Implement Object.getOwnPropertyDescriptors. r=efaust,bz 2016-06-09 20:27:53 +02:00
Nicholas Nethercote 5592622f09 Bug 1277104 - Add strings to high-frequency MOZ_CRASH() occurrences. mccr8.
Some of these are guesses; it's not always clear from a crash report stack
trace which MOZ_CRASH() was hit.
2016-06-09 13:09:58 +10:00
Nicholas Nethercote ef71a3808e Bug 1278452 - Remove an unnecessary null check in js/src/shell/. r=mrbkap.
The check is unnecessary because |operator new| is infallible.

--HG--
extra : rebase_source : e0f72745c2f4298be0f72a015ebf67570911e2c6
2016-06-07 14:36:59 +10:00
Jan de Mooij 66faed38af Bug 1277278 part 1 - Remove ContextOptions and make autoJSAPIOwnsErrorReporting the default. r=luke
--HG--
extra : rebase_source : aa1dcba100a3bb7a5057b07284cf4a99353afe5a
2016-06-07 20:30:48 +02:00
Masatoshi Kimura d4872d9358 Bug 1278250 - Add a utility function to check if non-local connections are disabled. r=mcmanus,mrbkap 2016-06-07 22:17:42 +09:00
Andrea Marchesini 5a7749a26f Bug 1265767 - Subset of Blink FileSystem API - patch 2 - Entries, r=smaug 2016-06-07 00:55:16 +02:00
Morgan Phillips df95ec2891 Bug 1054906 - Implement ES6 Symbol.hasInstance 1/2; r=evilpie,bz
--HG--
extra : rebase_source : 66945f0b148fb6a36912544a52994daeffe76c7e
2016-06-06 11:59:41 -07:00
Masatoshi Kimura 7f91a2f04a Bug 1277691 - Allow security.turn_off_all_security_so_that_viruses_can_take_over_this_computer only if MOZ_DISABLE_NONLOCAL_CONNECTIONS is set. r=mrbkap 2016-06-03 07:40:16 +09:00
Boris Zbarsky 145992b47d Bug 1276317 part 2. Move GC zeal handling from nsJSContext to XPCJSRuntime. r=peterv 2016-06-02 10:34:38 -04:00
Boris Zbarsky f86c21cecc Bug 1276317 part 1. Change JS_SetGCZeal to take a JSRuntime, not a JSContext. r=jandem 2016-06-02 10:34:38 -04:00
Nicholas Nethercote 2fda0872c8 Bug 1267551 (part 10) - Use MOZ_MUST_USE in AutoVectorRooterBase. r=terrence.
This patch fixes numerous unchecked calls.

--HG--
extra : rebase_source : 566f2ca9fba1c8b18fa7ec1753168dbae9cf70d1
2016-06-01 15:49:04 +10:00
Tooru Fujisawa f300b24a7b Bug 1276626 - Part 1: Invoke interrupt handler only after MinScriptRunTimeSeconds elapsed. r=mrbkap 2016-06-02 01:19:27 +09:00
Nathan Froyd a9e1da6c8a Bug 1272813 - part 1 - fallibly assign strings in {NonVoid,}StringToJsval; r=peterv
Avoiding large infallible allocations is always a good thing.
2016-06-01 16:26:59 -04:00
Boris Zbarsky c22814a653 Bug 1276400 part 4. Stop setting dontReportUncaught in XPConnect code, since all consumers got their JSContext from an AutoEntryScript or AutoJSAPI. r=bkelly 2016-05-31 22:04:34 -04:00
Boris Zbarsky 89b93668b8 Bug 1276112. Stop using GetScriptContextFromJSContext in CycleCollectedJSRuntime::UsefulToMergeZones. r=mccr8 2016-05-27 13:28:26 -04:00
Jan de Mooij 847b10eeb0 Bug 1274922 part 5 - Remove JSEXN_NONE and add JSEXN_WARN. r=jorendorff 2016-05-31 08:07:00 +02:00
Carsten "Tomcat" Book 81eb193787 Backed out changeset e8af287d0d10 (bug 1276112) for causing windows gl crashes 2016-05-30 10:29:44 +02:00
Carsten "Tomcat" Book 4d8513fed6 Backed out changeset 3bb683963f98 (bug 1276112) 2016-05-30 10:29:11 +02:00
Boris Zbarsky 39e803ff41 Bug 1276112 followup. Reinstate a null-check that got lost. r=mccr8 2016-05-27 15:00:13 -04:00
Boris Zbarsky 74ebb7940f Bug 1276112. Stop using GetScriptContextFromJSContext in CycleCollectedJSRuntime::UsefulToMergeZones. r=mccr8 2016-05-27 13:28:26 -04:00
Boris Zbarsky 260d626f13 Bug 1276231. Remove the unused return value of XPCJSContextStack::Pop. r=mrbkap 2016-05-27 13:28:01 -04:00
Boris Zbarsky 71c48ddac9 Bug 1276135. Remove XPCCallContext::GetDefaultJSContext. r=bholley 2016-05-27 09:54:19 -04:00