With parent intercept enabled, the source of truth for ServiceWorker
registrations lives in the parent process. In order to avoid sync messages or
having to wait after every test, we count the number of active registrations
in the parent and inform the children when there is or isn't a registration.
In non-parent-intercept mode, the parent finds out about new service worker
registrations too late, so we have to keep the old code hanging around for the
time being.
Differential Revision: https://phabricator.services.mozilla.com/D12151
`get_process_list()` makes multiple attempts at setting up adb, but errors setting up the connection get logged with a loglevel of ERROR. This patch makes these messages print with a loglevel of INFO unless this is the final attempt. This will cut down on superfluous error messages appearing in Treeherder's logviewer, while still providing all of the info fennec/tooling developers would need to fix the underlying problem here.
Differential Revision: https://phabricator.services.mozilla.com/D12813
Automatic update from web-platform-testsFix test exclusion logic of wpt/referrer-policy test generator
Previously, all worker-request, a-tag, area-tag tests were excluded
because "redirection" field was not included in |selection_pattern|,
and thus "worker-requests-with-swap-origin-redirect" and
"overhead-for-redirection" entries in "excluded_tests" in spec.src.json
were applied to all redirection types.
This CL
- Includes "redirection" field in |selection_pattern| and
instead remove "redirection" field from filenames, and
- Regenerates tests.
Therefore, this CL
- Adds new test files for worker-request, a-tag, area-tag, and
- Renames existing test files.
The only manual changes are
- referrer-policy/generic/tools/common_paths.py
- third_party/WebKit/LayoutTests/SlowTests
- third_party/WebKit/LayoutTests/SmokeTests
and all other modifications are made by
referrer-policy/generic/tools/generate.py.
Bug: 880027
Change-Id: Ie628f92b334d6e2adddc5957cc6cceaa8c69f322
Reviewed-on: https://chromium-review.googlesource.com/c/1330901
Reviewed-by: Hiroki Nakagawa <[email protected]>
Reviewed-by: Jochen Eisinger <[email protected]>
Reviewed-by: Dirk Pranke <[email protected]>
Commit-Queue: Hiroshige Hayashizaki <[email protected]>
Cr-Commit-Position: refs/heads/master@{#609433}
warning: inexact rename detection was skipped due to too many files.
warning: you may want to set your diff.renameLimit variable to at least 1920 and retry the command.
--
wpt-commits: 0944ee217e239e6b7cb0d532c828e728ff9b60e1
wpt-pr: 14131
Automatic update from web-platform-testswebrtc: add test for legacy default stream
adds a test covering the legacy behaviour of dealing
with SDP not containing a a=msid lines.
See also
https://github.com/rtcweb-wg/jsep/issues/856https://github.com/w3c/webrtc-pc/issues/2027
--
+jib codereview
--
Merge pull request #14054 from fippo/default-stream-no-msid
webrtc: add test for legacy default stream
--
wpt-commits: e9bc1b1358accf5a7abd21155399845fdc891d37, 10fe925252eb0a9ff3d4915f342d2662ebe94e31, 83d75544ac1390cdca8a771267ec3d223cf43bbf
wpt-pr: 14054
Automatic update from web-platform-tests[wpt] Refactor internal function for clarity (#14137)
The `affected_by_interfaces` function is used for flow control in the
following `if` condition:
if rel_path in file_contents or repo_path in file_contents or affected_by_interfaces(file_contents):
affected_testfiles.add(test_full_path)
This usage suggests that the function should return a boolean value
indicating whether the provided file contents are "affected." However,
it was previously implemented to interact with the `affected_testfiles`
set directly and return `None` in all cases.
Refactor the implementation to adhere to the functional style implied by
the call site.
--
wpt-commits: a8607f41bb0ff223456623cf43b427d4ed5bc53f
wpt-pr: 14137
Automatic update from web-platform-testswebdriver: update scroll into view tests to support older user agents (#14130)
Removing the use of ES6 constructs (fat-arrow and object shortcut
syntax) as well as adding use of alternatives for user agents that
do not support window.scrollX and window.scrollY.
--
wpt-commits: fcef20974685c994c830a23eae88906449fe93f7
wpt-pr: 14130
Automatic update from web-platform-testsRemove display of stats by default (user needs to click on a button for that).
This allows having a consistent WebKitTestRunner output for this test.
--
Merge pull request #14043 from youennf/fix-get-stats.html
Remove display of stats by default in webrtc/get-stats.html
--
wpt-commits: a6be85c1e8b8f301cd8412858cecf1d81923ff58, 6cdb358877f5e93e6e5933f92d4048c6876d324c
wpt-pr: 14043
Automatic update from web-platform-testsFormData: Fix a crash by passing null or non-HTMLFormElement instances to a FormData constructor
Add back nullptr check to FormData::Create(HTMLFormElement*).
This CL fixes a regression caused by crrev.com/609210.
According to standards, |new FormData(nullptr)| and |new
FormData("string")| should throw TypeErrors. However this CL applies the
behavior before crrev.com/609210.
Bug: 906649
Change-Id: I78aa53559592ef0e14cc941175dc9f1b44342bb0
Reviewed-on: https://chromium-review.googlesource.com/c/1343414
Reviewed-by: Yoshifumi Inoue <[email protected]>
Commit-Queue: Kent Tamura <[email protected]>
Cr-Commit-Position: refs/heads/master@{#609614}
--
wpt-commits: 3e5c53caa5517b2940f0e49441021cac78a84042
wpt-pr: 14140
Automatic update from web-platform-testsWorker: Separate worker-from-blob-url.window.html to filter out failing tests in a more fine-grained way
This test file should be separated into 2 files (one for dedicated workers and
the other for shared workers). This is because Edge and Safari don't support
shared workers, and Chrome has an issue on shared workers with Blob URL
revocation, so some tests are expected to fail on them. By separating the file,
browsers can filter out failing tests in a more fine grained way.
Bug: 655458, 800898
Change-Id: I9ea6c76dc9b6841bf6aaa98251c81f292dd460cf
Reviewed-on: https://chromium-review.googlesource.com/c/1337129
Commit-Queue: Hiroki Nakagawa <[email protected]>
Reviewed-by: Hiroshige Hayashizaki <[email protected]>
Reviewed-by: Matt Falkenhagen <[email protected]>
Cr-Commit-Position: refs/heads/master@{#609586}
--
wpt-commits: d0a6ed2b3686ac287842e4b8e813b44ee14553ff
wpt-pr: 14066
Automatic update from web-platform-testsAsync Cookies: Fix cross-frame test cleanup.
Fixed the cleanup functions to return a Promise and use explicit domains to make sure the cookies are cleaned up afterwards.
Bug: 729800
Change-Id: Iba3ca150431e21be26536658d3b5d77648edfe83
Reviewed-on: https://chromium-review.googlesource.com/c/1226199
Commit-Queue: Jarryd Goodman <[email protected]>
Commit-Queue: Victor Costan <[email protected]>
Reviewed-by: Victor Costan <[email protected]>
Cr-Commit-Position: refs/heads/master@{#609547}
--
wpt-commits: ef959fb1c35bcc93f5165caad50498d756e1de4e
wpt-pr: 14136
Automatic update from web-platform-testsSetting document.title should have no effect for non SVG/HTML documents
Setting document.title should have no effect for non SVG/HTML documents,
see https://html.spec.whatwg.org/multipage/dom.html#document.title.
Behavior matches Firefox.
Bug: 906038
Change-Id: I724abf9ecd711536d71ad95ab45c72230c2e87b6
Reviewed-on: https://chromium-review.googlesource.com/c/1339959
Commit-Queue: Rob Buis <[email protected]>
Reviewed-by: Kent Tamura <[email protected]>
Cr-Commit-Position: refs/heads/master@{#609407}
--
wpt-commits: f02babe0650c3a6ee81d8c7542765af1b4761809
wpt-pr: 14101
Automatic update from web-platform-testsAdd test for viewport units in SVG-in-<img> context
Bug: 650147
Change-Id: I4a158f600acb733477d33ebbd6a504490a5b54a4
Reviewed-on: https://chromium-review.googlesource.com/c/1341836
Commit-Queue: Fredrik Söderquist <[email protected]>
Reviewed-by: Philip Rogers <[email protected]>
Cr-Commit-Position: refs/heads/master@{#609346}
--
wpt-commits: fca3dc941825b298617f8bf6c9ce7c196b4de6f5
wpt-pr: 14127
Automatic update from web-platform-testsUse testfile mtimes to pre-filter files iterated over for the manifest update
Depends on D11667
Differential Revision: https://phabricator.services.mozilla.com/D8221
bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1497898
gecko-commit: aa24577bdeae449b6b51f1184cc6aec809fc3659
gecko-integration-branch: autoland
gecko-reviewers: ato
--
Update the .gitignore file
Depends on D8221
Differential Revision: https://phabricator.services.mozilla.com/D8222
bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1497898
gecko-commit: 284749dd9ee9d5e693cd86887934092a8889e1fc
gecko-integration-branch: autoland
gecko-reviewers: ato
--
Allow the gitignore filter to work on name components only
We end up with a lot of rules like (?:.*)/.*\.ext which are basically
trying to find the last component in a path and match against
that. These are rather slow to run so the easiest thing tdo is just
pass in the last component of the path when we know that's the only
thing the rule can match.
The changes to surrounding code to use this API will be made in future
commits.
Depends on D8222
Differential Revision: https://phabricator.services.mozilla.com/D8223
bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1497898
gecko-commit: 46c50835b9972454afc33df9df569afd657430ca
gecko-integration-branch: autoland
gecko-reviewers: ato
--
Update the gitignore implementation to work as an iterator filter
This updates the gitignore implemenation to take input like os.walk
but with additional stat data for the files. It also makes several
useful optimistaions:
* Avoid using regex when just matching a literal
* Identify patterns that can only match the final component of a path
and run those against that component rather than the full path.
* Add the possibility of providing a dictionary of paths to gitignore
statuses as a cache.
This dramatically reduces the amount of time we spend in gitignore
processing when updating the manifest.
Depends on D8223
Differential Revision: https://phabricator.services.mozilla.com/D8224
bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1497898
gecko-commit: 215f0ae6129888a0865d151835a86aee34368156
gecko-integration-branch: autoland
gecko-reviewers: ato
--
Update the lint to the new gitignore API
Depends on D8224
Differential Revision: https://phabricator.services.mozilla.com/D8225
bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1497898
gecko-commit: 166466f3a5fe137e02a710012babe8a14756afee
gecko-integration-branch: autoland
gecko-reviewers: ato
--
Add manifest caches for the mtime and gitignore rules
When processing the manifest using the worktree, instead of reading
all files to see if the content changed, instead only process files where
the mtime has been updated since the previous run. Also cache the
result of running gitignore, so we can save a couple of seconds
processing the gitignore rules.
Depends on D8225
Differential Revision: https://phabricator.services.mozilla.com/D8226
bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1497898
gecko-commit: 9d61715037440d58adf237622245bb847b9a898c
gecko-integration-branch: autoland
gecko-reviewers: ato
--
Add a custom implementation of os.walk
Compared to the normal os.walk this has a couple of differences:
* It returns lists of (name, stat) for filenames and directories,
allowing callers to reuse the stat data without going back to the
system to re-request it.
* Directories are always returned as paths relative to the root, and
the root itself is returned as the empty string.
* It is non-recursive.
There are also a few features missing that aren't required for our use
cases.
Depends on D8226
Differential Revision: https://phabricator.services.mozilla.com/D8227
bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1497898
gecko-commit: 10e90d3295ee7a29b094b42912cdb584dfd47e98
gecko-integration-branch: autoland
gecko-reviewers: ato
--
Fix the cache lifecycle
The caches weren't being invalidated when the manifest itself
changed. To fix this the manifest itself has to be written before the
cache and the cache has to include data about the manifest that it's
associated with (the mtime and path are used for this purpose).
To make all this work requires a single method that can load the
manifest, update it, write the manifest and write the
caches. Therefore we introduce a single load_and_update method that is
intended to replace all previous use of the load() or update() methods
(and as a bonus handles manifest version mismatches in a single
place).
Depends on D8227
Differential Revision: https://phabricator.services.mozilla.com/D8228
bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1497898
gecko-commit: fe2d962a8ed2e722266a417df17f7085aeabad3b
gecko-integration-branch: autoland
gecko-reviewers: ato
--
Fix the .gitignore rules
Depends on D8228
Differential Revision: https://phabricator.services.mozilla.com/D8229
bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1497898
gecko-commit: daf29e8abb1eb0f5685ed9d228afeb6b4a0c4327
gecko-integration-branch: autoland
gecko-reviewers: ato
--
Pass the manifest file directly into wpttest.from_manifest
Depends on D8229
Differential Revision: https://phabricator.services.mozilla.com/D8230
bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1497898
gecko-commit: 7f54376353321e398e7389a1aa3f1165d775faf9
gecko-integration-branch: autoland
gecko-reviewers: ato
--
Update manifest before tests
Depends on D8230
Differential Revision: https://phabricator.services.mozilla.com/D8231
bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1497898
gecko-commit: 750b40bcdad7d60d10ea78f386493d962af89de1
gecko-integration-branch: autoland
gecko-reviewers: ato
--
Handle WindowsError trying to determine if git exists
Depends on D8232
Differential Revision: https://phabricator.services.mozilla.com/D10743
bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1497898
gecko-commit: 3dedddeb0c8d6847d9c7cb7074d7d06186182663
gecko-integration-branch: autoland
gecko-reviewers: ato
--
Fix tests that didn't merge correctly
--
wpt-commits: 1ca46e0bec3da78ea11a824f7e6d07755e1f8399, 21ef9ca8b2dbffbe66d3c4b32b6818f827c2059b, be2adcdf2c6d3073ce65f7d4759a46f02ff1f7c2, 4011c5f3456bd84469d273cd7ba83fc62b05725d, 5bb4ba65d70fb397f11d3daad8474300b6628133, 770229abaa02cd3f359434560ce018703506990f, d21304002567198c4570328564e8ddb7244a579f, 8d520f0037303f3a09e982d7eb17fbc4ffe78489, a1dda976894ebc1fbfd4bba84200f388f10618ac, cb7be1940cfa9c25055093c4c2a8f24548b53cc5, fc9918e97b9e9306c31017441324f84c06ad9f4a, 59455cd58781c760e28f9663708d2b0b1acec742, becd4a72757b16321cddb9c79db9b443831d5d5e
wpt-pr: 13618
Automatic update from web-platform-testsVarious fixes to complete-method-manual.https.html (#14120)
* fix: variables are out of scope
* Add explicit done button
* fix: test unknown and missing value correctly
* relocate code comment
--
wpt-commits: 519461c331ab6656d1c28d9d6db465b5cec89224
wpt-pr: 14120
Automatic update from web-platform-testsCSS: Serialize % before px in calc
https://drafts.csswg.org/css-values/#math-function-serialize-a-summation
Percentage should be serialized before dimensions with units
Also fix typo in WPTs svg/geometry/parsing/*-computed.svg
calc(50% + 60x) becomes calc(50% + 60px)
BUG=904805
Change-Id: I2ecb732564c405f9315a1ef06e5bd0777c407f19
Reviewed-on: https://chromium-review.googlesource.com/c/1341289
Reviewed-by: Rune Lillesveen <[email protected]>
Commit-Queue: Eric Willigers <[email protected]>
Cr-Commit-Position: refs/heads/master@{#609262}
--
wpt-commits: 6f90ad64b9f531ae835623e445a6010031a52aa7
wpt-pr: 14121
Automatic update from web-platform-testsImplement RTCQuicStream.waitForReadable() (#14103)
[Compared to the original Blink CL, this commit has been rebased on top of
#14028]
Bug: 874296
Tbr: [email protected]
Change-Id: I1d76f979d9ff4cfcec0b5d5a34663dc48bb94056
Reviewed-on: https://chromium-review.googlesource.com/c/1289698
Commit-Queue: Steve Anton <[email protected]>
Reviewed-by: Steve Anton <[email protected]>
Cr-Commit-Position: refs/heads/master@{#608921}
--
wpt-commits: 740e67debdff138c4d3bd875d82eb6d6e5fe2938
wpt-pr: 14103