Граф коммитов

66445 Коммитов

Автор SHA1 Сообщение Дата
Csoregi Natalia 67cc8b873a Backed out 3 changesets (bug 956376) for browser_dbg-quick-open.js failures. a=backout
Backed out changeset 3e61a2874367 (bug 956376)
Backed out changeset 8169bed1fafc (bug 956376)
Backed out changeset 46dfdfe14067 (bug 956376)
2018-08-23 15:15:31 +03:00
Tooru Fujisawa 5f6965d567 Bug 1454285 - Part 3: Add test. r=jwalden 2018-08-23 15:48:13 +09:00
Tooru Fujisawa 1f7a0031a1 Bug 1479813 - Remove unnecessary test for delazification. r=jimb 2018-08-23 15:48:07 +09:00
Brindusan Cristian 7ac19aed65 Merge inbound to mozilla-central. a=merge 2018-08-23 06:41:38 +03:00
Ted Campbell a8e02854ed Bug 1485499 - Reduce size of js::Symbol r=sfink
MozReview-Commit-ID: 4mEHixUnUax

Differential Revision: https://phabricator.services.mozilla.com/D4017

--HG--
extra : moz-landing-system : lando
2018-08-23 01:34:37 +00:00
Tooru Fujisawa 1e303abb85 Bug 956376 - Part 1: Add Debugger.findSources. r=jimb 2018-08-23 09:27:30 +09:00
Brindusan Cristian d2592042f8 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-08-23 01:02:39 +03:00
Denis Palmeiro 2a6d629a20 Bug 1482560: Do not flush tracelogger to disk unless specifically requested to do so r=sfink
When enabling the tracelogger, it will automatically spew the data to disk in the location specified by TLDIR or /tmp, if undefined.  However, there needs to be a way to enable the tracelogger without spewing so that we can write this data as part of the gecko profiler JSON output, and ultimately visualized with perf.html.

Differential Revision: https://phabricator.services.mozilla.com/D3138

--HG--
extra : moz-landing-system : lando
2018-08-22 20:09:33 +00:00
Steve Fink 68810d7507 Bug 1481740 - Never do endianness swapping on pointers, r=lth
--HG--
extra : topic : nursery.strings.fix
extra : rebase_source : 59fc25493b07a621f92154668c88652f0a865ef1
2018-08-08 11:16:21 -07:00
Steve Fink 71c1e0f58f Bug 1470921 - Re-check whether nursery strings are enabled after collecting during allocation, r=jonco
--HG--
extra : topic : nursery.strings.fix
extra : rebase_source : 4befad86d2f96fcbf1d314b23434d0d4f935acac
2018-08-16 16:49:25 -07:00
Steve Fink fd926c1cd2 Bug 1481897 - Remove HashPolicy template param from WeakMap, force to use MovableCellHasher<Key> instead, r=jonco
--HG--
extra : rebase_source : c6babd16996b56517988d577197b572989bab6f2
2018-08-08 11:02:18 -07:00
Jason Orendorff d5f46f31e0 Bug 1479429 - Add a range check for the argument to Debugger.Script.prototype.get{Predecessor,Successor}Offsets. r=bhackett
--HG--
extra : rebase_source : 2f60dff4108774e5828d3afa957817c3cc85563b
2018-08-09 15:29:37 -05:00
Jeff Walden 589e40bc4c Bug 1485119 - Don't pass the result of ValueToPrintableUTF8 to a function called JS_ReportErrorASCII. r=anba
--HG--
extra : rebase_source : 325264b507d2b3eb7ffb817f28c40042bc891a5f
2018-08-22 13:12:50 -05:00
Jeff Walden 7164db9da7 Bug 1484943 - Don't assert when trying to formatToParts a NaN value whose sign bit is set. r=anba
--HG--
extra : rebase_source : fb0ef69a0e6611cbeda719eccabd95f2abcdec1a
2018-08-21 14:34:50 -05:00
Jason Orendorff 383345c146 Bug 1475417 - Part 2: Fire onEnterFrame when resuming a generator or async function. r=jandem, r=jimb
--HG--
extra : rebase_source : c6f2cd2cc77bea35e13af0dcc3fa7c50beb07e9b
extra : source : a3901162a1ece01cb8bacf606ad57e3cef741b7e
2018-08-15 15:09:30 -05:00
Jan de Mooij 7a68d5cb68 Bug 1466128 part 2 - Rename AutoCompartment to AutoRealm. r=jdm
Differential Revision: https://phabricator.services.mozilla.com/D3325

--HG--
extra : rebase_source : 961707f473d4c6664736f5f2e266be949a9ac700
extra : source : a4262ccfec7a662f672138f856cd7779ebd8e824
2018-08-14 14:25:48 +02:00
Jan de Mooij e25a7d3dd1 Bug 1466128 part 1 - Rename ac.rs to ar.rs. r=jdm
Differential Revision: https://phabricator.services.mozilla.com/D3324

--HG--
rename : js/rust/src/ac.rs => js/rust/src/ar.rs
extra : rebase_source : 7d6e78d8ccf812347f739852c2d19d08fc5ae96c
2018-08-14 14:24:22 +02:00
Nicholas Nethercote d4f517f3e2 Bug 1483182 - Don't allocate in HashTable::lookupOrAdd(). r=luke
Currently lookupOrAdd() will allocate if the table has no storage. But it
doesn't report an error if the allocation fails, which can cause problems.

This patch changes things so that lookupOrAdd() doesn't allocate when the table
has no storage. Instead, it returns an AddPtr that is not *valid* (its mTable
is empty) but it is *live*, and can be used in add(), whereupon the allocation
will occur.

The patch also makes Ptr::isValid() and AddPtr::isValid() non-public, because
the valid vs. live distinction is non-obvious and best kept hidden within the
classes.

--HG--
extra : rebase_source : 95d58725d92cc83332e27a61f98fa61185440e26
2018-08-21 13:49:17 +10:00
Andreea Pavel c8dfc19d97 Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2018-08-22 06:38:49 +03:00
Andreea Pavel 883da574e8 Merge mozilla-inbound to mozilla-central. a=merge 2018-08-22 06:35:14 +03:00
Tiberius Oros 05b46cf200 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-08-22 00:59:19 +03:00
Tooru Fujisawa ce0d96216e Bug 1483188 - Fix the assertion for reaction record fields. r=anba 2018-08-22 10:01:34 +09:00
Dorel Luca b704584332 Merge mozilla-central to autoland 2018-08-21 19:03:25 +03:00
Ted Campbell 54781329d1 Bug 1484382 - Use mozilla::ScopeExit in js/src r=jandem
Bug 1484382 - Use mozilla::ScopeExit in jit/JitFrames.cpp
Bug 1484382 - Use mozilla::ScopeExit in vm/TypeInference.cpp
Bug 1484382 - Use mozilla::ScopeExit in jit/JitcodeMap.cpp
Bug 1484382 - Use mozilla::ScopeExit in jit/JitFrames.cpp

Differential Revision: https://phabricator.services.mozilla.com/D3685

--HG--
extra : moz-landing-system : lando
2018-08-21 08:59:31 +00:00
Nathan Froyd 3f79c03f8b Bug 1482294 - disable jit unwind handling on aarch64 windows; r=jandem
As the comment for SetJitExceptionHandler makes clear, the
infrastructure we have for generating unwind information on 64-bit
Windows is only necessary to permit Breakpad to generate crash reports.
We don't even have crash reporting for our non-existent AArch64 Windows
builds, and it will likely take us some time to make the necessary
changes in Breakpad and elsewhere.  In addition, the unwind information
format is completely different on AArch64, and there's no decent
documentation on it yet.

Given all of this, the easiest way forward right now is to simply
disable this code to get things compiling.  We can reenable it later
once we understand how to add appropriate support.
2018-08-21 15:29:23 -04:00
Jan de Mooij 965f93349e Bug 1473957 - Require debugger and debuggee to be in different compartments. r=jimb
We were checking for cross-compartment wrappers in the Debugger constructor, but this patch also fixes addDebuggee and addAllGlobalsAsDebuggees.

Differential Revision: https://phabricator.services.mozilla.com/D3495

--HG--
extra : rebase_source : 3346baa677b4eae1ed8b7b13d93c1c8c89753d97
2018-08-16 12:35:20 +02:00
Jan de Mooij 483b00ee42 Bug 1479430 - Make sure TypeNewScript::maybeAnalyze is called in the group's realm. r=luke
--HG--
extra : rebase_source : e6f8f7ff651a4f3bd07060152e15738b0de9dd36
2018-08-16 11:59:19 +02:00
Ashley Hauck d51249d1c5 Bug 1471371 - OOM handling in RegExp construction. r=jorendorff 2018-08-14 08:24:57 -07:00
Jeff Walden e4f79e2a19 Bug 1484421 - Move JSON-related functionality into js/public/JSON.h that isn't #include'd in jsapi.h. r=jandem 2018-08-20 07:54:45 -07:00
Jeff Walden ffd93ba761 Bug 1033916 - Move JSAutoByteString out of jsapi.h into js/public/AutoByteString.h, incidentally breaking the jsfriendapi.h -> jsapi.h dependency. r=jandem
--HG--
extra : rebase_source : d85baf9b28e632db5669aa3d056cc9744686f5c8
2018-08-20 07:46:08 -07:00
Jeff Walden 3e90595274 Bug 1484389 - Move various SavedFrame-related functions and data types into js/public/SavedFrameAPI.h so that users aren't forced to depend on jsapi.h or jsfriendapi.h for them. r=jandem
--HG--
extra : rebase_source : d891f81cb0827d3c03971f71ba95a014d1e35379
2018-08-20 07:45:44 -07:00
Jeff Walden b0ed4292e4 Bug 1484386 - Move various memory-allocation-related functions into js/public/MemoryFunctions.h to (ultimately) minimize dependencies required to use these functions in forthcoming public headers. r=jandem
--HG--
extra : rebase_source : 7f00471e42be6aa6aa94125c1ea291c6ebbe35a5
2018-08-20 07:45:44 -07:00
Jeff Walden f95e60bba1 Bug 1484385 - Move various error-report-related structures and types into js/public/ErrorReport.h to minimize dependencies (and ultimately to make jsfriendapi.h not depend on jsapi.h). r=jandem
--HG--
extra : rebase_source : a288defdb87af97cae31181db9239b18935ad3d2
2018-08-20 07:45:44 -07:00
Jeff Walden cd10720691 Bug 1040316 - Move AutoStableStringChars out of friendapi into public API. r=jandem
--HG--
extra : rebase_source : 3f66710e9517aba203a3d5365f6c3f0102c7baf8
2018-08-20 07:44:44 -07:00
Jeff Walden 407a8b6081 Bug 1483374 - Intl.NumberFormat shouldn't deliberately conflate -0 with +0. r=anba
--HG--
extra : rebase_source : b20e4e3fbc96138c8158ea21934c024d6a8842a0
2018-08-16 13:57:42 -07:00
Nicholas Nethercote d6f4bef529 Bug 1484605 - Tweak some lookupForAdd() uses. r=luke
These are cases where the existing code is a little dubious or sub-optimal.

--HG--
extra : rebase_source : 2fcb4657afc7c7d24ae88b85d08df57ae04db38c
2018-08-21 11:53:47 +10:00
Mike Hommey 7b448e6258 Bug 1484872 - Remove --enable-llvm-hacks. r=froydnj
It calls for cargo-culting its use when using clang, when it's specific
to skipping one linker flags for sanitizers.
2018-08-21 08:40:00 +09:00
Kris Maglione 31bde826fc Bug 1484466: Part 5 - Use a single QueryInterface method for all nsIFactory instances. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D3712

--HG--
extra : rebase_source : d63dc47aed6ab8c35b8352437bdde6c9f3fa1b6d
2018-08-18 12:55:21 -07:00
Kris Maglione 72a0557c23 Bug 1484466: Part 4 - Remove unnecessary lockFactory stub method implementation. r=mccr8
XPConnect will handle dispatching an appropriate error for these calls.

Differential Revision: https://phabricator.services.mozilla.com/D3711

--HG--
extra : rebase_source : 659a429248aea6bb70d76f0ba24241ae64056772
2018-08-18 12:53:47 -07:00
Kris Maglione 3dc726f5c5 Bug 1484466: Part 3b - Remove unused XPCOMUtils.generateQI method. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D3710

--HG--
extra : rebase_source : 07057848d1dd8ca674d45f7dc975746c7a3c3f74
2018-08-18 12:45:31 -07:00
Kris Maglione 356dd0de4a Bug 1484466: Part 3a - Update remaining XPCOMUtils.generateQI callers to use ChromeUtils. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D3709

--HG--
extra : rebase_source : 650545d3e58ab92821a9ea2097793cca5996d5b3
2018-08-18 12:44:57 -07:00
Kris Maglione 312a132d3c Bug 1484466: Part 2b - Remove unused XPCOMUtils.generateCI method. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D3708

--HG--
extra : rebase_source : 6d4c844d4b3b224caef01cb92f3ee27e6999ca4d
2018-08-18 12:39:32 -07:00
Kris Maglione 880dd37f97 Bug 1484466: Part 1 - Remove unused XPCOMUtils.importRelative method. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D3706

--HG--
extra : rebase_source : bea0fcbfc3398f79f2b2655aea81f6181eeca856
2018-08-18 12:36:03 -07:00
Benjamin Bouvier bb271da0ee Bug 1437065: Rename interpCodeRangeIndex to funcCodeRangeIndex; r=luke
--HG--
extra : rebase_source : e4f93e725474295d9008a1dfc1db6785d4ff56c7
extra : histedit_source : df644cdfd5fdc5dc9a1ee72ec0a6d0730e951364
2018-08-20 15:38:36 +02:00
Benjamin Bouvier f39704cd60 Bug 1437065: Drive-by fixes; r=jandem
--HG--
extra : rebase_source : 23f246fa48bd2dcc85c3918609630f50aa1d0837
extra : histedit_source : a33a5be54c7a340999e1b4b5b9316ae37f7cc374
2018-08-20 15:23:01 +02:00
Benjamin Bouvier 0d407d478e Bug 1437065: Have LookupCode reset the codeRange out-param if it didn't find a Code; r=luke
--HG--
extra : rebase_source : a27b87eddcf9c65aeddc80688da7e81ba148a3f9
extra : histedit_source : 14ec6236c078a7e767de45720eef151c63884029
2018-08-07 16:04:58 +02:00
Nicolas B. Pierron eb3df477a8 Bug 1456392 - In deterministic builds, disable baselineCompile when --fuzzing-safe is provided. r=jorendorff 2018-08-21 11:08:05 +02:00
Jan de Mooij d58da1866e Bug 1033916 followup - Fix SpiderMonkey Rust bindings by including jsapi.h in wrapper.hpp instead of relying on jsfriendapi.h doing it. r=me
--HG--
extra : rebase_source : 0d2fd16c5d5125df28bb366a9b4032a448e741f4
2018-08-21 09:53:23 +02:00
Jim Blandy e9c041c528 Bug 1473272 - Don't treat classes with default constructors as self-hosted code. r=tcampbell 2018-07-28 20:26:46 -07:00
Ashley Hauck 473215ab05 Bug 1449540 - Allow modification of ArrayBuffer's __proto__. r=jorendorff 2018-08-22 09:33:00 -04:00