Commit Graph

48 Commits

Author SHA1 Message Date
Pale Moon 4ca478deaf Fix incorrect variable re-use (nested scope). 2018-07-25 01:21:09 +08:00
NTD 8d98d497b3 Enable {Array, %TypedArray%}.prototype.includes 2018-07-25 01:21:05 +08:00
NTD d7ea3b8080 Sync js configure with topsrcdir 2018-07-25 01:07:58 +08:00
Pale Moon a791c5d1c3 Default the libffi configure to -O2 instead of -O3 2018-07-25 01:05:20 +08:00
Pale Moon 8dd2c4111c Improve the js jit getter cache. 2018-07-25 01:04:57 +08:00
Pale Moon 73a54610ab Fix structured cloning. 2018-07-25 01:04:49 +08:00
Pale Moon 62cbc3f0c6 Part 1: Revert Bug 1125784 2018-07-25 01:03:30 +08:00
Gpower2 d8cdbde6ce Change WIN_VER and _WIN32_WINNT to 0x0600 2018-07-25 01:02:27 +08:00
Moonchild 2ef20e45fe Revert "Change WINVER and _WIN32_WINNT to 0x0600 where applicable for issue #515" 2018-07-25 01:02:18 +08:00
Gpower2 a06562e691 Change WIN_VER and _WIN32_WINNT to 0x0600 2018-07-25 00:58:05 +08:00
Pale Moon 5c82426d94 Add ES6 extended (braced) unicode literals.
This adds support for the form \u{xxxxxx}
2018-07-25 00:56:17 +08:00
adisib 3a303e67f6 replace calls to String.prototype.contains with String.prototype.includes 2018-07-24 23:36:07 +08:00
wolfbeast 98a2a7364b Change String.prototype.contains to String.prototype.includes
Because TC39 decided it was a good idea to change this right before it became a standard.
.contains is kept for compatibility because MANY website scripts will still use it, as well as our chrome code.
Chrome code rename should be done eventually to make our FE more ES6 standard.
2018-07-24 23:32:01 +08:00
trav90 ad5ddb707d Use nsRefPtr when not defering release of WrappedJS
Followup to commit 89d161c
2018-07-24 23:31:55 +08:00
Andrew McCreight fe07c83676 Add a version of assertSameCompartment that works in all versions.
Use it in initFromOptions and finishParseTask.
2018-07-24 23:31:19 +08:00
wolfbeast dec7c5b421 Report an error if there are too many block scoped bindings 2018-07-24 23:31:14 +08:00
wolfbeast 3d3acb549a Crash fix: Fix array splice implementation. 2018-07-24 23:31:08 +08:00
wolfbeast 5063f23a7c Android: Add check for OOM on ARM and always bind the label, like on x86 and x64 2018-07-24 23:31:04 +08:00
wolfbeast ac35c571af Make IsAboutToBeFinalized check for finalization by incremental GC even within a minor GC. 2018-07-24 23:30:55 +08:00
wolfbeast e02350ce4d Don't defer releasing of WrappedJS. 2018-07-24 23:29:30 +08:00
wolfbeast 49b2209410 Code cleanup: Remove unnecessary JS_TraceRuntime public wrapper function. 2018-07-24 23:29:29 +08:00
wolfbeast 7573f8aae7 Fix too long line (no code change). 2018-07-24 23:29:28 +08:00
wolfbeast 7dcffefe1f Improve worst-case minor garbage collection latency. 2018-07-24 23:29:26 +08:00
wolfbeast 1659ac189a Add a pref and control mechanism for GGC and disable it.
Tests show nothing but regressions using GGC, even in Mozilla's own microbench for GC.
Real-time flippable, if needed.
2018-07-24 23:28:54 +08:00
wolfbeast ca1374ad18 Handle an OOM case on ARM. 2018-07-24 23:17:23 +08:00
wolfbeast 2ab7b2df8a Add missing pre-barrier in Ion. 2018-07-24 23:17:04 +08:00
trav90 d7010086e9 Remove conditional SPS Profiler code 2018-07-24 23:15:28 +08:00
trav90 903fddcff7 Remove conditional crashreporter code 2018-07-24 23:13:57 +08:00
wolfbeast af20f1d169 Improve the "self" getter performance on global windows and workers. 2018-07-24 23:13:31 +08:00
wolfbeast 37a66e5f78 Bug 1251922 2018-07-24 23:13:17 +08:00
Carsten Tomcat Book 1ca4fa51f2 Bug 1252707 2018-07-24 23:12:30 +08:00
wolfbeast c3a5ea83d2 Suppress GC more aggressively when OOM. 2018-07-24 23:12:28 +08:00
trav90 aad61641fe Remove GCC-dehydra support 2018-07-24 23:12:25 +08:00
trav90 2f6b96ce9a Set execute attributes on all .sh files in tree 2018-07-24 23:12:12 +08:00
Jan de Mooij 821901c908 Bug 1254622 - Relookup group->newScript in CreateThisForFunctionWithGroup. 2018-07-24 23:11:50 +08:00
Shu-yu Guo 7aa7c82a7d Bug 1254164 - Make aliasedBodyLevelLexicalBegin a uint32. 2018-07-24 23:11:49 +08:00
Jeff Walden f2c7851068 Bug 1246061. 2018-07-24 23:11:48 +08:00
trav90 0de5e152ca Cleanup GCC (below 4.7) version checks & comments 2018-07-24 23:11:46 +08:00
trav90 d997dbc503 Remove check for GCC PR49911
This is not needed for GCC 4.7+ (which is now the minimum supported version)
2018-07-24 23:11:43 +08:00
trav90 695eca1d9a Add casts for GCC 5.1 -Wformat 2018-07-24 23:11:42 +08:00
trav90 ec91b402e1 Disable -Warray-bounds as a fatal warning with GCC 5.x 2018-07-24 23:11:41 +08:00
trav90 75cd65247d Use built-in overflow-checked functions with supported compilers 2018-07-24 23:11:27 +08:00
wolfbeast 2cb96863fd Stop enforcing archaic backwards HW compatibility 2018-07-24 23:11:19 +08:00
Jon Coppeard f058581c2e Handle incomplete buffer in DiscardTransferables 2018-07-24 23:11:15 +08:00
wolfbeast 53761b6336 Prep tree for forward-porting Goanna: stage 2 2018-07-24 23:11:02 +08:00
wolfbeast 5ee6187aad Prep tree for forward-porting Goanna, stage 1 2018-07-24 23:10:50 +08:00
wolfbeast 822c14a029 Workaround GL build issue 2018-07-24 23:10:31 +08:00
Moonchild baf46a6bf1 Merge pull request #1 from mozilla/esr38: Esr38 upstream pull 2018-07-24 23:04:07 +08:00