Kris Maglione
aaaea39c13
Bug 1333990: Part 1b - Add tests for script precompiler. r=shu
...
MozReview-Commit-ID: DVFFdyzY6Kn
--HG--
extra : rebase_source : d41324f18ee2c13e98f94ecec3af73e67da873ea
2017-03-16 16:55:59 -07:00
Kris Maglione
437f4e37d4
Bug 1333990: Part 1a - Add an async script pre-loading utility. r=billm,shu
...
MozReview-Commit-ID: 4vJF2drLeHS
--HG--
extra : rebase_source : 8adaa22d6d91ac6ef1804cf4c8d5698cf304b141
2017-03-16 19:10:40 -07:00
Steve Fink
15be199c92
Bug 1346874 - Disable slow gray mark checks on Android, r=mccr8
...
MozReview-Commit-ID: GyycxPpNDQA
--HG--
extra : rebase_source : a9803e46a04f96eff4683bfdbe0eeeacbd6eb248
2017-03-16 15:41:36 -07:00
Boris Zbarsky
c63be1e971
Bug 1347706. Update to spec change for [[SetPrototypeOf]] on cross-origin objects. It should return true if null is passed. r=bholley
...
MozReview-Commit-ID: 42je5yfBRee
2017-03-16 17:43:49 -04:00
Wes Kocher
efcef12931
Backed out changeset e73241bcb49a (bug 1340584) for Windows build failures a=backout CLOSED TREE
...
MozReview-Commit-ID: 22csfCgl7Wb
2017-03-16 10:25:15 -07:00
Geoff Brown
ecc9668072
Bug 1340584 - Remove devicemanagerSUT and references to sutagent; r=wlach
...
sutagent is no longer built or usedr; devicemanagerSUT is completely
unused. After this change, devicemanagerADB is the only implementation of
devicemanager, and the --dmTrans and similar options have been removed
from test harnesses and mach commands.
2017-03-16 10:44:44 -06:00
Carsten "Tomcat" Book
468f7d8e9f
merge mozilla-inbound to mozilla-central a=merge
2017-03-16 15:35:50 +01:00
David Major
ed12ea611f
Bug 1346078: Remove nsAString_internal and just use the nsAString name directly. r=bsmedberg
...
MozReview-Commit-ID: DWDEDMIVKm7
--HG--
extra : rebase_source : 7fe8dc07c816dca234c67761e61cdee372a87e97
2017-03-10 15:17:23 +13:00
Blake Kaplan
18b64f8d42
Bug 1208957 - No need for a condvar for thread shutdown. r=billm
...
Now that we join on the thread exiting, we no longer need to have the thread
explicitly tell us it's shutting down.
MozReview-Commit-ID: LycPjUvyeX
--HG--
extra : rebase_source : 7b3d21c3d8de73a1ed511c7d6efefe2a73b2e02a
2017-03-14 23:36:02 -07:00
Blake Kaplan
9f2cfeccc4
Bug 1208957 - Join the watchdog thread to avoid shutdown races. r=billm
...
MozReview-Commit-ID: FlnPO2fJWVu
--HG--
extra : rebase_source : f7465994db184b21b4e0159c1b4ca3509c071f5b
2017-03-14 23:27:21 -07:00
Wes Kocher
1d6765414b
Merge m-c to autoland, a=merge
...
MozReview-Commit-ID: AcDLWqQhcBe
2017-03-15 14:29:24 -07:00
Wes Kocher
06af2f1e92
Merge inbound to central, a=merge
...
MozReview-Commit-ID: 4p4SK3EhvJ2
2017-03-15 14:24:58 -07:00
Carsten "Tomcat" Book
7decdeb7c8
Merge mozilla-central to autoland
2017-03-15 13:19:12 +01:00
Nicholas Nethercote
8876b32323
Bug 1345262 (part 5) - Fix how JS sampling is started/stopped by the profiler. r=mstange,djvj.
...
Currently, JS sampling has major problems.
- JS sampling is enabled for all JS threads from the thread that runs
locked_profiler_start() -- currently only the main thread -- but the JS
engine can't handle enabling from off-thread, and asserts. This makes
profiling workers impossible in a debug build.
- No JS thread will be JS sampled unless enableJSSampling() is called, but that
only happens in locked_profiler_start(). That means any worker threads
created while the profiler is active won't be JS sampled.
- Only the thread that runs locked_profiler_stop() -- currently only the main
thread -- ever calls disableJSSampling(). This means that worker threads that
start being JS sampled never stop being JS sampled.
This patch fixes these three problems in the following ways.
- locked_profiler_start() now sets a flag in PseudoStack that indicates
JS sampling is desired, but doesn't directly enable it. Instead, the JS
thread polls that flag and enables JS sampling itself when it sees the flag
is set. The polling is done by the interrupt callback. There was already a
flag of this sort (mJSSampling) but the new one is better.
This required adding a call to profiler_js_operation_callback() to the
InterruptCallback() in XPCJSContext.cpp. (In comparison, the
InterruptCallback() in dom/workers/RuntimeService.cpp already had such a
call.)
- RegisterCurrentThread() now requests JS sampling of a JS thread when the
profiler is active, the thread is being profiled, and JS sampling is enabled.
- locked_profiler_stop() now calls stopJSSampling() on all live threads.
The patch makes the following smaller changes as well.
- Renames profiler_js_operation_callback() as profiler_js_interrupt_callback(),
because "interrupt callback" is the standard name (viz.
JS_AddInterruptCallback()).
- Calls js::RegisterContextProfilingEventMarker() with nullptr when stopping
JS sampling, so that ProfilerJSEventMarker won't fire unnecessarily.
- Some minor formatting changes.
--HG--
extra : rebase_source : 372f94c963a9e5b2493389892499b1ca205ebc2f
2017-03-10 09:04:23 +11:00
Hannes Verschore
351a4b3f9c
Bug 1342882: IonMonkey - Don't allow magic types for concatenation, r=jandem
2017-03-15 17:26:44 +01:00
Jan de Mooij
ceeedc0eb2
Bug 1347489 - Give StringSegmentRange stack Vector some inline capacity to avoid malloc/free overhead. r=luke
...
--HG--
extra : rebase_source : 6ad96563e57af30665ac82bb75bb02b4a4d8a91f
2017-03-15 16:25:46 +01:00
Nicholas Nethercote
d8023679e3
Bug 1345262 (part 2) - Add profiler_{set,clear}_js_context(). r=mstange.
...
PseudoContext::sampleContext() is always called immediately after
profiler_get_pseudo_stack(). This patch introduces profiler_set_js_context()
and profiler_clear_js_context(), which replace the profiler_get_pseudo_stack()
+ sampleContext() pairs. This takes us a step closer to not having to export
PseudoStack outside the profiler.
--HG--
extra : rebase_source : 8558d1600eafd395cc696d31f3d21fb52a1a74b0
2017-03-09 17:06:35 +11:00
Boris Zbarsky
746467862d
Bug 1346389. Make --enable-shared-js link again, at least for an opt mac build with intl api disabled. r=sfink, a=waldo on the gcc-specific bits.
2017-03-10 23:52:55 -05:00
Wes Kocher
a7c590aa9c
Merge inbound to central, a=merge
...
MozReview-Commit-ID: KWDF34vWlBx
2017-03-14 17:18:59 -07:00
Geoff Brown
6eac32a3c5
Bug 1338809 - Build android xpcshell as position independent executable; r=glandium
...
This allows xpcshell-test to be run on Android 5.0 and greater at the
expense of Android 4.0: Run xpcshell on Android 4.1 and above.
2017-03-14 08:08:43 -06:00
Jan de Mooij
cdf58c0603
Bug 1344265 - Fix OOM bug in newExternalString testing function. r=bbouvier
2017-03-14 15:00:43 +01:00
Jan de Mooij
a42b1e1a08
Bug 1345707 - Don't attach set-dense-hole stubs for non-extensible objects. r=tcampbell
2017-03-14 14:58:38 +01:00
Carsten "Tomcat" Book
fb74131fe7
Merge mozilla-central to mozilla-inbound
2017-03-14 14:26:07 +01:00
Carsten "Tomcat" Book
dba578960e
merge mozilla-inbound to mozilla-central a=merge
2017-03-14 14:23:03 +01:00
Chih-Yi Leu
ec60526d60
Bug 1315037 - Use NS_ENSURE_SUCCESS for nsresult diagnosis. r=erahm
2017-03-13 02:14:00 +01:00
Makoto Kato
831b62ec11
Bug 1345336 - Part 1. Remove empty zoneStrings entries. r=Waldo
...
MozReview-Commit-ID: EuVZ5sgHoBH
2017-03-13 13:37:47 +09:00
Jan de Mooij
a366376aef
Bug 1341071 - Fix Ion IC post barriers to be part of the IC stubs instead of adding them in IonBuilder. r=jonco,nbp
2017-03-14 13:05:23 +01:00
Steve Fink
e4692e3730
Bug 1346874 - Skip gray mark check stack walk on DEBUG Android, r=mccr8
...
--HG--
extra : rebase_source : 090d65e9f60c6327c4852f3042b57ce8ef5f1e12
extra : histedit_source : df5e8164f89e7ad75ce7032a2dcbae8dbfbd6e28
2017-03-13 10:43:09 -07:00
Luke Wagner
38869370c4
Bug 1342641 - Baldr: make OpIter always validate and produce output (r=bbouvier)
...
MozReview-Commit-ID: 3PD8DqFeV77
--HG--
extra : rebase_source : e79b0de90b612c7bc0e4fc4b7a7767c970d9faa2
2017-03-13 12:25:57 -05:00
Luke Wagner
e887cb00e9
Bug 1342641 - Baldr: validate and compile in a single pass in Rabaldr (r=lth)
...
MozReview-Commit-ID: 22AK6gG1pZ7
--HG--
extra : rebase_source : 29ba24ad1f133148872130b422d705c9972a3583
2017-03-13 12:25:25 -05:00
Luke Wagner
097b235e34
Bug 1342641 - Baldr: validate and compile in a single pass in Ion (r=bbouvier)
...
MozReview-Commit-ID: HRW2BuA6GSs
--HG--
extra : rebase_source : cee7a41a5cc597d3133fa3e19160e4d5eed10388
2017-03-13 12:25:03 -05:00
Luke Wagner
92074ab0d0
Bug 1346269 - Baldr: remove dependency on TlsContext in ModuleGenerator::finish (r=bbouvier)
...
MozReview-Commit-ID: IU3vYQ98ZFB
2017-03-13 10:03:38 -05:00
Zibi Braniecki
f096c9aab9
Bug 1346674 - Migrate all uses of nsILocaleService::GetApplicationLocale to mozILocaleService::GetAppLocale. r=jfkthame
...
MozReview-Commit-ID: 2E7mj3yQnxB
--HG--
extra : rebase_source : 97ba5b1738b2f116ec75830ed1b23f279680035e
2017-03-12 20:39:22 -07:00
Tom Schuster
c4dfa17e82
Bug 1331136 - Handle more StringChar cases with ropes in CacheIR. r=jandem
2017-03-15 14:05:08 +01:00
Madeleine Chercover
99f76d739a
Bug 1347241
- Enable linux64-ccov coverage collection for common tests set; r=gmierz,jmaher
...
MozReview-Commit-ID: FLyjCwMGb6L
--HG--
extra : rebase_source : 4c2c56c5ace6fd1f6b933a92ad0f69189ab1df69
2017-03-14 11:40:59 -07:00
Sebastian Hengst
1c387c432b
Backed out changeset da332b097c16 (bug 1345336) for failing jsreftest.html?test=Intl/DateTimeFormat/format.js on Windows 7 VM pgo. r=backout
2017-03-13 10:47:30 +01:00
Makoto Kato
f65c413250
Bug 1345336 - Part 1. Remove empty zoneStrings entries. r=Waldo
...
MozReview-Commit-ID: EuVZ5sgHoBH
--HG--
extra : rebase_source : d8341641ef4dcb01701f3cac8f1537f9278fac92
2017-03-13 13:37:47 +09:00
Benjamin Bouvier
25786342d6
Bug 1346264: Fix debugging of ARM simulator float register debugging; r=nbp
...
MozReview-Commit-ID: 9rVbtqBLHjJ
--HG--
extra : rebase_source : cc0492d698f0430bbb2269742036038f3c8ec2f2
2017-03-10 17:20:56 +01:00
André Bargull
0488a95df8
Bug 1346074 - Part 2: Move ToLengthClamped into jsarray.cpp. r=shu
...
--HG--
extra : rebase_source : a89628cae4e9b8424d2a6eef42d12a6e60a96734
2017-03-10 23:40:17 +01:00
André Bargull
ebd0ed5d8e
Bug 1346074 - Part 1: Align SharedArrayBuffer constructor to match ArrayBuffer constructor and latest spec. r=shu
...
--HG--
extra : rebase_source : 8c79f2b23d9c4f4886afc612c4788400651aec7d
2017-03-10 23:40:10 +01:00
Jan de Mooij
0c50ebd695
Bug 1346191 followup - Add array-isArray-proxy-recursion.js to cgc-jstests-slow.txt. r=red
2017-03-11 14:27:44 +01:00
Jan de Mooij
978a15019e
Bug 1346191 - Change Ion warmup threshold for small functions to be the same as the one for other functions. r=h4writer
2017-03-11 10:21:03 +01:00
Boris Zbarsky
d6b2fc9b4d
Backed out changeset c1978f7d49c4 for build failures.
...
MozReview-Commit-ID: FOwcGtykkXR
2017-03-11 00:10:36 -05:00
Boris Zbarsky
160b2e80e9
Bug 1346389. Make --enable-shared-js link again, at least for an opt mac build with intl api disabled. r=sfink
...
MozReview-Commit-ID: 264vsCvhh9Z
2017-03-10 23:52:55 -05:00
Wes Kocher
77632ccd1b
Merge m-c to inbound, a=merge
...
MozReview-Commit-ID: JXQqoTEXxwz
2017-03-10 17:22:54 -08:00
Shu-yu Guo
be920d3ccf
Bug 1345968 - Fix [no LineTerminator here] restriction for async arrow functions. (r=arai)
2017-03-10 15:19:50 -08:00
Shu-yu Guo
e95688d82f
Bug 1346067 - Update skip list. (r=anba)
2017-03-10 15:19:50 -08:00
Shu-yu Guo
a1ce0a0649
Bug 1346067 - Sync test262. (rs=anba)
...
--HG--
rename : js/src/tests/test262/built-ins/DataView/proto-from-ctor-realm.js => js/src/tests/test262/built-ins/DataView/proto-from-ctor-realm-sab.js
rename : js/src/tests/test262/built-ins/RegExp/prototype/exec/failure-lastindex-no-access.js => js/src/tests/test262/built-ins/RegExp/prototype/exec/failure-lastindex-access.js
rename : js/src/tests/test262/built-ins/RegExp/prototype/exec/success-lastindex-no-access.js => js/src/tests/test262/built-ins/RegExp/prototype/exec/success-lastindex-access.js
rename : js/src/tests/test262/built-ins/RegExp/proto-from-ctor-realm.js => js/src/tests/test262/built-ins/SharedArrayBuffer/proto-from-ctor-realm.js
rename : js/src/tests/test262/built-ins/TypedArrays/buffer-arg-proto-from-ctor-realm.js => js/src/tests/test262/built-ins/TypedArrays/buffer-arg-proto-from-ctor-realm-sab.js
rename : js/src/tests/test262/language/block-scope/syntax/redeclaration-in-block/attempt-to-redeclare-function-declaration-with-function-declaration.js => js/src/tests/test262/language/block-scope/syntax/redeclaration-in-block/attempt-to-redeclare-function-declaration-with-function-declaration-strict.js
2017-03-10 15:19:50 -08:00
Shu-yu Guo
52cd86417d
Bug 1346067 - $ renamed to $262 upstream. (r=anba)
2017-03-10 15:19:49 -08:00
Shu-yu Guo
f8baaf4f8c
Bug 1341061 - Followup: remove local copy of unscopables-inc-dec.
2017-03-10 15:19:48 -08:00