Closed Bug 1444316 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 9939 - idl: Fix [EnforceRange] annotations

Categories

(Core :: DOM: Core & HTML, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
mozilla61
Tracking Status
firefox61 --- fixed

People

(Reporter: wptsync, Unassigned)

Details

(Whiteboard: [wptsync downstream])

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

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

Hitoshi Yoshida wrote:
>  idl: Fix [EnforceRange] annotations
>  
>  This CL fixes usages of [EnforceRange] annotations in IDL files.
>  No changes on behaviors.
>  
>  CSSUnitValue:
>   [EnforceRange] can't annotate non-integer numbers, and the spec
>   doesn't have the annotation.
>  
>  OffscreenCanvas:
>   The spec doesn't have [EnforceRange], but it seems the spec is wrong.
>   (requesting to update the spec; https://github.com/whatwg/html/issues/3540)
>  
>  IDBFactory and IDBIndex:
>   Follows spec.
>  
>  Test IDLs:
>   This CL works for tests in Chromium repository, and following tests
>   need to be upstream for WPT.
>   - wpt/interfaces/IndexedDB.idl
>   - wpt/interfaces/WebCryptoAPI.idl
>  
>  
>  Bug: 819112
>  Change-Id: If7082cba0251a83e269fea428340b3b61d4c17cf
>  
>  Reviewed-on: https://chromium-review.googlesource.com/952589
>  WPT-Export-Revision: 1135cb2808fa5f4d259f98ca29bc70d3e245f6e5
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Component: web-platform-tests → DOM
Product: Testing → Core
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Ran 4 tests and 703 subtests
OK     : 4
PASS   : 692
FAIL   : 11
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/08d9920b8266
[wpt PR 9939] - idl: Fix [EnforceRange] annotations, a=testonly
https://hg.mozilla.org/integration/mozilla-inbound/rev/1ba389b58ab9
[wpt PR 9939] - Update wpt metadata, a=testonly
https://hg.mozilla.org/mozilla-central/rev/08d9920b8266
https://hg.mozilla.org/mozilla-central/rev/1ba389b58ab9
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla61
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.