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

713337 Коммитов

Автор SHA1 Сообщение Дата
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
Jeff Gilbert 4232c2c466 Bug 1632249 - Replace GLContextProvider::CreateOffscreen with GLContext::CreateOffscreenDefaultFb. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D79390
2020-06-15 18:26:12 +00:00
Jeff Gilbert 85607b410d Bug 1632249 - Remove unused var g2DContextLayerUserData.
Differential Revision: https://phabricator.services.mozilla.com/D79248
2020-06-15 18:26:10 +00:00
Jeff Gilbert e985d2a2da Bug 1632249 - Mark mCapturedFrameInvalidated even if mIsCanvasDirty. r=handyman
Differential Revision: https://phabricator.services.mozilla.com/D79014
2020-06-15 18:26:07 +00:00
Jeff Gilbert 4d9dcd8e1d Bug 1632249 - Fix Bb failures. r=gw
> /builds/worker/checkouts/gecko/gfx/gl/SharedSurface.cpp:141:1: error: control reaches end of non-void function [-Werror=return-type]

Old compilers don't realize the switch being exhaustive means the
function always returns, which we workaround here.

Differential Revision: https://phabricator.services.mozilla.com/D78837
2020-06-15 18:26:05 +00:00
Jeff Gilbert 3ae501809c Bug 1632249 - NON_PREMULT TextureClient iff NON_PREMULT CanvasClient. r=handyman
Differential Revision: https://phabricator.services.mozilla.com/D78800
2020-06-15 18:26:02 +00:00
Jeff Gilbert a3bc94c178 Bug 1632249 - Create a separate WebGLContext::PresentInto function for WebXR. r=jgilbert
- Do not apply mIsCanvasDirty bailout when presenting from a opaque FBO
back buffer.
- Create a separate WebGLContext::PresentInto with more specific XR
validations and logic.
- Use the Opaque FBO backbuffer as source when calling
BlitBackbufferToCurDriverFB
- Always invalidate OpaqueFBO regardless of the WebGL context's
preserveDrawingBuffer value.

Differential Revision: https://phabricator.services.mozilla.com/D78301
2020-06-15 18:26:00 +00:00
Jeff Gilbert fd44ed35e8 Bug 1632249 - WebXR compositing fixes. r=imanol
Differential Revision: https://phabricator.services.mozilla.com/D78117
2020-06-15 18:25:58 +00:00
Jeff Gilbert a97c615de2 Bug 1632249 - Support compositing out-of-process WebGL. r=handyman,lsalzman,nical,geckoview-reviewers,agi,imanol
* Majorly simplity CanvasRenderer
* Replace GLScreenBuffer with trivial GLSwapChain
* Use descriptor structs so that future SharedSurface changes aren't so painful
  to propagate
* Mortgage/strip out more OffscreenCanvas code for now

Differential Revision: https://phabricator.services.mozilla.com/D75055
2020-06-15 18:25:55 +00:00
Kris Maglione e313713329 Bug 1645500: Part 2 - Remove inner-window-destroyed observer from process-content.js. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D79543
2020-06-12 21:53:14 +00:00
Kris Maglione 43c9fc5cc9 Bug 1645500: Part 1 - Strip down process-content.js to save memory. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D79541
2020-06-12 22:10:59 +00:00
Nika Layzell 4aac0566ba Bug 1638793 - Ensure OriginAttributes is set on OpenWindowInfo for expanded principals, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D79471
2020-06-12 19:39:51 +00:00
Bogdan Tara 55458f847e Backed out 3 changesets (bug 1639030) for sandbox related bustages CLOSED TREE
Backed out changeset 55b963f34eb0 (bug 1639030)
Backed out changeset 0c2d7e8a4131 (bug 1639030)
Backed out changeset 9d82c8fa3d3b (bug 1639030)
2020-06-15 20:36:02 +03:00
Nika Layzell 6a7bf3be7b Bug 1644246 - Send Activate/Deactivate messages over PBrowser instead of PContent, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D79384
2020-06-12 19:41:27 +00:00
Dan Minor 0b5eafd46f Bug 1645127 - Copy MID from source packet to RTX packet; r=ng
This change is already present upstream.

Differential Revision: https://phabricator.services.mozilla.com/D79548
2020-06-13 22:48:58 +00:00
Chris H-C dc86b9e146 Bug 1644021 - StreamingTelemetryDelegates need threadsafe ref counting r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D79708
2020-06-15 15:55:06 +00:00
Emilio Cobos Álvarez 60605d3019 Bug 1645789 - Also fix the case when we're resetting the styles and the document has no default style. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D79701
2020-06-15 16:10:41 +00:00