Commit Graph

60830 Commits

Author SHA1 Message Date
Jon Coppeard
3baf423f3a Bug 1370905 - Check for failure creating DebuggerArguments r=jimb 2017-07-10 11:45:38 +01:00
Jan de Mooij
d6787fa74b Bug 1371283 - Set the hasFreezeConstraints flag only if adding constraints succeeded. r=nbp 2017-07-10 12:21:04 +02:00
Jan de Mooij
eda21c506e Bug 1115355 - Optimize RegExpObject allocation in Ion. r=evilpie 2017-07-09 11:46:57 +02:00
Andrew McCreight
19c035f60e Bug 1379023, part 4 - Remove mSystemPrincipal fields from mozJSSubScriptLoader and mozJSComponentLoader. r=mrbkap
The lone remaining use is trivial.

MozReview-Commit-ID: Gx0K69ArMJ2

--HG--
extra : rebase_source : ff48484246aeed32f7fa7c03573ba994b097967e
2017-07-07 11:29:48 -07:00
Andrew McCreight
93029d4038 Bug 1379023, part 3 - Make WriteCachedScript assert about the system principal not require the argument. r=mrbkap
MozReview-Commit-ID: FRgjZ32ULqj

--HG--
extra : rebase_source : be20c846efd3a5d5ba52ca1f614a0b40775d5e01
2017-07-07 11:27:53 -07:00
Andrew McCreight
ef5af5fdf2 Bug 1379023, part 2 - Remove unused systemPrincipal argument to ReadCachedScript. r=mrbkap
MozReview-Commit-ID: D59LfiHXbXJ

--HG--
extra : rebase_source : 1f09e37f2c6ba7b2b0fa15fcacb932e3f9f8f7ab
2017-07-07 11:14:04 -07:00
Andrew McCreight
6ff67aafc2 Bug 1379023, part 1 - Directly compute if we're compiling in a content compartment in DoLoadSubScriptWithOptions. r=mrbkap
The existing code uses various intermediate objects, but the only
thing they are used for now is to figure out if the compartment we're
in has the system principal or not, so just compute that directly.

MozReview-Commit-ID: FMoWfAX8rGW

--HG--
extra : rebase_source : 385ab0e10a0c719155c48e3822e7844434f417f8
2017-07-06 16:30:44 -07:00
Wes Kocher
fd4857585c Merge autoland to central, a=merge
MozReview-Commit-ID: Lf7ROINgvql
2017-07-07 17:22:00 -07:00
Doug Thayer
366ebfc80f Bug 1361500 - Don't call _tzset on startup r=arthuredelstein,Ehsan
The reason we call _tzset inside DateTime.cpp is to allow the
privacy.resistFingerprinting pref to mask our timezone by setting
the TZ environment variable. Without _tzset, the changes to the
environment variable won't actually change anything. However, if
a process is started with the TZ environment variable set to
something (like "UTC"), then those changes will be active in
that process. Since we're only masking timezone to JS running in
the content process, and since those content processes will be
started by the parent process which has already set its TZ to UTC,
and will copy that variable to its children, we only need to call
_tzset() when the pref changes, and only in the content process,
provided we are on e10s.

MozReview-Commit-ID: CPU99BGDUPj

--HG--
extra : rebase_source : 4cdf6b5e2aebeff34decd11efa62783f2364dd3a
2017-06-23 12:56:03 -04:00
Jon Coppeard
eb904f98f1 Bug 1377738 - Disable assertion that chunk pools are empty on destruction for XPCShell failures on Windows 2012 r=me 2017-07-07 18:41:37 +01:00
Jan de Mooij
0eefb14da7 Bug 1378736 part 2 - Discard RegExpShared data tables when discarding regexp JIT code. r=jonco 2017-07-07 16:57:06 +02:00
Jan de Mooij
64585a636f Bug 1378736 part 1 - Don't null out RegExpObject -> RegExpShared pointer on GC. r=jonco 2017-07-07 16:56:24 +02:00
Steve Fink
8c145af79a Bug 1377593 - Prevent GC test from seeing unwanted all-zones GCs due to zeal r=jonco 2017-07-03 10:49:33 -07:00
Jon Coppeard
e4440a08d6 Bug 1366217 - Disregard GC stats if we get an inconsistent timestamp on Android r=sfink 2017-07-07 13:55:58 +01:00
Jon Coppeard
6b95041054 Bug 1377141 - Fix schedulegc parameter check r=bbouvier 2017-07-07 13:55:58 +01:00
Jon Coppeard
0351f86cc6 Bug 1377738 - Fix leak of nursery memory r=jandem 2017-07-07 13:55:57 +01:00
Jan de Mooij
73eae79fed Bug 1373094 - Fix ICUpdatedStub::addUpdateStubForValue to use the correct group. r=tcampbell 2017-07-07 14:52:13 +02:00
Jan de Mooij
376127dc85 Bug 1368105 - Check for undepended strings in JSDependentString::baseOffset. r=luke
--HG--
extra : rebase_source : 417a0d6a3c7ad822b4eaf0bc130b3a953b9902d8
2017-07-07 13:32:20 +02:00
Till Schneidereit
0f81ec51fb Bug 1355016 - Properly check for constructability of wrapped objects in intrinsic_IsConstructor. r=bz,bholley
MozReview-Commit-ID: 6WbQ8qWAcHH
2017-07-07 13:47:00 +02:00
Steve Fink
d08266fbd1 Bug 1367900 - Record the values and thresholds for GC triggers, r=jonco
--HG--
extra : rebase_source : 324a41ddd6a0f577c5f44611e5fcdd092ef05d2d
extra : amend_source : 34470a4ff7d1591811bd6d8f757c71747fd86f99
2017-05-25 14:05:34 -07:00
Wes Kocher
bbb26fe90e Merge inbound to central, a=merge
MozReview-Commit-ID: 2nFzji7su8C
2017-07-06 16:10:49 -07:00
Marco Castelluccio
f7de4bc88d Bug 1378839 - Simplify GenerateLcovInfo function. r=nbp
--HG--
extra : histedit_source : 6d6d0acc20e14a3a746758fe034fa332e9a82886
2017-07-05 15:24:20 +02:00
Jan de Mooij
db3fda15b3 Bug 1378740 - Share RegExpShareds across compartments within a zone. r=jonco 2017-07-06 16:40:39 +02:00
Tom Ritter
70e18ce213 Bug 1377605 Cast -1 to DWORD to correctly match the error return value given by SuspendThread r=aklotz
MozReview-Commit-ID: 5XHgkpQJQKY

--HG--
extra : rebase_source : 92d963e3415840eebbe47bf835ec6fb20489d908
2017-07-03 16:07:25 -05:00
Jon Coppeard
48a389bf2f Bug 1377058 - Fix intermittent test failures in CGC tests r=jandem 2017-07-06 13:05:08 +01:00
Wes Kocher
bfc45b98b9 Merge m-c to inbound, a=merge
MozReview-Commit-ID: 9XdoB5MuVz6
2017-07-05 17:17:41 -07:00
Marco Castelluccio
8382fe5f92 Bug 1378068 - Test calling getLcovInfo twice. r=nbp
--HG--
extra : rebase_source : 59296afd2964cbdde969801b50599464509b8965
2017-07-05 08:54:59 +02:00
Tom Ritter
3de63cb924 Bug 1377617 Silence unknown pragma errors that occur because MinGW doesn't understand MSVC pragmas r=sstangl
MozReview-Commit-ID: IWBkmn9Bxgm

--HG--
extra : rebase_source : 7530d69bc2dee117e997d952ac2822e5ab624dec
2017-06-30 19:54:57 -05:00
Tom Ritter
f6b7696c2d Bug 1377651 Make vtune variable non-static so it may be used in a non-static function r=sstangl
MozReview-Commit-ID: IlpSsMH7mq0

--HG--
extra : rebase_source : 58deeaba9ae5ddd3672d03e505840f01483f505b
2017-07-05 07:12:45 -05:00
Nicholas Nethercote
c649ebbc0f Backout 72f2cb8b917e (bug 1329923) for causing crashes.
--HG--
extra : rebase_source : c8dd4ebeb3b3e320947a56358d25d8108eb7e040
2017-07-05 14:42:29 +10:00
Phil Ringnalda
22cb9f77bb Merge m-c to m-i
MozReview-Commit-ID: H6zGgEm7oOM
2017-07-04 20:32:07 -07:00
Nicholas Nethercote
e0c550155c Bug 1375776 (part 6) - Remove Nursery::trackTimings_. r=sfink.
If these timings are on for all MOZ_GECKO_PROFILER platforms (i.e. all tier 1
platforms) then we might as well simplify things by having them on for all
platforms.

--HG--
extra : rebase_source : b1cfad51fdd819dbc897790f439255483058b484
2017-06-23 16:24:25 +10:00
Nicholas Nethercote
0291c0805e Bug 1375776 (part 1) - Fix a comment about the PseudoStack. r=shu.
The JS Engine now has a PseudoStack pointer, rather than a pointer and two
sizes.

--HG--
extra : rebase_source : bca40e48b11f4bda32ea76667ebc531e0f691796
2017-07-03 13:30:58 +10:00
Marco Castelluccio
302836196b Bug 1229277 - Introduce a map to match JSScript to script filenames instead of relying on ScriptSourceObject. r=nbp,jonco
--HG--
extra : rebase_source : a204d50f2c26903d71e2987a676edbc1994538f4
2017-07-04 18:40:42 +02:00
Kris Maglione
9291c127d9 Bug 1371248: Avoid hangs when preloader cache flush is triggered during shutdown. r=erahm
MozReview-Commit-ID: FpW53d5TTCG

--HG--
extra : rebase_source : 28b5343d276e2a2422bb438ca25de87740f65d2c
2017-06-28 14:46:30 -07:00
Tooru Fujisawa
c15c8b0121 Bug 1375436 - Do not reject promise for unhandlable exception in Async Function. r=till 2017-07-05 06:59:25 +09:00
Marco Castelluccio
6fee64e20d Bug 1378068 - Add test case for JS code coverage. r=jonco,nbp
--HG--
extra : rebase_source : 9e7cbf18a8e873a04a314b8b2325c842bef90aec
extra : histedit_source : 9e0ee352a51e791c21d42b3fc837e0309ccf5700
2017-07-04 15:11:32 +02:00
Ted Campbell
a62cae74d4 Bug 1370922 - [Ion] Handle allocation failure when generating Math.min. r=nbp
MozReview-Commit-ID: 6rENb7VcLyq
2017-07-04 11:12:11 -04:00
Carsten "Tomcat" Book
e17269582a Backed out changeset d35a0173ec7c (bug 1229277) for unexpected test failures 2017-07-04 12:04:21 +02:00
Carsten "Tomcat" Book
b7e2d5d142 Backed out changeset 843748765dc8 (bug 1229277) 2017-07-04 12:04:03 +02:00
Marco Castelluccio
61dfd12d1b Bug 1229277 - Avoid possible leak of script names from the JSScript -> script name map. r=nbp
--HG--
extra : rebase_source : 7f1fd2f03bc264c784f7ff537cb20b528990d326
2017-07-03 17:37:47 +02:00
Marco Castelluccio
7c833da65d Bug 1229277 - Introduce a map to match JSScript to script filenames instead of relying on ScriptSourceObject. r=nbp,jonco
--HG--
extra : rebase_source : 1c0c5cc201785e78dcae55313e9e25a1c862d7e1
2017-07-03 11:50:33 +02:00
Lars T Hansen
ac3f3bb121 Bug 1377518 - Support wasm opcode prefixes, and use the reserved FF prefix for internal asm.js opcodes. r=sunfish
--HG--
extra : rebase_source : 2559f595c3ebd6bd7894bbaeddb24fcc2a4267b8
2017-06-30 14:56:07 -07:00
Tom Schuster
62dbe0378c Bug 1370639 - Make the compiler warn about missing opcodes in Ion/Baseline. r=tcampbell 2017-07-02 18:41:56 +02:00
Phil Ringnalda
915412e692 Merge m-i to m-c, a=merge
MozReview-Commit-ID: HINQtggBLDr
2017-07-01 17:36:09 -07:00
Jon Coppeard
d06f7018c0 Bug 1377368 - Support allocating foreground finalized proxies in the nursery r=sfink 2017-06-30 17:31:11 -07:00
Luke Wagner
bc94e658c0 Bug 1376841 - Baldr: handle null field on OOM (r=lth) 2017-06-30 14:01:47 -07:00
Ted Campbell
b70b8cbef2 Bug 1376547 - JITs should throw if ClassConstructor used without new. r=jandem
MozReview-Commit-ID: mqAG3F7Mbi
2017-06-30 14:29:38 -04:00
Jan de Mooij
96bad8f8fc Bug 1377489 - Eliminate unnecessary string allocation + copy under FunctionToString. r=luke
--HG--
extra : rebase_source : 5d37fa9645ca8eed4bd0228d5a739f04878de979
2017-06-30 11:20:07 -07:00
Carsten "Tomcat" Book
daa67cc9e3 merge mozilla-inbound to mozilla-central a=merge 2017-06-30 12:59:45 +02:00