Tooru Fujisawa
413a9a7a1e
Bug 1289050 - Part 8.1: Use %lu and %lx instead of PRIu32 and PRIx32 in WasmBinary.cpp. r=jwalden
2016-09-30 12:34:49 +09:00
Tooru Fujisawa
2f83147cad
Bug 1289050 - Part 8: Use ASCII or UTF8 variant of JS_ReportErrorNumber in non-simple cases. r=jwalden
2016-08-15 23:05:04 +09:00
Tooru Fujisawa
7148db63d3
Bug 1289050 - Part 7: Use ASCII variant of JS_ReportErrorNumber when parameters are all static string. r=jwalden
2016-08-15 19:21:05 +09:00
Tooru Fujisawa
de1ccd1e93
Bug 1289050 - Part 6: Use ASCII variant of JS_ReportErrorNumber in simple case. r=jwalden
2016-08-14 20:39:29 +09:00
Tooru Fujisawa
0f0d30482d
Bug 1289050 - Part 4: Use Latin1 or UTF8 variants of JS_ReportError in js shell. r=sfink
2016-08-15 19:20:08 +09:00
Tooru Fujisawa
13d64d6825
Bug 1289050 - Part 3.1: Add mozJSComponentLoader::Location and use UTF8 variant of JS_ReportError in mozJSComponentLoader. r=jwalden
2016-09-30 12:34:44 +09:00
Tooru Fujisawa
215be0c5d2
Bug 1289050 - Part 3: Use UTF8 variant of JS_ReportError after re-encoding string. r=jwalden
2016-08-15 19:20:04 +09:00
Tooru Fujisawa
458bd95e06
Bug 1289050 - Part 2.2: Use ASCII variant of JS_ReportError when formatting JSClass::name, and assert it is ASCII. r=jwalden
2016-09-30 12:34:43 +09:00
Tooru Fujisawa
f2542c1849
Bug 1289050 - Part 2.1: Use JS_ReportErrorLatin1 in mozJSComponentLoader::LoadModule. r=jwalden
2016-09-30 12:34:43 +09:00
Emanuel Hoogeveen
0146779b73
Bug 1305360 - Part 2: Add an exception handler to annotate memory protection crashes in regions of interest. r=jandem, r=luke
2016-09-29 14:07:00 -04:00
Emanuel Hoogeveen
cc3c4940a7
Bug 1305360 - Part 1: Add a mechanism to allow users to opt out of protection for small buffers. r=jandem
2016-09-27 15:38:00 -04:00
Tooru Fujisawa
6d493d48ec
Bug 1289050 - Part 1: Use ASCII variant of JS_ReportError in simple case. r=jwalden
2016-08-14 20:39:28 +09:00
Tooru Fujisawa
84422843f6
Bug 1289050 - Part 0: Use ArgumentsAreLatin1 in implicit ASCII variants of JS_ReportErrorNumber, JS_ReportErrorNumberVA, and JS_ReportErrorFlagsAndNumber. r=jwalden
2016-09-29 12:03:01 +09:00
Tooru Fujisawa
ae65f9cff4
Bug 1302582 - Add JS_ReportError*ASCII variants. r=jwalden
2016-09-14 04:07:04 +09:00
Tooru Fujisawa
d0679f60cb
Bug 1295017 - Part 2: Add JS_ReportError*UTF8 variants. r=jwalden
2016-08-13 23:51:07 +09:00
Tooru Fujisawa
2806d3a994
Bug 1295017 - Part 1: Make lossy conversion available off main thread. r=jwalden
2016-08-13 23:50:30 +09:00
Nicolas B. Pierron
b0c2b695f5
Bug 1285237
- Consider ParseNodeAllocator::allocNode as fallible. r=jorendorff
2016-09-28 12:28:37 +00:00
Jan de Mooij
004a1377d5
Bug 1305570
- Handle OOM when calling inflate() with Z_NO_FLUSH. r=luke
...
--HG--
extra : rebase_source : 2c0bc7230c2390b23cb08b8cdd3468f2f596e4c1
2016-09-28 12:47:38 +02:00
Tooru Fujisawa
fd9e045dcb
Bug 1304970 - Check encoding of js.msg-like files. r=jandem,gps
2016-09-28 14:12:54 +09:00
Phil Ringnalda
556a8f6ea1
Backed out 3 changesets (bug 1301301) for crashing
...
Backed out changeset da70c5abd73a (bug 1301301)
Backed out changeset 6186eae0c2b7 (bug 1301301)
Backed out changeset 45fb9c1ce63a (bug 1301301)
2016-09-27 19:49:17 -07:00
Jeff Walden
792cfa85a2
Bug 1269722 - Add a missing #include for non-unified. r=bustage
...
--HG--
extra : rebase_source : 6eb14e043d0fedfb79bca6e2c8013e8216dd5ac9
2016-09-27 14:22:25 -07:00
Jeff Walden
1627aee084
Bug 1269722 - Remove the standalone Sprint function that almost no one error-checks in favor of a member function, and error-check every use of it. r=jandem
...
--HG--
extra : rebase_source : 21506b36159c77148510dae70bb584a526828196
2016-09-23 19:20:31 -07:00
Jeff Walden
e600ef69d7
Bug 1269722 - Make GenericPrinter::put(const char*) inline, delegating to the length-delimited put(), as its algorithm is now identical everywhere. r=jandem
...
--HG--
extra : rebase_source : 0e36601b8812c9862ddaf36d1259ce5e22808cc7
2016-09-23 02:25:06 -07:00
Jeff Walden
06e9d640a1
Bug 1269722 - Make GenericPrinter::put return < 0 *only* when an error is reported, and don't attempt to support partial puts. r=jandem
...
--HG--
extra : rebase_source : f1ff2667364150acadd05fb816e0faeef0aa0845
2016-09-23 02:25:01 -07:00
Andrew McCreight
9d11cb0868
Bug 1301301, part 3 - Implement Begin and EndCycleCollectionCallback in CCJSContext. r=smaug
...
This will let my later patch run code at the start and end of each CC.
This patch should not change any behavior.
MozReview-Commit-ID: Fu6v3wo8qKB
2016-09-26 10:19:07 -07:00
Ehsan Akhgari
0baf8d2b40
Bug 1300908 - Avoid using expanded principals as the loading principal of XHR; r=smaug
2016-09-27 14:11:28 -04:00
Jon Coppeard
f84225ca51
Bug 1305220 - Also cancel off thread Ion compilation on OOM r=jandem
2016-09-27 14:16:08 +01:00
Jon Coppeard
13501a2bea
Bug 1296661 - Use MOZ_MUST_USE in Reflect.parse implementation r=njn
2016-09-27 14:15:17 +01:00
Nicholas Hurley
f6db690c95
Bug 1303212 - Don't check for CLOCK_MONOTONIC on darwin r=glandium
...
MozReview-Commit-ID: 9Ppn5jzcjbP
2016-09-27 06:07:50 -07:00
Nicolas B. Pierron
0753e4f322
Bug 1296667 - Ensure enough ballast space when given large list of parameters. r=h4writer
2016-09-27 10:07:59 +00:00
Nicolas B. Pierron
653a0511a5
Bug 1299007 - Ensure enough ballast space in RangeAnalysis::prepareForUCE. r=sunfish
2016-09-27 10:07:59 +00:00
Nicolas B. Pierron
a0109e9d9f
Bug 1298354 - Do not add AssertRange instructions in unreachable blocks. r=sunfish
2016-09-27 09:59:09 +00:00
Benjamin Bouvier
36f06cc08f
Bug 1305197: Return value of WebAssembly_validate must be consistent with werror; r=luke
...
MozReview-Commit-ID: 3WqMltmc35l
--HG--
extra : rebase_source : e8518af45727140067e599c48371e180c65dab35
extra : amend_source : 0b513f243b5e8bd74bf3f82f3f837ef4c54f1d99
2016-09-26 11:04:04 +02:00
Benjamin Bouvier
419860c96f
Bug 1292723: Add wasm/validate.js tests; r=luke
...
MozReview-Commit-ID: K78QF3FKw1p
--HG--
extra : rebase_source : 836af3264df5880069c7d844b4bc506f2baf8ba5
extra : amend_source : 03e5538ae87450127dbc204f08e431781eed7fd1
2016-09-26 11:09:42 +02:00
Wes Kocher
534d31c7d0
Backed out 2 changesets (bug 1305360) for sm(nu) failures a=backout
...
Backed out changeset a70dda2a48b4 (bug 1305360)
Backed out changeset eab215763463 (bug 1305360)
2016-09-29 13:52:09 -07:00
h4writer
002d708ffb
Bug 1301400: Baseline Wasm Compiler: Part 20: Don't fully generalize when functions are not yet available on every platform, r=lth
2016-09-29 22:33:23 +02:00
Hannes Verschore
71a2c275d8
Bug 1301400: Baseline Wasm Compiler: Part 19: Enable the wasm compiler for x86 again, r=lth
2016-09-29 22:33:23 +02:00
h4writer
7104bddbcc
Bug 1301400: Baseline Wasm Compiler: Part 18: Implement LoadGlobalVarI64 and StoreGlobalVarI64, r=lth
2016-09-29 22:33:23 +02:00
h4writer
1868b7b280
Bug 1301400: Baseline Wasm Compiler: Part 17: Implement Cmp64Set, r=lth
2016-09-29 22:33:23 +02:00
Hannes Verschore
19568675cf
Bug 1301400: Baseline Wasm Compiler: Part 16: Implement ExtendI64 and WrapI64, r=lth
2016-09-29 22:33:23 +02:00
Hannes Verschore
46d5b6c849
Bug 1301400: Baseline Wasm Compiler: Part 15: Implement ReinterpretI64, r=lth
2016-09-29 22:33:23 +02:00
Hannes Verschore
c2ad02285c
Bug 1301400: Baseline Wasm Compiler: Part 14: Implement PopcntI64, r=lth
2016-09-29 22:33:23 +02:00
h4writer
2d6a8f5022
Bug 1301400: Baseline Wasm Compiler: Part 13: Implement ClzI64 and CtzI64, r=lth
2016-09-29 22:33:23 +02:00
Hannes Verschore
d733c7fa0d
Bug 1301400: Baseline Wasm Compiler: Part 12: Implement RotateI64, r=lth
2016-09-29 22:33:23 +02:00
Hannes Verschore
4b03aabf74
Bug 1301400: Baseline Wasm Compiler: Part 11: Implement ShiftI64, r=lth
2016-09-29 22:33:23 +02:00
Hannes Verschore
2b9de45cde
Bug 1301400: Baseline Wasm Compiler: Part 10: Implement BitopI64, r=lth
2016-09-29 22:33:23 +02:00
h4writer
01019a3055
Bug 1301400: Baseline Wasm Compiler: Part 9: Implement MultiplyI64, r=lth
2016-09-29 22:33:22 +02:00
Hannes Verschore
e53d0400bd
Bug 1301400: Baseline Wasm Compiler: Part 8: Implement SubtractI64, r=lth
2016-09-29 22:33:22 +02:00
h4writer
d7a4ad13fb
Bug 1301400: Baseline Wasm Compiler: Part 7: Implement PassArgI64, r=lth
2016-09-29 22:33:22 +02:00
h4writer
ea9d7347f9
Bug 1301400: Baseline Wasm Compiler: Part 6: Implement PopI64, r=lth
2016-09-29 22:33:22 +02:00
h4writer
bbd48f090f
Bug 1301400: Baseline Wasm Compiler: Part 5: Implement LoadI64 and StoreI64, r=lth
2016-09-29 22:33:22 +02:00
h4writer
3a77f1f482
Bug 1301400: Baseline Wasm Compiler: Part 4: Implement QuotientI64 and RemainderI64, r=lth
2016-09-29 22:33:22 +02:00
h4writer
2c6cdd35ac
Bug 1301400: Baseline Wasm Compiler: Part 3: Implement ConvertI64, r=lth
2016-09-29 22:33:22 +02:00
h4writer
9bff77359e
Bug 1301400: Baseline Wasm Compiler: Part 2: Implement WasmTruncateI64, r=lth
2016-09-29 22:33:22 +02:00
h4writer
e5b217920b
Bug 1301400: Baseline Wasm Compiler: Part 1: Basic changes to support int64 ops in x86, r=lth
2016-09-29 22:33:22 +02:00
Emanuel Hoogeveen
49e5684da1
Bug 1305360 - Part 2: Add an exception handler to annotate memory protection crashes in regions of interest. r=jandem r=luke
2016-09-28 21:09:00 +02:00
Emanuel Hoogeveen
966212c4e6
Bug 1305360 - Part 1: Add a mechanism to allow users to opt out of protection for small buffers. r=jandem
2016-09-27 15:38:00 +02:00
Jessica Jong
c35a0bf546
Bug 1278186 - Implement valueAsNumber and valueAsDate for <input type=week>. r=smaug,Waldo
2016-09-29 01:08:00 +02:00
Jan de Mooij
9ff039635f
Bug 1304528 - Remove an overzealous compartment assert. r=jonco
...
--HG--
extra : rebase_source : 04dd083f827ce59dcb9b25ba5dd55dc37b6f503f
2016-09-29 15:26:07 +02:00
Jon Coppeard
7024349851
Bug 1269755 - Don't report OOM in ConcatStrings<NoGC> r=jandem
2016-09-29 10:18:50 +01:00
Jon Coppeard
591ec11f61
Bug 1305236 - Don't call ExposeObjectToActiveJS on null pointer r=smaug
2016-09-29 10:18:50 +01:00
Thomas Wisniewski
ba6cb5196e
Bug 1305202 - Use NullString() more and remove superfluous Truncates(). r=smaug
2016-09-23 21:10:01 -04:00
Tooru Fujisawa
6e42b2314d
Bug 1300380 - Fix autospider on osx. r=terrence
2016-09-27 10:42:13 +09:00
Tooru Fujisawa
5f508aae61
Bug 1300380 - Move deep clone test into separated file and mark it slow in cgc. r=terrence
2016-09-27 10:42:13 +09:00
Tooru Fujisawa
44428e1257
Bug 1300380 - Suppress warning for unused private on osx arm build. r=bbouvier
2016-09-27 10:42:13 +09:00
Tooru Fujisawa
e961cd6c92
Bug 1300380 - Add f64_cmp.wast.js and float_exprs.wast.js wasm jit-tests to cgc-jittest-timeouts.txt. r=bbouvier
2016-09-27 10:42:12 +09:00
Benjamin Bouvier
31ba17fbcb
Bug 1305097: Enhance error reporting from the ToAST transformation; r=luke
2016-09-26 10:33:06 +02:00
Benjamin Bouvier
8bd74b039e
Bug 1300380: Build the ARM simulator under macosx with sse2 too; r=jandem
...
And workaround a small oversight of clang in Simulator::canonicalizeNaN(float),
which does a float->double->float conversion messing up with the signal/quiet
bit of NaN values.
MozReview-Commit-ID: 9izzAfPpP3b
--HG--
extra : rebase_source : 646603c182eee90ffa925f08cdfc4d879ab80e71
extra : amend_source : 60ee8d3e5c7053f14193dc60de87530e512e04cd
extra : histedit_source : 3977dce49fdc590c6552a086bac598e8ee1e4c37
2016-09-22 18:21:36 +02:00
Benjamin Bouvier
68d9d89340
Bug 1300380: Fix undefined behavior under WasmTruncate functions; r=h4writer
...
MozReview-Commit-ID: I3lbWLKHO4g
--HG--
extra : rebase_source : 870752aae0022baaf9a9b31ee5e196b022fa4518
extra : histedit_source : 9353b1f4828cfd73a1102c190e090d6726aa3506
2016-09-22 18:19:28 +02:00
Terrence Cole
76b800594e
Backed out changeset d85334f696eb (bug 1285057) for implicitly depending on clang 3.8.
...
--HG--
extra : rebase_source : 472f9411c9d528d63d523c99f4842a1216bdd560
2016-09-23 15:59:55 -07:00
Luke Wagner
6981487fab
Bug 1303079 - Baldr: add WebAssembly.(Compile|Runtime)Error (r=bbouvier)
...
MozReview-Commit-ID: 7DweEFy2IUW
2016-09-23 09:13:16 -05:00
Dan Gohman
81c8022109
Bug 1287220 - Baldr: update to binary version 0xc (r=luke)
...
MozReview-Commit-ID: EZmgEwtd4Yt
* * *
[mq]: fix-close-loop
MozReview-Commit-ID: IGx436dWetv
* * *
[mq]: ensure-webassembly-in-eval
MozReview-Commit-ID: J6eGrJPHN4A
* * *
[mq]: fix-unreachable
MozReview-Commit-ID: IBVUVuRRm4t
* * *
[mq]: update-names-section
MozReview-Commit-ID: 8LcjQh5lpcx
* * *
[mq]: skip-unknown
MozReview-Commit-ID: Ekj9t3ydS9a
2016-09-23 09:13:15 -05:00
Andrew McCreight
5b9c57b7a2
Bug 1301301, part 1 - Unify NoteJSObject and NoteJSScript into NoteJSChild. r=smaug
...
This will let my next patch pass in other GC things.
This should not change behavior in any important way.
MozReview-Commit-ID: FykviKKvQzI
2016-09-23 15:42:13 -07:00
Brian Hackett
47c77f7e97
Bug 1247926 - Fix analysis of preliminary array object groups when creating JSON or literal objects, r=jandem.
...
--HG--
extra : rebase_source : 209e72b121f07e22ea3163bab7c41e4d66dbbb46
2016-09-23 12:48:50 -06:00
Wes Kocher
5f32db3045
Backed out changeset 958074f3b830 (bug 1287220) for frequent jit failures a=backout CLOSED TREE
2016-09-23 15:01:13 -07:00
Wes Kocher
a1e486e2b1
Backed out changeset 62999f48c433 (bug 1303079) for frequent jit failures a=backout CLOSED TREE
2016-09-23 15:01:00 -07:00
Tooru Fujisawa
f439e68cda
Bug 1304737 - Do not ignore trailing .* on matchOnly RegExp execution. r=h4writer
2016-09-24 05:10:55 +09:00
Terrence Cole
25a54842c3
Backed out changeset ac1ae4224375 (Bug 1298773) for JP failures on a CLOSED TREE.
2016-09-23 10:58:56 -07:00
Luke Wagner
b3ebdc2a60
Bug 1303079 - Baldr: add WebAssembly.(Compile|Runtime)Error (r=bbouvier)
...
MozReview-Commit-ID: 7DweEFy2IUW
2016-09-23 09:13:16 -05:00
Dan Gohman
28d57ea0f3
Bug 1287220 - Baldr: update to binary version 0xc (r=luke)
...
MozReview-Commit-ID: EZmgEwtd4Yt
* * *
[mq]: fix-close-loop
MozReview-Commit-ID: IGx436dWetv
* * *
[mq]: ensure-webassembly-in-eval
MozReview-Commit-ID: J6eGrJPHN4A
* * *
[mq]: fix-unreachable
MozReview-Commit-ID: IBVUVuRRm4t
* * *
[mq]: update-names-section
MozReview-Commit-ID: 8LcjQh5lpcx
* * *
[mq]: skip-unknown
MozReview-Commit-ID: Ekj9t3ydS9a
2016-09-23 09:13:15 -05:00
Terrence Cole
6709366d62
Bug 1298773 - Expose wrappees that may be used through a wrapper; r=jonco
2016-09-14 14:17:46 -07:00
Terrence Cole
c55565e569
Bug 1291001 - Split wrap and rewrap to simplify semantics around |existing|; r=jonco
...
--HG--
extra : rebase_source : f85c2d0788536c5675fd5945c745879d3f3525e0
2016-08-02 11:03:04 -07:00
Vinayak Agarwal
31d21069da
Bug 1304097 - Used consumeKnownToken instead of getToken. r=arai
...
--HG--
extra : rebase_source : 41349bbc3e759a373f68e041633d150c8dd38df7
2016-09-21 23:31:19 +05:30
Hannes Verschore
c3bda17cff
Bug 1300546: IonMonkey: Make sure the registers of lhs and rhs don't overlap during ALU, r=bbouvier
2016-09-20 14:48:52 +02:00
h4writer
649deda41d
Bug 1302417: TraceLogging - Don't run the debug check when the item is an error, r=bbouvier
2016-09-20 14:48:50 +02:00
Jon Coppeard
9083c57cbe
Bug 1303015 - Update assertions now CCWs can be allocated in the nursery r=terrence
2016-09-23 13:17:42 +01:00
Jon Coppeard
c2222d8e7c
Bug 1304653 - Improve heap checking zeal mode r=sfink
2016-09-23 13:17:41 +01:00
Jon Coppeard
ccb9a8b6b9
Bug 1304543 - Minimising nusery size conflicts with nursery zeal mode r=terrence
2016-09-23 13:17:41 +01:00
Jan de Mooij
58f17b710c
Bug 1304390 - Compress/decompress script sources in chunks. r=luke
2016-09-23 12:55:14 +02:00
Jan de Mooij
ff16d58af3
Backed out changeset aad183efb09a (bug 1303754) for regressions.
2016-09-23 09:50:47 +02:00
Terrence Cole
02f5e80db6
Bug 1245316 - Use Rooted<GCVector> to implement AutoVector; r=sfink
...
--HG--
extra : rebase_source : 24a7c4e21ea94820d94a4e8454044e4f1988365e
2016-09-22 17:01:38 -07:00
Luke Wagner
aa1716839f
Bug 1301797 - add Uint8ClampedArray test (r=me)
...
MozReview-Commit-ID: HvLsqsSRScl
2016-09-22 18:47:07 -05:00
Jeff Walden
59eaca811c
Bug 1302994 - Precautionarily peek at the next token after the AssignmentExpression in a for-loop head's declaration, when searching for a for(;;)'s first semicolon, in case the init-component ends in a lazy inner function that, when skipped during full-parsing, clears lookahead. r=arai
...
--HG--
extra : rebase_source : e068b91e1529b53f89124679b057b18e27a1433c
2016-09-22 16:05:20 -07:00
Jeff Walden
4ba700f16d
Bug 1302276 - Don't abuse mozilla::Forward in move-constructor definitions to move members/base classes into the new object, and correctly use perfect forwarding in Zone::cellIter. r=terrence
...
--HG--
extra : rebase_source : e57f8cbb51e5e7fccd928b38bd36bd8d09abb4de
2016-09-12 16:35:27 -07:00
Jim Blandy
55de856625
Bug 1304523 - Make Debugger.prototype.findScripts validate query 'source' property. r=fitzgen
2016-09-21 14:47:05 -07:00
Jeff Walden
6584067c0f
Bug 1299519. r=shu
...
--HG--
extra : rebase_source : 0e1a0c284a397cb4acb0a8c5604b2bf041270677
2016-08-31 16:33:47 -07:00
Shu-yu Guo
ce5eebf5d8
Bug 1303118 - Fix 'this' computation for Debugger.Frame.evalWithBindings. (r=efaust)
2016-09-22 12:42:37 -07:00
Ehsan Akhgari
f993ff03ab
Bug 1297687 - Part 4: Specify an OriginAttribute for the XBL content's expanded principal; r=bholley
2016-09-22 13:27:58 -04:00
Ehsan Akhgari
e45aad00ec
Bug 1297687 - Part 3: Ensure that the expanded principal of a sandbox has a sensible OriginAttributes; r=bholley
...
This patch allows specifying an OriginAttributes when creating a sandbox
using Components.utils.Sandbox() by specifying an originAttributes
member on the options dictionary.
If an OA is specified in this way, it is used for creating codebase
principals from the string arguments passed to the function. Otherwise,
if one or more principals are passed in the array argument to Sandbox(),
the OA of the principal(s) is used to construct codebase principals from
the strings inside the array. In this case, we check to make sure that
all of the passed principals have the same OA, otherwise we'll throw an
exception.
In case no explicit OA is specified and no principals are passed in the
array argument, we create the codebase principals using a default OA.
2016-09-22 13:27:51 -04:00
Benjamin Bouvier
48aef09e25
Bug 1248555: Block a few slow tests under CGC; r=jonco
...
MozReview-Commit-ID: AVt5J92bqcw
--HG--
extra : rebase_source : f6f48971eeced9abc2b0ed8972830b08c88a7e35
2016-09-22 18:53:58 +02:00