Commit Graph

61157 Commits

Author SHA1 Message Date
André Bargull
efacba5ffd Bug 1386026 - Add parentheses to IIFE when testing async generators. r=tromey 2017-08-01 03:39:53 -07:00
Jim Blandy
046aad9039 Bug 1386026 - Make SpiderMonkey Debugger tests pass even though async generators are Nightly-only. r=tromey 2017-07-31 22:32:09 -07:00
Jim Blandy
bd614d3abf Bug 1386026 - Put Debugger tests in simpler form. r=tromey
This prepares the tests to have some cases that are nightly-only.
There should be no significant effect on what is tested.
2017-07-31 21:12:44 -07:00
André Bargull
6f258f12e4 Bug 1383644 - Inline ToObject when called with MIRType::Value. r=jandem 2017-08-01 06:53:02 -07:00
André Bargull
fa5f8209e7 Bug 1385428 - Disable asm.js compilation in accessor methods. r=luke
--HG--
extra : rebase_source : a67e1821f4f579d47d88204c487964d471b58d5d
2017-07-29 02:37:24 -07:00
André Bargull
b952a3a666 Bug 1385802 - Add ion-inline path for Reflect.getPrototypeOf(). r=jandem 2017-08-01 06:55:31 -07:00
André Bargull
df26ec681b Bug 1385803 - Remove possiblyCalls override from MFromCodePoint and make it cloneable. r=nbp 2017-07-31 03:06:51 -07:00
Paul Bone
56739f25fe Bug 1386219 - Fix the regression introduced by bug 1367455. r=jonco 2017-08-01 22:32:05 +10:00
Jon Coppeard
520f6ab92f Bug 1385833 - Simplify incremental sweeping and combine script and JIT code finalization phases r=sfink 2017-08-01 11:03:33 +01:00
Sebastian Hengst
9975089d4d merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-08-01 11:26:31 +02:00
Sebastian Hengst
ddd4030358 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: IrMqWiJhwan
2017-08-01 11:23:57 +02:00
Jan de Mooij
959a0efb8a Bug 1384513 backout followup - Add AutoCheckCannotGC in Stream.cpp. r=me
--HG--
extra : rebase_source : 99d8a2a7f527bf1ad2d3e0f4911e8b53dc713be3
2017-08-01 10:49:02 +02:00
Jan de Mooij
5a92797b27 Backed out changeset 000f28217a30 (bug 1384513) for perf regressions.
--HG--
extra : rebase_source : 290b02b2d088e4575bff1f2dd88808a7ebd51250
2017-08-01 10:42:04 +02:00
Wes Kocher
cb83ca733e Backed out changeset e94dceac8090 (bug 1385181) for causing bug 1386011 (CCov build bustage) a=bustage
MozReview-Commit-ID: BK2XP0pcoE8
2017-07-31 22:12:03 -07:00
Andrew McCreight
5eecb0df0a Bug 1385474 - Avoid QIing for NoteXPCOMRoot. r=smaug
This callback is only used in very limited ways, so just require that
the caller pass in the canonical supports pointer, plus the
participant. This probably won't affect performance much.

MozReview-Commit-ID: CsThzFsKyYx

--HG--
extra : rebase_source : 9595b1d75fc45bc5ee6d932a840e98b5d760cb78
2017-07-28 16:11:03 -07:00
Jan de Mooij
7d2d5c2a0c Bug 1385838 - Check for Symbol.iterator in ArgumentsObject::obj_mayResolve instead of returning true for all symbols. r=anba 2017-07-31 18:22:45 +02:00
Tooru Fujisawa
6dabca6e5e Bug 1366263 - Part 2: Force Int32 type to lastIndex in RegExpGlobalReplaceOpt. r=anba 2017-07-31 21:16:22 +09:00
Tooru Fujisawa
02551f463e Bug 1366263 - Part 1: Allow rxArg to be Value in RegExpMatcher, RegExpSearcher, and RegExpTester. r=nbp 2017-07-31 21:16:22 +09:00
Jan de Mooij
f110d8631b Bug 1385215 part 2 - Inline Object.prototype.toString in Ion. r=evilpie 2017-07-31 14:12:49 +02:00
Jan de Mooij
a87ec26420 Bug 1385215 part 1 - Ion-inline native calls in jsop_funcall/jsop_funapplyarguments. r=nbp 2017-07-31 13:09:26 +02:00
Jon Coppeard
69faf34f2b Bug 1385296 - Improve JS_GC_PROFILE / MOZ_GCTIMER output r=sfink 2017-07-31 10:56:44 +01:00
Nicholas Nethercote
72c884bf74 Bug 1384835 (part 3, attempt 2) - Remove the Preferences::Get*CString() variants that return nsAdoptingCString. r=froydnj.
--HG--
extra : rebase_source : d317b25be2ec21d1a60d25da3689e46cdce0b649
2017-07-31 14:28:48 +10:00
Ting-Yu Chou
54070eee06 Bug 1385181 - Alter HashTable::lookupForAdd() to remove a redundant copy when return. r=luke
MozReview-Commit-ID: 9XnlC0JXETX
2017-07-28 14:05:40 +08:00
André Bargull
abbfb48e01 Bug 1383645 - Allow to inline UnsafeGetReservedSlot when the object is typed as MIRType::Value. r=jandem
--HG--
extra : rebase_source : add4c452e0a6c11c79a5667107db1dcdfa07de9a
extra : histedit_source : 4d8eab6953cca1ee91bf78a4a7aadb37aaacc73b
2017-07-28 13:01:01 -07:00
André Bargull
c520c1cf95 Bug 1382656 - Don't search for multiple Unicode extension sequences in a single language tag. r=till
--HG--
extra : rebase_source : d87f8c9d284075ce9145e4a82649a808f75e8156
extra : histedit_source : 10a659cfae7fa8367e49aaa965a0fe54b8f686b1
2017-07-28 12:56:53 -07:00
André Bargull
73884d5df9 Bug 1379717 - Throw TypeError when accessing caller/arguments on accessor method. r=shu
--HG--
extra : rebase_source : 28f1ab202f1847dfa6bb761e93286580f9b439e7
extra : histedit_source : cef59956a2b3a392aca68a39d610bd292bb100ca
2017-07-28 12:55:48 -07:00
André Bargull
a5ad559786 Bug 1384244 - Remove hasDynamicPrototype check from MaybeHasInterestingSymbolProperty because only proxies can have dynamic prototypes. r=jandem
And proxies are already filtered by the preceding obj->maybeHasInterestingSymbolProperty() call.

--HG--
extra : rebase_source : 4e1f5d1466758dd2f687542df063a50bcd620e61
extra : histedit_source : de9901ccbbe5c53f1690b9f4b1d36578b7b1f34d
2017-07-28 12:55:37 -07:00
André Bargull
1567f91a56 Bug 1382306 - Create async function wrapper when instantiating module functions. r=jonco
--HG--
extra : rebase_source : 7b6d30dbbdf5cdf798d793ed03969c97585860f8
extra : histedit_source : 536aece9fa182d1cf4912a5c9b819207b3ccdffc
2017-07-28 12:55:07 -07:00
Philip Chimento
0f65cb73fa Bug 1339931 - Add major version to make parallel installable. r=sfink
When backporting to esr52, the changes will need to be applied to
js/src/Makefile.in rather than js/src/build/Makefile.in.
2017-07-29 10:59:28 +01:00
Till Schneidereit
d2099cf317 Bug 1272697 - Part 4: Add JSAPI functions for working with ReadableStream. r=shu,f=baku
This adds a ton of JSAPI functions for creating and querying the state of ReadableStreams, and support for creating ReadableStream instances whose source is supplied by the embedding.

MozReview-Commit-ID: 9uDWOazPaUI
2017-07-29 16:47:30 +02:00
Till Schneidereit
847290985c Bug 1272697 - Part 3: Implement ReadableStream and associated classes in the JS engine. r=shu
MozReview-Commit-ID: E4uux96ed2m
2017-07-29 16:47:26 +02:00
Till Schneidereit
ab76cf2fd7 Bug 1272697 - Part 2: Add runtime pref to enable streams. r=jonco,baku
MozReview-Commit-ID: FJMAxbtD3Uy
2017-07-29 16:47:12 +02:00
Shu-yu Guo
1549296ac9 Bug 1367791 - Constrain Number.prototype.toFixed precision to be 0 <= p <= 100. (r=jorendorff)
Due to normative change in spec.
2017-07-28 17:43:17 -07:00
Marco Castelluccio
5e9eca95f5 Bug 1357517 - Remove Preferences.jsm usage from XPCOMUtils.jsm. r=kmag
--HG--
extra : rebase_source : f69e4b2e5b11d302546e73fa6f16c17b3bb68318
2017-07-28 23:04:47 +02:00
Bill McCloskey
7f587bde20 Bug 1384399 - Change meaning of js::SystemZoneAvailable to return false if the system zone is owned by the current context (r=bhackett)
MozReview-Commit-ID: L8FUk997x4s
2017-07-28 13:11:56 -07:00
Bill McCloskey
fdfaf11df6 Bug 1384397 - Add API to request interrupt callback using CanWait mode (r=jandem)
MozReview-Commit-ID: E0S0my7Xdfk
2017-07-28 13:11:54 -07:00
Sebastian Hengst
6389867b7c Backed out changeset 1d87b1dc4ce2 (bug 1272697) for failing mochitest test_interfaces.html for 'ByteLengthQueuingStrategy' and wpts, e.g. general.dedicatedworker.html. r=backout on a CLOSED TREE 2017-07-28 20:20:50 +02:00
Sebastian Hengst
2a076b4002 Backed out changeset 862ba8683d19 (bug 1272697) 2017-07-28 20:18:28 +02:00
Sebastian Hengst
08625237bc Backed out changeset 2693a863dabd (bug 1272697) 2017-07-28 20:18:21 +02:00
Till Schneidereit
acef1159b4 Bug 1272697 - Part 4: Add JSAPI functions for working with ReadableStream. r=shu
This adds a ton of JSAPI functions for creating and querying the state of ReadableStreams, and support for creating ReadableStream instances whose source is supplied by the embedding.

MozReview-Commit-ID: 9uDWOazPaUI
2017-07-28 17:48:14 +02:00
Till Schneidereit
8b46f09d1c Bug 1272697 - Part 3: Implement ReadableStream and associated classes in the JS engine. r=shu
MozReview-Commit-ID: E4uux96ed2m
2017-07-28 17:48:14 +02:00
Till Schneidereit
dec687b07c Bug 1272697 - Part 2: Add runtime pref to enable streams. r=baku,jonco
MozReview-Commit-ID: 5OSxbcd3jQB
2017-07-28 17:48:12 +02:00
Carsten "Tomcat" Book
139661e8e4 Merge mozilla-central to mozilla-inbound 2017-07-28 15:25:58 +02:00
Carsten "Tomcat" Book
892bedca2e merge mozilla-inbound to mozilla-central a=merge 2017-07-28 15:24:39 +02:00
Sylvestre Ledru
d48480a951 Bug 1384848 - Remove dead code in XPCConvert.cpp r=mrbkap
MozReview-Commit-ID: EncsNyW5Qxx
2017-07-28 14:05:27 +02:00
Jan de Mooij
ea5d324e74 Backed out changeset 1455629cb663 (bug 1384042) for regressing AngularJS perf.
--HG--
extra : rebase_source : e165fd16182dcf5a72133f7afb86069a60bfbec9
2017-07-27 16:36:57 +02:00
Sebastian Hengst
744a0a216b Backed out changeset ef5feef07bed (bug 1384835) 2017-07-28 10:29:24 +02:00
Sebastian Hengst
9077ac8886 Backed out changeset a57d8f30d1bf (bug 1383982) for build bustage at nsGlobalWindow.cpp:13826: 'class nsWindowSizes' has no member named 'mMallocSizeOf'. r=backout 2017-07-28 09:50:48 +02:00
Nicholas Nethercote
5c3abe8aab Bug 1383982 - Introduce a general mechanism for measuring memory usage of graph-like structures. r=erahm.
All the SizeOf{In,Ex}cludingThis() functions take a MallocSizeOf function
which measures memory blocks. This patch introduces a new type, SizeOfState,
which includes a MallocSizeOf function *and* a table of already-measured
pointers, called SeenPtrs. This gives us a general mechanism to measure
graph-like data structures, by recording which nodes have already been
measured. (This approach is used in a number of existing reporters, but not in
a uniform fashion.)

The patch also converts the window memory reporting to use SizeOfState in a lot
of places, all the way through to the measurement of Elements. This is a
precursor for bug 1383977 which will measure Stylo elements, which involve
Arcs.

The patch also converts the existing mAlreadyMeasuredOrphanTrees table in the
OrphanReporter to use the new mechanism.

--HG--
extra : rebase_source : 2c23285f8b6c3b667560a9d14014efc4633aed51
2017-07-28 15:03:44 +10:00
Tooru Fujisawa
9d87992821 Bug 1384299 - Provide better error message when errornous syntax possibly match "yield SOMETHING" outside generators. r=till 2017-07-27 23:17:09 +09:00