Commit Graph

58881 Commits

Author SHA1 Message Date
André Bargull
264673d83e Bug 1339032 - Update Intl legacy constructor compromise semantics per the latest spec changes. r=Waldo
--HG--
extra : rebase_source : b8f9fff032e25c24386ce7049036b65aeb19bc5a
2017-02-13 03:01:58 -08:00
André Bargull
cf43ef7e77 Bug 1326411 - Don't recompute locale data for each Unicode extension key. r=Waldo
--HG--
extra : rebase_source : 58566a389ea3a28508a13d5aa1151a2ed710391b
2017-02-15 02:47:50 -08:00
Jan de Mooij
b1804ebc64 Bug 1339507 - Cache the shape/group lookup in ProxyObject::create. r=bhackett 2017-02-15 14:28:52 +01:00
Carsten "Tomcat" Book
ed3d8d8286 merge mozilla-inbound to mozilla-central a=merge 2017-02-15 12:21:44 +01:00
Julian Seward
facbf1c445 Bug 1338179 - Disable W^X JIT code page switching when running on Valgrind on Linux/Mac. r=nicolas.b.pierron.
--HG--
extra : rebase_source : d4182992104e319e50c0b1c07b3eec24f9c1d2de
2017-02-14 20:41:23 +01:00
Boris Zbarsky
a449ccb8fa Bug 1333045. Update Location object properties to current spec. r=qdot
Specifically, three changes:

1) valueOf should be non-enumerable.
2) valueOf should be === to Object.prototype.valueOf.
3) There should be no toJSON.

The tests come directly from https://github.com/w3c/web-platform-tests/pull/4623
so not much need to review them.
2017-02-15 00:01:48 -05:00
Xidorn Quan
95c1b23bd9 Bug 1339341- Downgrade several stylo errors to warnings. r=heycam
MozReview-Commit-ID: 2Sa8dS8uSo5

--HG--
extra : rebase_source : c6809309bbef5faf458b56018b964619ff386238
2017-02-14 18:26:10 +11:00
Shu-yu Guo
06e82eef5c Bug 1338796 - Do not call iterator.return if iterator.throw is present in yield*. (r=arai) 2017-02-14 16:22:00 -08:00
Shu-yu Guo
3ebccd7aeb Bug 1339137 - Don't do Annex B lexical function behavior when redeclaring a parameter name in a function with parameter expressions. (r=Waldo) 2017-02-14 16:22:00 -08:00
Luke Wagner
da5c1df043 Bug 1338002 - Baldr: backout bug 1324032 (r=sunfish)
MozReview-Commit-ID: DATV6VP9672
2017-02-14 17:59:01 -06:00
André Bargull
32038f4826 Bug 1339257 - Remove stale entries in file exclusion list for jstests. r=evilpie
--HG--
extra : rebase_source : 3c671583588896043810ee82779c23baf852b2f8
2017-02-14 10:29:32 -08:00
André Bargull
4fb33a472c Bug 1339369 - Remove tests marked as obsolete and which were disabled by default. r=evilpie
--HG--
extra : rebase_source : 1b3d1af0b87dfe6912c1b11709520a06476ee912
2017-02-14 10:29:21 -08:00
André Bargull
a5b658cd0e Bug 1339406 - Part 7: Remove tests for tracemonkey options from jstests. r=arai
--HG--
extra : rebase_source : 12c9adfdee60d882b9509975a3910d764fa87276
2017-02-14 10:28:55 -08:00
André Bargull
b3c35c8228 Bug 1339406 - Part 6: Block-scope helper variables from ecma_6/Math/shell.js. r=arai
--HG--
extra : rebase_source : 1c9d629df8dcfacab32a39de055a49405e29fde3
2017-02-14 10:26:21 -08:00
André Bargull
7b1765b808 Bug 1339406 - Part 5: Remove unused functions from shell.js files. r=arai
--HG--
extra : rebase_source : 173963b801fbd0b562805aba8a2fa47bc2aceb38
2017-02-14 10:26:18 -08:00
André Bargull
4a10f77a8f Bug 1339406 - Part 4: Remove tests for methodjit shell options. r=arai
--HG--
extra : rebase_source : 723cbc10130063d169d1f70115349a4e51500b5f
2017-02-14 10:26:15 -08:00
André Bargull
d132bce8af Bug 1339406 - Part 3: Change top-level shell.js and browser.js IIFE to strict mode. r=arai
--HG--
extra : rebase_source : d26041243c5310a7f6f2b1bc455b7f8c40811882
2017-02-14 10:26:11 -08:00
André Bargull
3c6e41d093 Bug 1339406 - Part 2: Add missing 'var' declarations for local variables in jstest harness functions. r=arai
--HG--
extra : rebase_source : d27bd71d7ae1cd96f8020a9dfb0e6c7c9e1b0183
2017-02-14 10:26:09 -08:00
André Bargull
9c958c4828 Bug 1339406 - Part 1: Remove Rhino specific functions from jstest harness. r=arai
--HG--
extra : rebase_source : 9dd52288267484478ab448fdffc57ec31f985efa
2017-02-14 10:26:06 -08:00
André Bargull
09eeed665b Bug 1339404 - Remove testPassesUnlessItThrows and setRestoreFunction from jstest harness. r=arai
--HG--
extra : rebase_source : d12230195d430e1f7e6d57c6fcb701767a4b64f8
2017-02-14 10:26:03 -08:00
Jeff Walden
096aac1e32 Bug 1287006 - Adjust js/ code to not pass Maybe (or any class containing a Maybe member) by value, only by reference or pointer. r=luke
--HG--
extra : rebase_source : b26cb2a94fdc218ea7f40931060eecfc50353d48
2017-02-13 09:07:26 -08:00
Jeff Walden
d7372e37d9 Bug 1338374 - Use alignas/alignof to define Variant's internal raw storage. r=froydnj
--HG--
extra : rebase_source : a75613ba7c17ceccf20e6f096a118bfedfa1eb15
2017-01-30 15:56:05 -08:00
Jeff Walden
42076c2649 Bug 1338374 - Use alignas rather than AlignedStorage for public JS::ProfilingFrameIterator's internal storage of a private wasm or JIT profiling frame iterator. r=shu
--HG--
extra : rebase_source : e8dac94d34a0985c1abca87b6e017387b761a801
2017-01-30 15:56:05 -08:00
Sebastian Hengst
fa67a95aa1 Backed out changeset 4ded6149dc4a (bug 1337491) for failing xpcshell tests test_utils_pbkdf2.js and test_ext_runtime_onInstalled_and_onStartup.js on Android 4.3 debug. r=backout 2017-02-14 18:55:02 +01:00
Jan de Mooij
4d617fa0bd Bug 1339411 - Rewrite and optimize object allocation paths. r=bhackett 2017-02-14 18:19:12 +01:00
Benjamin Bouvier
d5113697a5 Bug 1338127: fix static analysis bustage; r=me
MozReview-Commit-ID: ACdnsp3Ljj9

--HG--
extra : rebase_source : d8a8f59bb1bc6b472484f0771dd979c58c488ee8
2017-02-14 17:01:27 +01:00
Brian Hackett
80eaee2561 Bug 1337491 - Off thread parsing changes for multithreaded runtimes, r=jandem,jonco.
--HG--
extra : rebase_source : 5c8f0f3bff71caf03cddfd67057667c8454addc4
2017-02-14 05:21:39 -07:00
Benjamin Bouvier
debb33edb6 Bug 1338127: Remove the MConstant::NewRaw ctors; r=luke
MozReview-Commit-ID: 7Flu3QQsGkY

--HG--
extra : rebase_source : 3b0f2c3bc26626ae40247bdfd93d48812cfada3b
extra : histedit_source : 6bcf7d10af5df7b0f5a435b46147b4370b421cb1
2017-02-09 19:16:15 +01:00
Benjamin Bouvier
82da883d1f Bug 1338127: Introduce a special MIR node for wasm float literals; r=luke
MozReview-Commit-ID: KGTHDDFK4eV

--HG--
extra : rebase_source : 0c290276a6740ef753c15195c4ba1d9ea4f5ea7f
extra : histedit_source : 8edda59bd50fe492f415d7df99a97ac61b37ca22
2017-02-10 11:44:23 +01:00
Jan de Mooij
adf3b13a19 Bug 1338834 - Speed up JSContext::currentScript by doing the compartment check first. r=bhackett
--HG--
extra : rebase_source : b05023ea77c852dd673693a33aa8721975157271
2017-02-14 16:02:49 +01:00
Carsten "Tomcat" Book
6215212efa Merge mozilla-central to mozilla-inbound 2017-02-14 13:41:43 +01:00
Carsten "Tomcat" Book
68be0676b8 merge mozilla-inbound to mozilla-central a=merge 2017-02-14 13:38:00 +01:00
David Major
29f09ee1ad Bug 1338951: Remove const from PhaseInfo for better codegen on Windows. r=sfink
MozReview-Commit-ID: GJn0wtq0chz

--HG--
extra : rebase_source : 0ac8135e692eb70c541bb5777d2ae6ee3eb589a1
2017-02-14 15:25:45 +13:00
Wes Kocher
c8fa3242ab Merge m-c to inbound, a=merge
MozReview-Commit-ID: Lt0WpWkto4h
2017-02-13 17:07:33 -08:00
Wes Kocher
252dae269a Merge inbound to central, a=merge
MozReview-Commit-ID: Gx7IszkCDZ4
2017-02-13 17:04:20 -08:00
Bill McCloskey
c46113590f Bug 1337537 - JS engine changes for compartment validation (r=sfink)
MozReview-Commit-ID: E98wuxWSNtS
2017-02-13 17:02:55 -08:00
Jon Coppeard
6cd213daad Bug 1338383 - Clear gcZoneGroupEdges set when finding zone groups fails due to over-recursion r=sfink a=abillings 2017-02-14 10:18:32 +00:00
Jon Coppeard
d68c477ae2 Bug 1337502 - AutoCompartment should have the same asserts as JSAutoCompartment r=sfink 2017-02-14 10:16:33 +00:00
Wes Kocher
415dbf1a26 Merge m-c to autoland, a=merge
MozReview-Commit-ID: JuiEcsYYLS3
2017-02-13 17:08:00 -08:00
Kris Maglione
d0f62ee58a Bug 1336988: Correctly handle dead callback objects when iterating over event listeners. r=peterv
MozReview-Commit-ID: 5vGlPL1p3uh

--HG--
extra : rebase_source : 7e33d93472faa1c047361addf8b15f8a78639255
2017-02-06 11:34:56 -08:00
Luca Greco
1470d15357 Bug 1329731 - Add moz-extension to the principals immune to script policy. r=bholley
MozReview-Commit-ID: FAn2Cq5Lz5O

--HG--
extra : rebase_source : 8d89707f91747946d98e473983345d6a5857ea89
2017-01-17 13:54:03 +01:00
Sylvestre Ledru
88621f5860 Bug 1337358 - Converts for(...; ...; ...) loops to use the new range-based loops in C++11 in js/ r=bbouvier
MozReview-Commit-ID: 9QrvFfu3wbL

--HG--
extra : rebase_source : 9907d9074e56532452024dd0555d21c499d07a17
2017-02-08 14:24:51 +01:00
Jan de Mooij
447fa1b7be Bug 1338880 - Optimize WrapperFactory::Rewrap a bit by avoiding GetXrayType/IsContentXBLScope calls in the non-xray case. r=bholley 2017-02-12 22:45:25 +01:00
Tooru Fujisawa
bed048abe9 Bug 1312956 - Update js.msg documentation comment. r=evilpie 2017-02-13 03:29:55 +09:00
Tooru Fujisawa
c492445c23 Bug 1338779 - Handle characters map across Latin1 and non-Latin1 properly in TextNode. r=till 2017-02-13 03:25:44 +09:00
Tom Schuster
430a76eec8 Bug 1338882 - Update skipped test262 tests. r=arai 2017-02-12 14:06:28 +01:00
Tom Schuster
7d16be8bcf Bug 1338825 - CacheIR: Attach the addSlot stub for Arrays. r=jandem 2017-02-12 13:13:33 +01:00
Phil Ringnalda
215ca1024e Merge m-i to m-c, a=merge 2017-02-11 17:42:19 -08:00
Brian Hackett
539e47cd96 Bug 1337117 - Remove references to main thread in the JS engine, r=jandem.
--HG--
extra : rebase_source : 466336ed48fb8636d1ef428195408411ed81473d
2017-02-11 05:27:32 -07:00
Brian Hackett
01a649c197 Bug 1337112 - Remove links from JSRuntime to its single context and zone group, r=jandem,jonco.
--HG--
extra : rebase_source : ebf319af724d5f829cdf5c2386dc82d49be89989
2017-02-10 16:47:50 -07:00