Commit Graph

61253 Commits

Author SHA1 Message Date
Emilio Cobos Álvarez
82eac4bff7 Bug 1362338: Manually whitelist nsIAtom::Release in the root analysis. r=froydnj,sfink
This is the only approach that I managed to make work.

MozReview-Commit-ID: CUnkDoYN3di

--HG--
extra : rebase_source : 469912d015a403ef481685c617010613ea36b0b3
2017-08-10 12:20:10 +02:00
Sebastian Hengst
b287601ebc Backed out changeset 61cf451831f5 (bug 1320656) for bustage in RegExp.o. r=backout on a CLOSED TREE 2017-08-10 10:21:56 +02:00
Sylvestre Ledru
db963af2af bug 1320656 - Disable the failure on -Wnoexcept-type until we have a proper fix r=glandium
MozReview-Commit-ID: HeDMTxopx9V

--HG--
extra : rebase_source : 8df61de8f024bab38909826ca714e554c4b0bb49
2017-08-04 14:27:14 +02:00
André Bargull
419b26dee6 Bug 1377349 - Remove support for nested destructuring in object rest properties. r=shu 2017-07-10 07:53:10 -07:00
André Bargull
0865d1a536 Bug 1382209 - Part 2: Use correct YieldHandling for module contexts. r=shu 2017-08-09 11:37:23 +02:00
André Bargull
c838e0d0aa Bug 1382209 - Part 1: Add new restrictions for "yield" and "await" as binding identifiers per ES2018 draft spec. r=shu 2017-08-09 11:37:01 +02:00
André Bargull
a1ebd80a83 Bug 1387400 - Part 2: Pass the original regexp flags to the specializer replacer functions. r=till 2017-08-09 11:36:34 +02:00
André Bargull
e80a99ac14 Bug 1387400 - Part 1: Only call GetElemBaseForLambda for large strings. r=till 2017-08-09 11:32:31 +02:00
André Bargull
532414f472 Bug 1387968 - Part 3: Remove unnecessary or duplicate rooting in RegExp code. r=till
--HG--
extra : rebase_source : c1a38b5cd8184ac75075c8c062c52466644eaeb6
2017-08-09 11:31:47 +02:00
André Bargull
c70f65a1f9 Bug 1387968 - Part 2: Optimize array accesses and allocations in RegExpGetSubstitution. r=till
--HG--
extra : rebase_source : 06bba8286960b5f805b152aeaceb52c62b275913
2017-08-09 11:31:29 +02:00
André Bargull
1618ce2e73 Bug 1387968 - Part 1: Reduce array copies for RegExpGetSubstitution with captures. r=till
--HG--
extra : rebase_source : d7af86e7dae8453c7bd8446934544653bce52481
2017-08-09 11:31:04 +02:00
Nicolas B. Pierron
1e631032d7 Bug 1283855 - OOMTest: Guard JS_DEFAULT_ZEAL_FREQ macro with JS_GC_ZEAL. r=jandem 2017-08-08 17:37:37 +00:00
Jon Coppeard
a36e3e0610 Bug 1388110 - Fix slot access intrinsics for objects with > 16 reserved slots r=nbp 2017-08-08 18:00:31 +01:00
Steve Fink
5b7d75f096 Bug 1385364 - gdb JSString prettyprinter string length limit and invalid char handling, r=jimb
--HG--
extra : rebase_source : 3a41c07c2ef76bef2fd7477b1fa7187a498facf5
2017-07-25 17:32:12 -07:00
Steve Fink
e6a5df33d4 Bug 1385359 - Add env var JIT_SPEW_FILENAME, r=nbp
--HG--
extra : rebase_source : 3b5bef62aa7b69dab12a52e38268405de95e651c
2017-07-20 17:38:45 -07:00
Julian Seward
f6205f4ba0 Bug 1386680 - irregexp: reduce size of initial evaluation stack (post landing fixup). rs=jandem. 2017-08-08 16:10:59 +02:00
Nicolas B. Pierron
f2eb6ef5b4 Bug 1382449 - irregexp: Do not assert for stack overflow exceptions. r=bhackett 2017-08-08 13:50:08 +00:00
Tooru Fujisawa
0b2a9e6945 Bug 1377566 - Remove unused IonBuilder::ensureDefiniteTypeSet. r=jandem 2017-08-08 22:28:50 +09:00
Tooru Fujisawa
872350c790 Bug 1388005 - Fix build without Ion. r=nbp 2017-08-08 22:28:50 +09:00
Julian Seward
44f4cc8320 Bug 1387394 - irregexp::InterpretCode: don't heap-allocate |registers|. r=bhackett.
--HG--
extra : rebase_source : 6f030eacd48d0a61339c5a077f960a12e2067558
2017-08-08 09:29:06 +02:00
Jan de Mooij
2a7e0f0c5c Bug 1387535 part 3 - Rewrite Label implementation to hopefully fix PGO regression. r=bhackett 2017-08-08 13:56:06 +02:00
Jan de Mooij
8239d880f4 Bug 1387535 part 2 - Encapsulate Label fields better. r=bhackett 2017-08-08 13:55:08 +02:00
Jan de Mooij
bb851a6aae Bug 1387535 part 1 - Clean up JmpSrc and JmpDst. r=bhackett 2017-08-08 13:54:47 +02:00
Bobby Holley
26bc5a86f4 Bug 1378207 - Stop bypassing the Xray layer when walking the prototype chain. r=krizsa 2017-07-17 12:26:34 +02:00
Carsten "Tomcat" Book
e02df09b7c Merge mozilla-central to mozilla-inbound 2017-08-08 13:23:59 +02:00
Carsten "Tomcat" Book
0f16d437cc merge mozilla-inbound to mozilla-central a=merge 2017-08-08 13:18:14 +02:00
Julian Seward
3d63ed80b1 Bug 1386680 - irregexp: reduce size of initial evaluation stack. r=bhackett. 2017-08-08 07:54:03 +02:00
Nicholas Nethercote
1a6f1a62fa Bug 1387381 - Remove nsXPIDLString local variables. r=erahm.
nsXPIDLStrings are marked as VOIDED upon initialization. Most of these local
nsXPIDLString variables are immediately set via getter_Copies(), which will
either assign a string value (using Adopt()) or do SetIsVoid(). These can be
trivially converted to nsString, which will get the same treatment.

The patch suitably converts the remaining nsXPIDLString local variable as well.

--HG--
extra : rebase_source : 5fff9f2c6844559198f601853f8db08564add7d5
2017-08-08 16:07:55 +10:00
Jason Orendorff
b3552cd3fb Bug 1363200 - JSAPI for realms: Move SetAddonCallInterposition to the CompartmentPrivate. r=bholley
--HG--
extra : rebase_source : d34087913dd18aeaf8908f4391bed14d0c6790f3
2017-06-27 08:07:27 -07: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
8399e3ecd5 Bug 1363200 - JSAPI for realms: JS_SetRealmNameCallback. r=sfink
--HG--
extra : rebase_source : d0a8f51761998c80a226cb6232ce920c67689234
2017-05-22 14:09:05 -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
Jason Orendorff
498e8fa2b6 Bug 1383053 - Remove unused constant to silence a warning. r=jandem
--HG--
extra : rebase_source : 50a01ed8d1302a0aba91064181ea59f314947062
2017-07-21 08:39:35 -05:00
Wes Kocher
cf8f3268a1 Merge inbound to central, a=merge
MozReview-Commit-ID: 5tBON9YUdAO
2017-08-07 15:23:46 -07:00
Tom Schuster
344ab75b2d Bug 1385278 - Move IsCacheable* functions to CacheIR from Ion. r=jandem 2017-08-07 18:33:19 +02:00
Henry Chang
af3b11c151 Bug 1375277 - New safebrowsing threat type "POTENTIALLY_HARMFUL_APPLICATION" introduced by v4. r=francois
As our threattype-listname conversion design, "goog-harmful-proto" is allocated
for this new threat type. This threat type is mainly for mobile.

MozReview-Commit-ID: G9GbgmHHHfp

--HG--
extra : rebase_source : 0681fcd9322b94451a86eafe57bf1ccc4b89db30
extra : intermediate-source : 28b0502d9add81beeae58a2c33f9fd5839d4d544
extra : source : 646f02f15131aa98ad37015b0a641304a3271796
2017-07-27 15:37:57 +08:00
Sebastian Hengst
3c82b65dc7 merge mozilla-central to autoland. r=merge a=merge 2017-08-06 11:06:48 +02:00
Sebastian Hengst
75303aec29 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-08-05 12:00:50 +02:00
Sebastian Hengst
39ccebaf18 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 9IxbB2vCH4S
2017-08-05 11:55:25 +02:00
Jan de Mooij
7ed16bd6fe Bug 1386199 - Don't interrupt regexp JIT code for non-urgent interrupts. r=bhackett 2017-08-05 11:22:04 +02:00
Tooru Fujisawa
f75d8b4f49 Bug 1379525 - Part 2: Properly handle rejection in async-from-sync iteration. r=shu 2017-08-04 13:04:31 +09:00
Tooru Fujisawa
10e9d5dfdb Bug 1379525 - Part 1: Await on the value before yielding or returning inside async generator. r=shu,till 2017-08-04 13:04:31 +09:00
Yury Delendik
0df0917b49 Bug 1387115 - Allow debugger to eval using WebAssembly frames. r=luke
MozReview-Commit-ID: EXUk5VqT5kp

--HG--
extra : rebase_source : 8bba55dc94cd4aee09af68ea84a1fb9c0458e921
2017-08-03 11:00:40 -05:00
Yury Delendik
3e72b5e45a Bug 1387115 - Expose WebAssembly instance memory and globals via debugger scope. r=luke
MozReview-Commit-ID: 7EnxNmaiNOF

--HG--
extra : rebase_source : 0434bc8a82f24145b99a95ebd74c888fe553ee69
2017-08-04 16:53:12 -05:00
David Teller
164c1cbbcd Bug 1377272 - Making ParserContext less intertwined with Parser;r=shu+381259
To implement the BinJS decoder of Bug 1377007, we need to access ParserContext without a Parser. This patch makes it possible to construct one.

MozReview-Commit-ID: Fx3S0UkU7Hq

--HG--
extra : rebase_source : 7470b03fb45bd8d80ffd66b1507d1491b5e3158f
2017-08-03 11:27:03 +02:00
Masatoshi Kimura
436186d6f8 Bug 1387791 - Remove [deprecated] Components.reportError. r=bholley
MozReview-Commit-ID: CCqFQid7ZDi

--HG--
extra : rebase_source : bce691e8a83d3a2837fbf28f44f5390aae2c2716
2017-08-06 11:04:11 +09:00
Andrew McCreight
8085e87bc3 Bug 379797 - Various dump() methods should check browser.dom.window.dump.enabled. r=krizsa
Checking this pref to avoid log spam in opt builds, in sandboxes, JS
components, and whatever uses nsFrameMessageManager's dump method.

This does mean that on Windows in an opt build when a debugger is
present a debug string will no longer be printed unless the pref is
set, but I think that is consistent with the non-Windows behavior.

MozReview-Commit-ID: FWLAzBRVhlx

--HG--
extra : rebase_source : cc5669f422729788f1ebc300d4450290913a3055
2017-08-02 11:56:33 -07:00
Sebastian Hengst
765cc1b925 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: JhesEg4Bxjy
2017-08-04 19:28:27 +02:00