Commit Graph

61430 Commits

Author SHA1 Message Date
Thom Chiovoloni
a7d756b8ff Bug 1343005 - Optimize Quote in json.cpp. r=jorendorff
Implements the following optimizations:

- Resize the destination buffer to the maximum size possible, write to it
  directly, and then shrink it back to the actual size written.
- Avoid iterating over non-special-character runs multiple times.
- Use a lookup table to determine both if we should escape the character
  what the character after the escape sequence should be if so.
- Converts the destination buffer to the correct character type in advance of
  stringifying, instead of checking every character in the inner loop.

MozReview-Commit-ID: 7iWRqm3EopX

--HG--
extra : rebase_source : 1b18faee586718ec54b922222a28a31e3899d771
2017-08-23 20:16:20 -04:00
Gabriele Svelto
7387dc791b Bug 1393435 - Remove unnecessary inclusions of the crash reporter header files; r=mconley
MozReview-Commit-ID: 3tdFDrTYql8

--HG--
extra : rebase_source : cc862688f19afb8a5cf8c7cf915a5d3d45f041b5
2017-08-07 14:10:02 +02:00
Gregory Szorc
2a5e786286 Backed out changesets b749fc196a50, 2791eac8d760 (bug 1355721) for build bustage
CLOSED TREE

--HG--
extra : amend_source : 7618f27e1cf71347f12384935374d303d5c1ab23
extra : histedit_source : 1143d226673ace563bb5d9ff3c420ded33439791%2C9746a30097304bd2214a0072773dc00c767d31cd
2017-08-24 20:30:17 -07:00
Nazım Can Altınova
00f1cc4565 Bug 1355721 - stylo: Implement font feature values lookup r=emilio,xidorn
MozReview-Commit-ID: 7wgQ1NCn7vL

--HG--
extra : rebase_source : c104c2b09ebfbf5cdb98bc5638473cac1bfc40c9
2017-08-23 18:05:53 -07:00
Ryan VanderMeulen
3d0158833d Merge autoland to m-c. a=merge 2017-08-24 20:20:08 -04:00
"dragan.mladjenovic"
3ed2a32282 Bug 1391248 - Add asynchronous wasm interrupt/trap support to mips32 simulator. r=bbouvier 2017-08-24 10:48:00 -04:00
"dragan.mladjenovic"
58189919c8 Bug 1391248 - Crash mips32 simulator on instructions whose result is undefined under FR=0 mode. r=bbouvier 2017-08-24 10:48:00 -04:00
"dragan.mladjenovic"
9e2b82a2da Bug 1391248 - Add mov*.s instruction support and missing redirection signatures to mips32 simulator. r=bbouvier 2017-08-24 10:47:00 -04:00
"dragan.mladjenovic"
1a372bbec1 Bug 1391248 - Add ll,sc,sync instruction support to mips32 simulator. r=lth 2017-08-24 10:47:00 -04:00
"dragan.mladjenovic"
2d55550d11 Bug 1391248 - Use AutoEnterOOMUnsafeRegion in mips32 simulator. r=bbouvier 2017-08-24 10:46:00 -04:00
Francois Marier
719c2b26b8 Bug 1388938 - Disable channel annotation and flashblock in tests harnesses.r=hchang
Since these tests harnesses are already disabling Safe Browsing and tracking
protection, they should also disable the other two features that cause
lists to be downloaded from the Mozilla shavar server.

MozReview-Commit-ID: 2158qRU4XZx

--HG--
extra : rebase_source : 287bfb7580538cca7f58ab035b7141166346c318
2017-08-23 15:47:37 -07:00
André Bargull
93a579fe80 Bug 1393053 - Directly get built-in %PromisePrototype% instead of going through GetPrototypeFromConstructor. r=till 2017-08-23 16:54:05 +02:00
André Bargull
1994bec3b0 Bug 1368313 - Use error reporter to report missing module exports. r=jonco 2017-08-23 22:06:10 +02:00
Miran.Karic
1fa73ac17c Bug 1392606 - Fix MIPS64 simulator build compilation failures. r=bbouvier 2017-08-24 04:25:00 -04:00
André Bargull
c2c9b64535 Bug 1391773 - Update [[DefineOwnProperty]] for module namespace objects per ES2018 draft. r=jonco 2017-08-23 18:56:10 +02:00
Wes Kocher
bd5fb0a92d Merge m-c to autoland, a=merge
MozReview-Commit-ID: AHOFLdPkEou
2017-08-23 18:08:30 -07:00
Wes Kocher
fb8abb94c7 Merge inbound to central, a=merge
MozReview-Commit-ID: 1mWKzfX4kl
2017-08-23 18:07:24 -07:00
Wes Kocher
8949506a9c Backed out changeset 39271d578fa4 (bug 1386534) for leaks a=backout CLOSED TREE
MozReview-Commit-ID: HqnOFZFhoiD
2017-08-23 16:38:35 -07:00
Wes Kocher
2100370b14 Backed out changeset d080b90698bc (bug 1392088) for leaks a=backout CLOSED TREE
MozReview-Commit-ID: F1D3uNlVEZS
2017-08-23 16:38:28 -07:00
Sebastian Hengst
a334b9d2a8 Backed out changeset a2de35382cff and 104866e1c85f (bug 1342050) for leaks in browser-chrome's browser_bug724239.js on Windows 8 x64. r=backout on a CLOSED TREE 2017-08-24 00:13:45 +02:00
Nicholas Nethercote
f582d96b98 Bug 1390428 (part 9) - Remove nsXPIDLCString. r=erahm.
This is straightforward, with only two notable things.

- `#include "nsXPIDLString.h" is replaced with `#include "nsString.h"`
  throughout, because all nsXPIDLString.h did was include nsString.h. The
  exception is for files which already include nsString.h, in which case the
  patch just removes the nsXPIDLString.h inclusion.

- The patch removes the |xpidl_string| gtest, but improves the |voided| test to
  cover some of its ground, e.g. testing Adopt(nullptr).

--HG--
extra : rebase_source : 452cc4a08046a1adb1a8099a7e85a1917de5add8
2017-08-17 15:29:03 +10:00
Jon Coppeard
abe09f4457 Bug 1362098 - Add source position to requested module information r=till 2017-08-23 17:24:37 +01:00
Jon Coppeard
5524b80cd0 Bug 1362098 - Report source position information for module export resolution failures r=till 2017-08-23 17:24:37 +01:00
Till Schneidereit
0c207bdb9b Bug 1342050 - Follow-up to fix a rooting hazard on a CLOSED TREE. r=me
MozReview-Commit-ID: 6WnukTLJ68b
2017-08-23 18:22:44 +02:00
Sebastian Hengst
142b3bf28b Backed out changeset 109e89a7d561 (bug 1391420) for busting Linux pgo builds. r=backout on a CLOSED TREE
--HG--
extra : amend_source : 6a4421254e4de31071785b73abdd1186638e31f2
2017-08-23 18:12:46 +02:00
Luke Wagner
1eaf787beb Bug 1351488 - Baldr: use lifetime/ownership to manage unblocking Module dependents (r=lth)
MozReview-Commit-ID: BzmKl7dClfH

--HG--
extra : rebase_source : 6bbbbbacbfd583a36c71eaec459619cee1aadf07
2017-08-23 10:15:56 -05:00
Luke Wagner
b818a4789b Bug 1351488 - Baldr: factor commonality into finishCodeSegment and make jumpTable more typey (r=lth)
MozReview-Commit-ID: 81V8Lmx4MuY

--HG--
extra : rebase_source : 036f2f7e5ee1f2605f2a9ac600b10a205e433a69
2017-08-23 10:12:26 -05:00
Luke Wagner
58ba67516d Bug 1351488 - Baldr: atomically ref-count ShareableBase (r=lth)
MozReview-Commit-ID: J8Ak5GxGmtd

--HG--
extra : rebase_source : 569a6ffc7d4ac58ed1b025a0399fbcf12711eea4
2017-08-23 10:11:37 -05:00
David Major
8cb2cb650a Bug 1391420: Set NO_PGO on a bunch of binaries that we don't ship. r=ted 2017-08-23 11:10:39 -04:00
Till Schneidereit
034cda3110 Bug 1392088 - Shrink PromiseReactionRecord from 12 to 8 slots. r=arai
ReactionRecordSlot_Generator can be aliased with ReactionRecordSlot_Resolve because they're mutually exclusive. This gets us from 9 to 8 slots, which really means 12 to 8.

MozReview-Commit-ID: 2mRuqfkDUqJ
2017-08-23 16:49:11 +02:00
Till Schneidereit
8134984559 Bug 1342050 - Shrink Promise instances from 8 to 4 slots by moving debug information to an external object. r=arai
The debug info object is only allocated if, when the Promise is created, either async stacks are enabled or the Promise is created in a debuggee compartment.

MozReview-Commit-ID: 2Ct6QkSeNmA
2017-08-23 16:49:08 +02:00
Till Schneidereit
0c53eb4920 Bug 1386534 - Use a C++ version of SpeciesConstructor when calling from C++. r=anba,rs=jonco
MozReview-Commit-ID: qyU0pqt0tV
2017-08-23 16:47:38 +02:00
Sebastian Hengst
99e5cb9c14 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: GSKVB94r7Kk
2017-08-23 16:29:51 +02:00
Francois Marier
95ce2d4568 Bug 1385484 - Ensure that login reputation checks are disabled in tests. r=hchang
The login reputation checks depend on a server lookup and therefore would
render non-deterministic the performance and correctness of tests.

MozReview-Commit-ID: Bil0rSZsGPT

--HG--
extra : rebase_source : ae06a028c71eee323307ecd4e62bbf1e8a14fe13
2017-08-22 17:56:20 -07:00
Wes Kocher
6dd42e2664 Merge inbound to central, a=merge
MozReview-Commit-ID: BMWuqvmTljV
2017-08-22 17:07:23 -07:00
Rok Garbas
f3a3affcf2 Bug 1284475 - migrate ToolTool blueprint to new codebase of relengapi r=KWierso
UPGRADE_NSS_RELEASE a=kaie
MozReview-Commit-ID: 7CB1VYb8OJP

--HG--
extra : rebase_source : 04751620add813cd1780898d109d9f7fa89d7b2d
2017-08-08 10:55:52 +02:00
Andrew McCreight
7920369d26 Bug 1388191 - Add way to test evaluation with envChain in the shell. r=jorendorff
This is used by Gecko, but it isn't directly testable in the shell.

The new test has to be disabled for jstestbrowser because the special
option is shell-only.

MozReview-Commit-ID: 6gckRSkD4fQ

--HG--
extra : rebase_source : beb064d0103c30a737bd4192ac1d3db219dcba24
2017-08-07 16:35:43 -07:00
Jon Coppeard
7cc7fc4342 Bug 1390476 - Lock helper thread state while changing simulated OOM thread r=lth 2017-08-23 09:37:30 +01:00
Jan de Mooij
f323a7599e Bug 1392530 part 3 - Make MDefinition::valueHash() overloads more consistent. r=nbp 2017-08-23 07:50:25 +02:00
Andrew McCreight
e9b051a4af Bug 1366896, part 2 - Add and use Cc.Initialize method. r=krizsa
MozReview-Commit-ID: Amqt9JsTMqG

--HG--
extra : rebase_source : dff173ed60a254fa449b2e85d71eee6cc7daba26
2017-05-24 14:12:11 -07:00
Andrew McCreight
0f344f2aed Bug 1366896, part 1 - Factor out initialize code and make initialize work with CIDs. r=krizsa
MozReview-Commit-ID: 3spZGOqlU1j

--HG--
extra : rebase_source : e346183b972ece2f4986091f36c3ecee13674832
2017-05-24 10:49:31 -07:00
Sebastian Hengst
75955d0246 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 8fJX1xXgzhD
2017-08-22 11:49:04 +02:00
Nicholas Nethercote
8a72cf2251 Bug 1390428 (part 2, attempt 2) - Remove more nsXPIDLCString local variables. r=erahm.
--HG--
extra : rebase_source : 69d58b0cfb56efc6b03d8e2d7be2ce3c3e6cd843
2017-08-21 20:01:27 +10:00
Nicolas B. Pierron
4b78ac9495 Bug 1392225 - StartIncrementalEncoder should not report encoding failures. r=luke 2017-08-21 16:17:06 +00:00
Dragan Mladjenovic
afb680c049 Bug 1391185 - Add missing implementation for MacroAssembler::moveValue to mips32. r=bbouvier
--HG--
extra : amend_source : da9eb5b37df413224e2d5f8a0bdc1545b23c64a3
2017-08-17 01:54:00 -04:00
Lars T Hansen
ea0d7d9f2f Bug 1391636 - make some locals DEBUG-only. r=me
--HG--
extra : rebase_source : bf9e315cbe2f754cc8fb36f924240df21d52d8d0
2017-08-21 08:49:43 +02:00
Lars T Hansen
b75276cbf8 Bug 1391636 - gate the availability of wasm threads on 8-byte lock-free atomics. r=bbouvier
--HG--
extra : rebase_source : d6e1d24639de4c4ab81e0836627dcc09fafced10
extra : histedit_source : f0d096b852f253c0411cbe06424b286bd33cc758
2017-08-18 17:21:45 +02:00
Lars T Hansen
cf476dffd1 Bug 1389461 - WebAssembly sign extension opcodes. r=bbouvier
--HG--
extra : rebase_source : debf10b32f5331350aa0594c0043022fa36fe2be
2017-08-11 16:24:51 +02:00
Lars T Hansen
e39f147463 Bug 1389471 - Build config + testing predicate for wasm thread functionality, v2. r=bbouvier
--HG--
extra : rebase_source : 7b02387a9253499767d449327192ab98d0995171
2017-08-11 14:47:15 +02:00
Phil Ringnalda
9359f5bf39 Merge inbound to m-c, a=merge
MozReview-Commit-ID: LCCoXUsCtmv
2017-08-19 15:29:10 -07:00