Commit Graph

766567 Commits

Author SHA1 Message Date
Kagami Sascha Rosylight
bdf127087c Bug 1723050 - Part 17: Replace typedef by using in dom/localstorage/ r=dom-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D121315
2021-08-16 17:05:41 +00:00
Kagami Sascha Rosylight
a4e305afc2 Bug 1723050 - Part 15: Replace typedef by using in dom/indexedDB/ r=dom-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D121313
2021-08-16 17:05:41 +00:00
John Lin
7f2710f1f2 Bug 1725470 - p2: call proxy methods instead of dispatch when already on proxy thread. r=bryce
Depends on D122627

Differential Revision: https://phabricator.services.mozilla.com/D122628
2021-08-16 16:22:46 +00:00
John Lin
83996273e1 Bug 1725470 - p1: pass proxy thread to the base class. r=bryce
EMEMediaDataDecoderProxy doesn't override all inherited methods. Without
providing the same proxy thread, it's possible to break to the thread model.

Differential Revision: https://phabricator.services.mozilla.com/D122627
2021-08-16 16:22:45 +00:00
Harry Twyford
5ee07670c9 Bug 1725652 - Show adaptive history results if any of history, bookmarks, or open pages are enabled. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D122614
2021-08-16 16:01:40 +00:00
Mohit Tarani
19a4a27751 Bug 172182 - [devtools] Updated 'Learn more' link in the new Performance panel r=jdescottes,julienw.
Differential Revision: https://phabricator.services.mozilla.com/D122572
2021-08-16 15:54:29 +00:00
Andrew Halberstadt
4ca883c33a Bug 1725404 - [taskgraph] Implement 'mach taskcluster-image-digest' command, r=bhearsum
I'm not sure if this is needed in Gecko, but it matches the similar command in
standalone taskgraph so makes the two more in sync. I don't think having it
will hurt.

Differential Revision: https://phabricator.services.mozilla.com/D122527
2021-08-16 14:56:27 +00:00
Andrew Halberstadt
5df4495f68 Bug 1725404 - [taskgraph] Re-use 'action-callback' subcommand args from main.py, r=bhearsum
Differential Revision: https://phabricator.services.mozilla.com/D122526
2021-08-16 14:56:26 +00:00
Andrew Halberstadt
7b9414647d Bug 1725404 - [taskgraph] Re-use 'decision' args from main.py, r=bhearsum
Differential Revision: https://phabricator.services.mozilla.com/D122524
2021-08-16 14:56:26 +00:00
Andrew Halberstadt
30bd3e4513 Bug 1725404 - [taskgraph] Use copy of 'get_filtered_taskgraph' from main.py, r=bhearsum
These two functions were identical.

Differential Revision: https://phabricator.services.mozilla.com/D122523
2021-08-16 14:56:26 +00:00
Andrew Halberstadt
b3999e374e Bug 1725404 - [taskgraph] Re-use 'docker' subcommand args from main.py, r=bhearsum
Differential Revision: https://phabricator.services.mozilla.com/D122522
2021-08-16 14:56:25 +00:00
Andrew Halberstadt
b9135a7111 Bug 1725404 - [taskgraph] Re-use 'show' subcommand args from main.py, r=bhearsum
Differential Revision: https://phabricator.services.mozilla.com/D122521
2021-08-16 14:56:25 +00:00
Andrew Halberstadt
eb0a0d043b Bug 1725404 - [taskgraph] Sync main.py from standalone taskgraph, r=bhearsum
This is a direct copy of the one in standalone taskgraph at this point in time.
Some modifications will be made in follow-up revisions so it's evident in the
review which changes will be out-of-sync.

Differential Revision: https://phabricator.services.mozilla.com/D122520
2021-08-16 14:56:25 +00:00
Tim Giles
8d041ebf24 Bug 1687679: Fix CC expiration month not autofilling correctly on HTML inputs. r=dimi
Fixes the case where credit card autofill incorrectly fills the expiration month due to input elements and placeholders on those input elements.
Enables unit tests for form autofill.
Additionally adds tests to ensure the previous behavior of autofilling expiration month using select elements.

Added workarounds in tests so that we don't change the reality of the mocked CC storage.

Differential Revision: https://phabricator.services.mozilla.com/D119659
2021-08-16 14:44:20 +00:00
Emily McMinn
0aaae4a863 Bug 1724019 - Update about:privatebrowsing CSS, markup and tests r=andreio
Differential Revision: https://phabricator.services.mozilla.com/D121753
2021-08-16 14:33:31 +00:00
Jonathan Kew
f1d0b4bbe4 Bug 1725940 - patch 2 - Move nsFontCache from the device context to the prescontext. r=emilio
To look up/instantiate platform fonts based on CSS font properties, we create a gfxFontGroup from an nsFont and other attributes; this is currently cached in an nsFontCache attached to the nsDeviceContext.

However, this assumes that the mapping to platform fonts will be the same for all documents using the given device context. In a world where visibility of platform fonts to the page may be restricted, and may depend on the individual document (e.g. if the user disables tracking protection for a particular site), the mapping represented by nsFontCache may vary, and determining how to resolve a given font request will need access to the requesting document in order to know what visibility it is allowed.

To support this, this patch moves the nsFontCache from nsDeviceContext to nsPresContext. In itself, this should cause no visible change in behavior, but it provides a basis for the patches that will follow in bug 1715501.

It's likely that this will have some effects on individual performance tests, depending on the exact content and sequencing of page loads, because of changed caching behavior. E.g. having a per-presContext cache may sometimes mean that we no longer take advantage of a cached gfxFontGroup that a previously-loaded page created; but on the other hand the caches will tend to be smaller and have faster lookups.

My testing so far suggests that we will see some apparent regressions, alongside some improvements, but that overall there should be little change. I'd like to get this change landed separately, before any of the actual font-visibility behavior changes, so that we can more clearly see and isolate any unexpected effects.

Differential Revision: https://phabricator.services.mozilla.com/D122715
2021-08-16 13:58:03 +00:00
Jonathan Kew
6ab15bd8a1 Bug 1725940 - patch 1 - Extract nsFontCache from nsDeviceContext.cpp to its own file. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D122714
2021-08-16 13:58:03 +00:00
Iulian Moraru
726deb7bac Backed out changeset 01701527110f (bug 1713895) for causing bug 1725931. CLOSED TREE 2021-08-16 17:04:52 +03:00
Valentin Gosu
17af9b6dd6 Bug 1716571 - Dynamically set up android port forwarding for trr tests r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D118413
2021-08-16 13:41:58 +00:00
Matthew Gaudet
7d4e8aaa91 Bug 1725689 - Remove required flag from test262 testing r=yulia
Depends on D122640

Differential Revision: https://phabricator.services.mozilla.com/D122641
2021-08-16 13:28:05 +00:00
Matthew Gaudet
3142edc965 Bug 1725689 - Enable class static blocks by default in JS shell r=yulia
Depends on D122639

Differential Revision: https://phabricator.services.mozilla.com/D122640
2021-08-16 13:28:05 +00:00
Matthew Gaudet
179e8d55eb Bug 1725689 - Pref on class static blocks by default r=yulia
Differential Revision: https://phabricator.services.mozilla.com/D122639
2021-08-16 13:28:04 +00:00
Gijs Kruitbosch
6e88a3e569 Bug 1721910 - make it obvious that android needs some toolkit theming, and reduce duplication there, r=agi,desktop-theme-reviewers,dao
Differential Revision: https://phabricator.services.mozilla.com/D122335
2021-08-16 13:15:21 +00:00
Masayuki Nakano
b3793d04e4 Bug 1725291 - part 1: Make HTMLEditor::AutoDeleteRangesHandler::DeleteUnnecessaryNodesAndCollapseSelection() try to delete same text node twice r=m_kato
It tries to delete a text node if it's invisible both selection start and
selection end.  However, the selection range may be in a text node.  If it's
an invisible, the node is deleted at first call of
`DeleteNodeIfInvisibleAndEditableTextNode()`, but it keep trying to remove
again with same method.

Differential Revision: https://phabricator.services.mozilla.com/D122561
2021-08-16 13:04:21 +00:00
Gijs Kruitbosch
26cd1e2cd6 Bug 1676524 - fix intermittent failures in browser_experimental_features_filter.js due to fluent races r=emilio
The test overwrites a fluent-originating text content with its own,
but doesn't clear the fluent data-l10n-id attribute. As a result,
if it tries to write the textContent before the data-l10n-id pass
from fluent has run, fluent overwrites the textContent before we
do a search, and then the rest of the test gets bogus results
because it matches against the wrong text content.

This patch fixes this by removing the data-l10n-id attribute so
the fluent pass doesn't try to put text in these elements
anymore.

Differential Revision: https://phabricator.services.mozilla.com/D122659
2021-08-16 12:57:29 +00:00
Kagami Sascha Rosylight
84f5ccba11 Bug 1723050 - Part 27: Replace typedef by using in dom/simpledb/ r=dom-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D121325
2021-08-16 12:56:58 +00:00
ffxbld
e16e09b8e7 No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=jcristau
Differential Revision: https://phabricator.services.mozilla.com/D122719
2021-08-16 12:17:21 +00:00
Henri Sivonen
5fd94ac23d Bug 1650087 test - Optional table part end tags before template close should not be flagged as errors. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D122712
2021-08-16 11:10:19 +00:00
Michael[tm] Smith
21de022eae Bug 1650087 - Support “generate all implied end tags thoroughly” r=smaug
When the parser encounters a `</template>` end tag and there are other
open elements, the HTML spec requires the parser to “generate all
implied end tags thoroughly”, which unlike “generate implied end tags”
also includes generating implied end tags for table-parts elements
(caption, colgroup, tbody, thead, tfoot, td, th, and tr).

Differential Revision: https://phabricator.services.mozilla.com/D82020
2021-08-16 11:10:19 +00:00
Daisuke Akatsuka
e4d3af97b6 Bug 1725927: Update MDN compat data. r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D122694
2021-08-16 09:50:43 +00:00
Sebastian Hengst
69c3a95a57 Bug 1725793 - set cross-document-nav-same-document-traversal.html as intermittent on Linux debug and Android debug. DONTBUILD
Test got added in bug 1723611 (2 days ago).

Differential Revision: https://phabricator.services.mozilla.com/D122709
2021-08-16 09:09:32 +00:00
Peter Van der Beken
1d099d0913 Bug 1706347 - Check mOOPChildrenLoading when deciding to put page in BFCache with Fission enabled. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D117199
2021-08-16 09:08:33 +00:00
Marian-Vasile Laza
c86473eec6 Backed out changeset ed0cca70a9a5 (bug 1725339) for causing failures on nsContentSecurityManager. CLOSED TREE 2021-08-16 11:32:15 +03:00
Frederik Braun
e3dbac69c7 Bug 1725339 - Restrict systemprincipal from loading type *DOCUMENT* via HTTP, HTTPS and data schemes (data restriction preffed OFF). r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D122420
2021-08-16 08:00:17 +00:00
Eitan Isaacson
2a17656c7c Bug 1725519 - Build nsWindow::GetFocusedWindow in non-Wayland configs. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D122646
2021-08-16 07:13:48 +00:00
Hiroyuki Ikezoe
9f4d3f1fb7 Bug 1725548 - Replace GetCrossDocParentFrame with GetCrossDocParentFrameInProcess in EventStateManager::ComputeScrollTargetAndMayAdjustWheelEvent. r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D122692
2021-08-16 06:27:38 +00:00
Michael[tm] Smith
9b06c493c5 Bug 1650066 - Correct error for EOF in “in template” state r=smaug
Doing `errUnclosedElements(eltPos, "template")` for EOF in the “in
template” state results in the error message “End tag `template` seen, but
there were open elements”, which is all wrong because the actual problem is
that though a `template` end tag was expected, EOF was reached without a
`template` end tag being seen.

So let’s instead when we reach this just report the list of open elements.

Differential Revision: https://phabricator.services.mozilla.com/D122598
2021-08-16 05:16:58 +00:00
Henri Sivonen
de1b71fe15 Bug 1650066 preparation - Add errListUnclosedStartTags for HTML tree builder error reporting. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D122597
2021-08-16 05:16:58 +00:00
Henri Sivonen
54015a7af2 Bug 1319410 test - "--" in a comment is non-error but "<!--" in a comment is an error. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D122347
2021-08-16 05:01:10 +00:00
Michael[tm] Smith
3e0410518d Bug 1319410 fixup - Stay in the COMMENT_LESSTHAN state, annotate fall-throughs. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D82163
2021-08-16 05:01:10 +00:00
Michael[tm] Smith
7c2dd70690 Bug 1319410 - Make consecutive hyphens in comments a non-error r=smaug
Also allow `<!-->` at (IE conditional) comment end

See https://github.com/whatwg/html/pull/1356
See https://github.com/whatwg/html/pull/1456

Differential Revision: https://phabricator.services.mozilla.com/D82000
2021-08-16 05:01:09 +00:00
Butkovits Atila
5d19838121 Backed out 2 changesets (bug 1692609) for causing failures at test_getUserMedia_addTrackRemoveTrack. CLOSED TREE
Backed out changeset ce4b4f786c4d (bug 1692609)
Backed out changeset d36f5f4ece1e (bug 1692609)
2021-08-16 07:53:47 +03:00
Tom Ritter
8bfcc50fc5 Bug 1692609 - Update tests for a higher-precision RFP r=jgilbert
Depends on D122045

Differential Revision: https://phabricator.services.mozilla.com/D122046
2021-08-16 03:39:25 +00:00
Jeff Gilbert
dbf7829bd5 Bug 1692609 - Force 60hz for RFP and use that as the time-atom r=tjr
Differential Revision: https://phabricator.services.mozilla.com/D122045
2021-08-16 03:39:25 +00:00
Hiroyuki Ikezoe
85efe18337 Bug 1725893 - Replace GetCrossDocParentFrame with GetCrossDocParentFrameInProcess in nsIFrame::GetScreenRectInAppUnits. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D122675
2021-08-16 02:20:29 +00:00
Makoto Kato
329f65c790 Bug 1725593 - Get rid of SendCheckAndSuggest sync IPC. r=masayuki,ipc-reviewers,mccr8
Depends on D122579

Differential Revision: https://phabricator.services.mozilla.com/D122580
2021-08-16 01:40:00 +00:00
Makoto Kato
3401597785 Bug 1725593 - Don't use SendCheckAndSuggest. r=masayuki
By bug 1719110, we replace sync IPC's spell checker suggestion with async
version. So we should remove this sync IPC call.

Differential Revision: https://phabricator.services.mozilla.com/D122579
2021-08-16 01:39:59 +00:00
Glenn Watson
2ae662cff6 Bug 1724846 - Split DL spatial tree to separate payload r=gfx-reviewers,nical
This will allow experimenting with different representations of
the spatial tree (such as interning and/or providing stable
indices during display list building). It may also simplify
future changes to the public API to expose the spatial tree
directly.

As part of these changes, refactor how the debug representation
for the capture format is (de)serialized, to make it simpler to
add different payload vector types in future.

Differential Revision: https://phabricator.services.mozilla.com/D122183
2021-08-15 20:44:03 +00:00
moz-wptsync-bot
114a7d296d Bug 1725822 - [wpt-sync] Update web-platform-tests to 0bc996384524028f8608c311d35ee7ebdf29afca, a=testonly
MANUAL PUSH: wpt sync bot

wpt-head: 0bc996384524028f8608c311d35ee7ebdf29afca
wpt-type: landing
2021-08-15 07:15:47 +00:00
Philip Rogers
1034cea9d8 Bug 1725804 [wpt PR 30032] - Remove non-invertible-transform-animation.html, a=testonly
Automatic update from web-platform-tests
Remove non-invertible-transform-animation.html

The test added in https://crrev.com/911926 is failing on Safari:
https://staging.wpt.fyi/results/css/css-animations/non-invertible-transform-animation.html

This test only covered the behavior change in https://crrev.com/911926
when run manually because any runs of the lifecycle, such as the raf
run at the end of the test, would hide the bug. The test was re-written
using web animations which should pass reliably on Safari, but that
approach hides the original bug when running the test manually. Because
the WPT test is of minimal value, and the behavior change is tested via
a unit test, this patch just removes the test.

Bug: 1227011
Change-Id: I08f02d1c6e8f74eaddd036ed4cc479d9b47255d4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3095427
Commit-Queue: Philip Rogers <pdr@chromium.org>
Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org>
Auto-Submit: Philip Rogers <pdr@chromium.org>
Reviewed-by: Xianzhu Wang <wangxianzhu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#912002}

--

wpt-commits: 0bc996384524028f8608c311d35ee7ebdf29afca
wpt-pr: 30032
2021-08-15 07:15:46 +00:00