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

694748 Коммитов

Автор SHA1 Сообщение Дата
arthursonzogni 3b717711db Bug 1618872 [wpt PR 22020] - COEP: Add CacheStorage+DedicatedWorker WPT tests., a=testonly
Automatic update from web-platform-tests
COEP: Add CacheStorage+DedicatedWorker WPT tests.

Test CacheStorage responses entering in a COEP DedicatedWorker are
enforced against CORP/CORS.

In a follow-up, the implementation:
https://chromium-review.googlesource.com/c/chromium/src/+/2080355/2

Bug: 1031542
Change-Id: Ia7b03317eb30727331ff00b49b8d61ad1b06e676
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2080353
Commit-Queue: Arthur Sonzogni <arthursonzogni@chromium.org>
Reviewed-by: Yutaka Hirano <yhirano@chromium.org>
Cr-Commit-Position: refs/heads/master@{#745517}

--

wpt-commits: 40dc04fca82111bedc417296361bd5f31333bef8
wpt-pr: 22020
2020-03-05 10:49:23 +00:00
moz-wptsync-bot a7f9fdcaca Bug 1618514 [wpt PR 22004] - Update wpt metadata, a=testonly
wpt-pr: 22004
wpt-type: metadata
2020-03-05 10:49:23 +00:00
Philip Jägenstedt d8d7c0b6aa Bug 1618514 [wpt PR 22004] - Add IDL and test for Constructable Stylesheet Objects, a=testonly
Automatic update from web-platform-tests
Add IDL and test for Constructable Stylesheet Objects (#22004)

Closes https://github.com/web-platform-tests/wpt/pull/22003.
--

wpt-commits: 20ecc32c04fc627d77acbe51e3543e942a624c7f
wpt-pr: 22004
2020-03-05 10:49:22 +00:00
Liviu Tinta 8d42b9361f Bug 1616656 [wpt PR 21885] - Input element does not fire scroll event, a=testonly
Automatic update from web-platform-tests
Input element does not fire scroll event

When there is text that overflows an input element, the scroll event is
not fired when the text scrolls into view.
The input element never receives the scroll event from the user agent
shadow DOM internal editor element. The fix is to change the scroll
event's target to the shadow host element when the event is generated.

Bug: 989937
Change-Id: Iff4aeae6adb931d681a2ade72eb8032c5a23067c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2064818
Commit-Queue: Liviu Tinta <liviutinta@chromium.org>
Reviewed-by: Navid Zolghadr <nzolghadr@chromium.org>
Reviewed-by: David Bokan <bokan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#745459}

--

wpt-commits: ebb246d2104b0a114fe31309ecb65a6a3c8343a2
wpt-pr: 21885
2020-03-05 10:49:22 +00:00
Fredrik Söderquist b35d4dedfe Bug 1618792 [wpt PR 22016] - Fixes to wpt/svg/styling/presentation-attributes-* tests, a=testonly
Automatic update from web-platform-tests
Fixes to wpt/svg/styling/presentation-attributes-* tests

Missing negation in the "d presentation attribute not supported on other
elements" subtest in ...-special-cases.html test.

Set 'irrelevantElement' to null for 'd', 'height', 'r', 'rx', 'ry',
'transform', 'width', 'x' and 'y' since they are all mentioned in the
table in the spec[1] as being special. They are also covered by the
...-special-cases.html test.
The definition of 'Applies to' for the 'transform' attribute varies
slightly between the SVG specification and CSS transforms
specifications, so this applies essentially the intersection of those
two.

[1] https://svgwg.org/svg2-draft/styling.html#PresentationAttributes

Bug: 1056055
Change-Id: Id7a6e604d4f48abbd601bdc09ec9f7ff795b86ca
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2078581
Reviewed-by: Stephen Chenney <schenney@chromium.org>
Commit-Queue: Fredrik Söderquist <fs@opera.com>
Cr-Commit-Position: refs/heads/master@{#745452}

--

wpt-commits: 99bdd54a8adc811da1f8826e58a99c178f4ed217
wpt-pr: 22016
2020-03-05 10:49:21 +00:00
Mike Bremford 955baf93b7 Bug 1618855 [wpt PR 22019] - shape-outside test slightly incorrect, a=testonly
Automatic update from web-platform-tests
shape-outside test slightly incorrect (#22019)

* Parent container was too narrow for image, margin and text

* Tighter constraint

--

wpt-commits: 1f45266914e4397dbe715db8ba27ab30963be794
wpt-pr: 22019
2020-03-05 10:49:21 +00:00
moz-wptsync-bot 1d0cfdc181 Bug 1618805 [wpt PR 22017] - Update wpt metadata, a=testonly
wpt-pr: 22017
wpt-type: metadata
2020-03-05 10:49:20 +00:00
Anders Hartvoll Ruud 3b2a43d8e0 Bug 1618805 [wpt PR 22017] - Ship @supports selector(), a=testonly
Automatic update from web-platform-tests
Ship @supports selector()

Unfortunately, some animation tests are now failing, because the tests
use CSS.supports to query for ::marker support, and change their
behavior to include ::marker animations. Animating ::marker is currently
not allowed by the spec, and therefore not supported by Blink.

I2S: https://groups.google.com/a/chromium.org/d/topic/blink-dev/MVXTnyC_4bQ/discussion
Bug: 979041, 1054509
Change-Id: Ib97bec4b4ef9e83598543b6d77bc48e434c6180a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2064930
Commit-Queue: Anders Hartvoll Ruud <andruud@chromium.org>
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Reviewed-by: Xiaocheng Hu <xiaochengh@chromium.org>
Cr-Commit-Position: refs/heads/master@{#745427}

--

wpt-commits: ea450feb1189f9f53d16c2a01f90aa97c75eb99b
wpt-pr: 22017
2020-03-05 10:49:20 +00:00
ziransun 52cd705b5b Bug 1616533 [wpt PR 21878] - Correct some calls on format_exc() in wptrunner, a=testonly
Automatic update from web-platform-tests
Correct some calls on format_exc() in wptrunner (#21878)

The first argument passed to format_exc() should not be an exception.
It is a limit of number of lines of trace back to print.
--

wpt-commits: fef9bd1f168f2ab75e9a3e5d3d01dff7b660f573
wpt-pr: 21878
2020-03-05 10:49:19 +00:00
moz-wptsync-bot b2111cd28a Bug 1617857 [wpt PR 21955] - Update wpt metadata, a=testonly
wpt-pr: 21955
wpt-type: metadata
2020-03-05 10:49:19 +00:00
Eriko Kurimoto 6448aced5d Bug 1617857 [wpt PR 21955] - SharedWorker: Add WPTs for failure with importing non-existing scripts, a=testonly
Automatic update from web-platform-tests
SharedWorker: Add WPTs for failure with importing non-existing scripts

This CL adds tests to static/dynamic import of non-existing scripts
modules shared workers.

Without 'static import on classic worker' test, all the tests
corresponding to dedicated-worker-import-failure.html have added.
'static import on classic worker' is treated as parse error, and the way
to handle parse error differs from fetching non-existing or invalid
scripts which are tested in this test file.
Therefore, I will add WPTs for parse error in separated files by the
following CLs.

Change-Id: I1f4555f2ea8597f0c0fc197494f0ba5d1510db75
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2071466
Commit-Queue: Eriko Kurimoto <elkurin@google.com>
Reviewed-by: Hiroki Nakagawa <nhiroki@chromium.org>
Cr-Commit-Position: refs/heads/master@{#745395}

--

wpt-commits: 7cff683a32daccabe364078fa9a66305d6ed908c
wpt-pr: 21955
2020-03-05 10:49:18 +00:00
Fredrik Söderquist ba81aefc3c Bug 1618558 [wpt PR 22007] - Adjust wpt/svg/painting/reftests/marker-path-{001,022,023}-ref.svg, a=testonly
Automatic update from web-platform-tests
Adjust wpt/svg/painting/reftests/marker-path-{001,022,023}-ref.svg

marker-path-001-ref.svg:
 The ref did not include the contribution from the viewBox on the
 <marker> in some case. Adjust the markerWidth/Height to make the
 'viewBox' contribution a scale-factor of one. Set 'overflow' to
 'visible' to avoid clipping artifacts.

marker-path-022-ref.svg:
marker-path-023-ref.svg:
 Renders the markers twice - both on the shape itself and as
 "additional" reference markers. Drop the markers from the shape.

Update the expectations for
 wpt/svg/struct/reftests/use-inheritance-001.svg
 wpt/svg/painting/reftests/marker-path-022.svg and
 wpt/svg/painting/reftests/marker-path-023.svg

Bug: 674797, 785246, 1056492
Change-Id: I164fd7a826f8efdb5c5b5cbc486b81906d32a254
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2077719
Reviewed-by: Stephen Chenney <schenney@chromium.org>
Commit-Queue: Fredrik Söderquist <fs@opera.com>
Cr-Commit-Position: refs/heads/master@{#745392}

--

wpt-commits: 861c09a93db8b0596046e86aea513220947724e0
wpt-pr: 22007
2020-03-05 10:49:18 +00:00
Rune Lillesveen 1cf6032399 Bug 1618533 [wpt PR 22006] - Centralize invalidation for style attribute changes., a=testonly
Automatic update from web-platform-tests
Centralize invalidation for style attribute changes.

Style attribute changes could affect style matching of other elements
than the one that gets its style attribute modified because of selectors
which have a style attribute selector in the non-right-most compound.
For instance:

  [style] + div

In this case the div will be invalidated by an invalidation set for the
style attribute scheduled in StyleEngine::AttributeChangedForElement().
This method was not invoked for all variants of style attribute
modifications. In particular setting the text for Element.style.

This CL centralizes the invalidation handling to cover all cases.

Bug: 1056151
Change-Id: Iceb70c284e2bb6b209a4243d61f941670eab323e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2078532
Reviewed-by: Xiaocheng Hu <xiaochengh@chromium.org>
Commit-Queue: Rune Lillesveen <futhark@chromium.org>
Cr-Commit-Position: refs/heads/master@{#745382}

--

wpt-commits: d9d233df5bd89de7c182fc45f2de303d29fe666d
wpt-pr: 22006
2020-03-05 10:49:18 +00:00
Ian Kilpatrick 0dac70b535 Bug 1618387 [wpt PR 21996] - Only allow positioned objects to be relayout boundaries., a=testonly
Automatic update from web-platform-tests
Only allow positioned objects to be relayout boundaries.

Layout now generates some paint information on physical fragments.
Specifically (for this bug at least) if a sub-tree contains any floats.

This conflicted with the relayout boundary optimization. If a float was
added we wouldn't paint it, as we'd stop layout at the relayout
boundary, not telling the parent fragments that this subtree contained
a float.

This patch only allows relayout boundaries to occur at positioned
objects which always have self painting layers (which is the most
common self painting layer).

For the sites that I found which use this optimization (devtools,
facebook, bing) all occur on a positioned object.

Bug: 1049973
Change-Id: Iafaf68bf9642788a71e8f882a154e6acd7cbef46
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2076078
Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org>
Reviewed-by: Koji Ishii <kojii@chromium.org>
Reviewed-by: Morten Stenshorne <mstensho@chromium.org>
Cr-Commit-Position: refs/heads/master@{#745302}

--

wpt-commits: 06fef020fd350a4091c8a19dc83e50d8456f3dc1
wpt-pr: 21996
2020-03-05 10:49:17 +00:00
Domenic Denicola f477833eae Bug 1616906 [wpt PR 21904] - Always fetch origin policies from /.well-known/origin-policy, a=testonly
Automatic update from web-platform-tests
Always fetch origin policies from /.well-known/origin-policy

This is the first step at implementing the new fetching semantics from the updated origin policy specification. It also deletes some parts that are no longer in the spec and would have needed updating anyway.

In particular, this removes:

* The distinction between default origin policies and versioned origin policies, and along with it, the "latest version map". This removes, for now, the application of origin policies to pages without an Origin-Policy header; that will be added back as part of the caching work in crbug.com/1042040.

* Redirect-handling logic for default policies. Redirects are now always an error.

* Parsing of the response header from the server. We currently just check for its presence, and will do parsing according to the new spec as part of crbug.com/1042036.

* Sending Sec-Origin-Policy: 0 on the request. We may add this back later, but it is still under discussion: https://github.com/WICG/origin-policy/issues/51

* A good amount of C++ "unit tests" that were rather integration test-ey, and would have had to be rewritten anyway. Instead they are replaced with web platform test integration tests.

* A thorough web platform test of the origin policy installation/deletion cycle, which would have had to be rewritten, and then rewritten again once we tackle crbug.com/1042049. We'll want to refer to it in version history once those foundations are stable.

* Reporting, for now. We need to first spec this and then add it back. See https://github.com/WICG/origin-policy/issues/62.

Additionally, although we removed all parsing of the response header, we changed the code to look for the presence of Origin-Policy instead of Sec-Origin-Policy per the latest spec.

Apart from removals, this CL's biggest changes are to the web platform tests. This implements the plan discussed at https://github.com/web-platform-tests/wpt/issues/20773 and https://github.com/web-platform-tests/rfcs/pull/44 which allows us to serve different origin policies per subdomain. The test origin policies also now contain "id" members, but those are not used or tested for now; that will occur in https://crbug.com/1042036.

Bug: 1042034
Change-Id: I4674fe2cfbc1f3e174c76415d86a487e750cdb0d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2020488
Commit-Queue: Domenic Denicola <domenic@chromium.org>
Reviewed-by: Martin Šrámek <msramek@chromium.org>
Reviewed-by: Matt Mueller <mattm@chromium.org>
Reviewed-by: Kinuko Yasuda <kinuko@chromium.org>
Reviewed-by: Dominic Battré <battre@chromium.org>
Reviewed-by: Daniel Vogelheim <vogelheim@chromium.org>
Cr-Commit-Position: refs/heads/master@{#745187}

--

wpt-commits: 496499a3188a8da571cbe59e182d555c2a6b8d69
wpt-pr: 21904
2020-03-05 10:49:17 +00:00
Ian Kilpatrick 6b1f4e8c16 Bug 1618397 [wpt PR 21997] - [paint] Add test for clipping focus outlines., a=testonly
Automatic update from web-platform-tests
[paint] Add test for clipping focus outlines.

This adds a test for the progression caused by:
https://chromium-review.googlesource.com/c/chromium/src/+/1869012
Which corrected the clip state for paint descendants.

Bug: 1049976
Change-Id: I1c53cd800fa9ac342c025703e6d05359b582da56
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2076534
Reviewed-by: Xianzhu Wang <wangxianzhu@chromium.org>
Reviewed-by: Philip Rogers <pdr@chromium.org>
Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org>
Cr-Commit-Position: refs/heads/master@{#745140}

--

wpt-commits: 6d086b32af84cebab48ef8414baf923fa558e6f4
wpt-pr: 21997
2020-03-05 10:49:16 +00:00
Chris Harrelson 1795d587ea Bug 1618421 [wpt PR 22000] - Don't let a CompositingInputsRoot be a contain:strict element if it was dirty., a=testonly
Automatic update from web-platform-tests
Don't let a CompositingInputsRoot be a contain:strict element if it was dirty.

contain:strict elements are stopping points for ancestor recursion when
finding a CompositingInputsRoot, but this should only be for when
*descendants* of the contain:strict element are dirtied, not the
contain:strict element itself.

This problem exhibited in a bug in a case when the contain:strict
element was also position:sticky, causing it to fail to update sticky
position constraints as a result.

Bug: 1051455

Change-Id: If7e9f3d19ce5dc949ee9ba6ab7c0c0c2e03b2f20
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2076546
Reviewed-by: Manuel Rego <rego@igalia.com>
Commit-Queue: Chris Harrelson <chrishtr@chromium.org>
Cr-Commit-Position: refs/heads/master@{#745093}

--

wpt-commits: 859d8a4995e90ac5820ea4ae123aea72996c1a57
wpt-pr: 22000
2020-03-05 10:49:16 +00:00
Oriol Brufau e0af5424b3 Bug 1617953 [wpt PR 21960] - Reland "[css-pseudo] Implement legacy markers as real pseudo-elements", a=testonly
Automatic update from web-platform-tests
Reland "[css-pseudo] Implement legacy markers as real pseudo-elements"

This is a reland of 7b29a982d68ee147dcde5858014cb050ad183eea

The initial patch was reverted due to a leak caused by a condition in
LayoutObjectChildList::DestroyLeftoverChildren, which was preventing
markers from getting destroyed.

Original change's description:
> [css-pseudo] Implement legacy markers as real pseudo-elements
>
> Before this patch, list markers were anonymous boxes in legacy layout.
> This patch makes them be pseudo-elements instead. This is a follow-up of
> r731964, which did the same for LayoutNG.
>
> Just like r731964, this patch improves the flexbox_with_list_item.html
> performance test by a 30-40% (this time for legacy).
>
> BUG=457718
>
> TEST=editing/execCommand/create-list-1.html-disabled
> TEST=editing/pasteboard/drag-selected-image-to-contenteditable.html
> TEST=editing/pasteboard/input-field-1.html
> TEST=editing/selection/drag-to-contenteditable-iframe.html
> TEST=editing/selection/move-by-line-002.html
> TEST=editing/selection/selectNode.html
> TEST=editing/selection/selectNodeContents.html
> TEST=editing/unsupported-content/list-delete-001.html
> TEST=editing/unsupported-content/list-type-after.html
> TEST=editing/unsupported-content/list-type-before.html
> TEST=external/wpt/css/css-pseudo/marker-content-014.html
> TEST=external/wpt/css/css-pseudo/marker-content-019.html
> TEST=external/wpt/css/css-pseudo/marker-content-020.html
> TEST=inspector-protocol/resources/dom-snapshot-pseudo-element.html
> TEST=paint/invalidation/list-marker-2.html
> TEST=paint/invalidation/offset-change-wrong-invalidation-with-float.html
>
> Change-Id: I58c8d49e1f2168add3c78a024a2b9371b34262d7
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2007733
> Commit-Queue: Oriol Brufau <obrufau@igalia.com>
> Reviewed-by: Koji Ishii <kojii@chromium.org>
> Reviewed-by: Dominic Mazzoni <dmazzoni@chromium.org>
> Reviewed-by: Rune Lillesveen <futhark@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#743220}

Bug: 457718
Change-Id: Ia20878e1aed120f7822ec009ed4a1c96928b46dc
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2066747
Commit-Queue: Oriol Brufau <obrufau@igalia.com>
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Reviewed-by: Koji Ishii <kojii@chromium.org>
Reviewed-by: Dominic Mazzoni <dmazzoni@chromium.org>
Cr-Commit-Position: refs/heads/master@{#745012}

--

wpt-commits: 7f259d8f7478fd0d5cbad10ffbf90e33aecaa608
wpt-pr: 21960
2020-03-05 10:49:15 +00:00
Rouslan Solomakhin 684f5c4d1f Bug 1617986 [wpt PR 21966] - [Payment Handler] CanMakePaymentEvent.respondWithMinimalUI() #2, a=testonly
Automatic update from web-platform-tests
[Payment Handler] CanMakePaymentEvent.respondWithMinimalUI() #2

Patch #2: Parsing and validating the parameters of
CanMakePaymentEvent.respondWithMinimalUI() in Blink.

The respondWithMinimalUI() method is disabled by default and can be
enabled via chrome://flags/#enable-experimental-web-platform-features.

Explainer:
https://gist.github.com/rsolomakhin/eba91c185028899883d2c7f37f357d7c

Demo: https://rsolomakhin.github.io/pr/apps/micro/
Test: wpt/payment-handler/respond-with-minimal-ui.https.html

Chrome feature status:
https://chromestatus.com/feature/5661524146257920

Blink-dev intent to prototype:
https://groups.google.com/a/chromium.org/d/msg/blink-dev/kTLpgFJz6Ck/IQeiGDtOAwAJ

Bug: 1005076
Change-Id: I1573cef83d357046144d198e870c7f3fd54fd976
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2072582
Reviewed-by: Danyao Wang <danyao@chromium.org>
Commit-Queue: Rouslan Solomakhin <rouslan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#745010}

--

wpt-commits: abc2ed2227ce574b659dfdbeed524bdb0decf4ec
wpt-pr: 21966
2020-03-05 10:49:15 +00:00
Johan Lorenzo 0ab7d3836f Bug 1619603 - Ship Geckoview at the ship_rc phase r=mtabara
Differential Revision: https://phabricator.services.mozilla.com/D65341

--HG--
extra : moz-landing-system : lando
2020-03-05 10:25:18 +00:00
Martin Stransky 3e8ae1409e Bug 1619270 [Wayland] Check we're really on Wayland and not on headless, r=jhorak
Differential Revision: https://phabricator.services.mozilla.com/D65489

--HG--
extra : moz-landing-system : lando
2020-03-05 10:20:48 +00:00
Marco Bonardo a8354f1215 Bug 555694 - Address bar should not suggest switching to the current tab. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D65408

--HG--
extra : moz-landing-system : lando
2020-03-05 09:12:44 +00:00
Logan Smyth 2d6c0ea1a7 Bug 1620087 - Part 3: Treat all realms as debuggees to avoid unexpected sideeffects. r=nchevobbe
Treating as many realms as we can as debuggee makes us much less likely to
accidentally cause side-effects during eager-evaluation of code in the console.

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

--HG--
extra : moz-landing-system : lando
2020-03-05 10:02:09 +00:00
Logan Smyth 11a9bcf86d Bug 1620087 - Part 2: Exceptions during eager whitelist validation should terminate execution. r=nchevobbe
I've run into this a couple times now, where as I'm tweaking things, I
accidentally introduce something that throws. The code as it was defaulted
to allowing calls to any native function that throws, which seems like a
bad idea, so this now defaults to termination when an error is encountered.

Depends on D65466

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

--HG--
extra : moz-landing-system : lando
2020-03-05 10:01:56 +00:00
Logan Smyth 2969f7a82b Bug 1620087 - Part 1: Split the ECMAScript eager whitelist into its own file. r=nchevobbe
Splitting this list into its own file reduces the chances of accidentally
referencing incorrect globals.

The implementation's original placement in eval-with-debugger for instance
was accidentally pulling Reflect from resource://gre/modules/reflect.jsm
because that file also makes use of `Reflect.parse`. Rather than try to
keep it in that file and rename things, placing the list in its own
lazy-loaded file seems like the easiest and most future-proof approach.

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

--HG--
extra : moz-landing-system : lando
2020-03-05 10:01:54 +00:00
Martin Stransky 8416366bd0 Bug 1619907 [Wayland] Provide logging to dmabuf code, r=jhorak
Differential Revision: https://phabricator.services.mozilla.com/D65307

--HG--
extra : moz-landing-system : lando
2020-03-05 09:19:59 +00:00
Sam Foster 60982bef74 Bug 1618696 - Enable signon.passwordEditCapture.enabled by default. r=MattN
* Dont flag a form as user-modified when the input is from autofilling a login
* Avoid sending PasswordEditedOrGenerated messages to the parent from non-user-modified forms.

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

--HG--
extra : moz-landing-system : lando
2020-03-05 09:26:28 +00:00
Martin Stransky 3e893cfd93 Bug 1609538 - Workarounds for Mutter 3.36, r=jhorak
This is based on a patch by robert.mader

This is supposed to be a minimal patchset to make Firefox work on
Mutter 3.36 in a similar fassion as on 3.34. The changes should
be compatible with any Wayland compositor, especially those that
do similar agressive culling and frame callback reduction.
While technically non-optimal, they should work as a short time
solution.

1.: Do not commit the toplevel surface in moz_container_move. Instead
use gdk_window_invalidate_rect, which (hopefully) triggers a surface
commit as well while not interfering in the order of commands. The is
necessary as the previous commit would commit invalid state in certain
scenarios (like fullscreening).
This fixes broken fullscreening.

2.: Do not set an opaque region on containers if that would cover the
whole toplevel surface. This works around problems concerning mouse
input responsiveness, as a completely covered toplevel surface might
not get frame callbacks any more, but we currently rely on it to process
input events like mouse movements.

3.: Only set an opaque region on the toplevel surface when maximized.
While the toplevel opaque region is actually redundant as long as the
content surface has an opaque region set, we need it for workaround 2.
But we want to unset it when not needed as occasianally it is not in
sync, creating glitches when e.g. unmaximizing.

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

--HG--
extra : moz-landing-system : lando
2020-03-05 09:02:02 +00:00
Jan de Mooij 96fbe7cabc Bug 1620150 - Inline ReportUninitializedLexical and ReportRuntimeConstAssignment into single callers. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D65456

--HG--
extra : moz-landing-system : lando
2020-03-05 07:54:04 +00:00
Jan de Mooij 98cedff94f Bug 1620150 - Merge ThrowSet{Const, AliasedConst, Callee} bytecode ops. r=arai
This changes ThrowSetConst to have a JSAtom* operand so that we can use it in
all cases.

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

--HG--
extra : moz-landing-system : lando
2020-03-05 08:12:28 +00:00
Jan de Mooij 0dc9bb98de Bug 1619932 - Simplify JSOp::CheckLexical and remove JSOp::CheckAliasedLexical. r=arai
JSOp::CheckLexical no longer loads the local itself, it just looks at the value
on top of the stack. So the bytecode changes as follows:

* CheckLexical, GetLocal => GetLocal, CheckLexical
* CheckAliasedLexical, GetAliasedVar => GetAliasedVar, CheckLexical

This is more efficient especially for aliased vars because we don't have to walk
the environment chain twice.

For _sets_ we now do a GetAliasedVar/GetLocal, CheckLexical, Pop before doing the
set. I think this is acceptable: gets should be a lot more common especially for
aliased lexicals and GetAliasedVar/CheckLexical isn't much slower than the old
CheckAliasedLexical.

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

--HG--
extra : moz-landing-system : lando
2020-03-05 08:47:15 +00:00
Ciure Andrei 4a6e05a3d7 Backed out changeset f96f7b534cbd (bug 1619907) for causing build bustages CLOSED TREE 2020-03-05 11:03:49 +02:00
Kartik Choudhary e0555318cb Bug 1619866 - Remove code for old debugger in openDebugger helper. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D65358

--HG--
extra : moz-landing-system : lando
2020-03-05 08:50:32 +00:00
Martin Stransky 0d15b67122 Bug 1619907 [Wayland] Provide logging to dmabuf code, r=jhorak
Differential Revision: https://phabricator.services.mozilla.com/D65307

--HG--
extra : moz-landing-system : lando
2020-03-05 08:21:44 +00:00
Henri Sivonen e0301a2e76 Bug 1618152 - Use BrowsingContext for activeness check in nsGenericHTMLFormElement::FocusState. r=farre
Differential Revision: https://phabricator.services.mozilla.com/D64340

--HG--
extra : moz-landing-system : lando
2020-03-05 08:29:38 +00:00
Greg Tatum 13b081a62d Bug 1619578 - Make the profiler WebChannel work on beta; r=canaltinova
The WebChannels were not being initialized on beta due to being initialized
after the feature pref was checked. This patch changes it so that
profiler.firefox.com will still have the WebChannel registered, and then
if the menu button is enabled via the WebChannel, the feature flag is flipped.

I did not include a test on this, as this is a temporary measure until we flip
on the mechanism for all users.

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

--HG--
extra : moz-landing-system : lando
2020-03-04 16:39:17 +00:00
Aaron Klotz 86a449e7c4 Bug 1620091: Disable remote extension mochitests on Android; r=mixedpuppy
Even though e10s is turned on in GeckoView, we do not yet support the extension
process; we should skip these tests in that case.

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

--HG--
extra : moz-landing-system : lando
2020-03-05 07:04:57 +00:00
Ed Lee 7623cca5ba Bug 1618304 - Update import icon and text for about:logins r=MattN,fluent-reviewers,flod
Depends on D65420

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

--HG--
extra : moz-landing-system : lando
2020-03-05 06:09:15 +00:00
Ed Lee 24153cdf6f Bug 1618346 - Add browser import to Firefox menu r=MattN,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D65420

--HG--
extra : moz-landing-system : lando
2020-03-05 06:07:08 +00:00
Ciure Andrei 3559b72ba6 Backed out changeset bdc7b2a874ac (bug 1618696) for causing bc failures CLOSED TREE 2020-03-05 08:52:14 +02:00
Andrea Marchesini 8ee171e01e Bug 1619518 - part 4 - FileBlobImpl inherits BlobImpl directly, r=ssengupta,smaug
Differential Revision: https://phabricator.services.mozilla.com/D65166

--HG--
extra : moz-landing-system : lando
2020-03-05 05:48:58 +00:00
Andrea Marchesini da085a7500 Bug 1619518 - part 3 - Better File.length attribute handling, r=ssengupta,smaug
Differential Revision: https://phabricator.services.mozilla.com/D65165

--HG--
extra : moz-landing-system : lando
2020-03-04 23:10:17 +00:00
Andrea Marchesini 4710c7f372 Bug 1619518 - part 2 - Better File.lastModified attribute handling, r=ssengupta,ttung,dom-workers-and-storage-reviewers,smaug
Differential Revision: https://phabricator.services.mozilla.com/D65074

--HG--
extra : moz-landing-system : lando
2020-03-04 23:10:22 +00:00
Andrea Marchesini c5d87c49c6 Bug 1619518 - part 1 - Remove a EmptyBlobImpl CTOR, r=ssengupta
Differential Revision: https://phabricator.services.mozilla.com/D65163

--HG--
extra : moz-landing-system : lando
2020-03-04 23:10:19 +00:00
Nicholas Nethercote c22c891c55 Bug 1604095 - Add `fix_stacks.py`, which uses `fix-stacks`, and use it in DMD. r=gsvelto
On Linux and Mac, this makes `dmd.py` *much* faster when it is first run on a
DMD data file.

On Windows, this makes DMD actually usable locally. Previously the stacks
weren't fixed and so were rubbish.

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

--HG--
extra : moz-landing-system : lando
2020-03-05 00:24:23 +00:00
Noemi Erli dbf1182de3 Backed out changeset 1bfe014fc3fa (bug 1609538) for causing Linux bustages in widget_gtk 2020-03-05 07:19:08 +02:00
Sam Foster af69813a1e Bug 1618696 - Enable signon.passwordEditCapture.enabled by default. r=MattN
* Dont flag a form as user-modified when the input is from autofilling a login
* Avoid sending PasswordEditedOrGenerated messages to the parent from non-user-modified forms.

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

--HG--
extra : moz-landing-system : lando
2020-03-05 04:37:06 +00:00
Coroiu Cristina e3e3fb9577 Backed out changeset 97a8f04641de (bug 1618906) on request by masayuki 2020-03-05 06:36:44 +02:00
Dzmitry Malyshau 7eb1434fa4 Bug 1617086 - Keep WebGPU pass dependencies alive while recording r=jgilbert
Since we switched to "software" pass recording,
`wgpu` no longer keeps references to the objects used when recording a pass.
This means Gecko needs to keep them alive up until the encoding is done.

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

--HG--
extra : moz-landing-system : lando
2020-03-05 03:30:41 +00:00
Timothy Nikkel 2baf261d29 Bug 1616373. Handle the browsing context housing the active window moving to a different content process. r=hsivonen
My understanding of the problem is as follows. We create the main content document, first it is about:blank in a content process. When the bug happens the about:blank document has WindowRaised called on it and this makes it the active window, and then it tells the parent process that it is the active browsing context (via SendSetActiveBrowsingContext). When the bug doesn't happen this doesn't happen, perhaps because we navigate away from about:blank before it can happen.

So the browsing context navigates to the new document and it gets moved to a different content process. BrowsingContextGroup::EnsureSubscribed is called, if the parent process got told of the active document above then we call SendSetupFocusedAndActive (if it didn't then the active browsing context remains null and so it doesn't call SendSetupFocusedAndActive). When the child gets RecvSetupFocusedAndActive it calls SetActiveBrowsingContextFromOtherProcess on the focus manager.

nsFocusManager::WindowRaised is called for the new document, we bail early because of this line

https://searchfox.org/mozilla-central/rev/d5b34cc8872177d3ee071e06f787c2a14268595b/dom/base/nsFocusManager.cpp#661

because we are the browsing context that was set from another process. And so we fail to make the Focus call at the end of that function. So mFocusedWindow remains null in the child process.

The nsFocusManager::WindowShown call that happens for every new document load thus does not do anything because this line

https://searchfox.org/mozilla-central/rev/d5b34cc8872177d3ee071e06f787c2a14268595b/dom/base/nsFocusManager.cpp#906

always fails because mFocusedWindow is null and it never changes.

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

--HG--
extra : moz-landing-system : lando
2020-03-05 03:27:57 +00:00