Commit Graph

62704 Commits

Author SHA1 Message Date
Tom Schuster
703535c117 Bug 1019116 - Import Promise.prototype.finally test262 tests. r=anba 2017-11-07 18:26:36 +01:00
André Bargull
82678044a9 Bug 1019116 - Implement Promise.prototype.finally. r=till,bz 2017-08-01 14:05:08 -07:00
Tom Schuster
9697c295d4 Bug 1019116 - Remove old Promise selfhosting functions. r=till 2017-11-07 18:26:36 +01:00
Jon Coppeard
a6e864d2ce Bug 1410132 - Use a separate jemalloc arena for all SpiderMonkey malloc allocations r=njn r=nbp 2017-11-02 14:51:27 +00:00
Jon Coppeard
5f7c71c302 Bug 1410132 - Skip mutex ordering checks when JS engine is not initialized r=sfink 2017-11-07 17:37:25 +00:00
Jan de Mooij
6d44207666 Bug 1415119 - Support out-of-bounds indexes in PostWriteElementBarrier. r=jonco 2017-11-08 09:21:27 +01:00
André Bargull
58ba0712de Bug 1019116 - Implement Promise.prototype.finally. r=till 2017-08-01 14:05:08 -07:00
Tom Schuster
f7d796a838 Bug 1019116 - Remove old Promise selfhosting functions. r=till 2017-11-07 18:26:36 +01:00
Jan de Mooij
cf7e09f7f0 Bug 1415161 - Get rid of slow JSContext::findVersion calls when parsing regular expressions. r=anba 2017-11-07 17:40:12 +01:00
Jan de Mooij
3e832151da Bug 1415124 - Nursery allocate cloned LexicalEnvironmentObjects. r=jonco 2017-11-07 17:39:10 +01:00
Tooru Fujisawa
126d74c714 Bug 1244280 - Use system stack limitation instead of hardcoded smaller value on linux. r=nbp
Great thanks to krzysztof.modras@gmail.com who initially wrote this patch.
2017-11-08 00:30:31 +09:00
Ishigaki
abd61e92e8 Bug 1339895 - Improve error message for unexpected token. r=arai 2017-11-02 13:15:27 +09:00
Masatoshi Kimura
383e90a03b Backed out changeset 6555a2a899a0 (bug 1384557) due to causing bug 1414060. r=backout
MozReview-Commit-ID: FV44JQSDXPQ

--HG--
extra : amend_source : 8c05281fad889edd723ab58786d0bf16f7d325b0
2017-11-07 20:39:00 +09:00
Steve Fink
1232b77f78 Bug 1414443 - Alternative way to shut down buffer streams, r=luke
--HG--
extra : rebase_source : 1604a60d7a5fcd7e54a7f929d88961752f25a8e1
2017-11-03 16:05:44 -07:00
snowman-mh
6931291fc3 Bug 1380990 - Improve error message for accessing this of uninitialized. r=arai 2017-11-02 14:10:26 +09:00
Jan de Mooij
afe8ac1278 Bug 1414228 - Allocate type monitor fallback stubs lazily instead of allocating them in BaselineCompiler. r=tcampbell 2017-11-06 14:10:23 +01:00
Jan de Mooij
0bf090f907 Bug 1414238 - Optimize BaselineCompiler::emitBody a bit. r=nbp 2017-11-06 13:45:01 +01:00
Jan de Mooij
c4a3b069df Bug 1411294 - Fix OOM bug in CloneBuffer testing function. r=jonco 2017-11-06 13:44:25 +01:00
Paul Bone
33001bfd32 Bug 1298018 - Part 5: Remove allocateFirstChunk(). r=jonco 2017-10-30 17:46:23 +11:00
Paul Bone
cd89ebc40a Bug 1298018 - Part 4: Lazily allocate nursery chunks. r=jonco 2017-10-30 14:44:12 +11:00
Paul Bone
ecd852a84c Bug 1298018 - Part 3: Replace updateNumChunks(). r=jonco
This method both shrinks and grows the nursery.  This change replaces it
with specialised code to either shrink or grow the nursery.
2017-10-30 13:17:11 +11:00
Paul Bone
033bd6efd1 Bug 1298018 - Part 2: Remove some unused methods. r=jonco 2017-10-16 21:29:07 +11:00
Paul Bone
76895c46c8 Bug 1298018 - Part 1: Clarify emptyChunks_ comment. r=jonco 2017-10-18 09:17:04 +11:00
Jan de Mooij
2681f26832 Bug 1413867 - Remove StopIteration object. r=evilpie 2017-11-05 19:01:04 +01:00
Sebastian Hengst
d61954557d merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: Ai6Y5GGfkfT
2017-11-04 10:58:24 +01:00
Boris Zbarsky
91cf28ede5 Bug 1414461. Make sure we always null-check the result of XrayTraits::EnsureHolder. r=mccr8
MozReview-Commit-ID: IV2L0f2612D
2017-11-04 00:36:34 -04:00
Tom Schuster
bb77a111ee Bug 1413907 - Change InitPropertyOperation to accept a PropertyName directly. r=jandem 2017-11-02 16:56:13 +01:00
André Bargull
ca52711eb9 Bug 1409187 - Remove telemetry for __proto__. r=luke 2017-11-02 07:14:45 -07:00
André Bargull
80db1396dc Bug 1406993 - Add a new equivalent year mapping table for years after 2037. r=Waldo 2017-11-03 03:12:47 -07:00
André Bargull
ad26422fd5 Bug 1413944 - Don't try to deflate two-byte code unit in StringFromCharCode. r=jandem 2017-11-02 08:44:45 -07:00
André Bargull
06bd9bb488 Bug 1346080 - Make jstests TestCase object resilient against Object.prototype changes. r=Waldo
--HG--
extra : rebase_source : e35d008f4ea886884693e7de933a5d31a2ab8cb2
2017-11-02 03:49:40 -07:00
Jan de Mooij
a70dbf7123 Bug 1119777 - Remove non-standard Function.prototype.isGenerator. r=arai,kmag 2017-11-03 17:27:43 +01:00
David Major
c49eaa95ac Bug 1413675 - Downgrade to Windows SDK 10.0.15063.0 to fix clang builds. r=froydnj
The new VS package is now based on update 15.4.2, although that release didn't affect any files in our package. I'm picking up the update mostly just to make filename unique.
2017-11-03 09:26:58 -04:00
NARCIS BELEUZU
4f24ca320e Backed out 1 changesets (bug 1410132) for asserting /builds/worker/workspace/build/src/memory/build/mozjemalloc.cpp:4729 r=backout on a CLOSED TREE
Backed out changeset fc7fdeed66bc (bug 1410132)
2017-11-03 15:17:24 +02:00
Jon Coppeard
2563e6ee89 Bug 1410132 - Use a separate jemalloc arena for all SpiderMonkey malloc allocations r=njn r=nbp 2017-11-02 14:51:27 +00:00
Jon Coppeard
18857fa259 Bug 1413997 - Improve readability of js::DumpObject() output r=jandem 2017-11-03 10:25:25 +00:00
Jon Coppeard
1b4b3e3cab Bug 1413914 - Add zeal mode to check gray marking invariants after every GC r=sfink 2017-11-03 10:25:25 +00:00
Jon Coppeard
a226a64a26 Bug 1399866 - Dump even more info on gray marking failure r=pbone 2017-11-03 10:25:25 +00:00
NARCIS BELEUZU
2e3654a915 Merge mozilla-inbound to mozilla-central. r=merge a=merge 2017-11-03 12:04:55 +02:00
Sebastian Hengst
e9b3a258b8 merge mozilla-central to autoland. r=merge a=merge 2017-11-02 23:15:55 +01:00
Sebastian Hengst
68106833b3 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: xcHQOq7Rbv
2017-11-02 22:59:04 +01:00
Boris Zbarsky
0bbe6f4940 Bug 1412741. Back out the fix for bug 1381408, because that change doesn't look like it's web-compatible. r=peterv
MozReview-Commit-ID: LSYYAt0bAkT
2017-11-02 13:02:55 -04:00
ANDREEA PAVEL
a859e870fe Backed out changeset d3a0101e3936 (bug 1410132) for build failure ContainerParser.cpp:131 r=backout on a CLOSED TREE 2017-11-02 18:06:58 +02:00
Jon Coppeard
c6c2b4f6ba Bug 1410132 - Use a separate jemalloc arena for all SpiderMonkey malloc allocations r=njn r=nbp 2017-11-02 14:51:27 +00:00
Jan de Mooij
98fd36da6e Bug 1083482 part 11 - Use infallible unbox for JSOP_ITERNEXT in Ion. r=evilpie 2017-11-02 15:39:11 +01:00
Jan de Mooij
c7e2a86894 Bug 1083482 part 10 - Rename ResumeKind::CLOSE to ResumeKind::RETURN. r=anba 2017-11-02 15:38:17 +01:00
Jan de Mooij
6d3249977a Bug 1083482 part 9 - More StarGenerator -> Generator renaming. r=anba 2017-11-02 15:37:26 +01:00
Jan de Mooij
3f87bfc46d Bug 1083482 part 8 - Clean up more generator code. r=arai 2017-11-02 15:36:18 +01:00
Tom Schuster
1bc9e8a5d9 Bug 1413900 - Remove unused JS capability macros. r=arai 2017-11-02 14:39:08 +01:00
Jan de Mooij
b92c663970 Bug 1083482 part 7 - Rename StarGenerator to Generator in self-hosted code. r=anba 2017-11-02 14:02:06 +01:00
Jan de Mooij
07fabe7150 Bug 1083482 part 6 - Merge GeneratorObject and StarGeneratorObject. r=arai 2017-11-02 13:58:45 +01:00
Jan de Mooij
65a01dd0f9 Bug 1083482 part 5 - Clean up CloseIterator, remove UnwindIteratorForException. r=arai 2017-11-02 13:58:13 +01:00
Jan de Mooij
eb82e60199 Bug 1083482 part 4 - Remove more self-hosting code. r=anba 2017-11-02 13:56:53 +01:00
Jon Coppeard
16b94b0812 Bug 1413635 - Give AllocKind enum a uint8_t base r=sfink 2017-11-02 11:34:22 +00:00
Jon Coppeard
a8442ff868 Bug 1413635 - Generate AllocKind enum automatically and include more information in the definition macro r=sfink 2017-11-02 11:34:22 +00:00
Chris Manchester
3b58a05af7 Bug 1411712 - Move symbol version script ldflags for js to moz.build r=mshal
MozReview-Commit-ID: D1NqJRFjVI2

--HG--
extra : rebase_source : a1762260f56812998302eccf27ceb425da8906ad
2017-11-02 11:47:48 -07:00
Chris Manchester
8bc7bdf347 Bug 1411712 - Move LDFLAGS to mozbuild. r=mshal
MozReview-Commit-ID: A8cZ2FUveAf

--HG--
extra : rebase_source : 5f0e9b55c38f3b2382b469bbc886c57696f09792
2017-11-02 11:47:48 -07:00
Chris Manchester
857b599beb Bug 1411712 - Use AC_SUBST_LIST instead of AC_SUBST for vairables from configure contributing to LDFLAGS. r=mshal
MozReview-Commit-ID: 21jJY8oanQB

--HG--
extra : rebase_source : 5ba85c10bc64fd8817fda956dab3bc6965679eff
2017-11-02 11:47:48 -07:00
Attila Craciun
835feb9d37 merge from central to inbound r=merge a=merge on a CLOSED TREE 2017-11-02 11:57:12 +02:00
ANDREEA PAVEL
24a187da02 Merge mozilla-inbound to mozilla-central r=merge a=merge 2017-11-02 11:40:57 +02:00
Sebastian Hengst
bde2e0e208 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-11-02 23:19:03 +01:00
Jeff Walden
94a8344997 Bug 1319416 - Consolidate all semicolon-matching into a single function, now that there's no quasi-bogus need for multiple variants. r=arai 2017-10-30 12:49:13 -07:00
Jeff Walden
7233b2770b Bug 1319416 - Substantially rejigger token lookahead and modifier exceptions to function more like the spec. r=arai 2017-10-30 12:47:57 -07:00
David Keeler
6034b39937 bug 1357815 - 3/4: support SHA256 in PKCS#7 signatures on add-ons r=dveditz,jcj
As a result of this patch, the hash algorithm used in add-on signature
verification will come from the PKCS#7 signature. If SHA-256 is present, it will
be used. SHA-1 is used as a fallback. Otherwise, the signature is invalid.

This means that, for example, if the PKCS#7 signature only has SHA-1 but there
are SHA-256 hashes in the signature file and/or manifest file, only the SHA-1
hashes in the signature file and manifest file will be used, if they are present
(and verification will fail if they are not present). Similarly, if the PKCS#7
signature has SHA-256, there must be SHA-256 hashes in the signature file and
manifest file (even if SHA-1 is also present in the PKCS#7 signature).

MozReview-Commit-ID: K3OQEpIrnUW

--HG--
extra : rebase_source : 704a2a18e166bfaf3e3d944d13918054bd012000
2017-10-24 15:27:53 -07:00
Zibi Braniecki
7aa5013aef Bug 1386146 - Add support for hourCycle to Intl.DateTimeFormat. r=anba
MozReview-Commit-ID: 8nwk3kyE3co

--HG--
extra : rebase_source : 2eff58f23328212da1a07115ed4cc2ed9322fad6
2017-10-05 17:16:03 -07:00
Benjamin Bouvier
3f6c053b6e Bug 1391633: Remove the JS_AOT_USAGE telemetry value; r=luke
The use counters JS_ASMJS and JS_WASM will measure usage in a more interesting
fashion.

MozReview-Commit-ID: BhZTWKN1oTQ

--HG--
extra : rebase_source : 5ffc84b34418a2422afd6384f8ebbe67b94c6717
2017-08-18 16:11:15 +02:00
Sebastian Hengst
ca88e3c4c5 Merge mozilla-central to autoland. r=merge a=merge 2017-11-01 22:58:44 +01:00
Gregory Szorc
ca98388a83 Bug 1412356 - Don't invoke client.mk from root analysis builds; r=sfink
`mach configure` does the same thing as `make -f client.mk configure`.

While we're here, also change a `make` invocation to use `mach build`.

MozReview-Commit-ID: 4rgZN0dd0Jg

--HG--
extra : rebase_source : 7592814e56e896c299de7eacf4d126873629abfc
2017-10-27 10:12:24 -07:00
Brian Hackett
424fabb10b Bug 1411947 - Move OffThreadState from per-context to global JS shell state, r=jandem. 2017-11-01 09:59:13 -06:00
Brian Hackett
bd8854975b Bug 1402595 - Don't wait on cooperative thread cvar after marking the current thread as having finished, r=jandem. 2017-11-01 09:56:59 -06:00
Brian Hackett
4b36b816ed Bug 1412298 - Wait for cooperative threads before worker threads when shutting down the JS shell, r=jandem. 2017-11-01 09:53:51 -06:00
Jon Coppeard
9494cdda2f Bug 1412912 - Remove unnecessary includes in jsgc.h and remove inclusion of jsgc.h from Statistics.h r=sfink 2017-11-01 15:37:56 +00:00
Jon Coppeard
e8e8567a8a Bug 1412912 - Move a few more things to GCInternals.h r=sfink 2017-11-01 15:37:55 +00:00
Jon Coppeard
39d701f4e9 Bug 1412912 - Move *Forwarded and related APIs to Marking.h r=sfink 2017-11-01 15:37:55 +00:00
Jon Coppeard
051712eac9 Bug 1412912 - Split out RelocationOverlay into its own header r=sfink 2017-11-01 15:37:55 +00:00
Jon Coppeard
702f7a530a Bug 1412912 - Move ParicipatesInCC struct to Marking.cpp r=sfink 2017-11-01 15:37:55 +00:00
Jon Coppeard
d25a74564b Bug 1412912 - Split out internal iterator classes into Iteration-inl.h r=sfink 2017-11-01 15:37:54 +00:00
Jon Coppeard
07bd87103d Bug 1412912 - Split out interal enums into GCEnums.h r=sfink 2017-11-01 15:37:54 +00:00
Jon Coppeard
b889aa465d Bug 1412912 - Split out JSObject alloc kind helper functions into ObjectKind-inl.h r=sfink 2017-11-01 15:37:47 +00:00
Jon Coppeard
eee897b0f9 Bug 1412912 - Split out AllocKinds.h and inline definitions in ArenaList.h r=sfink 2017-11-01 15:36:54 +00:00
Jan de Mooij
55162d706b Bug 1083482 part 2 - Fix/remove shell tests that used legacy generators. r=arai 2017-11-01 10:53:20 +01:00
Jan de Mooij
b4503bfe8c Bug 1083482 part 1 - Remove SpiderMonkey support for legacy generators. r=arai 2017-11-01 10:48:10 +01:00
Chia-Hung Duan
360fc92c15 Bug 1376891 - Support idle runnable for nursery collection. r=jonco, r=smaug 2017-10-30 18:07:42 +08:00
Paul Bone
ec83bd6518 Bug 1386511 - Part 1: Revise the format of the GC profiler markers. r=jonco, r=mstange
This change also updates the documentation to correct the semantics of GC
slice numbers.
2017-10-31 14:32:49 +11:00
André Bargull
48a18c8a28 Bug 1330149 - Part 2: Re-enable time zone dependent tests on Windows. r=Waldo 2017-10-31 16:52:10 -07:00
Chris Manchester
77480a3b4d Bug 1414064 - Move BIN_FLAGS to MOZ_PROGRAM_LDFLAGS, get rid of BIN_FLAGS. r=mshal
MozReview-Commit-ID: ELTiYvh6iuS

--HG--
extra : rebase_source : 1547fa9b247649a485c4d31f8bdb7db05a50e043
2017-11-07 14:34:44 -08:00
Chris Manchester
732b66708f Bug 1414064 - Remove WRAP_LDFLAGS, it is never set in the build system. r=mshal
MozReview-Commit-ID: Da4a4JmaxoL

--HG--
extra : rebase_source : 837e83e6836ea25d64f013b2b16456f9f6bcb88f
2017-11-07 14:34:44 -08:00
Nick Fitzgerald
86768b16ca Bug 1414030 - Update the bindgen dependency for js/rust. r=emilio
--HG--
extra : rebase_source : 03e09d2ca5e663c9ac5aec94d5dab3a4fb0e4bae
2017-11-02 12:08:00 -04:00
Emilio Cobos Álvarez
6821b4e553 No bug - Update num_cpus to try to fix bustage. r=me
On a CLOSED TREE

MozReview-Commit-ID: KxCbwtGxZnO
2017-11-03 18:24:47 +01:00
Sebastian Hengst
be1041c906 Backed out changeset f8eae610782a (bug 1414067) for Android build bustage at media/libstagefright/system/core/include/cutils/properties.h:61: use of undeclared identifier 'PROP_VALUE_MAX'. r=backout on a CLOSED TREE 2017-11-03 17:33:15 +01:00
Tom Ritter
3ad2a4dd91 Bug 1414067 Fix the compiler test for FORTIFY_SOURCE r=glandium
MozReview-Commit-ID: 8ozY0Zbuczx

--HG--
extra : rebase_source : d1e05783316126667a59e24e597951a9bbcd1b81
2017-11-02 16:25:30 -05:00
Dan Banner
b2e847755c Bug 1367704 - Enable the semi ESLint rule across the tree. r=standard8
MozReview-Commit-ID: GrlcOI9K2hJ

--HG--
extra : rebase_source : 6574cf3c67eb11733ffd9999c260f71c8551abc4
2017-05-28 19:57:46 +01:00
Nika Layzell
c223b9ff2d Bug 1414974 - Part 6: Change WebIDL bindings to refer to nsGlobalWindowInner rather than nsGlobalWindow, r=bz
MozReview-Commit-ID: KbCpDFoWyTe
2017-11-09 10:44:49 -05:00
Nika Layzell
3409141758 Bug 1414974 - Part 2: Switch many consumers to nsGlobalWindow{Inner,Outer}, r=smaug
This is a large patch which tries to switch many of the external consumers of
nsGlobalWindow to instead use the new Inner or Outer variants.

MozReview-Commit-ID: 99648Lm46T5
2017-11-09 10:44:47 -05:00
Jon Coppeard
181ca77755 Bug 1414310 - Destroy shell buffer stream state before calling JS_ShutDown r=sfink 2017-11-09 15:02:24 +00:00
Jon Coppeard
3bbc8e948e Bug 1414310 - Destroy shell off thread state before calling JS_ShutDown r=sfink 2017-11-09 15:01:59 +00:00
Jon Coppeard
717df83dda Bug 1414310 - Destroy mach exception handler thread on JS_ShutDown r=jandem 2017-11-09 15:01:10 +00:00
Jon Coppeard
bb64bb40fa Bug 1414310 - Assert that JS threading APIs are only used between JS_Initialize and JS_Shutdown r=luke 2017-11-09 15:00:47 +00:00
André Bargull
c5c994ac71 Bug 1330149 - Part 1: Set time zone from TZ environment variable as default ICU time zone if it's a valid time zone name. r=Waldo 2017-01-12 14:57:47 -08:00
André Bargull
237e7a37c6 Bug 1343513 - Add test case for bug 1343513. r=jandem 2017-11-02 06:53:22 -07:00
André Bargull
65385b9a57 Bug 1325052 - Add test case for bug 1325052. r=Waldo 2017-11-02 06:58:01 -07:00
Paul Bone
94b1757d35 Bug 1413063 - Avoid divide by zero. r=jonco
--HG--
extra : rebase_source : 7cad793e68f50d6be78b8360c34983ffd514a297
2017-11-01 13:19:20 +11:00
Ted Mielczarek
54b6236e29 bug 1384557 - move _DEPEND_CFLAGS+CL_INCLUDES_PREFIX to toolchain.configure, ignore {CC,CXX}_WRAPPER when using sccache r=glandium
Currently mozconfig.cache overrides a few build options for sccache. This
patch moves them into toolchain.configure so that the build system will
set them properly when sccache is in use. Additionally, {CC,CXX}_WRAPPER
are set in config.mk, so just avoid setting them when sccache is in use.

MozReview-Commit-ID: FYlVKRI8OiN

--HG--
extra : rebase_source : 00715beb5fbd2c11311dec43809bd1febab56a11
extra : intermediate-source : 0f2b1b75b83737378d882a3c3e0d8dfb4efecd1f
extra : source : a8032ae9cb2ad1c4574c6ac6f5c2778863cd71e0
2017-01-10 16:52:27 -05:00
Csoregi Natalia
b0832d7215 Backed out changeset fbf84e79c44c (bug 1376891) for bustage CycleCollectedJSRuntime.h:254 r=backout on a CLOSED TREE 2017-11-01 15:32:09 +02:00
Jan de Mooij
2e1447501d Bug 1412654 - Only allow cloning normal functions in CloneFunctionObject. r=evilpie 2017-11-01 13:49:07 +01:00
Chia-Hung Duan
778619638a Bug 1376891 - Support idle runnable for nursery collection. r=jonco, r=smaug 2017-10-30 18:07:42 +08:00
yuyin
c683f8136d Bug 1411170 - Asmjs cache memory need readable. r=luke 2017-10-30 19:34:00 -04:00
Jon Coppeard
45d7cc2fc4 Bug 1413218 - Make the malloc threashold grow a little slower r=sfink 2017-11-01 11:07:13 +00:00
Jan de Mooij
afc3b3af78 Bug 1394831 part 9 - Remove allowDictionary argument from addAccessorProperty. r=bhackett 2017-11-01 11:40:17 +01:00
Jan de Mooij
041d19551d Bug 1394831 part 8 - Remove flags argument from addAccessorProperty. r=bhackett 2017-11-01 11:39:52 +01:00
Jan de Mooij
27c6fe5777 Bug 1394831 part 7 - Remove flags and allowDictionary arguments from addDataProperty. r=bhackett 2017-11-01 11:39:22 +01:00
Jan de Mooij
fb0bda6692 Bug 1394831 part 6 - Remove flags argument from putAccessorProperty. r=bhackett 2017-11-01 11:38:58 +01:00
Csoregi Natalia
423b2522c4 Merge inbound to mozilla-central r=merge a=merge 2017-11-01 12:14:00 +02:00
Shunta Kikuchi
e7cd1b723c Bug 1245495 - Change error message about offset and data view length. r=arai 2017-10-31 14:42:15 +09:00
snowman-mh
c26ed4be76 Bug 1282431 - Clarify error message for redeclaration of class. r=arai 2017-10-31 13:35:11 +09:00
Sebastian Hengst
2181970726 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-11-01 00:39:58 +01:00
Sebastian Hengst
7a0f790c30 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 4CDH6A5NT2U
2017-11-01 00:36:12 +01:00
Tom Schuster
2864da25ae Bug 1411774 - Optimize Object.assign with unboxed objects. r=jandem 2017-10-31 18:34:05 +01:00
Dragan Mladjenovic
530a6626ff Bug 1413139 - [MIPS32] Fix MacroAssembler::pushValue(const Address&) for stack-based addresses. r=jandem 2017-10-31 09:38:47 -04:00
Jan de Mooij
e127a23016 Bug 1411954 - Move cloning of native functions into separate functions. r=jwalden
--HG--
extra : rebase_source : c5a12c534e679b498a67612d5eb970871f5630fd
2017-10-31 13:49:44 +01:00
Jan de Mooij
d6589160c8 Bug 1410683 - Adjust BaselineFrame frameSize when pushing extra value for JSOP_GETELEM_SUPER. r=evilpie
--HG--
extra : rebase_source : 6f52f356518cec2be1f0731019a649f7ebb45296
2017-10-31 12:52:27 +01:00
Margareta Eliza Balazs
a63fdbeabb Merge inbound to mozilla-central r=merge a=merge 2017-10-31 12:46:19 +02:00
Mike Conley
2e7824cc2e Bug 1412723 - Fix typo in JSMSG_SET_NON_OBJECT_RECEIVER error message. r=evilpie
MozReview-Commit-ID: DFKqTvp8AvK

--HG--
extra : rebase_source : 612544f04b562e18319ae9da19ffc94647ff01fc
2017-10-29 21:21:34 -04:00
Chris Peterson
1df202b177 Bug 1412048 - Replace NS_RUNTIMEABORT("...") with MOZ_CRASH("..."). r=froydnj
And remove unreachable code after MOZ_CRASH().

MozReview-Commit-ID: 6ShBtPRKYlF

--HG--
extra : rebase_source : 0fe45a59411bda663828336e2686707b550144ae
extra : source : 8473fd7333d2abe1ea1cc176510c292a5b34df45
2017-10-24 23:30:31 -07:00
Phil Ringnalda
4046844eac Backed out 3 changesets (bug 1298018) for assertion failures in jittests
Backed out changeset b6dafc346ef5 (bug 1298018)
Backed out changeset 679e75a67b8e (bug 1298018)
Backed out changeset 9c9299bd7441 (bug 1298018)

MozReview-Commit-ID: 2qJiowUW4Qj
2017-10-30 21:51:12 -07:00
Phil Ringnalda
84fe6b366f Backed out 2 changesets (bug 1298018) on suspicion of being the parts that cause assertion failures in jsapi-tests
CLOSED TREE

Backed out changeset f029195245c0 (bug 1298018)
Backed out changeset 668f1422c955 (bug 1298018)

MozReview-Commit-ID: JvokXPrAvdN
2017-10-30 21:29:46 -07:00
Paul Bone
a48b9d6d4b Bug 1298018 - Part 5: Remove allocateFirstChunk(). r=jonco 2017-10-30 17:46:23 +11:00
Paul Bone
f2c7ee541b Bug 1298018 - Part 4: Lazily allocate nursery chunks. r=jonco 2017-10-30 14:44:12 +11:00
Paul Bone
df8aa00bd7 Bug 1298018 - Part 3: Replace updateNumChunks(). r=jonco
This method both shrinks and grows the nursery.  This change replaces it
with specialised code to either shrink or grow the nursery.
2017-10-30 13:17:11 +11:00
David Major
08c8241356 Bug 1413079: Fix variable lifetime issue exposed by VS2017. r=arai CLOSED TREE
--HG--
extra : amend_source : 2caa0012e9d94f9a1d3ad2550cb17323dcfc81f0
2017-10-31 16:36:41 -04:00
Sebastian Hengst
b8149c0ac2 Backed out changeset 8cbf1345efd1 (bug 1411774) for failing spidermonkey non-unified at js/src/vm/UnboxedObject.h:263:33: inline function 'const js::UnboxedLayout& js::UnboxedPlainObject::layout() const' used but never defined. r=backout
--HG--
extra : amend_source : b45e8b05775d48ac85cde15af996c31c781ca533
2017-10-31 19:29:31 +01:00
André Bargull
9f190c9468 Bug 1346234 - Part 46: Remove global BUGNUMBER variable from shell.js. r=Waldo
--HG--
extra : rebase_source : 5f7533be1da8b2f1692fbcc8420183a937f5c4d1
2017-10-31 08:03:04 -07:00
André Bargull
cbf7711438 Bug 1346234 - Part 45: Remove jsTestDriverEnd from shell.js because it's only called in browser tests. r=sfink
--HG--
extra : rebase_source : 332ed4554ef38dec64b458ac7325d2ab0702822a
2017-10-31 08:03:04 -07:00
André Bargull
331e630de7 Bug 1346234 - Part 44: Skip browser-only tests when running in the shell. r=sfink
--HG--
extra : rebase_source : 4ac0e1112f71e1053a4c2dbc47b58e51be1aa9e2
2017-10-31 08:03:04 -07:00
André Bargull
5233f1d2a1 Bug 1346234 - Part 43: Remove test harness export for "optionsClear" functions. r=sfink
--HG--
extra : rebase_source : 788a4c2ed83e68641af411bcf741d88d41940d50
2017-10-31 08:03:04 -07:00
André Bargull
e2fcc6dca4 Bug 1346234 - Part 42: Clean-up and strengthen test harness code in browser.js. r=Waldo
--HG--
extra : rebase_source : ff97ce053a6aa24fec5933138ceab614fc97c9b2
2017-10-31 08:03:03 -07:00
André Bargull
3b4e7001c6 Bug 1346234 - Part 41: Move the remaining test harness code into the IIFE in browser.js. rs=Waldo
--HG--
extra : rebase_source : 9cc300749d8f9d51cdf4e5f8641ab664d72a5732
2017-10-31 08:03:03 -07:00
André Bargull
d8c86ff23d Bug 1346234 - Part 40: Make the set-up code logic more easy to understand. r=sfink
--HG--
extra : rebase_source : e058bc799e87eac51e461cd680db3fe713585fd4
2017-10-31 08:03:03 -07:00
André Bargull
0b41bc1caa Bug 1346234 - Part 39: Remove global VERSION variable. r=Waldo
--HG--
extra : rebase_source : 33c1aac289496474cfe0a76f3ab41032441c1071
2017-10-31 08:03:03 -07:00
André Bargull
2fc740a249 Bug 1346234 - Part 38: Remove global EXPECTED variable. r=sfink
--HG--
extra : rebase_source : 8e6403d14265a36d004b2eecfda12b3ea1d435c3
2017-10-31 08:03:02 -07:00
André Bargull
0610a49eef Bug 1346234 - Part 37: Remove global property SECTION from shell.js. r=Waldo
--HG--
extra : rebase_source : 8b1ab46c451693f973b3d7e8abf69f5d378dc7a2
2017-10-31 08:03:02 -07:00
André Bargull
1bb07ed7a4 Bug 1346234 - Part 36: Remove unused "name" property from testcase objects. rs=Waldo
--HG--
extra : rebase_source : 6986e3d2bc5e0b3125c0cf27662c83d35cc655c2
2017-10-31 08:03:02 -07:00
André Bargull
5e4bf5dfe9 Bug 1346234 - Part 35: Remove dead code in jsTestDriverBrowserInit. r=Waldo
--HG--
extra : rebase_source : 8f1b027bf37577a704f0947f7a3a63b883053aeb
2017-10-31 08:03:01 -07:00
André Bargull
0dc9600db4 Bug 1346234 - Part 34: More options processing cleanup for jstests. r=sfink
--HG--
extra : rebase_source : cfdc731cd08a0660bf06761d83b82a39414770f8
2017-10-31 08:03:01 -07:00
André Bargull
76ee674330 Bug 1346234 - Part 33: Remove optionsReset function from jstests harness. r=sfink
--HG--
extra : rebase_source : e2bfca10962a1253970288c48409b4090aac65e3
2017-10-31 08:03:00 -07:00
André Bargull
da1843234c Bug 1346234 - Part 32: Remove optionsPush and optionsPop from jstests harness. r=sfink
--HG--
extra : rebase_source : 18b3c6d11b20327be8ec166224032a112111e55f
2017-10-31 08:03:00 -07:00
André Bargull
0628bebf58 Bug 1346234 - Part 31: Move global property GLOBAL to sub-test directories. r=sfink
--HG--
extra : rebase_source : d143df7952afae6e5b790f881623835e28829322
2017-10-31 08:03:00 -07:00
André Bargull
fe1dbcad8f Bug 1346234 - Part 30: Remove calls to quit() function from jstests. r=Waldo
--HG--
extra : rebase_source : 226b667d4cb287d4a7b781eb61847f104dfebd8f
2017-10-31 08:03:00 -07:00
André Bargull
d517f511c3 Bug 1346234 - Part 29: Remove enterFunc/exitFunc from jstests harness. r=Waldo
--HG--
extra : rebase_source : b3f66d6224db6978161811862d13e1b9acd11896
2017-10-31 08:03:00 -07:00
André Bargull
609b8e59e6 Bug 1346234 - Part 28: Remove enterFunc/exitFunc calls from single test case with valid usage. r=Waldo
--HG--
extra : rebase_source : 93d1e52d7dce725df9127fa5b9be18e14acc10c1
2017-10-31 08:03:00 -07:00
André Bargull
1d47dcb51f Bug 1346234 - Part 27: Remove calls to enterFunc/exitFunc if test case has only a single test function. r=Waldo
--HG--
extra : rebase_source : 0734f979fd1b7a68c72844b8f819d949d2fea5d0
2017-10-31 08:03:00 -07:00
André Bargull
5ba21a0aa9 Bug 1346234 - Part 26: Replace no longer used startTest function from jstests harness. r=sfink
--HG--
extra : rebase_source : 5cec97c2ad3366dc07948740c9c32451a1a56096
2017-10-31 08:02:58 -07:00
André Bargull
d36edee553 Bug 1346234 - Part 25: Replace remaining startTest calls with printBugNumber. r=sfink
--HG--
extra : rebase_source : e93d282ffb2c38cb9017016dabdb9e2dae9766f2
2017-10-31 08:02:58 -07:00
André Bargull
fb4628939e Bug 1346234 - Part 24: Remove bogus BUGNUMBER and startTest/printBugNumber calls. r=sfink
--HG--
extra : rebase_source : 9ad5b710afd7f2bd70f0e6e2e1ec455091616266
2017-10-31 08:02:58 -07:00
André Bargull
976fa115f9 Bug 1346234 - Part 23: Remove unnecessary calls to startTest function from jstests. r=sfink
--HG--
extra : rebase_source : 85de10e1288e22d0ce8e7f0829036a0982b8ec12
2017-10-31 08:02:58 -07:00
André Bargull
9ceff1276b Bug 1346234 - Part 22: Remove unnecessary calls to options() function from tests. r=Waldo
--HG--
extra : rebase_source : 68b2300758d710eb6da5c5ff9d1d3dd8a2e528f1
2017-10-31 08:02:57 -07:00
André Bargull
ba96903627 Bug 1346234 - Part 21: Remove workaround for a previously failing lexical environment test. r=Waldo
--HG--
extra : rebase_source : b7329342a80fc93c6ff8de50956da0d33202126a
2017-10-31 08:02:57 -07:00
André Bargull
714d810b28 Bug 1346234 - Part 20: Remove Promise feature checks. r=Waldo
--HG--
extra : rebase_source : c3adde695c3126a49cc0a6fcb71d94373e9c49b1
2017-10-31 08:02:57 -07:00
André Bargull
955f35c2c3 Bug 1346234 - Part 19: Remove parentheses check from enterFunc and exitFunc. r=Waldo
--HG--
extra : rebase_source : dd002c919a6372a05693a34ad1c71e6019c861b1
2017-10-31 08:02:57 -07:00
André Bargull
7b6aa6cce9 Bug 1346234 - Part 18: Use template strings to concatenate error messages. r=sfink
--HG--
extra : rebase_source : 3275a41cbdbd5c6723cb3d5f5fbef4a9613b6377
2017-10-31 08:02:57 -07:00
André Bargull
d95f79b00a Bug 1346234 - Part 17: Stop exporting currentFunc from shell.js. r=sfink
--HG--
extra : rebase_source : 2a2f988286b8f906a94b89bc4c0e518efbc75520
2017-10-31 08:02:56 -07:00
André Bargull
f83e11e835 Bug 1346234 - Part 16: Remove the global STATUS variable from shell.js. r=sfink
--HG--
extra : rebase_source : 1c3c24b54bac440a67f8b15056dc4cd0d770e7b3
2017-10-31 08:02:56 -07:00
André Bargull
6e9edf3def Bug 1346234 - Part 15: Stop exporting toPrinted function from shell.js. r=Waldo
--HG--
extra : rebase_source : 25a630d3347a7f762816fd68e56da1f82bdda266
2017-10-31 08:02:56 -07:00
André Bargull
40959ced5c Bug 1346234 - Part 14: Remove non-whitespace characters from marked as fails whitespace tests. r=Waldo
--HG--
extra : rebase_source : 69b415ff7d289225ad00c70416a04e705655f4e8
2017-10-31 08:02:56 -07:00
André Bargull
91aa86db7e Bug 1346234 - Part 13: Remove call to testcase-dump method from browser.js. r=Waldo
--HG--
extra : rebase_source : a7a62a020a30c0aac5d7e75ec7ab6c3fabe16f50
2017-10-31 08:02:56 -07:00
André Bargull
38234f1988 Bug 1346234 - Part 12: Remove return value from reportCompare and reportMatch. r=Waldo
--HG--
extra : rebase_source : e557833057c198f287ee27f09050f82d35c2d4f5
2017-10-31 08:02:56 -07:00
André Bargull
f9954a11be Bug 1346234 - Part 11: Allow to set testcase reason property in TestCase constructor. r=sfink
--HG--
extra : rebase_source : 6ea4503892c718070085a6f820af5d62c2f29714
2017-10-31 08:02:56 -07:00
André Bargull
2d1115503e Bug 1346234 - Part 10: Negative tests don't need to set global EXPECTED variable. r=sfink
--HG--
extra : rebase_source : 23f9d2333dfb36c1533ea2768f4f0165f2ce9d17
2017-10-31 08:02:55 -07:00
André Bargull
3383496060 Bug 1346234 - Part 9: Remove getTestCaseResult() call in shell.js's test() function. r=sfink
--HG--
extra : rebase_source : 703fd531882b7ddbeee9b7c084ef452b769f7baf
2017-10-31 08:02:55 -07:00
André Bargull
000629ead9 Bug 1346234 - Part 8: Stop modifying test case results after construction. r=sfink
--HG--
extra : rebase_source : 9eecf269f19be0ee0d327fd6cb060dca04fdb750
2017-10-31 08:02:55 -07:00
André Bargull
f76ff4f104 Bug 1346234 - Part 7: Inline writeTestCaseResult into its only caller. r=sfink
--HG--
extra : rebase_source : 6282c592fa502def661882e78d10e218a5a14ef1
2017-10-31 08:02:55 -07:00
André Bargull
92a9713e8f Bug 1346234 - Part 6: Remove global exports for FAILED and PASSED variables in shell.js. r=Waldo
--HG--
extra : rebase_source : f24ae399e724e5c343a4d057a725cceb92a895e7
2017-10-31 08:02:55 -07:00
André Bargull
77b0513ee9 Bug 1346234 - Part 5: Remove duplicate test environment type variables from shell.js. r=Waldo
--HG--
extra : rebase_source : 74a491f680ec4c51694de626651bc12da98dcfae
2017-10-31 08:02:55 -07:00
André Bargull
111a8f35a3 Bug 1346234 - Part 4: Remove writeFormattedResult from browser.js because it's never called. r=Waldo
--HG--
extra : rebase_source : 0ff195e24245ceaef2877b69680e4e1968725080
2017-10-31 08:02:54 -07:00
André Bargull
817afd11bb Bug 1346234 - Part 3: Make the test cases array a local variable in shell.js. r=sfink
--HG--
extra : rebase_source : 2d21c4b0b7269cdde4d798a173cf89764cd54e68
2017-10-31 08:02:54 -07:00
André Bargull
37911738ea Bug 1346234 - Part 2: Remove direct access to gTestcases in test cases. r=sfink
--HG--
extra : rebase_source : e84b52eee697184077f91e42256dd1b599f24ef0
2017-10-31 08:02:54 -07:00
André Bargull
bd678c2648 Bug 1346234 - Part 1: Remove comments mentioning "gTestcases" so it's easier to grep for actual uses. r=sfink
--HG--
extra : rebase_source : a12b4e187b88f837a0f7b38d94fadf1b1a7f4ce7
2017-10-31 08:02:54 -07:00
Tom Schuster
283f8d1185 Bug 1411774 - Optimize Object.assign with unboxed objects. r=jandem 2017-10-31 18:34:05 +01:00
Jeff Walden
2cccd9a781 Bug 1319416 - Use better names (and multiple variables) to replace a single |TokenKind tt|. r=arai
--HG--
extra : rebase_source : 5159ee60947cde567ca98b81a5ff54a6371f981b
2017-10-30 01:01:21 -07:00
Jeff Walden
5a8c6c51c8 Bug 1319416 - Convert Parser::{cond,or}Expr1 to plain old Parser::{cond,or}Expr. r=arai
--HG--
extra : rebase_source : 57e5cbc300a1ee6e36d27169e90fc239954e11d7
2017-10-30 01:01:21 -07:00
Jeff Walden
0f07840ce6 Bug 1379686 - Make ForwardingProxyHandler::isConstructor query and return whether the target is a constructor, rather than pretending is-constructor is identical to is-callable. r=till
--HG--
extra : rebase_source : fa16ec4ee67d1674ae2cf84e7a39b88192aea3a0
2017-10-20 23:25:54 -07:00
Jan de Mooij
d812dc22e3 Bug 1394831 part 5 - Remove slot and flags arguments from putDataProperty. r=bhackett 2017-10-31 15:19:45 +01:00
Jan de Mooij
d12a053cff Bug 1394831 part 4 - Add an AutoCheckShapeConsistency RAII class. r=bhackett 2017-10-31 15:19:45 +01:00
Jan de Mooij
21ab587f1e Bug 1394831 part 3 - Add an early return, unindent some code. r=bhackett 2017-10-31 15:19:44 +01:00
Jan de Mooij
9685a103a1 Bug 1394831 part 2 - Split putProperty in separate accessor vs data property overloads. r=bhackett 2017-10-31 15:19:39 +01:00
Jan de Mooij
c9b4a39fb2 Bug 1394831 part 1 - Split addProperty(Internal) in separate accessor vs data property overloads. r=bhackett 2017-10-31 15:17:07 +01:00
Sebastian Hengst
2470a9a87b merge mozilla-central to autoland. r=merge a=merge 2017-11-01 00:38:25 +01:00
Paul Bone
5d89454107 Bug 1298018 - Part 2: Remove some unused methods. r=jonco 2017-10-16 21:29:07 +11:00
Paul Bone
a2d687ae35 Bug 1298018 - Part 1: Clarify emptyChunks_ comment. r=jonco 2017-10-18 09:17:04 +11:00
Sebastian Hengst
2c835e29c4 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-10-31 00:00:54 +01:00
Sebastian Hengst
f07fc93141 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 4PW6ESqLL73
2017-10-30 23:52:23 +01:00
Kris Maglione
316ad3a257 Bug 1404743: Add better diagnostic crash reasons for URLPreloader failure. r=mccr8 data-r=rweiss
The crash reports for this section of code suggest that in some cases, we're
ending up with a null Omnijar archive when trying to pre-load files. Since the
pre-load file list is determined in the previous session, and the startup
cache (where the pre-load list is stored) is cleared whenever the build ID
changes, it should never be possible for the given omnijar archive to be
missing here.

These crashes also tend to appear in conjunction with crashes due to failures
in the GetSharedGlobal function, and may have a similar cause.

This change adds better diagnostic information to these crashes, and should at
least tell us which omnijar archive we're failing to get, and the archive path
that caused us to load that archive. It may not tell us much, but it may point
to data corruption, or provide some other clues.

MozReview-Commit-ID: EKq3r4eG5ii

--HG--
extra : rebase_source : 745f99b8d5d7fbbf8511b62082d224899cdff947
2017-10-29 19:12:37 -07:00
Nathan Froyd
e68b9adbc8 Bug 1412935 - remove some autospider settings that moz.configure knows how to derive; r=sfink 2017-10-30 15:45:59 -04:00
Brian Hackett
f816048114 Bug 1412659 - Only mark object groups as needing pretenuring if the current thread can access their zone group, r=jonco.
--HG--
extra : rebase_source : 0ee4c3359cb472561dad7cc7245ad0377d2306e1
2017-10-30 06:55:52 -06:00
Chris H-C
75fc345254 bug 1406391 - Remove toolkit.telemetry.enabled manipulation from tests r=Dexter
Minor note:
reftests should've turned off uploadEnabled in the first place.
reftests should have unified telemetry on. It's the future.

MozReview-Commit-ID: 9spzuUAXwwP
2017-10-30 10:47:39 -04:00
Brad Werth
8fa077f585 Bug 1412868: Remove Gecko_GetLookAndFeelSystemColor from the static analysis whitelist. r=manishearth
MozReview-Commit-ID: 7gf3CZM3ypv

--HG--
extra : rebase_source : fb729b94b1c4c70ee6865053d6fb2a4491749d82
2017-10-30 08:47:01 -07:00
Sebastian Hengst
6979ea37b4 merge mozilla-central to autoland. r=merge a=merge 2017-10-30 23:58:16 +01:00
Kris Maglione
6e74abe6ee Bug 1403348: Add debugging assertions for more AsyncStartup failure modes. r=baku
Since we don't currently know where or how loading the service is failing, we
need logging in two places:

1) In ServiceWorkerRegistrar, which will tell us about any JS errors that
occur in the factory constructor.

2) In the XPConnect module loader, which will tell us about any JS errors
which happen while loading the top-level module script.

If the load fails due to a non-JS error, we'll simply get a nsresult failure
code, which well be less informative, but will still tell us something about
the failure mode.

MozReview-Commit-ID: 1CsDegJfiho

--HG--
extra : rebase_source : c998e0393d3cb8aca008da47dfce985d0c3affb6
2017-10-29 18:17:34 -07:00
Chris Manchester
1f6173e37c Bug 1405811 - Use AC_SUBST_LIST for various variables contributing to host compilation flags. r=mshal
MozReview-Commit-ID: 53JKycKlzY2

--HG--
extra : rebase_source : 34771971820d3d1178e0763860b6a41d02c45f86
2017-10-02 11:34:25 -07:00
André Bargull
04879cba6b Bug 1411957 - Part 2: Update tzdata in ICU data files to 2017c. r=Waldo
MozReview-Commit-ID: IHLvaaTEIPm
2017-10-26 23:10:51 +09:00