Closed
Bug 1483074
Opened 7 years ago
Closed 7 years ago
[wpt-sync] Sync PR 12449 - Web Locks API: Convert .html tests to .any.js where applicable
Categories
(Testing :: web-platform-tests, enhancement, P4)
Testing
web-platform-tests
Tracking
(firefox63 fixed)
RESOLVED
FIXED
mozilla63
| Tracking | Status | |
|---|---|---|
| firefox63 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 12449 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/12449
Details from upstream follow.
Joshua Bell <jsbell@chromium.org> wrote:
> Web Locks API: Convert .html tests to .any.js where applicable
>
> Most tests can run in window and worker contexts, so make it so.
>
> Bug: 161072
> Change-Id: Ic0df3a888e477d27562dce957807dde36dc8f420
> Reviewed-on: https://chromium-review.googlesource.com/1171255
> WPT-Export-Revision: c1ad9f03ed8dd4267bccc2f739a7e2a2d1c67f7f
| Assignee | ||
Comment 1•7 years ago
|
||
PR 12449 applied with additional changes from upstream: 6b3194d4b26ad3c2746e2b2773805e792b1f879d
| Assignee | ||
Comment 2•7 years ago
|
||
| Assignee | ||
Updated•7 years ago
|
Whiteboard: [wptsync downstream] → [wptsync downstream error]
| Assignee | ||
Updated•7 years ago
|
Whiteboard: [wptsync downstream error] → [wptsync downstream]
| Assignee | ||
Updated•7 years ago
|
Whiteboard: [wptsync downstream] → [wptsync downstream error]
| Assignee | ||
Updated•7 years ago
|
Whiteboard: [wptsync downstream error] → [wptsync downstream]
| Assignee | ||
Updated•7 years ago
|
Whiteboard: [wptsync downstream] → [wptsync downstream error]
| Assignee | ||
Updated•7 years ago
|
Whiteboard: [wptsync downstream error] → [wptsync downstream]
| Assignee | ||
Comment 3•7 years ago
|
||
| Assignee | ||
Comment 4•7 years ago
|
||
Ran 30 tests and 134 subtests
OK : 28
PASS : 2
FAIL : 128
TIMEOUT: 2
ERROR : 2
NOTRUN : 2
New tests that have failures or other problems:
/web-locks/acquire.tentative.https.any.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/acquire.tentative.https.any.worker.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/held.tentative.https.any.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/held.tentative.https.any.worker.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.any.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/ifAvailable.tentative.https.any.worker.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/lock-attributes.tentative.https.any.html
Lock attributes reflect requested properties (exclusive): FAIL
Lock attributes reflect requested properties (shared): FAIL
/web-locks/lock-attributes.tentative.https.any.worker.html
Lock attributes reflect requested properties (exclusive): FAIL
Lock attributes reflect requested properties (shared): FAIL
/web-locks/mode-exclusive.tentative.https.any.html
Lock requests are granted in order: FAIL
Requests for distinct resources can be granted: FAIL
/web-locks/mode-exclusive.tentative.https.any.worker.html
Lock requests are granted in order: FAIL
Requests for distinct resources can be granted: FAIL
/web-locks/mode-mixed.tentative.https.any.html
Lock requests are granted in order: FAIL
/web-locks/mode-mixed.tentative.https.any.worker.html
Lock requests are granted in order: FAIL
/web-locks/mode-shared.tentative.https.any.html
Lock requests are granted in order: FAIL
Shared locks are not exclusive: FAIL
/web-locks/mode-shared.tentative.https.any.worker.html
Lock requests are granted in order: FAIL
Shared locks are not exclusive: FAIL
/web-locks/query-empty.tentative.https.any.html
query() returns dictionary with empty arrays when no locks are held: FAIL
/web-locks/query-empty.tentative.https.any.worker.html
query() returns dictionary with empty arrays when no locks are held: FAIL
/web-locks/query-order.tentative.https.any.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-order.tentative.https.any.worker.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.any.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/query.tentative.https.any.worker.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.any.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/resource-names.tentative.https.any.worker.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.any.html
API presence in secure contexts: FAIL
/web-locks/secure-context.tentative.https.any.worker.html
API presence in secure contexts: FAIL
/web-locks/signal.tentative.https.any.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/signal.tentative.https.any.worker.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.any.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/steal.tentative.https.any.worker.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
| Assignee | ||
Comment 5•7 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=e227d53de965ce5ec3bfe09ea201fab3be5ebf47
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/4f8486e25e69
[wpt PR 12449] - Web Locks API: Convert .html tests to .any.js where applicable, a=testonly
https://hg.mozilla.org/integration/mozilla-inbound/rev/e63abe6c5a9b
[wpt PR 12449] - Update wpt metadata, a=testonly
Comment 7•7 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/4f8486e25e69
https://hg.mozilla.org/mozilla-central/rev/e63abe6c5a9b
Status: NEW → RESOLVED
Closed: 7 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
•