Commit Graph
1919 Commits
Author SHA1 Message Date
Benjamin Bouvier 4406070cf7 Bug 1403873: Rename JitProfilingFrameIterator to JSJitProfilingFrameIterator; r=luke
(and associated methods in ProfilingFrameIterator: jitIter=>jsJitIter, isJit=>isJSJit)

MozReview-Commit-ID: CaYxMlOsg7W
2017-10-03 20:25:21 +02:00
Wes Kocher 6855cda4de Backed out changeset 0b08540034c0 (bug 1405330) for failures in browser_toolbox_options_enable_serviceworkers_testing.js a=backout
MozReview-Commit-ID: HLiQlGjWI13
2017-10-03 16:35:11 -07:00
Philip Chimento 6915874d76 Bug 1404787 - Fix symbols visibility. r=fitzgen 2017-10-02 22:20:33 -07:00
Jan de Mooij 79b3471e76 Bug 1405330 - Clean up and optimize Promise debugger hooks. r=till 2017-10-03 22:17:36 +02:00
Benjamin Bouvier f9945a6bed Bug 1360211: Merge WasmActivation into JitActivation and make wasm->jit calls faster; r=luke, r=jandem
This is a folded patch containing the patches in the bug named as:

- Handle the "untrusted FP" in wasm->jit exit;
- Handle failures in wasm->jit fast path;
- Profiling frame iteration;

MozReview-Commit-ID: 2hs8yyKGQ9v
2017-09-27 21:16:29 +02:00
Wes Kocher 5e3466a0ff Backed out 2 changesets (bug 1404837, bug 1404787) for build bustage a=backout
Backed out changeset ec4e1ade8cf2 (bug 1404837)
Backed out changeset 5e41366119a2 (bug 1404787)

MozReview-Commit-ID: 8fHMqSdDxzh
2017-10-02 11:35:23 -07:00
Philip Chimento 04ef9f07f1 Bug 1404787 - Fix symbols visibility. r=fitzgen 2017-10-01 23:02:25 -07:00
Wes Kocher 0b96efb195 Merge m-c to autoland, a=merge
MozReview-Commit-ID: 6RdWW73Lc0A
2017-09-28 17:16:12 -07:00
Christian Holler c2575f9302 Bug 1402815 - Add interruptTest function to JS engine. r=jandem
MozReview-Commit-ID: El24BdESnM2
2017-09-22 18:28:47 +02:00
Wes Kocher 0960ec2e95 Merge m-c to inbound, a=merge
MozReview-Commit-ID: IsbKCdZU2Ui
2017-09-26 17:14:31 -07:00
Wes Kocher 9e21e10ce3 Merge inbound to m-c a=merge
MozReview-Commit-ID: 6viJ4wRxLa8
2017-09-26 15:54:51 -07:00
Jon Coppeard 7cf73e4d55 Bug 1402649 - Fix valid GC cell pointer asserts and error handling in module instantiation r=sfink 2017-09-26 10:23:14 +01:00
Jan de Mooij 325f2ebe3b Bug 1403136 - Clean up JSSetterOp code now that slotful setters are gone. r=evilpie 2017-09-26 22:26:40 +02:00
Yoshi Huang 2bea43e615 Bug 1399399 - Move internal classes out of RootingAPI.h. r=jonco 2017-09-25 14:52:16 +08:00
Wes Kocher 4dbb458bed Merge inbound to central, a=merge
MozReview-Commit-ID: E7k4xViLm4V
2017-09-21 17:03:29 -07:00
Jon Coppeard 48c64aaa7b Backed out changeset 29b2e8acf5f9 (bug 1400278) for local crashes 2017-09-21 15:50:36 +01:00
Christian Holler 19f17dd8df Bug 1395240 - Implement stackTest function for JS stack OOM testing. r=jandem
MozReview-Commit-ID: LRFb0adTFR8
2017-09-20 14:19:21 +02:00
Jon Coppeard 4734d85344 Bug 1400278 - Replace runtime allocation with system or zone allocation where possible r=jandem 2017-09-20 13:19:32 +01:00
Jon Coppeard c2a5d03f36 Bug 1399944 - Check for valid GC cell pointers in various places r=sfink 2017-09-19 12:31:31 +01:00
Jon Coppeard 038756407d Bug 1396613 - Make proxy objects override handler's objectMoved method rather than using class hook r=sfink r=mccr8 r=peterv 2017-09-19 12:31:30 +01:00
Jon Coppeard 92628b5345 Bug 1396613 - Update the object moved hook to allow it to be called when tenuring nursery objects r=sfink r=mccr8 2017-09-19 12:31:30 +01:00
Jon Coppeard 38bdac447a Bug 1399933 - Replace use of ObjectValueCrashOnTouch with PoisonedObjectValue r=sfink 2017-09-15 11:04:40 +01:00
Jon Coppeard 1769722b38 Bug 1400278 - Replace runtime allocation with system or zone allocation where possible r=jandem 2017-09-20 13:19:32 +01:00
Philippe Normand 10447eaa6c Bug 1402824 - Ensure mutationCount in HashTable.h is only used inside an JS_DEBUG ifdef. r=luke
This member variable is declared only in debug builds. This fixes the build
when this header is imported into non-unified builds.

This header is included in the build when xpcom/threads is built.

MozReview-Commit-ID: AF3YUqvVqET
2017-09-25 10:32:01 +01:00
Sebastian Hengst 485351ba05 Backed out changeset 2d59a91b2f2d (bug 1402824) for build bustage (mozilla/LabeledEventQueue.h not found). r=backout on a CLOSED TREE 2017-09-26 10:39:27 +02:00
Philippe Normand 4efae2ef54 Bug 1402824 - Ensure mutationCount in HashTable.h is only used inside an JS_DEBUG ifdef. r=luke
This member variable is declared only in debug builds. This fixes the build
when this header is imported into non-unified builds.

This header is included in the build when xpcom/threads is built.

MozReview-Commit-ID: AF3YUqvVqET
2017-09-25 10:32:01 +01:00
Jason Orendorff 6e13ccbfc0 Bug 1363200 - JSAPI for realms: Change a few XPConnect methods to take Realm arguments instead of JSCompartments. r=mrbkap
This also introduces JS::GetObjectRealmOrNull, which returns an object's realm,
or null if the object is a cross-compartment wrapper. In the new order,
wrappers can't have realms, since they must be shared across all realms in a
compartment. We're introducing this new function early (even though it's
*currently* possible to assign a realm to wrappers) in order to see in
advance if the possibility of returning null will cause problems.
(It looks like it won't.)
2017-06-28 12:31:53 -07:00
Jon Coppeard 91bf31754d Bug 1396156 - Fix unused private field error when building AutoAssertNoGC as Beta. r=sfink 2017-09-04 02:25:00 -04:00
Olli Pettay 8cae9c47d0 Bug 1377131 - Try to trigger collector slices at times which disturb page js less (at least with iframes loaded after the top level page has been loaded), r=mccr8,bz
When triggering an iframe load or starting to parse a document for an iframe, the main thread may often have some time before the new page has been created. Try to trigger CC/GC slice at such point in order to avoid collector later when page is already executing its JS
2017-09-06 18:18:11 +01:00
Jon Coppeard 4effc1d0b6 Bug 1384513 - Remove AutoAssertNoAlloc r=sfink 2017-09-01 10:13:51 +01:00
Till Schneidereit 43f4ed28ce Bug 1384513 - Change all public APIs to take JS::AutoRequireNoGC instead of JS::AutoCheckCannotGC. r=jonco
Additionally, change the base class of AutoSuppressGCAnalysis from AutoAssertNoAlloc to AutoAssertNoGC.

In combination, these chances enable passing either JS::AutoCheckCannotGC or JS::AutoSuppressGCAnalysis, depending on whether suppressing the GC analysis is desired or not.

MozReview-Commit-ID: Eg1cl28ezeJ
* * *
Bug 1384513 - Follow-up to fix bustage from template usage of functions with a changed signature, on a CLOSED TREE. r=bustage

MozReview-Commit-ID: 5SsI4DoDwAT
2017-07-26 12:20:59 +02:00
Lars T Hansen 987e800eb7 Bug 1394771 - Check that a wasm name is UTF8 when we first read it. r=luke 2017-08-29 15:00:32 +02:00
Jan de Mooij f9f0443c9f Bug 1389510 part 3 - Remove getProperty/setProperty hooks from ClassOps. r=evilpie 2017-08-25 10:12:16 +02:00
Jan de Mooij 43737e4cb1 Bug 1389510 part 2 - Remove checks for getProperty/setProperty hooks in SpiderMonkey. r=evilpie 2017-08-25 10:11:44 +02:00
Jon Coppeard bb18b56d64 Bug 1362098 - Add source position to requested module information r=till 2017-08-23 17:24:37 +01:00
Tom Schuster 59696337fe Bug 934669 - Remove the old GlobalObject warnOnce code. r=arai 2017-08-19 21:12:33 +02:00
Lars T Hansen 317a9bc0d6 Bug 1277562 - Part 9: Add Wasm Tier 2 compilation tasks. r=luke 2017-02-09 15:15:17 +01:00
Lars T Hansen 9908b031af Bug 1388756 - Move helper thread types out of the OOM namespace. r=jonco 2017-08-11 10:11:35 +02:00
Jason Orendorff 29b3d41070 Bug 1363200 - JSAPI for realms: JS::SetDestroyRealmCallback. r=sfink 2017-05-23 16:35:31 -05:00
Jason Orendorff 19e8590a3e Bug 1363200 - JSAPI for realms: JS::Get/SetRealmPrivate(). r=sfink
The existing CompartmentPrivate struct will be split into two parts,
one part containing per-realm (i.e. per web page) data and one
containing per-compartment (i.e. per trust realm) data.
2017-05-22 14:56:02 -05:00
Jason Orendorff 8f9ec22066 Bug 1363200 - JSAPI for realms: JS_SetVersionForCompartment() -> JS::SetVersionForCurrentRealm(). r=sfink 2017-05-22 14:40:13 -05:00
Jason Orendorff 08335ae10e Bug 1363200 - JSAPI for realms: Add JS::Realm opaque type and GC rooting policy for it. r=sfink 2017-06-29 09:57:46 -07:00
Ting-Yu Chou 6b335a1af0 Bug 1385181 - Avoid excess copying when return from HashTable::lookupForAdd(). r=luke
MozReview-Commit-ID: F95DCc1wvkE
2017-08-01 17:00:39 +08:00
Jan de Mooij a25815c76b Backed out changeset 000f28217a30 (bug 1384513) for perf regressions. 2017-08-01 10:42:04 +02:00
Wes Kocher e7687d5b8a Backed out changeset e94dceac8090 (bug 1385181) for causing bug 1386011 (CCov build bustage) a=bustage
MozReview-Commit-ID: BK2XP0pcoE8
2017-07-31 22:12:03 -07:00
Ting-Yu Chou 4102147093 Bug 1385181 - Alter HashTable::lookupForAdd() to remove a redundant copy when return. r=luke
MozReview-Commit-ID: 9XnlC0JXETX
2017-07-28 14:05:40 +08:00
Till Schneidereit ec4f9d74b0 Bug 1272697 - Part 4: Add JSAPI functions for working with ReadableStream. r=shu,f=baku
This adds a ton of JSAPI functions for creating and querying the state of ReadableStreams, and support for creating ReadableStream instances whose source is supplied by the embedding.

MozReview-Commit-ID: 9uDWOazPaUI
2017-07-29 16:47:30 +02:00
Sebastian Hengst 40d5691292 Backed out changeset 2693a863dabd (bug 1272697) 2017-07-28 20:18:21 +02:00
Till Schneidereit 5b923b90e9 Bug 1272697 - Part 4: Add JSAPI functions for working with ReadableStream. r=shu
This adds a ton of JSAPI functions for creating and querying the state of ReadableStreams, and support for creating ReadableStream instances whose source is supplied by the embedding.

MozReview-Commit-ID: 9uDWOazPaUI
2017-07-28 17:48:14 +02:00
Jon Coppeard 077aacba17 Bug 1384885 - Do gray unmarking of cross zone edges as soon as they are found r=sfink 2017-07-28 11:06:40 +01:00