Commit Graph

755173 Commits

Author SHA1 Message Date
Jeff Muizelaar
db8307e53c Bug 1707794 - Add support for CMYK to the fuzzing target. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D113460
2021-04-27 14:38:51 +00:00
Belén Albeza
60c8a028ed Bug 1700904 - [devtools] remove guards for new cookies and indexeddb resources r=ochameau
This removes the testing enableServerWatcherSupport flag for indexedDB and cookies resources. As a consequence of this, some tests that were previously marked as failing on fission now pass, so they have been re-enabled as well.

Differential Revision: https://phabricator.services.mozilla.com/D113143
2021-04-27 14:38:01 +00:00
Narcis Beleuzu
f5e7a4fe91 Backed out 1 changesets (bug 1693384) for bc failure on browser_parsable_css.js . CLOSED TREE
Backed out changeset 5d69d822f586 (bug 1693384)
2021-04-27 18:40:32 +03:00
Jared Wein
7f386eb800 Bug 1693384 - Move over pinned and overlay audio icon to move it away from the tab title. r=desktop-theme-reviewers,harry
Also update the icons to add background strokes when used as an overlay.

Differential Revision: https://phabricator.services.mozilla.com/D113409
2021-04-27 14:09:46 +00:00
Masayuki Nakano
5f2961c2f7 Bug 1627175 - part 40: Get rid of HTMLEditor::GetNextHTMLElementOrText() and HTMLEditor::GetPreviousHTMLElementOrText() and their internal methods r=m_kato
Depends on D113279

Differential Revision: https://phabricator.services.mozilla.com/D113280
2021-04-27 14:03:17 +00:00
Kate Hudson
fbb646ee82 Bug 1706369 - Move nimbus manifest to its own file r=andreio
Differential Revision: https://phabricator.services.mozilla.com/D112808
2021-04-27 13:51:11 +00:00
moz-wptsync-bot
ef6c125b88 Bug 1707530 - [wpt-sync] Update web-platform-tests to b1f27e8ebbac23edecd374e6ea23f3c395498822, a=testonly
MANUAL PUSH: wpt sync bot

wpt-head: b1f27e8ebbac23edecd374e6ea23f3c395498822
wpt-type: landing
2021-04-27 13:49:40 +00:00
Philip Jägenstedt
a105a483ed Bug 1707072 [wpt PR 28650] - [idlharness.js] Simplify handling of inheritance and mixins, a=testonly
Automatic update from web-platform-tests
[idlharness.js] Simplify handling of inheritance and mixins (#28650)

Handling of these concepts was more complicated than (now) necessary.

No changes in the actual test results are intended.

Inheritance:

There's no reason to record inheritance separately in `IdlArray`'s
`this.["inheritance"]`, since it can be determined just as easily
from `this.members` via the `member.base` attributes.

The concept of "consequential interfaces" in Web IDL went away with
`implements` statements in https://github.com/heycam/webidl/pull/433
and here in https://github.com/web-platform-tests/wpt/pull/28619.
`traverse_inherited_and_consequential_interfaces()` can be replaced
with just `get_inheritance_stack()`.

While this changes the behavior of `default_to_json_operation()`, there
is no `toJSON` operation declared in a mixin in interfaces/, only in
resources/ tests, so this change should not affect real tests.

default_to_json_operation.html was updated along the lines of simplified
examples in the spec: https://github.com/heycam/webidl/pull/980

Mixins:

For valid `A includes B` statements, `A` is always an interface and
`B` is always an interface mixin, so there are no include chains or
the possibility of cycles. `recursively_get_includes()` assumed this.

Instead just save the `includes` statements found in `this.includes`
and apply them in `merge_mixins`, similar to partials.

The handling of partials isn't changed, but `collapse_partials` is
renamed to `merge_partials` to match the above.

Not today:

Further unification of partials and mixins is possible, and the handling
of [Exposed] is missing for mixins, but this is left for later.
--

wpt-commits: b1f27e8ebbac23edecd374e6ea23f3c395498822
wpt-pr: 28650
2021-04-27 13:49:40 +00:00
Aleks Totic
e579baa8fa Bug 1706140 [wpt PR 28579] - [TablesNG] tentative table minmax sizes, a=testonly
Automatic update from web-platform-tests
[TablesNG] tentative table minmax sizes

Change-Id: Iba9d1f07deea6e1cd7cfa7c0a3eb8a4320355c8b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2836828
Commit-Queue: Aleks Totic <atotic@chromium.org>
Reviewed-by: David Grogan <dgrogan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#876064}

--

wpt-commits: 9b09dcbbeaae8991494987ad73cf5c478f2a707b
wpt-pr: 28579
2021-04-27 13:49:39 +00:00
Eric Willigers
51b34194f9 Bug 1707148 [wpt PR 28654] - Web Share: Retire share-url-data-manual.https.html, a=testonly
Automatic update from web-platform-tests
Web Share: Retire share-url-data-manual.https.html (#28654)

data: URLs are no longer supported by Web Share API.
https://github.com/w3c/web-share/pull/174

This is tested by automated tests.

The manual test in obsolete, it is not valid or needed.

closes #202

Co-authored-by: Eric Willigers <ericwilligers@chromium.org>
--

wpt-commits: 2eb3853c6bb77eed4a3b5de3b6042b72463efd65
wpt-pr: 28654
2021-04-27 13:49:38 +00:00
Mike Bremford
53bb6da633 Bug 1704905 [wpt PR 28459] - "justifyall" tests were the same as "justify", a=testonly
Automatic update from web-platform-tests
"justifyall" tests were the same as "justify" (#28459)

* "justifyall" tests were the same as "justify"; the last line wasn't aligned

* Choose a width that divides evenly with three or four boxes

Co-authored-by: Mike <mike@qtunes.org>
--

wpt-commits: bbcf0db171d766d92aeee5ed7d4e4359b1aeaf6c
wpt-pr: 28459
2021-04-27 13:49:38 +00:00
Ting-Yu Lin
82fa2174c7 Bug 1706711 [wpt PR 28630] - Improve assertion and comments for overflow-wrap-anywhere-011.html and its reference., a=testonly
Automatic update from web-platform-tests
Improve assertion and comments for overflow-wrap-anywhere-011.html and its reference. (#28630)

Fixed #28614.
--

wpt-commits: dd806aec5821cbe9f20019943e97538ccd1d445a
wpt-pr: 28630
2021-04-27 13:49:37 +00:00
Olli Pettay
b0b56d1c91 Bug 1707865 - Tweak browser/base/content/test/performance/browser_preferences_usage.js to pass with Fission+bfcache, r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D113512
2021-04-27 13:41:26 +00:00
Valentin Gosu
0033f0524c Bug 1707853 - Add always-skipped unit test for documentation purposes r=necko-reviewers,dragana
This test is for documentation purposes. You may run it locally on Windows by removing the skip-if = true from xpcshell.ini
As sharing  folders on windows requires elevated priviledges, you will need to execute some commands in a separate cmd.exe instance with Admin priviledges.

Differential Revision: https://phabricator.services.mozilla.com/D113498
2021-04-27 13:33:28 +00:00
Valentin Gosu
e7889adba2 Bug 1707853 - Use std::copy instead of memcpy to ensure exception handling works r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D113497
2021-04-27 13:33:27 +00:00
Alex Ionescu
7af9318fae Bug 1706035 - Re-record tp6 mobile tests with login r=perftest-reviewers,Bebe
Differential Revision: https://phabricator.services.mozilla.com/D112923
2021-04-27 13:17:50 +00:00
Joel Maher
39acafe01e Bug 1704636 - run many windows 7-32 tests on windows10x64 via wow64. r=ahal,webdriver-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D112372
2021-04-27 12:44:19 +00:00
Henrik Skupin
3504533e98 Bug 1701674 - [remote] Add handling of expectation data to readme. r=remote-protocol-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D113499
2021-04-27 12:43:31 +00:00
Henrik Skupin
c575a89947 Bug 1701674 - Bump non-Fission pup test jobs to Tier 1. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D112816
2021-04-27 12:43:31 +00:00
lyavor
e4937e72d8 Bug 1706351 Copy and adapt test https-only/test_redirect_upgrade.html for https-first. r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D113315
2021-04-27 12:35:10 +00:00
Frederik Braun
bc3093469d Bug 1670913 - use inert document within Sanitizer API r=hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D113488
2021-04-27 12:34:56 +00:00
Neil Deakin
265a74a6a3 Bug 1705788, combine duplicated stop/close icons, r=desktop-theme-reviewers,harry
Differential Revision: https://phabricator.services.mozilla.com/D113366
2021-04-27 12:34:34 +00:00
imoraru
6da5939ee7 Backed out changeset 3907dd86dd71 (bug 1670913) it was not intended to land. 2021-04-27 15:27:37 +03:00
Emilio Cobos Álvarez
a7f69d6257 Bug 1707614 - Remove one unused usage of :-moz-devtools-highlighted. r=nchevobbe
This internal pseudo-class used to be to highlight nodes in the
inspector, but the inspector no longer sets it. Now the only thing that
sets it is devtools/server/actors/accessibility/audit/contrast.js to
remove the text color / shadow from the test.

We should probably find another way to implement that that doesn't
misuse this pseudo-class (and then presumably remove this pseudo-class),
but for now this code is dead.

Differential Revision: https://phabricator.services.mozilla.com/D113371
2021-04-27 12:18:36 +00:00
Masayuki Nakano
0187400c5b Bug 1627175 - part 39: Get rid of HTMLEditor::GetNextHTMLElementOrTextInBlock() and HTMLEditor::GetPreviousHTMLElementOrTextInBlock() r=m_kato
Depends on D113242

Differential Revision: https://phabricator.services.mozilla.com/D113279
2021-04-27 11:56:34 +00:00
Frederik Braun
d079e38109 Bug 1670913 - use inert document within Sanitizer API r=hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D113488
2021-04-27 11:31:41 +00:00
Emilio Cobos Álvarez
a3cdeb05e3 Bug 1705605 - Fix GCC build.
MANUAL PUSH: Base toolchains build fix CLOSED TREE
2021-04-27 13:52:34 +02:00
Masayuki Nakano
3aef835f6c Bug 1627175 - part 38: Move EditorBase::GetNextContent() and EditorBase::GetPreviousContent() to HTMLEditUtils r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D113242
2021-04-27 11:17:44 +00:00
Masayuki Nakano
7da0836039 Bug 1627175 - part 37: Get rid of editor type argument from EditorBase::GetNextContent() and EditorBase::GetPreviousContent() r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D113241
2021-04-27 11:17:43 +00:00
Masayuki Nakano
267025f6e5 Bug 1627175 - part 36: Make EditorBase::CreateTransactionForCollapsedRange() use EditorBase::GetNextContent() and EditorBase::GetPreviousContent() only when it's an HTMLEditor r=m_kato
If the editor instance is a `TextEditor`, the root element has to be
anonymous `<div>` element and it has only one text node when it has non-empty
value.  Therefore, if it's in `TextEditor`, the method does not need to use
the complicated APIs for finding a text node from the anonymous `<div>` element
or padding `<br>` element since it can adjust the given point into the text
node without such API.

Differential Revision: https://phabricator.services.mozilla.com/D113240
2021-04-27 11:17:43 +00:00
Masayuki Nakano
4e78552ddb Bug 1627175 - part 35: Move EditorBase::GetFirstEditableNode() into HTMLEditUtils r=m_kato
Only the user is `EditorBase::BeginningOfDocument()` which is used by both
`TextEditor` and `HTMLEditor`.  However, if it's a `TextEditor`, expected
result is only the first text node only when there is one.  Therefore, we can
move it into `HTMLEditUtils` and make `EditorBase::BeginningOfDocument()`
find the text node by it self.  Then, we can get rid of using
`EditorBase::GetEditorType()` in this case.

Differential Revision: https://phabricator.services.mozilla.com/D113239
2021-04-27 11:17:43 +00:00
Masayuki Nakano
1b0d3e96c4 Bug 1627175 - part 34: Make EditorBase::GetNextContent() and EditorBase::GetPreviousContent() static r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D113238
2021-04-27 11:17:42 +00:00
Masayuki Nakano
4debffd39d Bug 1627175 - part 33: Make EditorBase::FindNode() and EditorBase::FindNextLeafNode() static r=m_kato
They are instance members of `EditorBase` only for referring editor type and
editing host.  Therefore, we can make them static with making them take
editor type and ancestor limiter as arguments.

Depends on D113236

Differential Revision: https://phabricator.services.mozilla.com/D113237
2021-04-27 11:17:42 +00:00
Masayuki Nakano
3cfc86a155 Bug 1627175 - part 32: Get rid of EditorBase::GetNextNodeInBlock() and EditorBase::GetPreviousNodeInBlock() r=m_kato
Depends on D113235

Differential Revision: https://phabricator.services.mozilla.com/D113236
2021-04-27 11:17:41 +00:00
Masayuki Nakano
1cc0a524f6 Bug 1627175 - part 31: Get rid of EditorBase::GetNextEditableNode() and EditorBase::GetPreviousEditableNode() r=m_kato
Depends on D113234

Differential Revision: https://phabricator.services.mozilla.com/D113235
2021-04-27 11:17:41 +00:00
Masayuki Nakano
eb26e869e5 Bug 1627175 - part 30: Get rid of EditorBase::GetNextEditableNodeInBlock() and EditorBase::GetPreviousEditableNodeInBlock() r=m_kato
Depends on D113233

Differential Revision: https://phabricator.services.mozilla.com/D113234
2021-04-27 11:17:41 +00:00
Masayuki Nakano
3f701eb0f4 Bug 1627175 - part 29: Get rid of EditorBase::GetNextElementOrTextInBlock() and EditorBase::GetPreviousElementOrTextInBlock() r=m_kato
Depends on D113232

Differential Revision: https://phabricator.services.mozilla.com/D113233
2021-04-27 11:17:40 +00:00
Masayuki Nakano
4a928f25f7 Bug 1627175 - part 28: Get rid of EditorBase::GetNextElementOrText() and EditorBase::GetPreviousElementOrText() r=m_kato
Depends on D113231

Differential Revision: https://phabricator.services.mozilla.com/D113232
2021-04-27 11:17:40 +00:00
Masayuki Nakano
7a2d02c10f Bug 1627175 - part 27: Get rid of EditorBase::GetNextNode() and EditorBase::GetPreviousNode() r=m_kato
Depends on D113230

Differential Revision: https://phabricator.services.mozilla.com/D113231
2021-04-27 11:17:39 +00:00
Masayuki Nakano
82aa5b8992 Bug 1627175 - part 26: Rename EditorBase::Get*NodeInternal() to Get*Content() r=m_kato
The following patches will get rid of inline wrapper methods of them.
Therefore, they shouldn't be called as "internal".  And they return
`nsIContent*` instead of `nsINode*` so, `Get*Content()` is better name for
them.

Depends on D113229

Differential Revision: https://phabricator.services.mozilla.com/D113230
2021-04-27 11:17:39 +00:00
Masayuki Nakano
a525512d98 Bug 1627175 - part 25: Rename WalkTreeOption::FindAnyDataNode to WalkTreeOption::IgnoreDataNodeExceptText r=m_kato
So, the meaning is reverted of this action.  But with this change, the scanner
methods scans any nodes by default.  This is simpler to understand from the
callers.

Depends on D113228

Differential Revision: https://phabricator.services.mozilla.com/D113229
2021-04-27 11:17:39 +00:00
Masayuki Nakano
8eb9f61b5e Bug 1627175 - part 24: Make EditorBase::FindNode and EditorBase::Get*NodeInternal() take an EnumSet instead of multiple bool arguments r=m_kato
Before moving them from `EditorBase`, they should take only one option argument
whose type is an `EnumSet` class.

Note that I wanted to name each option for optional behavior, but
`FindAnyDataNode` requires to revert the its meaning  (I.e., only with this
patch, `true` should be set an option).  Therefore, the following patch renames
it.

Differential Revision: https://phabricator.services.mozilla.com/D113228
2021-04-27 11:17:38 +00:00
Jan de Mooij
428083f670 Bug 1707820 - Fix pre-barrier verifier assertion failure when adding dictionary properties. r=jonco
We were adding the new shape to the table first, but this confused the pre-barrier
verifier. Likely a false positive because the shape is newly allocated.

We now add the entry to the table at the end, and if this fails we remove the
dictionary shape again. This also removes some unnecessary code for growing slots.

Differential Revision: https://phabricator.services.mozilla.com/D113493
2021-04-27 11:08:58 +00:00
Emilio Cobos Álvarez
a2b07b6998 Bug 1304098 - Scale vector images appropriately in PuppetWidget before sending them to the parent process. r=mstange
This builds on the image-set work to trivially implement this.

Differential Revision: https://phabricator.services.mozilla.com/D112671
2021-04-27 11:06:00 +00:00
Emilio Cobos Álvarez
35e310c362 Bug 1707533 - GdkScaleFactor was renamed yesterday.
MANUAL PUSH: Trivial rebase fix.
2021-04-27 13:01:38 +02:00
Emilio Cobos Álvarez
54509807e1 Bug 1707533 - Make Wayland custom cursors behave like all other platforms. r=stransky
It seems GTK downscales the cursor if the resolution is less than the
device scale, so this makes it consistent with X11 and all other desktop
platforms.

On the example on the bug it seems silly because the cursor is massive,
but on legit examples like:

  https://downloads.scirra.com/labs/bugs/cursor-image-set/

This makes the cursor not abruptly change sizes when page zoom changes
for example.

Differential Revision: https://phabricator.services.mozilla.com/D113302
2021-04-27 10:50:45 +00:00
Emilio Cobos Álvarez
34a9a0f457 Bug 1705605 - Implement accent-color in nsNativeBasicTheme. r=mstange
This is a new addition for CSS UI Level 4:

  https://drafts.csswg.org/css-ui-4/#widget-accent

I want to provide feedback on some spec issues, and thought it was a
kinda neat thing to prototype (it also makes testing contrast and such
with random GTK themes easier).

For now enable for Nightly only.

Differential Revision: https://phabricator.services.mozilla.com/D112312
2021-04-27 10:41:00 +00:00
Dale Harvey
ed370e6a5f Bug 1702079 - Implement the opt-in modal for Firefox QuickSuggest r=adw
Differential Revision: https://phabricator.services.mozilla.com/D110569
2021-04-27 10:00:07 +00:00
imoraru
45f5841863 Merge mozilla-central to autoland on a CLOSED TREE 2021-04-27 13:03:43 +03:00
imoraru
4648b6ee31 Merge autoland to mozilla-central. a=merge 2021-04-27 12:52:06 +03:00