Commit Graph

713303 Commits

Author SHA1 Message Date
Nika Layzell
0e74912c80 Bug 1640019 - Part 2: Use new process switch logic in tabbrowser, r=mattwoodrow,Gijs
Add a series of extra hooks and methods to allow tabbrowser to use the new
process switching codepath. This duplicates some of the logic from
`updateBrowserRemoteness` into event handlers.

Differential Revision: https://phabricator.services.mozilla.com/D78970
2020-06-15 23:23:46 +00:00
Nika Layzell
212943c862 Bug 1640019 - Part 1: Support toplevel process switches outside of tabbrowser, r=mattwoodrow
This new process switching behavior is only enabled for some browser elements,
which have specified a specific attribute. Turning this on for all browsers with
a `remote` attribute causes breakage in reftests.

The initial version does not handle switching from remote to parent or
vice-versa, that is covered in a later part.

Differential Revision: https://phabricator.services.mozilla.com/D78969
2020-06-15 23:23:43 +00:00
Bogdan Tara
74ca6cc819 Backed out changeset 26231891f004 (bug 1644943) for browser_backforward_userinteraction.js and browser_sessionHistory.js failures CLOSED TREE 2020-06-16 02:46:15 +03:00
Kagami Sascha Rosylight
e9e26d8b3a Bug 1643072 - Enable symlink for non-JS files on Windows r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D78090
2020-06-15 22:22:50 +00:00
Scott
453b8005f9 Bug 1645870 - individual newtab stories targeting prefs for spocs or recs r=gvn
Differential Revision: https://phabricator.services.mozilla.com/D79748
2020-06-15 22:51:32 +00:00
Cosmin Sabou
e936ad494b Backed out changeset 5777919cd214 (bug 1400317) for causing Windows MinGW all bustages on WinThemeData.cpp. CLOSED TREE 2020-06-16 02:08:51 +03:00
Andrew McCreight
208d20a42e Bug 1645908 - Eliminate gratuitous use of dom::danger::GetJSContext() in ForceShrinkingGC(). r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D79756
2020-06-15 22:37:10 +00:00
Matt Woodrow
d075fa7e08 Bug 1644943 - Create single webprogress for CanonicalBrowsingContext, regardless of process the browser element contents are in. r=nika,kmag,Gijs
I think at this point we can remove all of RemoteWebProgressManager, some/all of the TabProgressListener recreations, and probably a bunch more.

Differential Revision: https://phabricator.services.mozilla.com/D79240
2020-06-15 22:01:34 +00:00
Michael Kaply
f0a55de8c1 Bug 1645774 - Use proper textContent for section title. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D79734
2020-06-15 22:01:19 +00:00
Gijs Kruitbosch
5704d91227 Bug 1645586 - picture in picture shortcut should no-op if disabled, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D79710
2020-06-15 22:17:27 +00:00
Gijs Kruitbosch
f4baf697be Bug 1645607 - avoid changing plain text documents when entering reader mode, r=jaws
The issue in this bug was caused by reader mode replacing the 'pre' tag
that we use to wrap plaintext documents with a series of paragraphs.
This change affected the original document. Instead, we can put the
paragraphs in a clone of the original document, which is fine for
reader mode and avoids altering the original.

Differential Revision: https://phabricator.services.mozilla.com/D79713
2020-06-15 22:03:09 +00:00
cbrewster
82df51ad78 Bug 1645281: Limit the size of box shadow render tasks r=gw,Bert
Differential Revision: https://phabricator.services.mozilla.com/D79593
2020-06-15 22:01:26 +00:00
Jason Orendorff
0c81b8bfee Bug 1599769 - Part 2: Update test262 tests. r=jwalden
The previous changeset made a change to test262-update.py. This changeset is
the result of running the script, like this:

    cd js/src/tests
    python test262-update.py --revision 4a8e49b3ca7f9f74a4cafe6621ff9ba548ccc353

The revision is taken from the first line of js/src/tests/test262/GIT-INFO; the
purpose of specifying that revision is to run the script again using the same
input, so that the output reflects only changes to the script itself, not new
tests.

Differential Revision: https://phabricator.services.mozilla.com/D76394
2020-06-15 16:56:58 +00:00
Jason Orendorff
033a5e6ba7 Bug 1599769 - Part 1: Ship Promise.any. r=jwalden.
Differential Revision: https://phabricator.services.mozilla.com/D76393
2020-06-15 21:57:04 +00:00
Jason Orendorff
be9fb07ce4 Bug 1634847 - Handle creating a new generator Debugger.Frame from onPop. r=jwalden.
Differential Revision: https://phabricator.services.mozilla.com/D76392
2020-06-15 16:56:56 +00:00
Hiroyuki Ikezoe
d427812e04 Bug 1645900 - Use AutoTArray for sampling animation values. r=boris
In the sampling methods, we do basically sample an animation value for each
CSS property other than transform-like properties.

Differential Revision: https://phabricator.services.mozilla.com/D79749
2020-06-15 21:50:06 +00:00
Chris Martin
29b8d2a190 Bug 1400317 - Centralize ThemeData-related calls r=jmathies
To enable Win32k lockdown, calls involving native theme will need to be
removed.

Currently these calls are scattered around several files. This class creates
a proxy for the Win32 calls. Whitelisting this class in awcw32ks makes it much
easier to track Win32k removal with themes removed.

As an added benefit, once non-native theming is done it will be easy to verify
by asserting that this class is never created in Content.

Differential Revision: https://phabricator.services.mozilla.com/D75946
2020-06-15 21:46:28 +00:00
Edwin Takahashi
4db89d4e49 Bug 1634554 - Part 3. simplify chunking of web-platform-tests suites r=ahal
Changes:
  - stop using runtime information for the chunking process of web-platform-tests
  - remove the wpt_group_translation workaround as it is no longer necessary
  - simplify chunking process to iterate and assign test paths to chunks in order

Simply assigning test paths (stand-in for manifests in other suites) is now possible because other patches in the stack now prevent the web-platform-tests harness (when an external process handles the grouping) from loading all tests in a given path.

Differential Revision: https://phabricator.services.mozilla.com/D78321
2020-06-15 19:38:39 +00:00
Edwin Takahashi
9515ccc297 Bug 1634554 - Part 2: pass file containing MOZHARNESS_TEST_PATHS to web-platform-tests harness r=ahal,jgraham
Changes:
  - if MOZHARNESS_TEST_PATHS is defined, write the contents of that directory to a JSON file.
  - append `--run-by-dir` only if `--test-groups` flag is not set.

Differential Revision: https://phabricator.services.mozilla.com/D78820
2020-06-15 19:31:53 +00:00
Edwin Takahashi
a779c60ef5 Bug 1634554 - Part 1: download decision task artifact and strip out non-WPT tests in mozharness/web_platform_tests.py r=ahal,jgraham
Changes:
  - add new environment variable `TESTS_BY_MANIFEST_URL` referencing the tests-by-manfiest.json.gz artifact generated by decision task.
  - add new method `download_manifest` in mozharness/web_platform_tests.py to download the artifact, then remove non-web-platform-test manifests.
  - the processed artifact is then saved as JSON file containing only web-platform-tests for downstream harnesses to use.

Differential Revision: https://phabricator.services.mozilla.com/D78318
2020-06-15 20:27:21 +00:00
Edwin Takahashi
99dacab80b Bug 1634554 - Part 0: TestResolver to use the path to web-platform-tests up to maximum depth of 3 r=ahal
Changes:
  - when generating the `groups` in TestResolver for web-platform-tests, use the paths to the test files up to a maximum depth of 3 by default.

Differential Revision: https://phabricator.services.mozilla.com/D79355
2020-06-15 19:31:54 +00:00
Edwin Takahashi
5bb1523f87 Bug 1634554 - Add support for --test-groups to wpt r=ahal,egao
This adds a --test-groups command line argument which points at a JSON file containing lists of tests divided into explicit groups like:

{"/dom": ["/dom/historical.html", ...],
 "/dom/events/": [...]}

This is for situations where the division of tests into groups is
performed by an external process (in the case of gecko: by the
decision task).

Group names must be a path prefix, as this metadata is reused as the
test "scope" which is passed down into the output and can be used by
automatic metadata update for per-group properties like the LSAN allow
list.

--test-groups is incompatible with --run-by-dir but composes with
passing an explicit include list by running the intersection of the
supplied tests.

Differential Revision: https://phabricator.services.mozilla.com/D75175
2020-06-15 19:51:56 +00:00
Kevin Jacobs
7fe6c40b58 Bug 1645525 - Remove EV treatment of AddTrust External CA Root. r=jcj
Differential Revision: https://phabricator.services.mozilla.com/D79738
2020-06-15 21:20:47 +00:00
Geoff Brown
a8a478d448 Bug 1643447 - Allow 'mach xpcshell-test --debugger-args=...' on android; r=bc
Avoid AttribueError when trying to access self.remoteDebuggerArgs.

Differential Revision: https://phabricator.services.mozilla.com/D79732
2020-06-15 21:05:15 +00:00
Scott
c2925b2072 Bug 1642718 - Newtab collections sponsored by override. r=gvn
Differential Revision: https://phabricator.services.mozilla.com/D79379
2020-06-15 20:57:34 +00:00
Tom Prince
900dbd7e06 Bug 1643842: Don't try generate artifact builds of builds without tests; r=nalexander
There are various binaries that are included in test archives that are
necessary for artifact builds to be repackaged. Don't generate artifact build
variants of tasks without them.

Differential Revision: https://phabricator.services.mozilla.com/D79575
2020-06-15 20:26:58 +00:00
Tom Prince
671af9cee0 Bug 1643842: Don't try run multi-l10n in artifact builds; r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D79565
2020-06-15 20:07:40 +00:00
Tom Prince
d798fcb16b Bug 1643842: Allow tests to be in en-US directory for artifact builds; r=nalexander
The android shippable builds have the test artifacts in a en-US directory,
since the builds are multi-l10n builds.

Differential Revision: https://phabricator.services.mozilla.com/D79551
2020-06-15 19:49:31 +00:00
Tom Prince
37a7cfb054 Bug 1643842: Use shippable builds for artifact builds; r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D78621
2020-06-15 19:49:30 +00:00
Tom Prince
9ad2d142a7 Bug 1643842: Don't depend on profile-generation if we are an artifact build; r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D79550
2020-06-15 19:49:30 +00:00
Tom Prince
8a031b09b0 Bug 1643842: Add an attribute to indicate which builds are explicitly artifact builds; r=nalexander
This deliberately excludes builds that are implemented using the artifact build machinery,
but are not primarly intended to short-circuit build time. In particular the Windows aarch64
builds are not marked this way.

Differential Revision: https://phabricator.services.mozilla.com/D79549
2020-06-15 19:49:30 +00:00
Mihai Alexandru Michis
973e41bd9c Bug 1645580 - Update expectancies for opene(r/e)-accessed_openee-coop(-ro).https.html r=aryx DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D79598
2020-06-15 20:49:14 +00:00
Sebastian Hengst
09b5342473 Bug 1643532 - Revert expectation update for RTCRtpReceiver-getSynchronizationSources.https.html. DONTBUILD 2020-06-15 22:34:43 +02:00
Ted Campbell
4206392a0b Bug 1644536 - Avoid setting lazy function TI type during XDR. r=mgaudet
Similar to previous patch, this info is not set on functions with lazy
enclosing functions. Also, inline FunctionBox::setTypeForExposedFunctions
into its only caller.

Differential Revision: https://phabricator.services.mozilla.com/D79283
2020-06-11 23:03:47 +00:00
Ted Campbell
ef55ed47f6 Bug 1644536 - Cleanup FieldInitializers initialization. r=mgaudet
FieldInitializers is only defined for functions that have a compiled
enclosing script. We should avoid setting the value when it is not defined.
Update initFromLazyFunction so that fieldInitializers are only read for the
function being delazified. Fix XDR to not track fieldInitializers for lazy
functions with lazy parent functions by checking for exisitance of an
enclosingScope.

Also ensure fieldInitializers are set correctly when cloning scripts. In
practice, we delazify entire script tree before cloning but this is a footgun
none the less.

Differential Revision: https://phabricator.services.mozilla.com/D79282
2020-06-15 19:48:28 +00:00
longsonr
b1dbdf1b3a Bug 1645747 - Change SVGPoint.matrixTransform to take a DOMMatrix2DInit parameter rather than SVGMatrix r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D79681
2020-06-15 16:40:50 +00:00
Kevin Jacobs
f072fe0915 Bug 1645188 - Disable EV treatment for LuxTrust Global Root 2. r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D79359
2020-06-15 19:17:44 +00:00
Randall E. Barker
d5e7531e09 Bug 1635597 - Send MozFirstContentfulPaint any document and not just the root r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D74334
2020-06-14 03:05:48 +00:00
Nick Alexander
7e3c305443 Bug 1644046 - Post: Bump Sonatype nexus to latest 2.x version. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D78946
2020-06-15 16:29:38 +00:00
Nick Alexander
571c7fd42e Bug 1644046 - Get Sonatype nexus with fetch task rather than when building android-build image. r=froydnj
This brings the `android-build` image very close to other build
images, paving the way for it to be folded in completely.  It also
makes us more resilient in the face of upstream service interruptions.

Differential Revision: https://phabricator.services.mozilla.com/D78945
2020-06-15 16:29:30 +00:00
Geoff Brown
23a7f13ad7 Bug 1645842 - Remove reverse-elfhack support from android xpcshell harness; r=bc
Remove some dead code from remote xpcshell harness.

Differential Revision: https://phabricator.services.mozilla.com/D79715
2020-06-15 18:25:13 +00:00
Bogdan Tara
30c59d36db Backed out 5 changesets (bug 1634554) for lint failure CLOSED TREE
Backed out changeset e8db70067dbf (bug 1634554)
Backed out changeset ae24c9902708 (bug 1634554)
Backed out changeset 177cc940d57f (bug 1634554)
Backed out changeset 3240acbd85b6 (bug 1634554)
Backed out changeset 71aa576ada8b (bug 1634554)
2020-06-15 22:25:12 +03:00
Edwin Takahashi
ec7c82ed3a Bug 1634554 - Part 3. simplify chunking of web-platform-tests suites r=ahal
Changes:
  - stop using runtime information for the chunking process of web-platform-tests
  - remove the wpt_group_translation workaround as it is no longer necessary
  - simplify chunking process to iterate and assign test paths to chunks in order

Simply assigning test paths (stand-in for manifests in other suites) is now possible because other patches in the stack now prevent the web-platform-tests harness (when an external process handles the grouping) from loading all tests in a given path.

Differential Revision: https://phabricator.services.mozilla.com/D78321
2020-06-15 17:56:16 +00:00
Edwin Takahashi
783151f608 Bug 1634554 - Part 2: pass file containing MOZHARNESS_TEST_PATHS to web-platform-tests harness r=ahal,jgraham
Changes:
  - if MOZHARNESS_TEST_PATHS is defined, write the contents of that directory to a JSON file.
  - append `--run-by-dir` only if `--test-groups` flag is not set.

Differential Revision: https://phabricator.services.mozilla.com/D78820
2020-06-15 18:32:03 +00:00
Edwin Takahashi
0c1148f15a Bug 1634554 - Part 1: download decision task artifact and strip out non-WPT tests in mozharness/web_platform_tests.py r=ahal,jgraham
Changes:
  - add new environment variable `TESTS_BY_MANIFEST_URL` referencing the tests-by-manfiest.json.gz artifact generated by decision task.
  - add new method `download_manifest` in mozharness/web_platform_tests.py to download the artifact, then remove non-web-platform-test manifests.
  - the processed artifact is then saved as JSON file containing only web-platform-tests for downstream harnesses to use.

Differential Revision: https://phabricator.services.mozilla.com/D78318
2020-06-15 18:41:08 +00:00
Edwin Takahashi
2c64566bab Bug 1634554 - Part 0: TestResolver to use the path to web-platform-tests up to maximum depth of 3 r=ahal
Changes:
  - when generating the `groups` in TestResolver for web-platform-tests, use the paths to the test files up to a maximum depth of 3 by default.

Differential Revision: https://phabricator.services.mozilla.com/D79355
2020-06-12 20:41:42 +00:00
James Graham
92b863882a Bug 1634554 - Add support for --test-groups to wpt r=ahal,egao
This adds a --test-groups command line argument which points at a JSON
file containing lists of tests divided into explicit groups like:

{"/dom": ["/dom/historical.html", ...],
 "/dom/events/": [...]}

This is for situations where the division of tests into groups is
performed by an external process (in the case of gecko: by the
decision task).

Group names must be a path prefix, as this metadata is reused as the
test "scope" which is passed down into the output and can be used by
automatic metadata update for per-group properties like the LSAN allow
list.

--test-groups is incompatible with --run-by-dir but composes with
passing an explicit include list by running the intersection of the
supplied tests.

Differential Revision: https://phabricator.services.mozilla.com/D75175
2020-06-11 21:25:25 +00:00
Jeff Gilbert
9bd130e4be Bug 1632249 - Disable now-failing DXGL test for now.
Differential Revision: https://phabricator.services.mozilla.com/D79649
2020-06-15 18:25:13 +00:00
Jeff Gilbert
82ef5d6cc1 Bug 1632249 - Check weakptr value before deref in gl::Texture/Renderbuffer. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D79626
2020-06-15 18:26:17 +00:00
Jeff Gilbert
fac855a09e Bug 1632249 - Determine webgl's layers::TextureType in Present. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D79617
2020-06-15 18:26:14 +00:00