Closed
Bug 1472022
Opened 6 years ago
Closed 6 years ago
[wpt-sync] Sync PR 11713 - Web Locks API: Upstream tests to web-platform-tests (as .tentative)
Categories
(Testing :: web-platform-tests, enhancement, P4)
Testing
web-platform-tests
Tracking
(firefox63 fixed)
RESOLVED
FIXED
mozilla63
Tracking | Status | |
---|---|---|
firefox63 | --- | fixed |
People
(Reporter: mozilla.org, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 11713 into mozilla-central (this bug is closed when the sync is complete). PR: https://github.com/web-platform-tests/wpt/pull/11713 Details from upstream follow. Joshua Bell <jsbell@chromium.org> wrote: > Web Locks API: Upstream tests to web-platform-tests (as .tentative) > > * Move tests from http/tests/locks to external/wpt/web-locks > * Name with '.tentative' infix since this is still just a proposal > * Name most tests with '.https' infix since feature is [SecureContext] > (and remove redirect-to-secure-host logic in tests) > * Consolidate window/worker interfaces test with '.any.js' variant > * Update paths to service worker helpers > > Bug: 857265 > Change-Id: Iaf254c5d53ff5b6bb65de4516df85307ad3a6519 > Reviewed-on: https://chromium-review.googlesource.com/1118764 > WPT-Export-Revision: cb874dfbd060c71df315cc57836313992dfcd63e
Assignee | ||
Comment 1•6 years ago
|
||
Pushed to try https://treeherder.mozilla.org/#/jobs?repo=try&revision=001dbf00cf14b6eebaefbec64bb37f9b0327eecd
Assignee | ||
Comment 2•6 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=e42607febeb178bae92d0b129c5d761cdebc9b4e
Assignee | ||
Comment 3•6 years ago
|
||
Pushed to try https://treeherder.mozilla.org/#/jobs?repo=try&revision=5b2efb6fd0a18619f399ed15d80ffb3d2c83899b
Assignee | ||
Comment 4•6 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=3c91e09dc6757e88aaa2989da2934c7e268e0970
Assignee | ||
Comment 5•6 years ago
|
||
Pushed to try https://treeherder.mozilla.org/#/jobs?repo=try&revision=e652020cf3b3e388fd3d84d438dd6cbd61171f8c
Assignee | ||
Comment 6•6 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=63e60d578bfc734b0c59360036f0c094dad1babf
Assignee | ||
Comment 7•6 years ago
|
||
Pushed to try https://treeherder.mozilla.org/#/jobs?repo=try&revision=e89d695dd8d69d57a6e1d42b2880bac1b5bf2e67
Assignee | ||
Comment 8•6 years ago
|
||
Ran 22 tests and 84 subtests OK : 19 PASS : 1 FAIL : 70 TIMEOUT: 4 ERROR : 2 NOTRUN : 10 New tests that have failures or other problems: /web-locks/acquire.tentative.https.html Returned Promise rejects if callback throws asynchronously: FAIL Returned Promise rejects if callback throws synchronously: FAIL The 'signal' and 'ifAvailable' options are mutually exclusive: FAIL The 'signal' and 'steal' options are mutually exclusive: FAIL The 'steal' and 'ifAvailable' options are mutually exclusive: FAIL The 'steal' option must be used with exclusive locks: FAIL callback must be a function: FAIL mode must be "shared" or "exclusive": FAIL navigator.locks.request requires a name and a callback: FAIL navigator.locks.request's returned promise resolves after lock is released: FAIL /web-locks/clientids.tentative.https.html Client IDs match between Locks API and Service Workers: FAIL /web-locks/frames.tentative.https.html: TIMEOUT Frame and Frame - exclusive mode: NOTRUN Navigated Frame with held lock: NOTRUN Navigated Frame with pending request: NOTRUN Removed Frame with pending request: NOTRUN Terminated Frame with held lock: NOTRUN Window and Frame - exclusive mode: NOTRUN Window and Frame - shared mode: TIMEOUT /web-locks/held.tentative.https.html callback's result is promisified if not async: FAIL held lock prevents the same client from acquiring it: FAIL lock is held until callback's returned promise rejects: FAIL lock is held until callback's returned promise resolves: FAIL /web-locks/ifAvailable.tentative.https.html Exclusive lock request with ifAvailable - shared lock held: FAIL Lock request with ifAvailable - lock available: FAIL Lock request with ifAvailable - lock not available: FAIL Lock request with ifAvailable - lock not available, callback throws: FAIL Lock request with ifAvailable - unrelated lock held: FAIL Locks are available once previous release is processed: FAIL Returned Promise rejects if async callback yields rejected promise: FAIL Returned Promise rejects if callback throws synchronously: FAIL Shared lock request with ifAvailable - exclusive lock held: FAIL Shared lock request with ifAvailable - shared lock held: FAIL /web-locks/interfaces-serviceworker.tentative.https.html Interface test: FAIL /web-locks/interfaces.tentative.https.any.html Untitled: FAIL /web-locks/interfaces.tentative.https.any.worker.html Untitled: FAIL /web-locks/lock-attributes.tentative.https.html Lock attributes reflect requested properties (exclusive): FAIL Lock attributes reflect requested properties (shared): FAIL /web-locks/mode-exclusive.tentative.https.html Lock requests are granted in order: FAIL Requests for distinct resources can be granted: FAIL /web-locks/mode-mixed.tentative.https.html Lock requests are granted in order: FAIL /web-locks/mode-shared.tentative.https.html Lock requests are granted in order: FAIL Shared locks are not exclusive: FAIL /web-locks/opaque-origin.tentative.https.html navigator.locks.request() in non-sandboxed iframe should not throw: FAIL navigator.locks.request() in sandboxed iframe should throw SecurityError: FAIL /web-locks/query-empty.tentative.https.html query() returns dictionary with empty arrays when no locks are held: FAIL /web-locks/query-order.tentative.https.html Held locks appear in state in order granted: FAIL Held locks appear in state in order granted, including when stolen: FAIL Requests appear in state in order made: FAIL /web-locks/query.tentative.https.html: ERROR query() can observe a deadlock: NOTRUN query() reports different ids for held locks from different contexts: TIMEOUT query() reports held shared locks with appropriate count: FAIL query() reports individual held locks: FAIL query() reports multiple held locks: FAIL query() reports pending and held locks: FAIL query() reports pending shared locks with appropriate count: FAIL query() reports the same clientId for held locks from the same context: FAIL query() returns dictionaries with expected properties: FAIL /web-locks/resource-names.tentative.https.html DOMString: : FAIL DOMString: 0x61 0x62 0x63 0x0 0x64 0x65 0x66: FAIL DOMString: 0xD800: FAIL DOMString: 0xDC00: FAIL DOMString: 0xDC00 0xD800: FAIL DOMString: 0xFFFF: FAIL Names cannot start with "-": FAIL Resource names that are not valid UTF-16 are not mangled: FAIL /web-locks/secure-context.tentative.https.html API presence in secure contexts: FAIL /web-locks/signal.tentative.https.html Abort after a timeout: FAIL Abort signaled after lock granted: FAIL Abort signaled after lock released: FAIL An aborted request results in AbortError: FAIL Passing an already aborted signal aborts: FAIL Signal that is not aborted: FAIL Synchronously signaled abort: FAIL The signal option must be an AbortSignal: FAIL /web-locks/steal.tentative.https.html Broken lock's release promise rejects: FAIL Last caller wins: FAIL Lock available: FAIL Lock not available: FAIL Requested lock's release promise is deferred: FAIL /web-locks/workers.tentative.https.html: ERROR Terminated Worker - exclusive mode: NOTRUN Window and Worker - exclusive mode: NOTRUN Window and Worker - shared mode: TIMEOUT Worker and Worker - exclusive mode: NOTRUN
Assignee | ||
Comment 9•6 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=16bdc3cebea96e040a24bbd01e6b3691004f0f5b
Comment 10•6 years ago
|
||
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/c13e8969b9d0 [wpt PR 11713] - Web Locks API: Upstream tests to web-platform-tests (as .tentative), a=testonly https://hg.mozilla.org/integration/mozilla-inbound/rev/6620ce82585f [wpt PR 11713] - Update wpt metadata, a=testonly
Comment 11•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/c13e8969b9d0 https://hg.mozilla.org/mozilla-central/rev/6620ce82585f
Status: NEW → RESOLVED
Closed: 6 years ago
status-firefox63:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla63
You need to log in
before you can comment on or make changes to this bug.
Description
•