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

66114 Коммитов

Автор SHA1 Сообщение Дата
Emilio Cobos Álvarez f5cb2931f9 Bug 1778989 - Add some basic container query interleaving. r=dholbert
This is far from fully perfect (specially when dealing with nested
containers, we need to be smarter when updating there), but it's
incremental progress.

Differential Revision: https://phabricator.services.mozilla.com/D151496
2022-08-09 11:44:39 +00:00
Masayuki Nakano bdebdbee78 Bug 1771812 - Add a crashtest r=m_kato
The assertion hit has been fixed by bug 1774704, so we should add the reported
testcase into the tree.

Differential Revision: https://phabricator.services.mozilla.com/D153921
2022-08-09 01:44:26 +00:00
Noemi Erli 0a4cf0ba60 Backed out changeset f2f1b04d7e09 (bug 1783687) for causing failures in contain-intrinsic-size-030.html CLOSED TREE 2022-08-09 00:39:02 +03:00
Oriol Brufau ba0bc5ed7c Bug 1783687 - Obey contain-intrinsic-size in scroll containers. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D153976
2022-08-08 21:03:10 +00:00
Geoff Brown 8731632079 Bug 1783689 - Fix typo in mozharness warning; r=releng-reviewers,aki
Differential Revision: https://phabricator.services.mozilla.com/D153978
2022-08-08 19:06:25 +00:00
Sebastian Hengst 68391936e8 Bug 1780617 - set scrollend-event-fired-after-snap.html as always timing out for Linux code coverage DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D153591
2022-08-08 14:47:59 +00:00
Kershaw Chang ca7f73fc07 Bug 1783567 - test case, r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D153940
2022-08-08 12:08:25 +00:00
Norisz Fay ffad6ce46f Backed out changeset 11827eed4f4d (bug 1783006) for causing wpt failures on contain-size-grid-004.html 2022-08-08 13:57:42 +03:00
Tom Schuster d5669a37b3 Bug 1779184 - Implement probably wrong element kind handling. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D153332
2022-08-08 09:23:55 +00:00
Tom Schuster f6240de25f Bug 1779184 - Update WPT. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D153208
2022-08-08 09:23:55 +00:00
Tom Schuster 34c8b152df Bug 1779184 - Start rewrite of Sanitizer API for elements. r=emilio
There are still a lot of TODOs, but I want to make some incremental progress on this.

Differential Revision: https://phabricator.services.mozilla.com/D152271
2022-08-08 09:23:55 +00:00
Ziran Sun 321b6fc7a6 Bug 1783006 - Calculate the track sizes with the contain intrinsic block size if available. r=emilio,Oriol
When block size is initially indefinite but later was determined by the contain intrinsic
size, we calculate the track sizes using the contain intrinsic block size.

Differential Revision: https://phabricator.services.mozilla.com/D153623
2022-08-08 09:18:39 +00:00
Masayuki Nakano 982149f4f1 Bug 1782874 - part 2: Make `HTMLEditor::RemoveEmptyNodesIn` remove end container of the range if empty r=m_kato
If splitting node creates new right node instead of new left node,
`TopLevelEditSubActionData::mChangedRange` ends by start of the right node.
However, `RemoveEmptyNodesIn` uses `PostContentIterator` which collects DOM
nodes whose "end tag" appear in the range.  Therefore, for cleaning up new
empty right nodes correctly, we need to extend the range to contain the node.

Additionally, it removes unexpected element which is editable but shouldn't be
removed from the DOM tree.  Therefore, this patch adds new check such as
`HTMLEditUtils::IsRemovalNode()`.

Finally, this patch adds a check whether the editor is a mail editor or not
at considering whether a node is a "mail-cite" because `contenteditable` in
web apps do not need special handling for such Gecko-specific element.

Differential Revision: https://phabricator.services.mozilla.com/D153834
2022-08-08 08:22:44 +00:00
Masayuki Nakano b9a800593a Bug 1782874 - part 1: Update `editing/data/multittest.js` for aligning to all browsers' result r=m_kato
`<div>` is unwrapped if it becomes empty in all browsers, and the
following patch fixes deleting necessary `<br>` element for keeping the line
visible.  Therefore, we'll get same result for the first 2 tests of the
following tests, so these test expectations should be updated to the result of
Chrome and Safari.  And the other test will keep failing in Firefox, but it
should be fixed in another bug.  The reason is, we cleans up empty elements
at end of `insertParagraph` command handling, but others do it immediately
after deleting the selection.  For the consistency in the last 2 tests, Chrome
and Safari's behavior is better, so this patch updates the result for conforming
to Chrome and Safari.

### [["styleWithCSS","false"],["delete",""],["inserttext","a"]] "<div><b>[abc]</b></div>" compare innerHTML
* Chrome:  `<br><div><b>a</b></div>`
* Safari:  `<br><div><b>a</b></div>`
* Firefox: `a`

### [["styleWithCSS","false"],["delete",""],["insertparagraph",""],["inserttext","a"]] "<div><b>[abc]</b></div>" compare innerHTML
* Chrome:  `<br><div><b>a</b></div>`
* Safari:  `<br><div><b>a</b></div>`
* Firefox: `<div><br></div><div>a<br></div>`

### [["styleWithCSS","false"],["insertparagraph",""],["inserttext","a"]] "<div><b>[abc]</b></div>" compare innerHTML
* Chrome:  `<br><div><b>a</b></div>`
* Safari:  `<br><div><b>a</b></div>`
* Firefox: `<div><br></div><div><b>a</b><br></div>`

Differential Revision: https://phabricator.services.mozilla.com/D153833
2022-08-08 08:22:43 +00:00
Masayuki Nakano c15a8dbac2 Bug 1782852 - part 3: Revert the pref value to enable legacy editor commands in late beta and release r=smaug
This is my silly mistake. I set reverted value to the prefs and the expectation
of WPTs. We need to enable them in late beta and release and disable them in
early beta and nightly.

Differential Revision: https://phabricator.services.mozilla.com/D153885
2022-08-07 00:21:32 +00:00
Lee Salzman 2daab4fe54 Bug 1783182 - Revise wpt test conditions that got clobbered by wpt-sync. r=aosmond,gfx-reviewers
Per advice from James Graham, if we don't want the wpt-sync bot to modify the conditions,
then we have to specify them in terms of condition that won't apply to the try runs it uses
to update the conditions. This means we must specify conditions with "not nightly_build" so
that they won't apply to the try run, and thus don't get updated. It's a bit uglier, but
manageable and we can eventually replace these once things ride the trains.

Differential Revision: https://phabricator.services.mozilla.com/D153764
2022-08-06 03:38:18 +00:00
Butkovits Atila d442c060c9 Backed out changeset 00c45094026a (bug 1783182) for causing wpt failure at 2d.text.draw.generic.family.w.html. CLOSED TREE 2022-08-05 23:30:28 +03:00
Lee Salzman 031e7d573d Bug 1783182 - Revise wpt test conditions that got clobbered by wpt-sync. r=aosmond,gfx-reviewers
Per advice from James Graham, if we don't want the wpt-sync bot to modify the conditions,
then we have to specify them in terms of condition that won't apply to the try runs it uses
to update the conditions. This means we must specify conditions with "not nightly_build" so
that they won't apply to the try run, and thus don't get updated. It's a bit uglier, but
manageable and we can eventually replace these once things ride the trains.

Differential Revision: https://phabricator.services.mozilla.com/D153764
2022-08-05 16:28:22 +00:00
Byron Campen [:bwc] 04f1179487 Bug 1769802: Test-cases for bug. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D150167
2022-08-05 14:03:43 +00:00
Masayuki Nakano 5b6dc29ff6 Bug 1782852 - part 2: Disable Gecko specific commands which are disabled only in the Nightly channel in early beta too r=smaug
This is a trial to get reports of breakage of web apps in the wild from (early)
beta users. Currently we don't have any bug reports from Nightly users of
disabling `contentReadOnly` and `insertBROnReturn` commands, but according
to the telemetry in the Beta channel, there are some web apps using them
(perhaps, for feature detection or one of finger prints) because we get over
1k pings per day.

`contentReadOnly`:
https://telemetry.mozilla.org/new-pipeline/evo.html#!aggregates=True%2520percentage&cumulative=0&end_date=2022-07-25&include_spill=0&keys=!__none__!__none__&max_channel_version=beta%252F103&measure=USE_COUNTER2_DOCUMENTEXECCOMMANDCONTENTREADONLY_DOCUMENT&min_channel_version=beta%252F100&processType=*&product=Firefox&sanitize=0&sort_keys=submissions&start_date=2022-06-27&trim=0&use_submission_date=0

`insertBROnReturn`:
https://telemetry.mozilla.org/new-pipeline/evo.html#!aggregates=True%2520percentage&cumulative=0&end_date=2022-07-25&include_spill=0&keys=!__none__!__none__&max_channel_version=beta%252F103&measure=USE_COUNTER2_DOCUMENTQUERYCOMMANDSUPPORTEDORENABLEDINSERTBRONRETURN_DOCUMENT&min_channel_version=beta%252F100&processType=*&product=Firefox&sanitize=0&sort_keys=submissions&start_date=2022-06-27&trim=0&use_submission_date=0

If we won't have any regression reports with this, for example, it's used only
for a finger print, perhaps, we could try to roll out to disable these commands.

Differential Revision: https://phabricator.services.mozilla.com/D153721
2022-08-05 02:55:23 +00:00
Alexandra Borovova c389c09521 Bug 1779226 - Add support for serialization of plain JS objects with simple value fields. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D153745
2022-08-04 19:15:18 +00:00
Sergey Galich 4db8a738b1 Bug 1776589 - add add_setup to mochitest-plain r=ahal
Let's have `add_setup()` in mochitests to avoid confusion when it's available and when not.

Differential Revision: https://phabricator.services.mozilla.com/D153504
2022-08-04 19:09:07 +00:00
Boris Chiou 82bf45d69f Bug 1746528 - Remove aspect-ratio preference. r=emilio
We shipped this in Firefox 89, one year ago. It should be okay to drop
this preference now.

Differential Revision: https://phabricator.services.mozilla.com/D153680
2022-08-04 17:58:03 +00:00
Gregory Mierzwinski d9eb91264a Bug 1783249 - Check for pine-stable branch in Talos. r=perftest-reviewers,kshampur
Differential Revision: https://phabricator.services.mozilla.com/D153776
2022-08-04 17:54:49 +00:00
Iulian Moraru 197ca9977c Backed out changeset 0d0c8aa6e1d0 (bug 1746601) for causing wpt failures on iframe-chains.html. CLOSED TREE 2022-08-04 19:24:20 +03:00
Kershaw Chang 7f70b9600b Bug 1772201 - Fix intermittent test failure, r=necko-reviewers,dragana
1. Make the compressor output errors based on the input headers
2. Make sure the weak ptr is always released on socket thread

Differential Revision: https://phabricator.services.mozilla.com/D153741
2022-08-04 15:36:02 +00:00
Dragana Damjanovic 0a48a1061e Bug 1772205 - Add more test for failures: r=necko-reviewers,kershaw
Add test for HTTP/2 stream and session error to the proxy and to the origin server. Also test if the errors affect other streams.

Also the weak reference to the tunnel needs to be removed when the stream is closed due to problems with freeing weak reference on a wrong stream.

Differential Revision: https://phabricator.services.mozilla.com/D150419
2022-08-04 15:36:00 +00:00
James Graham 59ebc886d9 Bug 1746601 - Implement wheel input support in marionette, r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D139123
2022-08-04 13:30:58 +00:00
Iulian Moraru 2ee42610c4 Backed out 8 changesets (bug 1772205, bug 1772201) for causing bp-hybrid bustages on Http2StreamTunnel. CLOSED TREE
Backed out changeset 2003686cc6b8 (bug 1772201)
Backed out changeset 813b707d8471 (bug 1772201)
Backed out changeset 5944e15ddfc7 (bug 1772201)
Backed out changeset ce4a38b31322 (bug 1772201)
Backed out changeset a24a888922f1 (bug 1772201)
Backed out changeset d9d615352628 (bug 1772205)
Backed out changeset 200553c584de (bug 1772205)
Backed out changeset ea5625892397 (bug 1772205)
2022-08-04 15:45:37 +03:00
Kershaw Chang 9b10651033 Bug 1772201 - Fix intermittent test failure, r=necko-reviewers,dragana
1. Make the compressor output errors based on the input headers
2. Make sure the weak ptr is always released on socket thread

Differential Revision: https://phabricator.services.mozilla.com/D153741
2022-08-04 12:19:00 +00:00
Dragana Damjanovic 03e55c3c95 Bug 1772205 - Add more test for failures: r=necko-reviewers,kershaw
Add test for HTTP/2 stream and session error to the proxy and to the origin server. Also test if the errors affect other streams.

Also the weak reference to the tunnel needs to be removed when the stream is closed due to problems with freeing weak reference on a wrong stream.

Differential Revision: https://phabricator.services.mozilla.com/D150419
2022-08-04 12:18:58 +00:00
Alexandra Borovova 4928d6559f Bug 1779179 - Rename "+Infinity" to "Infinity" in serialization and deserialization. r=webdriver-reviewers,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D153729
2022-08-04 10:49:20 +00:00
James Graham e170563471 Bug 1783143 - Mark rAF test as intermittent on mac, r=aryx
Differential Revision: https://phabricator.services.mozilla.com/D153730
2022-08-04 09:29:58 +00:00
Nicolas Chevobbe 73ff4b257a Bug 1782701 - [devtools] Track opening of big files in custom debugger DAMP test. r=jdescottes,perftest-reviewers,AlexandruIonescu.
Differential Revision: https://phabricator.services.mozilla.com/D153141
2022-08-04 08:27:00 +00:00
moz-wptsync-bot c6bb6314bd Bug 1783018 - [wpt-sync] Update web-platform-tests to 0592bb24e5501533a0250e3eab98814d958ac8eb, a=testonly
MANUAL PUSH: wpt sync bot

wpt-head: 0592bb24e5501533a0250e3eab98814d958ac8eb
wpt-type: landing
2022-08-04 05:04:29 +00:00
moz-wptsync-bot 665c05e782 Bug 1782964 [wpt PR 35320] - Update wpt metadata, a=testonly
wpt-pr: 35320
wpt-type: metadata
2022-08-04 05:04:29 +00:00
Delan Azabani 739d4df33f Bug 1782964 [wpt PR 35320] - [css-pseudo] rework highlight currentColor tests, a=testonly
Automatic update from web-platform-tests
[css-pseudo] rework highlight currentColor tests (#35320)

--

wpt-commits: 0592bb24e5501533a0250e3eab98814d958ac8eb
wpt-pr: 35320
2022-08-04 05:04:28 +00:00
moz-wptsync-bot 8fbe96fdaf Bug 1782676 [wpt PR 35305] - Update wpt metadata, a=testonly
wpt-pr: 35305
wpt-type: metadata
2022-08-04 05:04:28 +00:00
Rune Lillesveen 85beaf0e20 Bug 1782676 [wpt PR 35305] - Support for the CSS ic length unit, a=testonly
Automatic update from web-platform-tests
Support for the CSS ic length unit

Bug: 937101
Change-Id: I4a0e413367323bf4d99b1f6ac79b7fc9d9b006ac
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3790953
Commit-Queue: Rune Lillesveen <futhark@chromium.org>
Reviewed-by: Koji Ishii <kojii@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1030945}

--

wpt-commits: 95f60596db986aab31fbbf3465f7c6322bf5713f
wpt-pr: 35305
2022-08-04 05:04:27 +00:00
Rob Buis aa4cbf4388 Bug 1782352 [wpt PR 35281] - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=243369, a=testonly
Automatic update from web-platform-tests
WebKit export of https://bugs.webkit.org/show_bug.cgi?id=243369 (#35281)

--

wpt-commits: 8e5c6c20c3b9ef12d7b0486470fcf87cb160a8ea
wpt-pr: 35281
2022-08-04 05:04:27 +00:00
moz-wptsync-bot 0cc1e3df5a Bug 1780885 [wpt PR 34973] - Update wpt metadata, a=testonly
wpt-pr: 34973
wpt-type: metadata
2022-08-04 05:04:26 +00:00
Mason Freed b206226720 Bug 1780885 [wpt PR 34973] - Add hover-hide-delay functionality to pop-ups, a=testonly
Automatic update from web-platform-tests
Add hover-hide-delay functionality to pop-ups

With this CL, the `hover-pop-up-hide-delay` CSS property can be used
to make a pop-up hide after a specified delay, if it is no longer
hovered. This is related, but independent from, the hover-pop-up-delay
functionality, which can be used on *another element* to trigger/show
a pop-up after a delay. The `hover-pop-up-hide-delay` can be used on
any pop-up type, including popup=manual, and it will make the pop-up
get automatically hidden if it (or its anchors or invokers) is not
hovered for the specified period of time.

A typical use case is to build a tooltip, fully in HTML/CSS:

  <input hoverpopup=tooltip placeholder="Hover me">
  <div popup=hint role=tooltip id=tooltip>Additional info</div>

  <style>
    input {
      hover-pop-up-delay: 0.5s;
    }
    [popup] {
      hover-pop-up-hide-delay: 1s;
      opacity:0;
      transition: opacity 0.5s;
    }
    [popup]:top-layer {
      opacity:1;
    }
  </style>

Bug: 1307772
Change-Id: I12b36cf0e612b541c054a9a41c6d91f58c55ec72
Cq-Do-Not-Cancel-Tryjobs: true
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3781406
Commit-Queue: Mason Freed <masonf@chromium.org>
Reviewed-by: David Baron <dbaron@chromium.org>
Auto-Submit: Mason Freed <masonf@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1030881}

--

wpt-commits: edbfee21138e82305dd503990c52da1d99c039ca
wpt-pr: 34973
2022-08-04 05:04:26 +00:00
moz-wptsync-bot 04ce3604f3 Bug 1782711 [wpt PR 35306] - Update wpt metadata, a=testonly
wpt-pr: 35306
wpt-type: metadata
2022-08-04 05:04:25 +00:00
Rune Lillesveen 3f31e09a48 Bug 1782711 [wpt PR 35306] - [@container] style no longer a container-type, a=testonly
Automatic update from web-platform-tests
[@container] style no longer a container-type

All elements are style containers per spec change. Adjust implementation
and spec to reflect that.

Bug: 1302630
Change-Id: I0a834daa1f7622ec62d1df31b268de8b3f2074c9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3802732
Commit-Queue: Rune Lillesveen <futhark@chromium.org>
Reviewed-by: Anders Hartvoll Ruud <andruud@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1030776}

--

wpt-commits: 40c8422ad184ef814da9376a3a262183ff122d43
wpt-pr: 35306
2022-08-04 05:04:25 +00:00
moz-wptsync-bot 6b90f9209b Bug 1782270 [wpt PR 35274] - Update wpt metadata, a=testonly
wpt-pr: 35274
wpt-type: metadata
2022-08-04 05:04:24 +00:00
Evan Stade 74230b8467 Bug 1782270 [wpt PR 35274] - Storage buckets: implement StorageBucket::indexedDB., a=testonly
Automatic update from web-platform-tests
Storage buckets: implement StorageBucket::indexedDB.

This CL does the final work to support non-default buckets in
IndexedDB code and wires up the BucketHost::GetIdbFactory method.

Bug: 1338303,1315371

Change-Id: I38c600fbeaa1e7f9843f0be1fdc2b44ef9b6f2ac
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3785414
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Commit-Queue: Evan Stade <estade@chromium.org>
Reviewed-by: Ari Chivukula <arichiv@chromium.org>
Reviewed-by: Ayu Ishii <ayui@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1030765}

--

wpt-commits: d5050832b632c1914c9a62c7108f662b60307214
wpt-pr: 35274
2022-08-04 05:04:24 +00:00
François Daoust 9c3baadaa8 Bug 1782040 [wpt PR 35262] - Adjust URL of Device Memory spec in META file, a=testonly
Automatic update from web-platform-tests
Adjust URL of Device Memory spec in META file (#35262)

The Working Draft now points at itself for the Editor's Draft. In other words,
the canonical URL for the Editor's Draft has become the /TR URL
https://www.w3.org/TR/device-memory/
--

wpt-commits: 9f072679c6f3367ea1685254ff5f5cc84f6e8d9d
wpt-pr: 35262
2022-08-04 05:04:23 +00:00
Alison Maher c46e5543bb Bug 1782584 [wpt PR 35293] - ContainingFragmentationContextRoot() for column spanners, a=testonly
Automatic update from web-platform-tests
ContainingFragmentationContextRoot() for column spanners

In CL:3343283, when an OOF was contained within a column spanner, we
would lay out the OOF in the fragmentation context root above, if there
was one (given that spanners don't participate in the fragmentation
context root of the nearest context).

If an OOF was nested in an abpos multicol inside a column spanner, we
would hit NOTREACHED() in NGOutOfFlowLayoutPart::ReplaceFragment(),
because the fragments of the abspos multicol were not found in the
nearest fragmentation context root ancestor, but rather in the next
above.

To fix this, update ContainingFragmentationContextRoot() to retrieve
the correct fragmentation context root in the case of a column
spanner.

Bug: 1348128
Change-Id: Ica05a41b23cade26c93a18cfd80eaa167ed2863e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3795714
Reviewed-by: Morten Stenshorne <mstensho@chromium.org>
Commit-Queue: Alison Maher <almaher@microsoft.com>
Cr-Commit-Position: refs/heads/main@{#1030634}

--

wpt-commits: 0d6d9dc80bf23f94fab8137920b73228690b6de7
wpt-pr: 35293
2022-08-04 05:04:23 +00:00
moz-wptsync-bot 4408c8861f Bug 1782277 [wpt PR 35275] - Update wpt metadata, a=testonly
wpt-pr: 35275
wpt-type: metadata
2022-08-04 05:04:22 +00:00
L. David Baron 6ebcb6999f Bug 1782277 [wpt PR 35275] - Implement the :toggle() pseudo-class., a=testonly
Automatic update from web-platform-tests
Implement the :toggle() pseudo-class.

This implements
https://tabatkins.github.io/css-toggle/#checked-pseudoclass

(Support for toggles is behind the CSSToggles flag, which is currently
off.)

Bug: 1250716
Change-Id: I2d3226c5a023e2bf36dd4d990d57933f932983ce
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3780614
Commit-Queue: David Baron <dbaron@chromium.org>
Reviewed-by: Anders Hartvoll Ruud <andruud@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1030624}

--

wpt-commits: 3280d71c3ab3b7ef832b7e9a1f90c33075b40b52
wpt-pr: 35275
2022-08-04 05:04:22 +00:00