Commit Graph

640367 Commits

Author SHA1 Message Date
Emilio Cobos Álvarez
759875a3fe Bug 1530193 - followup: Fix default type and value of browser.display.focus_ring_style.
It warns on debug builds.
2019-03-07 15:06:35 +01:00
Brian Hackett
10b02eb394 Bug 1530699 - Apply breakpoints to all discovered sources, r=loganfsmyth.
--HG--
extra : rebase_source : 24bf939c56df08dfbf9f7bad37d06f96ae9118f8
2019-03-05 15:56:00 -10:00
Brian Hackett
2c77f72e39 Bug 1532362 - Lookup sources by actor URL instead of source URL, r=lsmyth.
--HG--
extra : rebase_source : ed338e0539445ee5ec0bc34c92b0a150e69634ce
2019-03-04 10:03:20 -10:00
Brian Hackett
add5ceefa8 Bug 1531826 Part 4 - Add tests for console/inspector links to eval sources.
--HG--
extra : rebase_source : b67e3713f0839c257f5b3d5ba4715ce158e28286
2019-03-05 07:46:37 -10:00
Brian Hackett
194035443a Bug 1531826 Part 3 - Convert source IDs in console message stack traces, r=lsmyth.
--HG--
extra : rebase_source : ab3baebb3d16d2d467cc1a574e27a0ea62fae2bb
2019-03-04 06:41:37 -10:00
Brian Hackett
02ef503dea Bug 1531826 Part 2 - Frames with source IDs should always be linkable, r=nchevobbe.
--HG--
extra : rebase_source : 2eeb3af85bc0c8456719988bb34ef54ffdc78b17
2019-03-04 06:20:09 -10:00
Brian Hackett
7bdab9da0c Bug 1531826 Part 1 - View event handler sources by ID, r=ochameau.
--HG--
extra : rebase_source : 372a529e62b35c985ec8c1bc49ca33e2003fe3a4
2019-03-04 05:45:19 -10:00
Jon Coppeard
abb2fb97f8 Bug 1532946 - Tidy allocation functions by renaming overloads for object and string allocation r=sfink 2019-03-06 11:23:08 +00:00
Jon Coppeard
aa5c7c415a Bug 1532376 - Assert that the group's shouldPretenure flag is respected when creating an object r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D22326
2019-03-06 16:38:29 +00:00
Jon Coppeard
297ac5be9c Bug 1532376 - Fix places where we don't respect the shouldPretenure flag when creating an object r=jandem
This adds an overload of GetInitialHeap that takes an ObjectGroup* instead of a Class* and also takes into account whether the group's shouldPreTenure flag is set.  I moved this to JSObject-inl.h too.

I removed the heap parameter in a few places, in particular in NewDenseCopyOnWriteArray which required a bunch of changes elsewhere including the JITs.  I left the heap parameter intact for environment objects where we may have reason prefer these objects to be allocated in the tenure heap.  It's possible we should just remove all these parameters too and make allocation more uniform.

Differential Revision: https://phabricator.services.mozilla.com/D22324
2019-03-06 16:38:25 +00:00
Makoto Kato
ba8662db5b Bug 1533250 - Remove *JSAndPlugins* methods from nsIEditingSession. r=masayuki
Firefox, comm-central and bluegriffon don't use `*JSAndPlugin*` methods of
`nsIEditingSession` from script. Let's remove or move to `nsEditingSession`.

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

--HG--
extra : rebase_source : 256fb4025fe8c6f5a61d5b015af942ff65759c23
2019-02-10 19:41:43 +09:00
Nicolas B. Pierron
d348fe8fc5 Bug 1525711 - Index MDN page for JSMSG_REDECLARED_VAR errors. r=fscholz 2019-03-07 11:50:03 +01:00
Dão Gottwald
fb03a6d522 Backed out changeset 59c8fffe9e41 (bug 1442694) 2019-03-07 11:41:29 +01:00
Dão Gottwald
9d4207731e Backed out changeset 3bd9591627ce (bug 1442694) 2019-03-07 11:31:48 +01:00
Dão Gottwald
14505d9bf1 Backed out changeset 8b3fe0426ffc (bug 1442694) 2019-03-07 11:31:30 +01:00
Dão Gottwald
dd32a46b52 Backed out changeset 764939fcdaf3 (bug 1532498) 2019-03-07 11:31:12 +01:00
Kai Engert
41ce4984c5 Bug 1526010, NSPR 4.21 RTM, r=me
UPGRADE_NSPR_RELEASE DONTBUILD
2019-03-07 11:16:36 +01:00
Andreea Pavel
5e0cd4cef7 Merge mozilla-central to mozilla-inbound. on a CLOSED TREE 2019-03-07 12:00:37 +02:00
Andreea Pavel
b2d35912da Merge mozilla-inbound to mozilla-central. a=merge
--HG--
extra : amend_source : 195a9fee199856b4fedbe199345d31161fedfc39
2019-03-07 11:49:04 +02:00
Masayuki Nakano
49207fb1b7 Bug 1532890 - Get rid of CachedWeakPtr due to unused r=m_kato
The class was created for Quantum Flow, but now, nobody uses it.

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

--HG--
extra : moz-landing-system : lando
2019-03-07 04:25:40 +00:00
Coroiu Cristina
d234f2549a Merge mozilla-central to autoland a=merge on a CLOSED TREE 2019-03-07 06:39:14 +02:00
Coroiu Cristina
24aacfe9a4 Merge inbound to mozilla-central a=merge 2019-03-07 06:34:11 +02:00
Tom Prince
24f4ed9c75 Bug 1532710: [taskgraph] Move default branch priorities to graph config; r=dustin
Differential Revision: https://phabricator.services.mozilla.com/D22127

--HG--
extra : moz-landing-system : lando
2019-03-07 04:20:36 +00:00
Tom Prince
9203300311 Bug 1532710: [taskgraph] Provide a function version of resolve_keyed_by that doesn't mutate; r=dustin
I'd like to use the same format for config values, that get evaluated in different contexts, so don't
to mutate the config for that.

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

--HG--
extra : moz-landing-system : lando
2019-03-07 04:20:33 +00:00
Dorel Luca
25265b82d1 Backed out changeset 238d9fba1b5a (bug 1533160) for Debugger failures 2019-03-07 05:56:24 +02:00
Sean Stangl
3bc83a5a93 Bug 1528869 - Enable IonMonkey in the ARM64 shell, but keep it disabled in the browser. r=nbp
Enable IonMonkey in the ARM64 shell, but keep it disabled in the browser.

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

--HG--
extra : moz-landing-system : lando
2019-03-07 03:57:23 +00:00
Jason Laster
c2596e8439 Bug 1533160 - Clean up dumpThread. r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D22399

--HG--
extra : moz-landing-system : lando
2019-03-07 03:01:30 +00:00
J.C. Jones
129044424e Bug 1523175 - land NSS a306d84e4c70 UPGRADE_NSS_RELEASE, r=me
--HG--
extra : rebase_source : bef6e6945c8f62707a5daa51bd1a1092769c9c20
2019-03-06 21:10:05 +00:00
Ted Campbell
258f9ffb1f Bug 1533003 - Split JSScript::initFromFunctionBox r=jandem
Split into one part for JSScript internal initialization of flags and a
second part for linking the JSFunction and JSScript only after the
script is fully initialized.

Depends on D22322

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

--HG--
extra : moz-landing-system : lando
2019-03-06 18:12:30 +00:00
Ted Campbell
f80d62d852 Bug 1533003 - Add SharedScriptData::InitFromEmitter r=jandem
Depends on D22321

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

--HG--
extra : moz-landing-system : lando
2019-03-06 18:09:27 +00:00
Ted Campbell
c5c0086ee2 Bug 1533003 - Add PrivateScriptData::InitFromEmitter r=jandem
Depends on D22320

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

--HG--
extra : moz-landing-system : lando
2019-03-06 18:06:35 +00:00
Ted Campbell
228743c20b Bug 1533003 - Split out inner-function scope linking in script compile r=jandem
When compiling a script with lazy inner functions, we now know the
scopes that those inner functions belong too and need to save this
information on the inner function itself (as enclosingScope). This patch
makes that process more explicit in JSScript initialization so we can
better reason about error / OOM paths.

Depends on D22319

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

--HG--
extra : moz-landing-system : lando
2019-03-06 18:04:10 +00:00
Ted Campbell
d380864cd7 Bug 1533003 - JSScript::fullyInitFromEmitter group flag init r=jandem
Depends on D22318

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

--HG--
extra : moz-landing-system : lando
2019-03-06 18:03:12 +00:00
Ted Campbell
085f166748 Bug 1533003 - JSScript::fullyInitFromEmitter group POD fields r=jandem
Depends on D22317

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

--HG--
extra : moz-landing-system : lando
2019-03-06 18:01:34 +00:00
Ted Campbell
8a693c6d8d Bug 1533003 - Cleanup JSScript::fullyInitFromEmitter error handling r=jandem
Use an ExitScope similar to to XDRScript for more consistency.

Depends on D22316

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

--HG--
extra : moz-landing-system : lando
2019-03-06 17:59:06 +00:00
Ted Campbell
10940b7d27 Bug 1533003 - Compute JSScript::NeedsFunctionEnvironmentObjects directly from BCE r=jandem
Depends on D22315

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

--HG--
extra : moz-landing-system : lando
2019-03-06 17:55:38 +00:00
Ted Campbell
327f2137b8 Bug 1533003 - Compute JSScript::FunHasAnyAliasedFormal directly from BCE r=jandem
Compute this flag directly from BytecodeEmitter data structures instead
of needing to access the partially initialized script while setting its
own flags.

Depends on D22313

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

--HG--
extra : moz-landing-system : lando
2019-03-06 17:42:18 +00:00
Ted Campbell
e0eaf32604 Bug 1533003 - Remove JSScript::initFromModuleContext r=jandem
This removes the redundant set of TreatAsRunOnce which is instead set by
CompileOptions before we start compiling. The IsModule flag is now set
directly similar to IsForEval.

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

--HG--
extra : moz-landing-system : lando
2019-03-06 17:34:39 +00:00
Mike Hommey
9961a0af3d Bug 1530908 - Don't use different mozconfigs for artifact builds. r=chmanchester
Artifact mozconfigs are not necessarily up-to-date wrt changes to the
nightly mozconfigs, and all in all, shouldn't be much different from
them.

It's just better to use the nightly mozconfigs (or beta on beta, etc.)
and make the mozconfigs themselves handle the few things that need to be
different when the USE_ARTIFACT environment is set (which is now
consistently set by taskcluster)

This does have the side effect of turning builds that actually don't
support artifact builds red when using --artifact on try, instead of
having them silently not be artifact builds as currently happens.

Depends on D21314

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

--HG--
extra : moz-landing-system : lando
2019-03-06 22:48:05 +00:00
Mike Hommey
50e4660cb8 Bug 1530908 - Move --enable-artifact-build-symbols to mozconfig.artifact. r=chmanchester
Depends on D21313

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

--HG--
extra : moz-landing-system : lando
2019-03-05 06:58:05 +00:00
Mike Hommey
03b94324a6 Bug 1530908 - Always set USE_ARTIFACT from taskcluster for artifact builds. r=chmanchester
The artifact builds that are automatically derived using the artifact
template set the USE_ARTIFACT environment variable from taskcluster.
After the previous change, --artifact builds from try syntax do that
too.
That leaves us with only the artifact-build build not doing it, so for
consistency, do it there. That makes it not necessary to set
USE_ARTIFACT from mozconfig.artifact.automation anymore.

Depends on D22056

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

--HG--
extra : moz-landing-system : lando
2019-03-06 22:48:30 +00:00
Mike Hommey
fac15dd243 Bug 1530908 - Only enable artifacts on try builds that support them. r=dustin
Currently, all tasks of kind builds are indiscriminately altered to use
artifacts, but only few of them actually support that, and the others
won't actually have the expected result when that happens. E.g. ASAN
builds with artifacts enabled end up being non-ASAN builds.

Effectively, this makes the artifact flag ignored for builds that don't
support artifacts. One could argue that those builds shouldn't happen at
all, but it feels a better use time of developer's time to just do the
full build they asked for. E.g. if they asked for ASAN with artifacts,
they still get an ASAN build, rather than an error or silently having
the task not happen after the decision task. This also allows to mix
artifact and non-artifact builds.

Further changes down the road are also modifying the artifact builds
configuration, which would actively turn those builds that don't support
artifact builds red (e.g. ASAN), so something has to be done anyways.
The alternative would be filter those builds out.

Depends on D21312

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

--HG--
extra : moz-landing-system : lando
2019-03-06 17:45:32 +00:00
Mike Hommey
ac94b1c515 Bug 1530908 - Unify artifact builds setup between try config and try syntax. r=dustin
While try syntax is approaching its EOL, the fact that using it to do
artifact builds does some things subtly differently from using try
config is not helpful.

Depends on D22055

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

--HG--
extra : moz-landing-system : lando
2019-03-06 22:48:28 +00:00
Mike Hommey
dae76481a6 Bug 1530908 - Move list of supported artifact builds to an importable module. r=chmanchester
Depends on D22054

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

--HG--
extra : moz-landing-system : lando
2019-03-06 22:47:32 +00:00
Mike Hommey
39a1a320f7 Bug 1530908 - Use a transform for try --artifact instead of a morph. r=tomprince
While the morph was changing the treeherder symbol to `Ba` for all jobs,
doing so with a transform fails because of the conflicting symbol check
(as multiple jobs in the same category would end up with `Ba`). So
instead, we append `a` to the existing symbol.

We also change the documentation wrt templates for try pushes, as the
artifact template is now essentially gone (although technically, mach
try will still set params['templates']['artifacts']['enabled'] for now,
and the template still exists, albeit empty).

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

--HG--
extra : moz-landing-system : lando
2019-03-05 08:52:19 +00:00
Mike Hommey
d876d02d9a Bug 1530908 - Use an environment variable to enable LTO on automation. r=chmanchester
This allows to disable it more easily for artifact builds.

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

--HG--
extra : moz-landing-system : lando
2019-03-06 22:47:08 +00:00
Andrei Oprea
e65a86fd9b Bug 1528966 - Add new CFR UI template for Pin tab message r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D22084

--HG--
extra : moz-landing-system : lando
2019-03-06 16:39:04 +00:00
Jared Wein
e741a628e2 Bug 1294194 - Don't prompt to re-save a filled login when used on a different origin. r=MattN
Also delete the `super.cleanup()` call since ActorChild no longer has a cleanup method.

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

--HG--
extra : moz-landing-system : lando
2019-03-06 22:33:52 +00:00
Kershaw Chang
2870a6daed Bug 1532231 - Properly check if a DNSRequest is in array r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D21902

--HG--
extra : moz-landing-system : lando
2019-03-06 22:15:41 +00:00
Karan Sapolia
b37b92c534 Bug 1532673 - "Stop using safe mode" help access key funtionality restored. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D22248

--HG--
extra : moz-landing-system : lando
2019-03-06 22:25:04 +00:00