Commit Graph

71362 Commits

Author SHA1 Message Date
Andreea Pavel
8c09b0389f Merge mozilla-inbound to mozilla-central. a=merge
--HG--
rename : mobile/android/base/java/org/mozilla/gecko/util/OnboardingStringUtil.java => mobile/android/base/java/org/mozilla/gecko/util/OnboardingResources.java
rename : toolkit/components/normandy/test/browser/addons/normandydriver-1.0/manifest.json => toolkit/components/normandy/test/browser/addons/normandydriver-a-1.0/manifest.json
rename : toolkit/components/normandy/test/browser/addons/normandydriver-2.0/manifest.json => toolkit/components/normandy/test/browser/addons/normandydriver-a-2.0/manifest.json
rename : toolkit/components/normandy/test/browser/addons/normandydriver-1.0/manifest.json => toolkit/components/normandy/test/browser/addons/normandydriver-b-1.0/manifest.json
2019-06-15 12:54:47 +03:00
Mihai Alexandru Michis
cff1990963 Backed out 4 changesets (bug 1545582) for causing build bustages in SavedStacks.cpp CLOSED TREE
Backed out changeset a47c4a44bae0 (bug 1545582)
Backed out changeset c05a5d68d9a8 (bug 1545582)
Backed out changeset 699de45940b1 (bug 1545582)
Backed out changeset 285673afaa99 (bug 1545582)
2019-06-15 02:19:08 +03:00
Greg Tatum
808dfce0d8 Bug 1545582 - Add a JS runtime level of allocation logging; r=jimb
Differential Revision: https://phabricator.services.mozilla.com/D28142

--HG--
extra : moz-landing-system : lando
2019-06-14 20:18:22 +00:00
Dorel Luca
bb47ceb7e9 Backed out 2 changesets (bug 1559275) for Mochitest failures in js/xpconnect/tests/chrome/test_discardSystemSource.xul. CLOSED TREE
Backed out changeset 41762079fd4c (bug 1559275)
Backed out changeset 248e294630c1 (bug 1559275)

--HG--
extra : rebase_source : 88e75469d7ad3dda9c969fa2c9ceee47b6d0169a
2019-06-14 23:52:03 +03:00
Kristen Wright
6cb69baf92 Bug 1558556 - swap cx->helperThread() nullchecks to check for js::ContextKind::HelperThread r=tcampbell
Added isHelperThreadContext() to check that cx runs on a helper thread, similar to isMainThreadContext(). Replaced null-checks meant to look for helper threads with isHelperThreadContext(), leaving instances where helperthread() is checked in order to access the actual helper thread.

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

--HG--
extra : moz-landing-system : lando
2019-06-14 17:58:28 +00:00
Jim Blandy
44b4472bb0 Bug 1559062: Don't leak onStep handlers. r=jorendorff
When I wrote my prior patch, I forgot that a DebuggerFrame object's
ONSTEP_HANDLER_SLOT holds, not a JavaScript object, but a private value pointing
to an OnStepHandler, which must be explicitly freed.

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

--HG--
extra : moz-landing-system : lando
2019-06-14 19:26:09 +00:00
Ted Campbell
e35a46b5c0 Bug 1559275 - Remove unused CompileOptions::isProbablySystemCode. r=jandem
Depends on D34976

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

--HG--
extra : moz-landing-system : lando
2019-06-14 07:35:17 +00:00
Ted Campbell
d91ab6cc88 Bug 1559275 - Add CompileOptions::discardSource. r=jandem
Check realm flags at when creating CompileOptions rather than during
compilation. This is helpful for pre-compiling self-hosting code.

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

--HG--
extra : moz-landing-system : lando
2019-06-14 18:34:32 +00:00
Ashley Hauck
8b0ff305bb Bug 1559123 - Do not relazify scripts with JSOP_CALLSITEOBJ. r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D34916

--HG--
extra : moz-landing-system : lando
2019-06-14 15:10:10 +00:00
Paul Bone
42d58c9bd2 Bug 1476845 - Define the LifoAlloc poison values in jsutil.h r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D33452

--HG--
extra : moz-landing-system : lando
2019-06-14 05:37:17 +00:00
Paul Bone
30f610c54e Bug 1476845 - Add link to mrgiggles' source r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D33451

--HG--
extra : moz-landing-system : lando
2019-06-14 05:36:54 +00:00
Paul Bone
22ecc62435 Bug 1476845 - Collect poison values from around the engine into jsutil.h r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D33450

--HG--
extra : moz-landing-system : lando
2019-06-14 05:36:37 +00:00
Paul Bone
8dfaa246d4 Bug 1476845 - Update IsThingPoisoned r=jonco
Not all the listed poison values were used in IsThingPoisoned

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

--HG--
extra : moz-landing-system : lando
2019-06-14 05:35:43 +00:00
André Bargull
a39b233aa1 Bug 1549578: Cache most recently used UDateTimePatternGenerator in SharedIntlData. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D30114

--HG--
extra : moz-landing-system : lando
2019-06-14 03:34:33 +00:00
Noemi Erli
fc3db67332 Backed out 2 changesets (bug 1558604) for causing failures in class-declaration-explicit-ctor.js CLOSED TREE
Backed out changeset 2fa5845aab8f (bug 1558604)
Backed out changeset 6accf00aa7cc (bug 1558604)
2019-06-13 16:06:59 +03:00
Matthew Gaudet
18dbab68b3 Bug 1558604 - Keep interpreted and interpretedLazy on FunctionBox r=jorendorff
Depends on D34586

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

--HG--
extra : moz-landing-system : lando
2019-06-12 23:52:08 +00:00
Matthew Gaudet
17696d5b2a Bug 1558604 - Defer initializaton of JSFunction::nargs until after function parsing is done. r=jorendorff
The args count needs to be set before the LazyScript takes hold of the
functionbox, or else some code that references lazy functions can get the wrong
number of arguments (ie, CloneFunctionObjectIfNotSingleton on a lazy function)

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

--HG--
extra : moz-landing-system : lando
2019-06-12 23:49:04 +00:00
Eden Chuang
2e0a3f0ddb Bug 1546306 - Add an optional aFromChromeContext parameter to nsIScriptError::InitWithWindowID for the case the passed in windowId is zero. r=baku
In some cases, the nsIScriptError is initialized with zero innerWindowId, but is from chrome context.

For cases, this patch adds an optional aFromChromeContext parameter to nsIScriptError::InitWithWindowID, which default value is false.

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

--HG--
extra : moz-landing-system : lando
2019-06-13 09:50:49 +00:00
Oana Pop Rus
b93335c27f Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-06-13 13:04:19 +03:00
Oana Pop Rus
1133b6716d Merge inbound to mozilla-central. a=merge 2019-06-13 12:55:51 +03:00
Paul Bone
97cbd21e24 Bug 1557928 - Rename the DoNotCare tracer kind r=jonco
Depends on D34675

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

--HG--
extra : moz-landing-system : lando
2019-06-13 01:11:53 +00:00
Paul Bone
dfeb403149 Bug 1557928 - Replace several functions with a single general function r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D34675

--HG--
extra : moz-landing-system : lando
2019-06-13 01:11:54 +00:00
Paul Bone
314393ad7b Bug 1557928 - Fix obsolete comments r=jonco
IsMarkingTracer no-longer exists, so remove one comment that refers to it
and fix another comment.

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

--HG--
extra : moz-landing-system : lando
2019-06-13 01:11:56 +00:00
Paul Bone
256fa598e8 Bug 1557928 - Use the UnmarkGray tracekind for AssertNonGrayTracer r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D34673

--HG--
extra : moz-landing-system : lando
2019-06-13 06:06:11 +00:00
Adam Holm
46d3b5f507 Bug 1467191 - Unifies some implementations of CacheIR ops that perform a callVM. r=mgaudet
Differential Revision: https://phabricator.services.mozilla.com/D31702

--HG--
extra : moz-landing-system : lando
2019-06-13 02:28:50 +00:00
Adam Holm
f8f9b8becc Bug 1467191 - Unified IonCacheIRCompiler::calledPrepareVMCall_ and BaselineCacheIRCompiler::inStubFrame_ into CacheIRCompiler::preparedForVMCall_. r=mgaudet
Member variables `calledPrepareVMCall_` and `inStubFrame_` served the same purpose for their classes.
Unified them in CacheIRCompiler.

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

--HG--
extra : moz-landing-system : lando
2019-06-13 02:25:36 +00:00
Adam Holm
6e4e4786b3 Bug 1467191 -Unified IonCacheIRCompiler and BaselineCacheIRCompiler's callVM and callVMInternal methods in CacheIRCompiler. r=mgaudet
Base commit for bug 1467191.

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

--HG--
extra : moz-landing-system : lando
2019-06-13 02:23:26 +00:00
Adam Holm
c3861ce19d Bug 1467191 - Moving BaselineCacheIRCompiler and IonCacheIRCompiler into their respective headers. r=mgaudet
Base commit for bug 1467191. Moves declarations of BaselineCacheIRCompiler and IonCacheIRCompiler
into their respective header files.

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

--HG--
extra : moz-landing-system : lando
2019-06-13 02:20:35 +00:00
Adam Holm
70dbabb58d Bug 1467191 - Moving BaselineCacheIRCompiler inside js::jit namespace. r=mgaudet
Base commit for patch for bug 1467191 that fixes inconsistencies in
namespace use between BaselineCacheIRCompiler and IonCacheIRCompiler.

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

--HG--
extra : moz-landing-system : lando
2019-06-13 02:06:34 +00:00
Andrea Marchesini
bb718d74fc Bug 1490044 - Remove DOMPrefs. r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D33510

--HG--
extra : moz-landing-system : lando
2019-06-13 09:02:03 +00:00
Jan de Mooij
cf29e09a41 Bug 1558801 - Change PrivateScriptData consts array to BigInt array. r=tcampbell
Since bug 1535137 the consts array only stores `BigIntValues` so we can change
it to a `BigInt` array. This will also make it easier to fix bug 1535154.

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

--HG--
extra : moz-landing-system : lando
2019-06-12 16:18:22 +00:00
Andreea Pavel
9d535a8d72 Backed out 4 changesets (bug 1557928) SM build bustages on a CLOSED TREE
Backed out changeset 5e5b8a770b18 (bug 1557928)
Backed out changeset 6096454af6f1 (bug 1557928)
Backed out changeset 618afaab2634 (bug 1557928)
Backed out changeset ef396dbaecf3 (bug 1557928)
2019-06-13 04:07:17 +03:00
Paul Bone
ee87fa7f84 Bug 1557928 - Rename the DoNotCare tracer kind r=jonco
Depends on D34675

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

--HG--
extra : moz-landing-system : lando
2019-06-12 16:23:47 +00:00
Paul Bone
f2b96f7abf Bug 1557928 - Replace several functions with a single general function r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D34675

--HG--
extra : moz-landing-system : lando
2019-06-12 12:15:22 +00:00
Paul Bone
6acfc9f675 Bug 1557928 - Fix obsolete comments r=jonco
IsMarkingTracer no-longer exists, so remove one comment that refers to it
and fix another comment.

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

--HG--
extra : moz-landing-system : lando
2019-06-12 12:14:49 +00:00
Paul Bone
109fd59d37 Bug 1557928 - Use the UnmarkGray tracekind for AssertNonGrayTracer r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D34673

--HG--
extra : moz-landing-system : lando
2019-06-12 16:23:08 +00:00
Ehsan Akhgari
b3c4267b3c Bug 1557887 - Part 6: Pass a storage principal to the rest of the call sites for createAboutBlankContentViewer(); r=baku
Differential Revision: https://phabricator.services.mozilla.com/D34460

--HG--
extra : moz-landing-system : lando
2019-06-12 09:07:33 +00:00
Mike Hommey
85e29d1e3b Bug 1557583 - Add a --enable-frame-pointers option. r=chmanchester
We've been relying on frame pointers being indirectly enabled via things
like --enable-profiling for some time, but this doesn't scale because
some things may want frame pointers while wanting --disable-profiling.

So we move MOZ_FRAMEPTR_FLAGS to python configure and add a new option
to decide whether to enable frame pointers or not.

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

--HG--
extra : moz-landing-system : lando
2019-06-12 22:30:46 +00:00
Ciure Andrei
bfcbe2b9d3 Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2019-06-13 06:53:03 +03:00
Ciure Andrei
6aeedae8c4 Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2019-06-13 00:46:01 +03:00
Ciure Andrei
cb5d2852cb Merge inbound to mozilla-central. a=merge 2019-06-13 00:42:10 +03:00
Ciure Andrei
f069db250c Merge autoland to mozilla-central. a=merge 2019-06-13 00:40:48 +03:00
Andreea Pavel
8552bec485 Backed out changeset 13c976344b69 (bug 1557254) for causing bug 1558836 and bug 1558852 a=backout
--HG--
extra : histedit_source : 62d780cd7c039cde0eb18472a3edf9c51aa20270
2019-06-12 20:27:00 +03:00
Dorel Luca
75f0f73de5 Merge mozilla-central to mozilla-inbound 2019-06-12 15:17:56 +03:00
Jon Coppeard
fc3f75f7f3 Bug 1395509 - Track malloc memory used by IndirectBindingMaps associated with modules r=pbone
Use memory tracking APIs to track malloc memory associated with module IndirectBindingMap. These are attached to ModuleObjects and ModuleNamespaceObjects.

Differential Revision: https://phabricator.services.mozilla.com/D34551
2019-06-11 16:56:59 +01:00
Bogdan Tara
bf22857a64 Backed out 14 changesets (bug 1552435) for BinASTTokenReaderContext.h related build bustages CLOSED TREE
Backed out changeset d4e3bdd4e494 (bug 1552435)
Backed out changeset 7fad44e18739 (bug 1552435)
Backed out changeset 8acef5541a11 (bug 1552435)
Backed out changeset 3a42d8bda7d0 (bug 1552435)
Backed out changeset 53a13d1d4f6e (bug 1552435)
Backed out changeset b79f0c113d3e (bug 1552435)
Backed out changeset 7f8c607be8f8 (bug 1552435)
Backed out changeset 5d0670db54ef (bug 1552435)
Backed out changeset 368e2dd6ec38 (bug 1552435)
Backed out changeset 0db441d1c2d8 (bug 1552435)
Backed out changeset 4897449d8397 (bug 1552435)
Backed out changeset 4cd2018dbd8b (bug 1552435)
Backed out changeset fd7f9aa70324 (bug 1552435)
Backed out changeset 36ceb8f15cb9 (bug 1552435)
2019-06-12 04:39:49 +03:00
David Teller
641d20716d Bug 1552435 - Propagating upstream changes;r=arai
Differential Revision: https://phabricator.services.mozilla.com/D34483

--HG--
extra : moz-landing-system : lando
2019-06-11 16:12:12 +00:00
David Teller
6c8df2fc11 Bug 1552435 - Connecting the HuffmanPreludeReader;r=arai
Depends on D33951

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

--HG--
extra : moz-landing-system : lando
2019-06-11 17:38:42 +00:00
David Teller
79c90d1ce9 Bug 1552435 - Attempting to silence spurious warnings;r=arai
Differential Revision: https://phabricator.services.mozilla.com/D33951

--HG--
extra : moz-landing-system : lando
2019-06-11 16:11:20 +00:00
David Teller
dc632cc43d Bug 1552435 - Reading Huffman tables of string enums;r=arai
Depends on D33937

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

--HG--
extra : moz-landing-system : lando
2019-06-11 16:10:49 +00:00