Commit Graph

1927 Commits

Author SHA1 Message Date
Jason Orendorff
2db41f075d Bug 1396466 - Remove Xray expando chains from the weakmap when transplanting nodes. r=bz
--HG--
extra : rebase_source : aa90385160666b155cc8dbad63bcfa34d3e50d32
extra : amend_source : 6b9ebda268a6198f5e0143e5449f9d62ef1aed76
2017-10-10 10:42:18 -05:00
Jon Coppeard
74f1c6ece5 Bug 1406455 - Disallow OOM simulation on worker threads r=jandem 2017-10-10 12:07:08 +01:00
Zibi Braniecki
c14c88b4c3 Bug 1270140 - Add Intl.RelativeTimeFormat. r=Waldo
MozReview-Commit-ID: GqetnVVmXXL

--HG--
extra : rebase_source : 131c125e73e2132d6b1abb2489ecf8e96412b8a5
2017-10-06 07:00:08 -07:00
Phil Ringnalda
e4dbaefed7 Backed out changeset 024ce7dd2f65 (bug 1270140) for check_spidermonkey_style.py failures
MozReview-Commit-ID: KyttCEkmYSo
2017-10-09 21:06:15 -07:00
Zibi Braniecki
71799db666 Bug 1270140 - Add Intl.RelativeTimeFormat. r=Waldo
MozReview-Commit-ID: GqetnVVmXXL

--HG--
extra : rebase_source : a9f30e017fe630c36cb560accca067c5859a545c
2017-10-06 07:00:08 -07:00
Jon Coppeard
3a810c3d63 Bug 1259222 - Add more assertions to hopefully catch bad pointers when collecting the nursery r=sfink 2017-10-09 10:22:44 +01:00
Jon Coppeard
b6270c9da7 Bug 1400003 - Mark Heap<T> and barrier classes as MOZ_NON_MEMMOVABLE r=sfink r=froydnj 2017-10-09 10:03:20 +01:00
Jan de Mooij
03e4c7d0bd Bug 1405330 - Clean up and optimize Promise debugger hooks. r=till 2017-10-03 22:17:36 +02:00
Benjamin Bouvier
70df0d4656 Bug 1403873: Rename JitProfilingFrameIterator to JSJitProfilingFrameIterator; r=luke
(and associated methods in ProfilingFrameIterator: jitIter=>jsJitIter, isJit=>isJSJit)

MozReview-Commit-ID: CaYxMlOsg7W

--HG--
extra : rebase_source : 87506558b17ce59dd2943e4579ff639d3ceefcbc
2017-10-03 20:25:21 +02:00
Wes Kocher
8962ceb779 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
2755938ad8 Bug 1404787 - Fix symbols visibility. r=fitzgen 2017-10-02 22:20:33 -07:00
Jan de Mooij
e147b24667 Bug 1405330 - Clean up and optimize Promise debugger hooks. r=till 2017-10-03 22:17:36 +02:00
Benjamin Bouvier
8f85f6c936 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

--HG--
extra : rebase_source : e71f6bb5558a4c78c7ae4ce0b6b8cfa11d0b10f7
2017-09-27 21:16:29 +02:00
Wes Kocher
4f6fbf7f5d 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
ee06fd9756 Bug 1404787 - Fix symbols visibility. r=fitzgen 2017-10-01 23:02:25 -07:00
Wes Kocher
134e495909 Merge m-c to autoland, a=merge
MozReview-Commit-ID: 6RdWW73Lc0A
2017-09-28 17:16:12 -07:00
Christian Holler
59f6711346 Bug 1402815 - Add interruptTest function to JS engine. r=jandem
MozReview-Commit-ID: El24BdESnM2

--HG--
extra : rebase_source : e0dc21d42f19ba3e036746f7f60f4527e314b1a5
2017-09-22 18:28:47 +02:00
Wes Kocher
acf8913934 Merge m-c to inbound, a=merge
MozReview-Commit-ID: IsbKCdZU2Ui
2017-09-26 17:14:31 -07:00
Wes Kocher
22a72df7fe Merge inbound to m-c a=merge
MozReview-Commit-ID: 6viJ4wRxLa8
2017-09-26 15:54:51 -07:00
Jon Coppeard
2a820b9683 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
68e468c3ff Bug 1403136 - Clean up JSSetterOp code now that slotful setters are gone. r=evilpie 2017-09-26 22:26:40 +02:00
Yoshi Huang
42bd74780c Bug 1399399 - Move internal classes out of RootingAPI.h. r=jonco 2017-09-25 14:52:16 +08:00
Wes Kocher
a7fe048680 Merge inbound to central, a=merge
MozReview-Commit-ID: E7k4xViLm4V
2017-09-21 17:03:29 -07:00
Jon Coppeard
ac6b4e8831 Backed out changeset 29b2e8acf5f9 (bug 1400278) for local crashes 2017-09-21 15:50:36 +01:00
Christian Holler
5c886f1afd Bug 1395240 - Implement stackTest function for JS stack OOM testing. r=jandem
MozReview-Commit-ID: LRFb0adTFR8

--HG--
extra : rebase_source : f36fff24683195d4239b4ae29f3e0f0d8a0535c7
2017-09-20 14:19:21 +02:00
Jon Coppeard
056acc6fae Bug 1400278 - Replace runtime allocation with system or zone allocation where possible r=jandem 2017-09-20 13:19:32 +01:00
Jon Coppeard
ae251056d7 Bug 1399944 - Check for valid GC cell pointers in various places r=sfink 2017-09-19 12:31:31 +01:00
Jon Coppeard
8bd8591183 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
1077972535 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
7a85529cdd Bug 1399933 - Replace use of ObjectValueCrashOnTouch with PoisonedObjectValue r=sfink 2017-09-15 11:04:40 +01:00
Jon Coppeard
bccffc2ea8 Bug 1400278 - Replace runtime allocation with system or zone allocation where possible r=jandem 2017-09-20 13:19:32 +01:00
Philippe Normand
6e9c2ed9f4 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

--HG--
extra : rebase_source : f0065f0d326af069dc6c8a255fefbc0d2e2e9fe9
2017-09-25 10:32:01 +01:00
Sebastian Hengst
3aab3b9ea3 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
26c7f9ba16 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

--HG--
extra : rebase_source : 7366e3b1044174ac635246ec8f2e5ee982e6eb5e
2017-09-25 10:32:01 +01:00
Jason Orendorff
ddaf859c55 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.)

--HG--
extra : rebase_source : e55ebbbc4edf2a18ce267198928246592060e339
extra : source : d6bfce1187aa13dbfab03f9566ff7b05b6705e70
2017-06-28 12:31:53 -07:00
Jon Coppeard
c811ddba77 Bug 1396156 - Fix unused private field error when building AutoAssertNoGC as Beta. r=sfink 2017-09-04 02:25:00 -04:00
Olli Pettay
2e8b602108 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

--HG--
extra : rebase_source : 806df0af1dbaefb1761134eca0bb7c6ade6ac1a9
2017-09-06 18:18:11 +01:00
Jon Coppeard
47659f1db3 Bug 1384513 - Remove AutoAssertNoAlloc r=sfink 2017-09-01 10:13:51 +01:00
Till Schneidereit
fb21cc09de 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
2396e38198 Bug 1394771 - Check that a wasm name is UTF8 when we first read it. r=luke
--HG--
extra : rebase_source : d00a93bddec71fc76bf2c30912c35008ddf06700
2017-08-29 15:00:32 +02:00
Jan de Mooij
a5de55dced Bug 1389510 part 3 - Remove getProperty/setProperty hooks from ClassOps. r=evilpie 2017-08-25 10:12:16 +02:00
Jan de Mooij
ff7f9d6102 Bug 1389510 part 2 - Remove checks for getProperty/setProperty hooks in SpiderMonkey. r=evilpie 2017-08-25 10:11:44 +02:00
Jon Coppeard
abe09f4457 Bug 1362098 - Add source position to requested module information r=till 2017-08-23 17:24:37 +01:00
Tom Schuster
897d12a647 Bug 934669 - Remove the old GlobalObject warnOnce code. r=arai 2017-08-19 21:12:33 +02:00
Lars T Hansen
691c2c0203 Bug 1277562 - Part 9: Add Wasm Tier 2 compilation tasks. r=luke
--HG--
extra : rebase_source : 2b95eddcf25d17445b1a377bd3017538b663179c
extra : source : da9e75d2e82c3e3564bb3e37230d384bcf7ffacf
2017-02-09 15:15:17 +01:00
Lars T Hansen
b0a78cb977 Bug 1388756 - Move helper thread types out of the OOM namespace. r=jonco
--HG--
extra : rebase_source : 2ec28160c41db48b2fa043f3d36e75d32832b26f
extra : histedit_source : d93bebede5edd065bb0cbcdebc509bbe3ab26d1c
2017-08-11 10:11:35 +02:00
Jason Orendorff
4e0c34d1c3 Bug 1363200 - JSAPI for realms: JS::SetDestroyRealmCallback. r=sfink
--HG--
extra : rebase_source : ad62e332bab6c31db2c98581163b1ca5fe8103f0
extra : intermediate-source : 0f72e0175f55a309ea4bc70240347e6659174af4
extra : source : ac9c7e04c174c8b2e4ca0e533a8a2838d293f700
2017-05-23 16:35:31 -05:00
Jason Orendorff
cb4a93f642 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.

--HG--
extra : rebase_source : 8b5693d05b618cc7d7299f725b26d5535ee847f9
2017-05-22 14:56:02 -05:00
Jason Orendorff
5df09661ff Bug 1363200 - JSAPI for realms: JS_SetVersionForCompartment() -> JS::SetVersionForCurrentRealm(). r=sfink
--HG--
extra : rebase_source : 8b0d53210fe827a648251395e038cb7b9eb616e9
2017-05-22 14:40:13 -05:00
Jason Orendorff
3b36ad843d Bug 1363200 - JSAPI for realms: Add JS::Realm opaque type and GC rooting policy for it. r=sfink
--HG--
extra : rebase_source : 383cf50c2457dcda9e2c779cafbc62052b12a6a9
2017-06-29 09:57:46 -07:00