Open Bug 1512743 Opened 6 years ago Updated 2 years ago

[wpt-sync] Sync PR 14420 - [WebLocks]: Modifying weblocks algos to be O(1)

Categories

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

enhancement

Tracking

(Not tracked)

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 14420 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/14420
Details from upstream follow.

Andreas Butler <andreasbutler@google.com> wrote:
>  [WebLocks]: Modifying weblocks algos to be O(1)
>  
>  The behaviour of the request/release operations of web locks are
>  modified to be O(1) instead of their currently O(n) worst case runtime.
>  Additionally the query-order wpt is modified to reflect the new spec
>  requirement that the state returned by navigator.locks.query need only
>  respect ordering for requested locks per resource.
>  
>  Bug: 913014
>  Change-Id: I819f8c27c995cb698a7c8b2c75ee80d32c744f07
>  Spec: https://wicg.github.io/web-locks/#algorithms
>  Reviewed-on: https://chromium-review.googlesource.com/1367910
>  WPT-Export-Revision: e3f6d1000bf2125448376af62d0560c1e1c18081
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.