Closed Bug 1488977 Opened 8 years ago Closed 8 years ago

[wpt-sync] Sync PR 12860 - Web Locks API: Run tests in additional globals

Categories

(Testing :: web-platform-tests, enhancement, P4)

enhancement

Tracking

(firefox64 fixed)

RESOLVED FIXED
mozilla64
Tracking Status
firefox64 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 12860 into mozilla-central (this bug is closed when the sync is complete). PR: https://github.com/web-platform-tests/wpt/pull/12860 Details from upstream follow. Joshua Bell <jsbell@chromium.org> wrote: > Web Locks API: Run tests in additional globals > > Use the "META: global=" annotation to run the web-locks/ tests in > shared and service workers, as appropriate. > > Change-Id: I1d6acd9b4e2932bf3a60b1e41285cbe74e3cb8ff > Reviewed-on: https://chromium-review.googlesource.com/1208447 > WPT-Export-Revision: 983cdbfef26ac48ac24097126d8da8f725d1bcd1
Ran 59 tests and 359 subtests OK : 59 PASS : 11 FAIL : 348 New tests that have failures or other problems: /web-locks/acquire.tentative.https.any.serviceworker.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.sharedworker.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.serviceworker.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.sharedworker.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/idlharness.tentative.https.any.html Lock interface object length: FAIL Lock interface object name: FAIL Lock interface: attribute mode: FAIL Lock interface: attribute name: FAIL Lock interface: existence and properties of interface object: FAIL Lock interface: existence and properties of interface prototype object: FAIL Lock interface: existence and properties of interface prototype object's "constructor" property: FAIL Lock interface: existence and properties of interface prototype object's @@unscopables property: FAIL Lock interface: lock must inherit property "mode" with the proper type: FAIL Lock interface: lock must inherit property "name" with the proper type: FAIL Lock must be primary interface of lock: FAIL LockManager interface object length: FAIL LockManager interface object name: FAIL LockManager interface: calling request(DOMString, LockGrantedCallback) on navigator.locks with too few arguments must throw TypeError: FAIL LockManager interface: calling request(DOMString, LockOptions, LockGrantedCallback) on navigator.locks with too few arguments must throw TypeError: FAIL LockManager interface: existence and properties of interface object: FAIL LockManager interface: existence and properties of interface prototype object: FAIL LockManager interface: existence and properties of interface prototype object's "constructor" property: FAIL LockManager interface: existence and properties of interface prototype object's @@unscopables property: FAIL LockManager interface: navigator.locks must inherit property "query()" with the proper type: FAIL LockManager interface: navigator.locks must inherit property "request(DOMString, LockGrantedCallback)" with the proper type: FAIL LockManager interface: navigator.locks must inherit property "request(DOMString, LockOptions, LockGrantedCallback)" with the proper type: FAIL LockManager interface: operation query(): FAIL LockManager interface: operation request(DOMString, LockGrantedCallback): FAIL LockManager interface: operation request(DOMString, LockOptions, LockGrantedCallback): FAIL LockManager must be primary interface of navigator.locks: FAIL Navigator interface: attribute locks: FAIL Navigator interface: navigator must inherit property "locks" with the proper type: FAIL Stringification of lock: FAIL Stringification of navigator.locks: FAIL /web-locks/idlharness.tentative.https.any.serviceworker.html Lock interface object length: FAIL Lock interface object name: FAIL Lock interface: attribute mode: FAIL Lock interface: attribute name: FAIL Lock interface: existence and properties of interface object: FAIL Lock interface: existence and properties of interface prototype object: FAIL Lock interface: existence and properties of interface prototype object's "constructor" property: FAIL Lock interface: existence and properties of interface prototype object's @@unscopables property: FAIL Lock interface: lock must inherit property "mode" with the proper type: FAIL Lock interface: lock must inherit property "name" with the proper type: FAIL Lock must be primary interface of lock: FAIL LockManager interface object length: FAIL LockManager interface object name: FAIL LockManager interface: calling request(DOMString, LockGrantedCallback) on navigator.locks with too few arguments must throw TypeError: FAIL LockManager interface: calling request(DOMString, LockOptions, LockGrantedCallback) on navigator.locks with too few arguments must throw TypeError: FAIL LockManager interface: existence and properties of interface object: FAIL LockManager interface: existence and properties of interface prototype object: FAIL LockManager interface: existence and properties of interface prototype object's "constructor" property: FAIL LockManager interface: existence and properties of interface prototype object's @@unscopables property: FAIL LockManager interface: navigator.locks must inherit property "query()" with the proper type: FAIL LockManager interface: navigator.locks must inherit property "request(DOMString, LockGrantedCallback)" with the proper type: FAIL LockManager interface: navigator.locks must inherit property "request(DOMString, LockOptions, LockGrantedCallback)" with the proper type: FAIL LockManager interface: operation query(): FAIL LockManager interface: operation request(DOMString, LockGrantedCallback): FAIL LockManager interface: operation request(DOMString, LockOptions, LockGrantedCallback): FAIL LockManager must be primary interface of navigator.locks: FAIL Stringification of lock: FAIL Stringification of navigator.locks: FAIL WorkerNavigator interface: attribute locks: FAIL WorkerNavigator interface: navigator must inherit property "locks" with the proper type: FAIL /web-locks/idlharness.tentative.https.any.sharedworker.html Lock interface object length: FAIL Lock interface object name: FAIL Lock interface: attribute mode: FAIL Lock interface: attribute name: FAIL Lock interface: existence and properties of interface object: FAIL Lock interface: existence and properties of interface prototype object: FAIL Lock interface: existence and properties of interface prototype object's "constructor" property: FAIL Lock interface: existence and properties of interface prototype object's @@unscopables property: FAIL Lock interface: lock must inherit property "mode" with the proper type: FAIL Lock interface: lock must inherit property "name" with the proper type: FAIL Lock must be primary interface of lock: FAIL LockManager interface object length: FAIL LockManager interface object name: FAIL LockManager interface: calling request(DOMString, LockGrantedCallback) on navigator.locks with too few arguments must throw TypeError: FAIL LockManager interface: calling request(DOMString, LockOptions, LockGrantedCallback) on navigator.locks with too few arguments must throw TypeError: FAIL LockManager interface: existence and properties of interface object: FAIL LockManager interface: existence and properties of interface prototype object: FAIL LockManager interface: existence and properties of interface prototype object's "constructor" property: FAIL LockManager interface: existence and properties of interface prototype object's @@unscopables property: FAIL LockManager interface: navigator.locks must inherit property "query()" with the proper type: FAIL LockManager interface: navigator.locks must inherit property "request(DOMString, LockGrantedCallback)" with the proper type: FAIL LockManager interface: navigator.locks must inherit property "request(DOMString, LockOptions, LockGrantedCallback)" with the proper type: FAIL LockManager interface: operation query(): FAIL LockManager interface: operation request(DOMString, LockGrantedCallback): FAIL LockManager interface: operation request(DOMString, LockOptions, LockGrantedCallback): FAIL LockManager must be primary interface of navigator.locks: FAIL Stringification of lock: FAIL Stringification of navigator.locks: FAIL WorkerNavigator interface: attribute locks: FAIL WorkerNavigator interface: navigator must inherit property "locks" with the proper type: FAIL /web-locks/idlharness.tentative.https.any.worker.html Lock interface object length: FAIL Lock interface object name: FAIL Lock interface: attribute mode: FAIL Lock interface: attribute name: FAIL Lock interface: existence and properties of interface object: FAIL Lock interface: existence and properties of interface prototype object: FAIL Lock interface: existence and properties of interface prototype object's "constructor" property: FAIL Lock interface: existence and properties of interface prototype object's @@unscopables property: FAIL Lock interface: lock must inherit property "mode" with the proper type: FAIL Lock interface: lock must inherit property "name" with the proper type: FAIL Lock must be primary interface of lock: FAIL LockManager interface object length: FAIL LockManager interface object name: FAIL LockManager interface: calling request(DOMString, LockGrantedCallback) on navigator.locks with too few arguments must throw TypeError: FAIL LockManager interface: calling request(DOMString, LockOptions, LockGrantedCallback) on navigator.locks with too few arguments must throw TypeError: FAIL LockManager interface: existence and properties of interface object: FAIL LockManager interface: existence and properties of interface prototype object: FAIL LockManager interface: existence and properties of interface prototype object's "constructor" property: FAIL LockManager interface: existence and properties of interface prototype object's @@unscopables property: FAIL LockManager interface: navigator.locks must inherit property "query()" with the proper type: FAIL LockManager interface: navigator.locks must inherit property "request(DOMString, LockGrantedCallback)" with the proper type: FAIL LockManager interface: navigator.locks must inherit property "request(DOMString, LockOptions, LockGrantedCallback)" with the proper type: FAIL LockManager interface: operation query(): FAIL LockManager interface: operation request(DOMString, LockGrantedCallback): FAIL LockManager interface: operation request(DOMString, LockOptions, LockGrantedCallback): FAIL LockManager must be primary interface of navigator.locks: FAIL Stringification of lock: FAIL Stringification of navigator.locks: FAIL WorkerNavigator interface: attribute locks: FAIL WorkerNavigator interface: navigator must inherit property "locks" with the proper type: FAIL /web-locks/ifAvailable.tentative.https.any.serviceworker.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.sharedworker.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.serviceworker.html Lock attributes reflect requested properties (exclusive): FAIL Lock attributes reflect requested properties (shared): FAIL /web-locks/lock-attributes.tentative.https.any.sharedworker.html Lock attributes reflect requested properties (exclusive): FAIL Lock attributes reflect requested properties (shared): FAIL /web-locks/mode-exclusive.tentative.https.any.serviceworker.html Lock requests are granted in order: FAIL Requests for distinct resources can be granted: FAIL /web-locks/mode-exclusive.tentative.https.any.sharedworker.html Lock requests are granted in order: FAIL Requests for distinct resources can be granted: FAIL /web-locks/mode-mixed.tentative.https.any.serviceworker.html Lock requests are granted in order: FAIL /web-locks/mode-mixed.tentative.https.any.sharedworker.html Lock requests are granted in order: FAIL /web-locks/mode-shared.tentative.https.any.serviceworker.html Lock requests are granted in order: FAIL Shared locks are not exclusive: FAIL /web-locks/mode-shared.tentative.https.any.sharedworker.html Lock requests are granted in order: FAIL Shared locks are not exclusive: FAIL /web-locks/query-empty.tentative.https.any.serviceworker.html query() returns dictionary with empty arrays when no locks are held: FAIL /web-locks/query-empty.tentative.https.any.sharedworker.html query() returns dictionary with empty arrays when no locks are held: FAIL /web-locks/query-order.tentative.https.any.serviceworker.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.sharedworker.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/resource-names.tentative.https.any.serviceworker.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.sharedworker.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.serviceworker.html API presence in secure contexts: FAIL /web-locks/secure-context.tentative.https.any.sharedworker.html API presence in secure contexts: FAIL /web-locks/signal.tentative.https.any.serviceworker.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.sharedworker.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.serviceworker.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.sharedworker.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
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/703c030316ba [wpt PR 12860] - Web Locks API: Run tests in additional globals, a=testonly https://hg.mozilla.org/integration/mozilla-inbound/rev/88aff39ebbb8 [wpt PR 12860] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
Pushed by archaeopteryx@coole-files.de: https://hg.mozilla.org/integration/mozilla-inbound/rev/ab1b27f53a5c [wpt PR 12860] - Web Locks API: Run tests in additional globals, a=testonly https://hg.mozilla.org/integration/mozilla-inbound/rev/c927f2a13330 [wpt PR 12860] - Update wpt metadata, a=testonly
Status: REOPENED → RESOLVED
Closed: 8 years ago → 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
Flags: needinfo?(james)
You need to log in before you can comment on or make changes to this bug.