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

930 Коммитов

Автор SHA1 Сообщение Дата
Andrew McCreight fc4741440b Bug 1085626 - FullGCTimerFired doesn't need to pass around a reason. r=smaug 2014-10-23 09:59:36 -07:00
Olli Pettay 63a24cde86 Bug 935846, nsJSEnvironment should get a shutdown notification also in child processes, r=romaxa
--HG--
extra : rebase_source : 782bc88e47ecb750b4220fe01e3f74ebcfa05493
2014-10-22 18:57:32 +03:00
Andrew McCreight cc506c4751 Bug 727965 - Trigger CC_WAITING GCs based on number of freed JS objects and zones. r=smaug 2014-10-20 10:07:52 -07:00
Tom Schuster bf9324688d Bug 1069694 - Remove OldDebugAPI from the browser. r=shu 2014-10-12 19:37:41 +02:00
Eric Rahm 8d715a7fe4 Bug 806819 - Part 3: Remove redundant FORCE_PR_LOG entries. r=ehsan 2014-10-08 13:17:32 -07:00
Wes Kocher 445e1466e9 Backed out 5 changesets (bug 806819) for WinXP test failures on a CLOSED TREE
Backed out changeset 009ae35b0c67 (bug 806819)
Backed out changeset 5a57f87f5061 (bug 806819)
Backed out changeset f06cd735b5b3 (bug 806819)
Backed out changeset e25a2a8d4af4 (bug 806819)
Backed out changeset 70a167982c3f (bug 806819)
2014-10-06 16:32:50 -07:00
Eric Rahm 80d2b8bba6 Bug 806819 - Part 3: Remove redundant FORCE_PR_LOG entries. r=ehsan
--HG--
extra : rebase_source : c96eea1c12ea8c19314393f0e8b4b57a4316a61d
2014-10-06 13:08:20 -07:00
Bobby Holley 8b421a48d3 Bug 1070842 - Factor script error event dispatch into a separate function. r=bz 2014-09-29 15:34:21 +02:00
Bobby Holley 94bd419133 Bug 1070842 - Remove ambiguous globals from xpc::ErrorReporter and make meanings explicit. r=bz 2014-09-29 15:34:20 +02:00
Bobby Holley a24c29adc9 Bug 1070131 - Switch originPrincipals to a mutedError flags. r=luke,r=bz
--HG--
rename : js/src/jsapi-tests/testOriginPrincipals.cpp => js/src/jsapi-tests/testMutedErrors.cpp
2014-09-29 10:44:30 +02:00
Bobby Holley c4922ac2f8 Bug 1070131 - Reduce the cases where we dispatch nsScriptErrorEvent. r=bz 2014-09-29 10:44:29 +02:00
Bobby Holley e3eca2660e Bug 1070696 - Rename xpc::GetNativeForGlobal to xpc::NativeGlobal and make it accept non-global JSObjects. r=smaug
The method is infallible, and making the callers invoke
js::GetGlobalForObjectCrossCompartment manually is dumb.
2014-09-21 21:31:53 +02:00
Bobby Holley 04cf67421e Bug 1065452 - Re-route exceptions directed at addon globals to their associated DOMWindow. r=bz 2014-09-15 14:12:13 +02:00
Bobby Holley 7c712dca7b Bug 981198 - Make JS_{Get,Set}ErrorReporter take a JSRuntime. r=terrence,r=bz 2014-09-09 16:02:10 -07:00
Chris Peterson d126c3c24f Bug 1063962 - Replace jschar typedef with C++11 char16_t type. r=jandem 2014-07-21 21:43:21 -07:00
Bobby Holley 9ff6cd212d Bug 1062077 - Merge NS_ScriptErrorReporter and xpc::SystemErrorReporter. r=bz
We keep the latter name because it's referenced in more places. Error reporters
will go away entirely in bug 981187.
2014-09-08 16:30:11 -07:00
Bobby Holley 48bda833a2 Bug 1062077 - Report exceptions immediately for non-window globals, and assert that we have a window in ScriptErrorEvent. r=bz
Note that this is a no-op right now, because NS_ScriptErrorReporter currently
relies on nsIScriptContext to get its global, and thus will only ever operate
on window globals. But that will change once we merge this code with that in
xpc::SystemErrorReporter.
2014-09-08 16:30:11 -07:00
Bobby Holley 7ba663f3ec Bug 1062077 - Hoist console logging duties into xpc::ErrorReport. r=bz 2014-09-08 16:30:11 -07:00
Bobby Holley e85bd78d5d Bug 1062077 - Introduce xpc::ErrorReport. r=bz
I've got it! Let's just wrap the JS thing in an XPCOM thing that duplicates
its fields with a different ownership model! We totally need another one of
those, right? And we could even stick it in XPConnect! </sarcasm>

In seriousness - the code to own, format, and display error reports is
currently spread between the JS engine, JSErrorReporters, an async Runnable
abstraction, and elsewhere. We need to condense it somewhere to start chipping
away at this mess.
2014-09-08 16:30:10 -07:00
Bobby Holley 06cc2ae3c2 Bug 1062631 - Remove exception swallowing code in NS_ScriptErrorReporter. r=bz
See bug 1062631 comment 0.
2014-09-08 13:36:22 -07:00
Bobby Holley 409b2e58bf Bug 1063271 - Undo bug 796938 part 10. r=smaug 2014-09-05 08:54:13 -07:00
Nicholas Nethercote 94f8ec5cee Bug 1061066 - Make DMD work properly with e10s. r=mccr8.
--HG--
extra : rebase_source : 35ff4f1b3c7d4af91cbc5f813030136ffc3b70e4
2014-09-01 17:22:53 -07:00
Ehsan Akhgari 0653303071 Bug 1060987 - Fix more bad implicit constructors in DOM; r=baku
--HG--
extra : rebase_source : 01709017e97fdc96d1d53eb881efc1792118edc4
2014-09-01 20:49:25 -04:00
Phil Ringnalda 117bb1a341 Backed out 6 changesets (bug 1060982, bug 1061058, bug 1060987, bug 1061060, bug 1060930) for build bustage
CLOSED TREE

Backed out changeset c23b8418e6be (bug 1060987)
Backed out changeset a8cddc6bdffc (bug 1061060)
Backed out changeset b5af5cbdac3f (bug 1060982)
Backed out changeset 4912d451011a (bug 1060930)
Backed out changeset bdacbf453238 (bug 1061058)
Backed out changeset da6c71a8f5ae (bug 1060987)
2014-09-01 16:48:51 -07:00
Ehsan Akhgari 6c932dea6c Bug 1060987 - Fix more bad implicit constructors in DOM; r=baku 2014-09-01 18:00:53 -04:00
Bobby Holley e9fb2caf27 Bug 981218 - Remove default compartment objects. r=luke
\o/
2014-08-21 17:13:51 -07:00
Bobby Holley 21082e49e4 Bug 796938 - Use GetEntryGlobal in NS_ScriptErrorReporter. r=smaug 2014-08-19 12:02:07 -07:00
Bobby Holley e70ddb7476 Bug 1052052 - Hoist Auto*JSContext into nsContentUtils and kill nsCxPusher.{cpp,h}. r=gabor 2014-08-14 18:47:15 -07:00
Ryan VanderMeulen 30ae466592 Backed out changesets 5b1a3161f614, 17a9673ed782, and a9b8c346d295 (bug 1052052) for B2G non-unified bustage. 2014-08-14 17:23:10 -04:00
Bobby Holley 3e4d70a655 Bug 1052052 - Hoist Auto*JSContext into nsContentUtils and kill nsCxPusher.{cpp,h}. r=gabor 2014-08-14 12:54:34 -07:00
Bill McCloskey 280e8c74a5 Bug 1032592 - Allow principals to be sent with the message manager (r=bent)
--HG--
rename : content/base/test/test_messagemanager_principal.html => content/base/test/test_messagemanager_send_principal.html
2014-08-05 21:46:01 -07:00
Ms2ger 5da7619768 Bug 1043853 - Share the code for structured cloning of ImageData objects across main-thread and workers implementations; r=jst 2014-08-01 22:47:47 +02:00
Wes Kocher 7a4f0b4c18 Backed out changeset a668ab2d8dd3 (bug 1043853) for bustage 2014-08-01 14:25:10 -07:00
Ms2ger 92e6aaee17 Bug 1043853 - Share the code for structured cloning of ImageData objects across main-thread and workers implementations; r=jst 2014-08-01 22:47:47 +02:00
Bobby Holley 6807884378 Bug 940305 - Move extraWarnings to RuntimeOptions with a per-compartment override. r=jandem,r=khuey 2014-07-29 21:00:37 -07:00
Nicholas Nethercote c07ebda3e2 Bug 1035570 (part 3) - DMD: Add DMDAnalyzeHeap(), a heap snapshot function. r=erahm,mccr8.
The patch also adds DMDAnalyzeReports() as a synonym for DMDReportAndDump(),
and deprecates the latter.

--HG--
extra : rebase_source : 651246aa7a0a301f804c124f25beb0e8ed6cd67f
2014-05-29 23:46:09 -07:00
Bob Owen abc64bfaad Bug 1037564 Part 4: Replace nsCxPusher in nsJSContext::SetProperty. r=bholley 2014-07-18 12:58:10 +01:00
Jon Coppeard 8b4f6eb2b3 Bug 1017141 - Add prefs for setting min/max empty chunk counts r=bent 2014-07-16 10:01:20 +01:00
Jan de Mooij d26a13e060 Bug 1037869 - Fix remaining Latin1 string issues. r=terrence
--HG--
extra : rebase_source : b6fc9024f1a6c7eb9169b6c8c906916b4b1c197e
2014-07-14 22:19:36 +02:00
Shashank Sabniveesu 7b2e2048f8 Bug 1034910 - Make the dtor of nsJSArgArray protected. r=smaug 2014-07-11 13:19:00 -04:00
Bobby Holley d204a01c8f Bug 940316 - Move werror to RuntimeOptions. r=jandem 2014-07-11 08:30:47 -07:00
Tim Taubert 3f882a20a0 Bug 1026314 - Rename Key to CryptoKey in WebCrypto r=rbarnes,bz
From 9beed249a4d08ccc945bc573a0c71d295cb1b222 Mon Sep 17 00:00:00 2001

--HG--
rename : dom/crypto/Key.cpp => dom/crypto/CryptoKey.cpp
rename : dom/crypto/Key.h => dom/crypto/CryptoKey.h
rename : dom/crypto/KeyPair.cpp => dom/crypto/CryptoKeyPair.cpp
rename : dom/crypto/KeyPair.h => dom/crypto/CryptoKeyPair.h
2014-06-23 23:25:13 +02:00
Ed Morley 1148a891c7 Backed out changeset 38831e922852 (bug 1026314) for test_interfaces.html failures
--HG--
rename : dom/crypto/CryptoKey.cpp => dom/crypto/Key.cpp
rename : dom/crypto/CryptoKey.h => dom/crypto/Key.h
rename : dom/crypto/CryptoKeyPair.cpp => dom/crypto/KeyPair.cpp
rename : dom/crypto/CryptoKeyPair.h => dom/crypto/KeyPair.h
2014-07-04 16:17:51 +01:00
Tim Taubert 02d0c6d693 Bug 1026314 - Rename Key to CryptoKey in WebCrypto r=rbarnes,bz
--HG--
rename : dom/crypto/Key.cpp => dom/crypto/CryptoKey.cpp
rename : dom/crypto/Key.h => dom/crypto/CryptoKey.h
rename : dom/crypto/KeyPair.cpp => dom/crypto/CryptoKeyPair.cpp
rename : dom/crypto/KeyPair.h => dom/crypto/CryptoKeyPair.h
2014-06-23 23:25:13 +02:00
Boris Zbarsky 799cac3554 Bug 1033157. Move the setup of the JSRuntime DOM callbacks into the CycleCollectedJSRuntime constructor, so we don't have to separatedly do it for workers, windows, and xpcshell. r=khuey 2014-07-02 15:16:42 -04:00
Steve Fink 3cdc378cd8 Bug 1022773 - Return value rooting for dom/, r=bz
--HG--
extra : rebase_source : 24732cd3aff732c5c3d3eb8e19ee8a95f588ebd7
2014-06-25 15:35:36 -07:00
Jim Blandy e07aaa8185 Bug 800200: Remove references to JSD from outside js/jsd. r=mccr8,bholley,ted,smaug 2014-06-27 11:05:08 -07:00
Benoit Jacob ec742680c8 Bug 1028588 - Fix dangerous public destructors in the rest of dom/ - r=ehsan 2014-06-23 15:56:07 -04:00
Bob Owen 30816b5c06 Bug 1025476 - Part 1: Add compulsory Init functions to AutoJSAPI. r=bholley 2014-06-19 08:21:14 +01:00
Ms2ger 3796687d26 Bug 974327 - Cleanup nsJSContext::GetGlobalObject(); r=bholley
The removed code is never reached, as GetWindowProxy() returns a JSObject
with OuterWindowProxyClass as its JSClass, and this will test false for
IsDOMClass and
(~c->flags) & (JSCLASS_HAS_PRIVATE | JSCLASS_PRIVATE_IS_NSISUPPORTS).
2014-06-20 12:32:50 +02:00