Commit Graph

870 Commits

Author SHA1 Message Date
Richard Barnes
84b4f71b33 Bug 995385 - Add WebCrypto WebIDL interfaces. r=bz, r=cviecco, r=dkeeler 2014-05-15 06:20:00 -04:00
Boris Zbarsky
6982a0c80d Bug 1000175. Make sure error events on window only fire if the active document has not changed from when the exception was thrown. r=smaug 2014-05-20 16:07:17 -04:00
Ms2ger
3e6905c911 Bug 1007243 - Remove nsJSContext::GarbageCollectNow's unused IsCompartment argument; r=bholley
It has been unused since changeset 82f8c3925056 in bug 903212.
2014-05-20 21:50:59 +02:00
Andrew McCreight
32ca40302b Bug 1011137 - Reduce GC delay rather than CC delay with ICC. r=smaug 2014-05-16 10:11:40 -07:00
Andrew McCreight
db3ba70992 Bug 1011132 - Fix CYCLE_COLLECTOR_TIME_BETWEEN telemetry. r=smaug 2014-05-16 10:11:40 -07:00
Ryan VanderMeulen
96ed00e142 Revert to revision 63dfac3c9c87 due to mass bustage pile-ups that landed after it on a CLOSED TREE. 2014-05-16 12:29:37 -04:00
Andrew McCreight
f157302e4f Bug 1011137 - Reduce GC delay rather than CC delay with ICC. r=smaug 2014-05-16 08:09:17 -07:00
Andrew McCreight
bf908ddc63 Bug 1011132 - Fix CYCLE_COLLECTOR_TIME_BETWEEN telemetry. r=smaug 2014-05-16 08:09:16 -07:00
Nick Lebedev
b7223435b4 Bug 998002 - Rename nsContentUtils::Get{Subject,Object}Principal to nsContentUtils::{Subject,Object}Principal. r=bholley 2014-05-13 11:58:00 +02:00
Andrew McCreight
8ad82b0c1c Bug 958353, part 3 - Finish any IGC in progress when manually triggering an ICC slice. r=smaug 2014-05-13 11:58:39 -07:00
Andrew McCreight
72fc10903d Bug 1005232 - Log number of incremental cycle collector slices. r=smaug 2014-05-06 17:25:26 -07:00
Michael Shuen
2a4c7b090c Bug 972385 - Make JS::AutoValueVector subscript operator return handles. r=jonco, smaug 2014-04-28 16:53:00 +02:00
Birunthan Mohanathas
ff8ce9bd42 Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj 2014-04-27 03:06:00 -04:00
Andrew McCreight
8da461bde5 Bug 949607, part 2 - Add and use runNextCollectorTimer. r=smaug 2014-04-25 13:21:04 -07:00
Andrew McCreight
5f6a80a109 Bug 949607, part 1 - Make the GC timers more robust. r=smaug 2014-04-25 13:21:04 -07:00
Aryeh Gregor
e7ba181551 Bug 990725 - Rename ErrorEvent.column to .colno to match spec change; r=smaug 2014-04-23 14:55:58 +03:00
Terrence Cole
c97877c686 Bug 959787 - Handlify JS_DefineProperty; r=Waldo, r=bz
--HG--
extra : rebase_source : 87991ed47ed071550af4e4125eea54a66fdb0071
2014-01-21 18:11:17 -08:00
Boris Zbarsky
3738611b99 Bug 993889 part 1. Remove "scope" argument from nsContentUtils::WrapNative. r=bholley 2014-04-10 00:58:41 -04:00
Boris Zbarsky
35fca5eeeb Bug 991742 part 8. Remove the "aScope" argument of WebIDL/nsWrapperCache WrapObject() methods. r=bholley
This patch was mostly generated with the following command:

find . -name "*.h" -o -name "*.cpp" | xargs sed -e '/WrapObject(JSContext/ {; N; s/\(WrapObject(JSContext *\* *a\{0,1\}[Cc]x\),\n\{0,1\} *JS::Handle<JSObject\*> a\{0,1\}[sS]cope/\1/ ; }' -i ""

and then reverting the changes that made to
dom/bindings/BindingUtils.h, since those WrapObject methods are not
the ones we're trying to change here, plus a bunch of manual fixups
for cases that this command did not catch (including all the callsites
of WrapObject()).
2014-04-08 18:27:18 -04:00
Steve Fink
03f42f68f4 Bug 912456 - transferable MessagePorts, r=jorendorff
--HG--
extra : rebase_source : 5b8a2a9b261c53f0ff5a860e1dc2e7ede711105f
2013-11-14 20:42:34 -08:00
Jon Coppeard
3e811f8ee0 Bug 959787 - Handlify remaining JS APIs r=sfink r=bholley r=smaug 2014-04-02 15:28:03 +01:00
Ms2ger
125d1cbbd1 Bug 973950 - Remove sContextList from nsJSEnvironment; r=bholley 2014-03-27 21:05:15 +01:00
Bobby Holley
5b7986dd28 Bug 986304 - Stop using (and kill) BindCompileEventHandler. r=bz 2014-03-21 23:31:02 -03:00
Tom Schuster
9491458ea6 Bug 355430 - Add the column to the error event. r=bz 2014-03-20 16:46:28 +01:00
Tom Schuster
75ecb45f05 Bug 355430 - Add the thrown error object to the dom error event. r=bz 2014-01-03 01:04:15 +00:00
Bob Owen
4522a79449 Bug 978042 - Part 8: AutoPushJSContext in nsXBLProtoImplField::InstallField. r=bholley 2014-03-19 12:09:33 +00:00
Jon Coppeard
48ecc0a1b8 Bug 959787 - Handlify some more GCing APIs r=sfink 2014-03-20 09:32:37 +00:00
Birunthan Mohanathas
fdd8ac908b Bug 984112 - Part 1: Use JS::CallArgs instead of JS_{ARGV,SET_RVAL,...}, argc in dom/. r=bz 2014-03-19 13:05:04 -04:00
Masayuki Nakano
abfbab58dd Bug 983049 part.5 Rename nsEventDispatcher to mozilla::EventDispatcher r=smaug
--HG--
rename : dom/events/nsEventDispatcher.cpp => dom/events/EventDispatcher.cpp
rename : dom/events/nsEventDispatcher.h => dom/events/EventDispatcher.h
2014-03-18 13:48:21 +09:00
Peter Van der Beken
ee76987bdb Bug 982114 - Deal with new DOM binding objects for Window in more places. r=bz. 2014-01-30 15:31:16 +01:00
Jan de Mooij
d64a9d454e Bug 939562 part 3 - Move JIT flags from ContextOptions to RuntimeOptions. r=bent,bholley,luke
--HG--
extra : rebase_source : cea8b4ab3024ed49e8be688f7cf4819bba0f5d29
2014-02-26 10:25:36 +01:00
Andrew McCreight
0018ba6e34 Bug 963844 - Scale ICC budget by time between slices. r=smaug
If we exceed the desired length of time between ICC slices, proportionally scale up the slice budget to try to ensure a constant amount of collection work is done per unit of time, even when the browser is under heavy load.

As part of this, track the time the last slice from the current ICC ended.
2014-03-06 10:54:37 -08:00
Luke Wagner
b43e1257fc Bug 963588 - asmjscache: place cache entries apps that request AOT compilation in persistent storage (r=janv)
--HG--
extra : rebase_source : 95bc3d02cb1a7f2728d2615e8b992e0a2b2397f1
2014-03-05 14:47:10 -06:00
Andrew McCreight
b08be36469 Bug 979047, part 5 - Make sure we have at least one early forgetSkippable timer fire. r=smaug
With ICC, ccDelay can get close to NS_CC_SKIPPABLE_DELAY, but we want to always want to run at least one forgetSkippable before the actual CC.
2014-03-04 16:21:48 -08:00
Andrew McCreight
150f32e631 Bug 979047, part 4 - Run ICCSliceTime() after PrepareForCollectionSlice. r=smaug
This way we take into account time spent finishing off a GC, or something.
2014-03-04 16:21:48 -08:00
Andrew McCreight
14d6458449 Bug 979047, part 3 - Make sure we trigger a GC after a current ICC when we poke the GC. r=smaug 2014-03-04 16:21:48 -08:00
Andrew McCreight
b6b53568d5 Bug 979047, part 2 - Remove unused endGCTime assignments. r=smaug 2014-03-04 16:21:48 -08:00
Andrew McCreight
97df06cc1d Bug 979047, part 1 - Only clear mBeginSliceTime in EndCycleCollectionCallback. r=smaug
Run FinishCycleCollectionSlice only once per slice, and only if we've previously run PrepareForCycleCollectionSlice.
2014-03-04 16:21:48 -08:00
Ed Morley
7d716105c8 Backed out changeset 508848ad378a (bug 939562) for causing bug 978450 2014-03-03 16:54:26 +00:00
Jan de Mooij
53c60cb160 Bug 939562 part 3 - Move JIT flags from ContextOptions to RuntimeOptions. r=bent,bholley,luke
--HG--
extra : rebase_source : e25c6f5f381a972c472fb8a845c737fb31617682
2014-02-26 10:25:36 +01:00
Carsten "Tomcat" Book
e428ad4fe3 Backed out changeset 802aa43ae8cc (bug 939562) for PGO mochitest regression on a CLOSED TREE 2014-02-26 16:02:15 +01:00
Jan de Mooij
f8a1ec2850 Bug 939562 part 2 - Move JIT flags from ContextOptions to RuntimeOptions. r=bent,bholley,luke 2014-02-26 10:25:36 +01:00
Luke Wagner
4c59cb92eb Bug 976348 - Change DescribeScriptedCaller to not return a JSScript (r=bholley)
--HG--
extra : rebase_source : 58387ce3e4c49d3140b92b84bf3577fc6584820e
2014-02-25 09:43:14 -06:00
Boris Zbarsky
d6d5a58892 Bug 972312 part 2. Get rid of InternalScriptErrorEvent and just use mozilla::dom::ErrorEvent for the cases that used to use it. r=smaug,khuey 2014-02-23 00:01:12 -05:00
Andrew McCreight
58fa248662 Bug 972856 - Use PR_Now() for CC timestamp in JSON log. r=smaug 2014-02-18 09:58:40 -05:00
Julian Seward
9ce922e332 Bug 960603 - Uninitialised value use relating to nsJSContext::EndCycleCollection. r=mccr8.
--HG--
extra : rebase_source : 06a45cf8a46045bfafb6b95864a3ce6c2d0b04a0
2014-02-17 13:16:23 +01:00
Luke Wagner
f2279744fa Bug 936236 - Send memory-pressure notification if ArrayBuffer allocation OOMs and retry allocation (r=mccr8) 2014-02-12 22:50:15 -06:00
Phil Ringnalda
2b174ca833 Back out d54433699f2e (bug 936236) for adding 5 rooting hazards
CLOSED TREE
2014-02-12 23:26:28 -08:00
Luke Wagner
5845a0c598 Bug 936236 - Notify memory-pressure observers when allocating a large ArrayBuffer fails (r=mccr8)
--HG--
extra : rebase_source : 49eadf76ae73e5e4f1c24149839bdc7200e00494
2014-02-12 22:50:15 -06:00
Jon Coppeard
52381adba2 Bug 969812 - Convert JS_NewArrayObject to use HandleValueArray r=terrence r=bz 2014-02-12 10:50:46 +00:00