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

637891 Коммитов

Автор SHA1 Сообщение Дата
Ehsan Akhgari b0243117bd Bug 1527505 - Part 7: Compute the default permission in the recursive loop only once; r=nika
Depends on D20234

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

--HG--
extra : moz-landing-system : lando
2019-02-21 22:54:24 +00:00
Ehsan Akhgari d29bd70ee2 Bug 1527505 - Part 6: Use inline storage for storing the type array in order to speed up searching though it in the common case; r=nika
Depends on D20233

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

--HG--
extra : moz-landing-system : lando
2019-02-21 22:54:16 +00:00
Ehsan Akhgari 0083cbb875 Bug 1527505 - Part 5: Inline nsPermissionManager::GetTypeIndex(); r=nika
Depends on D20232

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

--HG--
extra : moz-landing-system : lando
2019-02-21 22:54:14 +00:00
Ehsan Akhgari ef76693c35 Bug 1527505 - Part 4: Compute the type index in the recursive loop only once; r=nika
This patch alone decreases the runtime of the loop on my machine from about
1700 to 200-400ms ranges.  It turns out that computing the type index is
the most expensive part.  So perhaps we should look into improving that as
well.

The first thing that comes to mind is whether we can inline the loop in
GetTypeIndex().  The next part takes care of that, and it does help a bit.
But we need to do more still.

The next obvious thing is to optimize the memory access patterns.  Right
now we iterate over an array of dynamically allocated strings to compare
them, which amounts to pointer chasing to read a bit of memory, kind of
the worst possible way to access memory.  Then we look at replacing that
with fully sequential memory reads in the common cases.

Depends on D20231

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

--HG--
extra : moz-landing-system : lando
2019-02-21 22:54:12 +00:00
Ehsan Akhgari 4268da8938 Bug 1527505 - Part 3: Compute the origin hash once when storing permissions; r=nika
Depends on D20230

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

--HG--
extra : moz-landing-system : lando
2019-02-21 22:54:10 +00:00
Ehsan Akhgari f017471b08 Bug 1527505 - Part 2: Inline the IsSystemPrincipal check; r=nika
Depends on D20229

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

--HG--
extra : moz-landing-system : lando
2019-02-21 22:54:08 +00:00
Ehsan Akhgari 354461335a Bug 1527505 - Part 1: Add a platform-bench test for measuring the performance of TestPermissionFromPrincipal() in the common case that the anti-tracking backend uses it; r=nika
We choose 100,000 iterations so that on a fast processor the test takes
times in the order of seconds.

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

--HG--
rename : extensions/cookie/test/moz.build => extensions/cookie/test/gtest/moz.build
extra : moz-landing-system : lando
2019-02-21 22:54:06 +00:00
Ehsan Akhgari 55a47a949b Bug 1529622 - Initialize jsJitArgsRectifier_, jsJitExceptionHandler_ and preBarrierCode_ in wasm::Instance's constructor; r=luke
Differential Revision: https://phabricator.services.mozilla.com/D20675

--HG--
extra : moz-landing-system : lando
2019-02-21 21:54:46 +00:00
Cameron McCormack 6c39a1461c Bug 1529389 - Add a WPT for IntersectionObserverEntry.isIntersecting. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D20569

--HG--
extra : moz-landing-system : lando
2019-02-21 20:30:13 +00:00
Shivam Singhal 4064daf089 Bug 1528628 - Remove unused JSContext argument of JS_ObjectIsFunction. r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D20114

--HG--
extra : moz-landing-system : lando
2019-02-21 20:42:54 +00:00
Jan de Mooij a036edcd64 Bug 1529306 - Trigger GC timers before CC timers in nsJSContext::RunNextCollectorTimer. r=mccr8
This fixes frequent jsreftest OOMs on Win32 because we weren't triggering GC
frequently enough. Bug 1377131 changed the timer ordering in this code and might
have regressed this.

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

--HG--
extra : moz-landing-system : lando
2019-02-21 20:50:25 +00:00
Mike Shal bb3ac7fa72 Bug 1512806 - Pass correct profile flags for Android PGO; r=firefox-build-system-reviewers,chmanchester
Android requires us to use -fprofile-generate / -fprofile-use instead of
-fprofile-instr-generate / -fprofile-instr-use. Additionally, we have
to pass in the path to write out the profile data as /data/local/tmp,
since the cwd from where the Fennec process is invoked is not writeable.

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

--HG--
extra : moz-landing-system : lando
2019-02-21 19:00:51 +00:00
Kartikaya Gupta c366cdefb9 Bug 1528987 - Send the gecko scroll offsets for scrollframes to WR. r=gw
Differential Revision: https://phabricator.services.mozilla.com/D20667

--HG--
extra : moz-landing-system : lando
2019-02-21 21:06:25 +00:00
Felipe Gomes 03d5c1ef09 Bug 1489780 - Avoid unnecessary clean-up on ActorChild. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D18150

--HG--
extra : moz-landing-system : lando
2019-02-21 20:40:38 +00:00
Emilio Cobos Álvarez d073df2e6e Bug 1528675 - Rename NODE_CHROME_ONLY_ACCESS to NODE_HAS_BEEN_IN_UA_WIDGET, and use that to determine our wrapper scope. r=bzbarsky
It won't change then, even when removed from the UA Widget. It also gives us an
extra node bit.

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

--HG--
extra : moz-landing-system : lando
2019-02-21 18:39:28 +00:00
Emilio Cobos Álvarez 1ade5eb59b Bug 1528675 - Remove XBL's chromeOnlyContent stuff. r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D20559

--HG--
extra : moz-landing-system : lando
2019-02-21 18:39:28 +00:00
Tom Schuster 930bcc1969 Bug 1528931 - Introduce JS::ValueType and Value::type. r=jandem
I only converted a few low hanging fruits to the new API. Having to check for PrivateGCThing, which often can't even appear is a bit annoying, but I don't think we really need a different type.

I think next I can look into some of the extractNonDoubleType uses.

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

--HG--
extra : moz-landing-system : lando
2019-02-21 20:36:44 +00:00
Dão Gottwald a20377e47d Bug 1526597 - Canonization should be applied to all result types, and the input's value should reflect the canonized URL. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D20633

--HG--
extra : moz-landing-system : lando
2019-02-21 20:21:47 +00:00
Mike Hommey f4f3f52f4d Bug 1529195 - Allow to pass a different directory than $DIST to install artifacts to. r=chmanchester
Depends on D20446

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

--HG--
extra : moz-landing-system : lando
2019-02-21 22:53:31 +00:00
Mike Hommey d3af9d50b9 Bug 1529195 - Allow to opt-in to symbols/host-bin artifacts from the CLI. r=chmanchester
and to opt-out of test artifacts.

Depends on D20445

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

--HG--
extra : moz-landing-system : lando
2019-02-21 22:53:43 +00:00
Mike Hommey 79bf8a087d Bug 1529195 - Remove the get_job_details function. r=chmanchester
It is now not useful to keep as a separate function.

Depends on D20444

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

--HG--
extra : moz-landing-system : lando
2019-02-21 22:53:59 +00:00
Mike Hommey 7e1a73e686 Bug 1529195 - Cache list of artifacts and task id for a given set of (tree, job, rev). r=chmanchester
Instead of having cache misses for all variables that may vary when
getting job details. While the currently used variables are mostly
constants, we're going to introduce some flexibility in an subsequent
change.

Depends on D20443

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

--HG--
extra : moz-landing-system : lando
2019-02-21 22:54:32 +00:00
Mike Hommey b98e6f78b9 Bug 1529195 - Move per-job package regexp to per-platform. r=chmanchester
Once all tests regexp are gone, we come to realize that all the package
regexp are the same for each ArtifactJob subclass, some we move the
definitions to the subclasses.

Depends on D20442

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

--HG--
extra : moz-landing-system : lando
2019-02-21 22:54:42 +00:00
Mike Hommey 097ed542ab Bug 1529195 - Remove per-job tests regexp definition. r=chmanchester
Once the firefox-* and fennec-* regexp are gone, we come to realize
that all jobs have the same regexp for tests, so we can just
use that across the board and remove the definition from JOB_DETAILS.

Depends on D20441

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

--HG--
extra : moz-landing-system : lando
2019-02-21 22:54:49 +00:00
Mike Hommey e266c550f5 Bug 1529195 - Remove artifact filters for firefox-* and fennec-*. r=chmanchester
The filters were added back when buildbot was still used, and some
artifacts were still using file names beginning with "firefox" or
"fennec".
That is not true now that all builds are on taskcluster, and for all of
them, they are now target.$ext.

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

--HG--
extra : moz-landing-system : lando
2019-02-21 22:55:08 +00:00
Bogdan Tara 826f142a88 Backed out 3 changesets (bug 1526327, bug 1522705) for WebExecutorSupport.cpp caused Android build bustages CLOSED TREE
Backed out changeset 11f1c1b18d28 (bug 1526327)
Backed out changeset 194be6b55fc4 (bug 1522705)
Backed out changeset d116b3721569 (bug 1522705)
2019-02-22 01:56:07 +02:00
Matthew Noorenberghe fc3ea21215 Bug 1304001 - Stop passing the top window to LoginManagerContent. r=sfoster
It wasn't clear in callee code that the window was the top-window and it wasn't necessary in many cases. Relying on the top-window would also cause problems with Fission if the windows are in separate processes.

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

--HG--
extra : moz-landing-system : lando
2019-02-21 20:19:16 +00:00
Matthew Noorenberghe 49d78f0986 Bug 1304001 - Move LoginUtils._getActionOrigin to LoginHelper. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D20394

--HG--
extra : moz-landing-system : lando
2019-02-21 20:18:51 +00:00
Matthew Noorenberghe 1f5b103b2a Bug 1304001 - Move LoginUtils._getPasswordOrigin to LoginHelper. r=sfoster
There were too many top-level objects in that large JSM and LoginHelper didn't exist when it was added.

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

--HG--
extra : moz-landing-system : lando
2019-02-21 20:18:39 +00:00
Matthew Noorenberghe f1ec30658a Bug 1304001 - Update comments related to gEnabled/rememberSignons. r=sfoster
Fixes some stales comments and identation.

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

--HG--
extra : moz-landing-system : lando
2019-02-21 20:18:19 +00:00
Matthew Noorenberghe 872fbfc19d Bug 1304001 - Update LoginHelper prefs even if no logger was created. r=sfoster
This means there is only one signon.* listener for the whole process, not per-logger.

Also move LMC prefs to LMH.

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

--HG--
extra : moz-landing-system : lando
2019-02-21 20:18:05 +00:00
Andy Wingo 6afb382422 Bug 1528799 - Add BigInt::dump() implementation r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D20316

--HG--
extra : moz-landing-system : lando
2019-02-21 16:14:44 +00:00
Yura Zenevich d347fa8dbd Bug 1424159 - make trees in console keyboard accessible. r=nchevobbe
MozReview-Commit-ID: 867qxNviQ4V

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

--HG--
extra : moz-landing-system : lando
2019-02-21 16:52:51 +00:00
Felipe Gomes 2e794ffb4d Bug 1525100 - Remove ColorAnalyzer.jsm and related files, which are dead code. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D18702

--HG--
extra : moz-landing-system : lando
2019-02-21 19:51:28 +00:00
Ting-Yu Lin dbd6045fc0 Bug 1529444 - Add operator<< for PseudoStyleType to dump a string. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D20602

--HG--
extra : moz-landing-system : lando
2019-02-21 19:50:22 +00:00
Nika Layzell 84ab7df19a Bug 1528387 - Make actor name implicit to JSWindowActor::SendAsyncMessage, r=jdai
Differential Revision: https://phabricator.services.mozilla.com/D20011

--HG--
extra : moz-landing-system : lando
2019-02-21 19:53:59 +00:00
Marco Bonardo 0823cb7547 Bug 1525547 - Unify removing Quantum Bar entries to shift+DEL/BKSP. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D20642

--HG--
extra : moz-landing-system : lando
2019-02-21 19:46:24 +00:00
Felipe Gomes 6380398088 Bug 1520075 - Store the window reference on the child actors as a weak reference. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D19850

--HG--
extra : moz-landing-system : lando
2019-02-21 17:58:33 +00:00
Aaron Klotz df205ceebd Bug 1529429: Part 2 - SHIELD opt-out for launcher process in Nightly; r=mhowell
We use the SHIELD pref instead of the usual launcher process pref for Nightly.
This effectively treats the launcher process as a SHIELD study with 100%
deployment.

We add some Nightly-specific code that uses the SHIELD pref to determine
whether or not to use the launcher. During startup, we query that pref and
reflect it into the registry, which then falls through to the usual launcher
process code.

We will be changing this past 67, but for now this is an effective way to
provide Nightly users with an opt-out to the launcher process and its telemetry.

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

--HG--
extra : moz-landing-system : lando
2019-02-21 19:11:24 +00:00
Aaron Klotz e028ac8bfd Bug 1529429: Part 1 - Make the installer initially disable the launcher process on Nightly; r=mhowell
The idea here is that the installer always disables by default, but then
Firefox itself later re-enables when the appropriate pref is turned on.

I also added a check for the third launcher process registry key (|Image)
since we really only want to do this when all three registry values are
nonexistent.

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

--HG--
extra : moz-landing-system : lando
2019-02-21 18:54:12 +00:00
Matthew Gaudet 2219b978cf Bug 1473830 - Mark OSR TypeBarriers for Null/Undefined/MagicOptimizedArguments as implicitly used, and don't eliminate them during DCE r=nbp
Type barriers are marked as Guard instructions, however, in OSR blocks guards
are eligible for DCE. However, Null/Undefined/MagicOptimizedArguments have no uses
associated with them, and so get optimized out. To prevent that, this patch
uses the ImplicitlyUsed flag to indicate to DCE that these barriers are not
eligible for elimination.

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

--HG--
extra : moz-landing-system : lando
2019-02-21 19:07:01 +00:00
Alexandre Poirot a05feb8d12 Bug 1269919 - Prevent test harness from creating target on teardown. r=jdescottes
Depends on D18814

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

--HG--
extra : moz-landing-system : lando
2019-02-21 15:05:53 +00:00
Alexandre Poirot 2ffe546245 Bug 1269919 - Stop emitting newSource on the target actors. r=jdescottes
Now that the base Target class is managing the thread client,
we no longer have to send "newSource" on the target actor, and instead,
listen for newSource directly on the thread client.
We should probably align updatedSource and have this event being emitted on
the thread actor as well.

Depends on D18813

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

--HG--
extra : moz-landing-system : lando
2019-02-21 18:41:08 +00:00
Alexandre Poirot 412b285031 Bug 1269919 - Unify all the attachThread methods on Target class. r=jdescottes
There is still some tight connection between ThreadClient and Target,
- Target.threadClient, which should ideally disappear in favor of
  target.getFront("thread")
- Target.threadClient is manually nullified from ThreadClient.detach,
  but that should disappear as well thanks to getFront.

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

--HG--
extra : moz-landing-system : lando
2019-02-21 15:05:49 +00:00
Jim Blandy c73dd0d63d Bug 1527862: Use proper initialization condition in AutoDebuggerJobQueueInterruption destructor. r=arai
The AutoDebuggerJobQueueInterruption destructor asserts that the Debugger has
properly managed its hooks' asynchronous jobs. But this assertion clearly only
applies when the AutoDebuggerJobQueueInterruption is properly initialized;
otherwise, the debuggee's job queue is still in place.

Unfortunately, the destructor was using the wrong test to determine whether the
debuggee's queue had been saved. This patch makes it uses the `initialized`
method, rather that checking the `cx` field, which is always initialized.

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

--HG--
extra : moz-landing-system : lando
2019-02-21 18:50:19 +00:00
James Willcox 0809c64d52 Bug 1526327 - Add GeckoWebExecutor.FETCH_FLAGS_NO_REDIRECT r=geckoview-reviewers,droeh,esawin
Using this flag will cause GeckoWebExecutor.fetch() to not automatically
follow redirects, which is the default behavior if no flag is specified.

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

--HG--
extra : moz-landing-system : lando
2019-02-21 18:15:42 +00:00
James Willcox f4c323650d Bug 1522705 - Add streaming response support to GeckoWebExecutor r=esawin,agi
Differential Revision: https://phabricator.services.mozilla.com/D19504

--HG--
extra : moz-landing-system : lando
2019-02-21 18:15:02 +00:00
James Willcox b8f76d07c5 Bug 1522705 - Add /data/<count> path to HttpBinHandler r=geckoview-reviewers,esawin
This simply lets you request 'count' random bytes. A SHA-256 digest is
included for verifying the integrity of the response.

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

--HG--
extra : moz-landing-system : lando
2019-02-21 18:14:53 +00:00
Logan Smyth fe5c75b9ba Bug 1528654 - Select the first column breakpoint for _all_ evaluations of a Debugger.Source, not just the first. r=jlast
A JSScript can be explicitly cloned and applied to a new realm. When this is done within the same compartment
as the original JSScript, it maintains its reference to the original ScriptSourceObject. This can lead to the
potentially surprising fact that using Debugger.findScripts({ source }) can return multiple Debugger.Script
objects representing the same function, but in multiple realms.

When we query for breakpoints in a given source, we want to take the first column breakpoint on a given line,
but that needs to apply to all potential instances of the Debugger.Script for that location, not just the first one.

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

--HG--
extra : moz-landing-system : lando
2019-02-21 16:44:54 +00:00
Andrew Halberstadt 80facb6f27 Bug 1528980 - [tryselect] Print host:port before running the trychooser flask app, r=tcampbell
I'm not really sure why Flask isn't printing this for us, but it's not worth
investigating when the alternative is so easy.

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

--HG--
extra : moz-landing-system : lando
2019-02-21 19:45:57 +00:00