Changeset 249731 in webkit


Ignore:
Timestamp:
Sep 10, 2019 1:14:46 PM (5 years ago)
Author:
Chris Dumez
Message:

Re-sync web-platform-tests IDL interfaces from upstream
https://bugs.webkit.org/show_bug.cgi?id=201630

Reviewed by Alex Christensen.

Re-sync web-platform-tests IDL interfaces from upstream 603a271948a7162.

  • web-platform-tests/interfaces/BackgroundSync.idl: Added.
  • web-platform-tests/interfaces/CSP.idl: Added.
  • web-platform-tests/interfaces/CSS-Parser-API.idl: Added.
  • web-platform-tests/interfaces/DOM-Parsing.idl:
  • web-platform-tests/interfaces/FileAPI.idl:
  • web-platform-tests/interfaces/IndexedDB.idl:
  • web-platform-tests/interfaces/InputDeviceCapabilities.idl: Added.
  • web-platform-tests/interfaces/META.yml: Added.
  • web-platform-tests/interfaces/README.md: Added.
  • web-platform-tests/interfaces/SRI.idl: Added.
  • web-platform-tests/interfaces/WebCryptoAPI.idl:
  • web-platform-tests/interfaces/accelerometer.idl:
  • web-platform-tests/interfaces/ambient-light.idl:
  • web-platform-tests/interfaces/animation-worklet.idl: Added.
  • web-platform-tests/interfaces/appmanifest.idl: Added.
  • web-platform-tests/interfaces/audio-output.idl: Added.
  • web-platform-tests/interfaces/background-fetch.idl:
  • web-platform-tests/interfaces/battery-status.idl: Added.
  • web-platform-tests/interfaces/beacon.idl: Added.
  • web-platform-tests/interfaces/clipboard-apis.idl:
  • web-platform-tests/interfaces/compat.idl: Added.
  • web-platform-tests/interfaces/console.idl:
  • web-platform-tests/interfaces/cookie-store.idl:
  • web-platform-tests/interfaces/cors-rfc1918.idl: Added.
  • web-platform-tests/interfaces/csp-embedded-enforcement.idl: Added.
  • web-platform-tests/interfaces/css-animations.idl: Added.
  • web-platform-tests/interfaces/css-conditional.idl: Added.
  • web-platform-tests/interfaces/css-counter-styles.idl: Added.
  • web-platform-tests/interfaces/css-device-adapt.idl: Added.
  • web-platform-tests/interfaces/css-font-loading.idl: Added.
  • web-platform-tests/interfaces/css-fonts.idl: Added.
  • web-platform-tests/interfaces/css-images.idl: Added.
  • web-platform-tests/interfaces/css-layout-api.idl: Added.
  • web-platform-tests/interfaces/css-masking.idl: Added.
  • web-platform-tests/interfaces/css-paint-api.idl: Added.
  • web-platform-tests/interfaces/css-regions.idl: Added.
  • web-platform-tests/interfaces/css-transitions.idl: Added.
  • web-platform-tests/interfaces/css-typed-om.idl:
  • web-platform-tests/interfaces/element-timing.idl: Added.
  • web-platform-tests/interfaces/encoding.idl:
  • web-platform-tests/interfaces/encrypted-media.idl:
  • web-platform-tests/interfaces/entries-api.idl:
  • web-platform-tests/interfaces/event-timing.idl: Added.
  • web-platform-tests/interfaces/feature-policy.idl: Added.
  • web-platform-tests/interfaces/fetch.idl:
  • web-platform-tests/interfaces/filter-effects.idl: Added.
  • web-platform-tests/interfaces/font-metrics-api.idl: Added.
  • web-platform-tests/interfaces/fullscreen.idl:
  • web-platform-tests/interfaces/gamepad.idl:
  • web-platform-tests/interfaces/generic-sensor.idl: Added.
  • web-platform-tests/interfaces/geolocation-API.idl: Added.
  • web-platform-tests/interfaces/geolocation-sensor.idl:
  • web-platform-tests/interfaces/geometry.idl:
  • web-platform-tests/interfaces/gyroscope.idl:
  • web-platform-tests/interfaces/hr-time.idl:
  • web-platform-tests/interfaces/html-media-capture.idl: Added.
  • web-platform-tests/interfaces/image-capture.idl: Added.
  • web-platform-tests/interfaces/input-events.idl: Added.
  • web-platform-tests/interfaces/intersection-observer.idl:
  • web-platform-tests/interfaces/keyboard-lock.idl: Added.
  • web-platform-tests/interfaces/keyboard-map.idl: Added.
  • web-platform-tests/interfaces/largest-contentful-paint.idl: Added.
  • web-platform-tests/interfaces/layout-instability.idl: Added.
  • web-platform-tests/interfaces/longtasks.idl: Added.
  • web-platform-tests/interfaces/magnetometer.idl:
  • web-platform-tests/interfaces/media-capabilities.idl: Added.
  • web-platform-tests/interfaces/media-playback-quality.idl: Added.
  • web-platform-tests/interfaces/media-source.idl: Added.
  • web-platform-tests/interfaces/mediacapture-depth.idl: Added.
  • web-platform-tests/interfaces/mediacapture-fromelement.idl: Added.
  • web-platform-tests/interfaces/mediasession.idl: Added.
  • web-platform-tests/interfaces/mediastream-recording.idl: Added.
  • web-platform-tests/interfaces/mst-content-hint.idl: Added.
  • web-platform-tests/interfaces/navigation-timing.idl: Added.
  • web-platform-tests/interfaces/netinfo.idl: Added.
  • web-platform-tests/interfaces/notifications.idl: Added.
  • web-platform-tests/interfaces/orientation-event.idl: Added.
  • web-platform-tests/interfaces/orientation-sensor.idl:
  • web-platform-tests/interfaces/page-visibility.idl: Added.
  • web-platform-tests/interfaces/paint-timing.idl: Added.
  • web-platform-tests/interfaces/payment-handler.idl:
  • web-platform-tests/interfaces/payment-method-basic-card.idl: Added.
  • web-platform-tests/interfaces/payment-request.idl:
  • web-platform-tests/interfaces/permissions.idl: Added.
  • web-platform-tests/interfaces/picture-in-picture.idl: Added.
  • web-platform-tests/interfaces/pointerevents-extension.idl: Added.
  • web-platform-tests/interfaces/pointerevents.idl: Added.
  • web-platform-tests/interfaces/pointerlock.idl: Added.
  • web-platform-tests/interfaces/presentation-api.idl: Added.
  • web-platform-tests/interfaces/proximity.idl:
  • web-platform-tests/interfaces/push-api.idl: Added.
  • web-platform-tests/interfaces/remote-playback.idl: Added.
  • web-platform-tests/interfaces/reporting.idl: Added.
  • web-platform-tests/interfaces/requestidlecallback.idl: Added.
  • web-platform-tests/interfaces/resize-observer.idl: Added.
  • web-platform-tests/interfaces/screen-capture.idl: Added.
  • web-platform-tests/interfaces/screen-orientation.idl:
  • web-platform-tests/interfaces/scroll-animations.idl: Added.
  • web-platform-tests/interfaces/secure-contexts.idl: Added.
  • web-platform-tests/interfaces/selection-api.idl:
  • web-platform-tests/interfaces/server-timing.idl: Added.
  • web-platform-tests/interfaces/shape-detection-api.idl: Added.
  • web-platform-tests/interfaces/speech-api.idl: Added.
  • web-platform-tests/interfaces/storage.idl:
  • web-platform-tests/interfaces/touch-events.idl: Added.
  • web-platform-tests/interfaces/trusted-types.tentative.idl: Added.
  • web-platform-tests/interfaces/uievents.idl:
  • web-platform-tests/interfaces/url.idl:
  • web-platform-tests/interfaces/user-timing.idl: Added.
  • web-platform-tests/interfaces/vibration.idl: Added.
  • web-platform-tests/interfaces/wai-aria.idl: Added.
  • web-platform-tests/interfaces/wake-lock.idl:
  • web-platform-tests/interfaces/wasm-js-api.idl: Added.
  • web-platform-tests/interfaces/wasm-web-api.idl: Added.
  • web-platform-tests/interfaces/web-animations.idl: Added.
  • web-platform-tests/interfaces/web-bluetooth.idl: Added.
  • web-platform-tests/interfaces/web-nfc.idl:
  • web-platform-tests/interfaces/web-share.idl:
  • web-platform-tests/interfaces/webaudio.idl: Added.
  • web-platform-tests/interfaces/webauthn.idl:
  • web-platform-tests/interfaces/webdriver.idl: Added.
  • web-platform-tests/interfaces/webgl1.idl: Added.
  • web-platform-tests/interfaces/webgl2.idl: Added.
  • web-platform-tests/interfaces/webidl.idl:
  • web-platform-tests/interfaces/webmidi.idl: Added.
  • web-platform-tests/interfaces/webrtc-dscp.idl: Added.
  • web-platform-tests/interfaces/webrtc-stats.idl: Added.
  • web-platform-tests/interfaces/webusb.idl:
  • web-platform-tests/interfaces/webvtt.idl: Added.
  • web-platform-tests/interfaces/webxr.idl:
  • web-platform-tests/interfaces/worklets.idl: Added.
  • web-platform-tests/interfaces/xhr.idl:
  • web-platform-tests/interfaces/xslt.tentative.idl: Added.
Location:
trunk/LayoutTests/imported/w3c
Files:
93 added
57 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/imported/w3c/ChangeLog

    r249725 r249731  
     12019-09-10  Chris Dumez  <cdumez@apple.com>
     2
     3        Re-sync web-platform-tests IDL interfaces from upstream
     4        https://bugs.webkit.org/show_bug.cgi?id=201630
     5
     6        Reviewed by Alex Christensen.
     7
     8        Re-sync web-platform-tests IDL interfaces from upstream 603a271948a7162.
     9
     10        * web-platform-tests/interfaces/BackgroundSync.idl: Added.
     11        * web-platform-tests/interfaces/CSP.idl: Added.
     12        * web-platform-tests/interfaces/CSS-Parser-API.idl: Added.
     13        * web-platform-tests/interfaces/DOM-Parsing.idl:
     14        * web-platform-tests/interfaces/FileAPI.idl:
     15        * web-platform-tests/interfaces/IndexedDB.idl:
     16        * web-platform-tests/interfaces/InputDeviceCapabilities.idl: Added.
     17        * web-platform-tests/interfaces/META.yml: Added.
     18        * web-platform-tests/interfaces/README.md: Added.
     19        * web-platform-tests/interfaces/SRI.idl: Added.
     20        * web-platform-tests/interfaces/WebCryptoAPI.idl:
     21        * web-platform-tests/interfaces/accelerometer.idl:
     22        * web-platform-tests/interfaces/ambient-light.idl:
     23        * web-platform-tests/interfaces/animation-worklet.idl: Added.
     24        * web-platform-tests/interfaces/appmanifest.idl: Added.
     25        * web-platform-tests/interfaces/audio-output.idl: Added.
     26        * web-platform-tests/interfaces/background-fetch.idl:
     27        * web-platform-tests/interfaces/battery-status.idl: Added.
     28        * web-platform-tests/interfaces/beacon.idl: Added.
     29        * web-platform-tests/interfaces/clipboard-apis.idl:
     30        * web-platform-tests/interfaces/compat.idl: Added.
     31        * web-platform-tests/interfaces/console.idl:
     32        * web-platform-tests/interfaces/cookie-store.idl:
     33        * web-platform-tests/interfaces/cors-rfc1918.idl: Added.
     34        * web-platform-tests/interfaces/csp-embedded-enforcement.idl: Added.
     35        * web-platform-tests/interfaces/css-animations.idl: Added.
     36        * web-platform-tests/interfaces/css-conditional.idl: Added.
     37        * web-platform-tests/interfaces/css-counter-styles.idl: Added.
     38        * web-platform-tests/interfaces/css-device-adapt.idl: Added.
     39        * web-platform-tests/interfaces/css-font-loading.idl: Added.
     40        * web-platform-tests/interfaces/css-fonts.idl: Added.
     41        * web-platform-tests/interfaces/css-images.idl: Added.
     42        * web-platform-tests/interfaces/css-layout-api.idl: Added.
     43        * web-platform-tests/interfaces/css-masking.idl: Added.
     44        * web-platform-tests/interfaces/css-paint-api.idl: Added.
     45        * web-platform-tests/interfaces/css-regions.idl: Added.
     46        * web-platform-tests/interfaces/css-transitions.idl: Added.
     47        * web-platform-tests/interfaces/css-typed-om.idl:
     48        * web-platform-tests/interfaces/element-timing.idl: Added.
     49        * web-platform-tests/interfaces/encoding.idl:
     50        * web-platform-tests/interfaces/encrypted-media.idl:
     51        * web-platform-tests/interfaces/entries-api.idl:
     52        * web-platform-tests/interfaces/event-timing.idl: Added.
     53        * web-platform-tests/interfaces/feature-policy.idl: Added.
     54        * web-platform-tests/interfaces/fetch.idl:
     55        * web-platform-tests/interfaces/filter-effects.idl: Added.
     56        * web-platform-tests/interfaces/font-metrics-api.idl: Added.
     57        * web-platform-tests/interfaces/fullscreen.idl:
     58        * web-platform-tests/interfaces/gamepad.idl:
     59        * web-platform-tests/interfaces/generic-sensor.idl: Added.
     60        * web-platform-tests/interfaces/geolocation-API.idl: Added.
     61        * web-platform-tests/interfaces/geolocation-sensor.idl:
     62        * web-platform-tests/interfaces/geometry.idl:
     63        * web-platform-tests/interfaces/gyroscope.idl:
     64        * web-platform-tests/interfaces/hr-time.idl:
     65        * web-platform-tests/interfaces/html-media-capture.idl: Added.
     66        * web-platform-tests/interfaces/image-capture.idl: Added.
     67        * web-platform-tests/interfaces/input-events.idl: Added.
     68        * web-platform-tests/interfaces/intersection-observer.idl:
     69        * web-platform-tests/interfaces/keyboard-lock.idl: Added.
     70        * web-platform-tests/interfaces/keyboard-map.idl: Added.
     71        * web-platform-tests/interfaces/largest-contentful-paint.idl: Added.
     72        * web-platform-tests/interfaces/layout-instability.idl: Added.
     73        * web-platform-tests/interfaces/longtasks.idl: Added.
     74        * web-platform-tests/interfaces/magnetometer.idl:
     75        * web-platform-tests/interfaces/media-capabilities.idl: Added.
     76        * web-platform-tests/interfaces/media-playback-quality.idl: Added.
     77        * web-platform-tests/interfaces/media-source.idl: Added.
     78        * web-platform-tests/interfaces/mediacapture-depth.idl: Added.
     79        * web-platform-tests/interfaces/mediacapture-fromelement.idl: Added.
     80        * web-platform-tests/interfaces/mediasession.idl: Added.
     81        * web-platform-tests/interfaces/mediastream-recording.idl: Added.
     82        * web-platform-tests/interfaces/mst-content-hint.idl: Added.
     83        * web-platform-tests/interfaces/navigation-timing.idl: Added.
     84        * web-platform-tests/interfaces/netinfo.idl: Added.
     85        * web-platform-tests/interfaces/notifications.idl: Added.
     86        * web-platform-tests/interfaces/orientation-event.idl: Added.
     87        * web-platform-tests/interfaces/orientation-sensor.idl:
     88        * web-platform-tests/interfaces/page-visibility.idl: Added.
     89        * web-platform-tests/interfaces/paint-timing.idl: Added.
     90        * web-platform-tests/interfaces/payment-handler.idl:
     91        * web-platform-tests/interfaces/payment-method-basic-card.idl: Added.
     92        * web-platform-tests/interfaces/payment-request.idl:
     93        * web-platform-tests/interfaces/permissions.idl: Added.
     94        * web-platform-tests/interfaces/picture-in-picture.idl: Added.
     95        * web-platform-tests/interfaces/pointerevents-extension.idl: Added.
     96        * web-platform-tests/interfaces/pointerevents.idl: Added.
     97        * web-platform-tests/interfaces/pointerlock.idl: Added.
     98        * web-platform-tests/interfaces/presentation-api.idl: Added.
     99        * web-platform-tests/interfaces/proximity.idl:
     100        * web-platform-tests/interfaces/push-api.idl: Added.
     101        * web-platform-tests/interfaces/remote-playback.idl: Added.
     102        * web-platform-tests/interfaces/reporting.idl: Added.
     103        * web-platform-tests/interfaces/requestidlecallback.idl: Added.
     104        * web-platform-tests/interfaces/resize-observer.idl: Added.
     105        * web-platform-tests/interfaces/screen-capture.idl: Added.
     106        * web-platform-tests/interfaces/screen-orientation.idl:
     107        * web-platform-tests/interfaces/scroll-animations.idl: Added.
     108        * web-platform-tests/interfaces/secure-contexts.idl: Added.
     109        * web-platform-tests/interfaces/selection-api.idl:
     110        * web-platform-tests/interfaces/server-timing.idl: Added.
     111        * web-platform-tests/interfaces/shape-detection-api.idl: Added.
     112        * web-platform-tests/interfaces/speech-api.idl: Added.
     113        * web-platform-tests/interfaces/storage.idl:
     114        * web-platform-tests/interfaces/touch-events.idl: Added.
     115        * web-platform-tests/interfaces/trusted-types.tentative.idl: Added.
     116        * web-platform-tests/interfaces/uievents.idl:
     117        * web-platform-tests/interfaces/url.idl:
     118        * web-platform-tests/interfaces/user-timing.idl: Added.
     119        * web-platform-tests/interfaces/vibration.idl: Added.
     120        * web-platform-tests/interfaces/wai-aria.idl: Added.
     121        * web-platform-tests/interfaces/wake-lock.idl:
     122        * web-platform-tests/interfaces/wasm-js-api.idl: Added.
     123        * web-platform-tests/interfaces/wasm-web-api.idl: Added.
     124        * web-platform-tests/interfaces/web-animations.idl: Added.
     125        * web-platform-tests/interfaces/web-bluetooth.idl: Added.
     126        * web-platform-tests/interfaces/web-nfc.idl:
     127        * web-platform-tests/interfaces/web-share.idl:
     128        * web-platform-tests/interfaces/webaudio.idl: Added.
     129        * web-platform-tests/interfaces/webauthn.idl:
     130        * web-platform-tests/interfaces/webdriver.idl: Added.
     131        * web-platform-tests/interfaces/webgl1.idl: Added.
     132        * web-platform-tests/interfaces/webgl2.idl: Added.
     133        * web-platform-tests/interfaces/webidl.idl:
     134        * web-platform-tests/interfaces/webmidi.idl: Added.
     135        * web-platform-tests/interfaces/webrtc-dscp.idl: Added.
     136        * web-platform-tests/interfaces/webrtc-stats.idl: Added.
     137        * web-platform-tests/interfaces/webusb.idl:
     138        * web-platform-tests/interfaces/webvtt.idl: Added.
     139        * web-platform-tests/interfaces/webxr.idl:
     140        * web-platform-tests/interfaces/worklets.idl: Added.
     141        * web-platform-tests/interfaces/xhr.idl:
     142        * web-platform-tests/interfaces/xslt.tentative.idl: Added.
     143
    11442019-09-10  Chris Dumez  <cdumez@apple.com>
    2145
  • trunk/LayoutTests/imported/w3c/web-platform-tests/FileAPI/idlharness-expected.txt

    r235889 r249731  
    1414PASS Blob interface: attribute type
    1515PASS Blob interface: operation slice(long long, long long, DOMString)
     16FAIL Blob interface: operation stream() assert_own_property: interface prototype object missing non-static operation expected property "stream" missing
     17FAIL Blob interface: operation text() assert_own_property: interface prototype object missing non-static operation expected property "text" missing
     18FAIL Blob interface: operation arrayBuffer() assert_own_property: interface prototype object missing non-static operation expected property "arrayBuffer" missing
    1619PASS Blob must be primary interface of new Blob(["TEST"])
    1720PASS Stringification of new Blob(["TEST"])
     
    2023PASS Blob interface: new Blob(["TEST"]) must inherit property "slice(long long, long long, DOMString)" with the proper type
    2124PASS Blob interface: calling slice(long long, long long, DOMString) on new Blob(["TEST"]) with too few arguments must throw TypeError
     25FAIL Blob interface: new Blob(["TEST"]) must inherit property "stream()" with the proper type assert_inherits: property "stream" not found in prototype chain
     26FAIL Blob interface: new Blob(["TEST"]) must inherit property "text()" with the proper type assert_inherits: property "text" not found in prototype chain
     27FAIL Blob interface: new Blob(["TEST"]) must inherit property "arrayBuffer()" with the proper type assert_inherits: property "arrayBuffer" not found in prototype chain
    2228PASS File interface: existence and properties of interface object
    2329PASS File interface object length
     
    3642PASS Blob interface: new File(["myFileBits"], "myFileName") must inherit property "slice(long long, long long, DOMString)" with the proper type
    3743PASS Blob interface: calling slice(long long, long long, DOMString) on new File(["myFileBits"], "myFileName") with too few arguments must throw TypeError
     44FAIL Blob interface: new File(["myFileBits"], "myFileName") must inherit property "stream()" with the proper type assert_inherits: property "stream" not found in prototype chain
     45FAIL Blob interface: new File(["myFileBits"], "myFileName") must inherit property "text()" with the proper type assert_inherits: property "text" not found in prototype chain
     46FAIL Blob interface: new File(["myFileBits"], "myFileName") must inherit property "arrayBuffer()" with the proper type assert_inherits: property "arrayBuffer" not found in prototype chain
    3847PASS FileList interface: existence and properties of interface object
    3948PASS FileList interface object length
     
    99108PASS FileReader interface: new FileReader() must inherit property "onloadend" with the proper type
    100109PASS FileReaderSync interface: existence and properties of interface object
    101 PASS URL interface: operation createObjectURL(Blob)
     110PASS URL interface: operation createObjectURL([object Object],[object Object])
    102111PASS URL interface: operation revokeObjectURL(DOMString)
    103112
  • trunk/LayoutTests/imported/w3c/web-platform-tests/FileAPI/idlharness.worker-expected.txt

    r235889 r249731  
    1212PASS Blob interface: attribute type
    1313PASS Blob interface: operation slice(long long, long long, DOMString)
     14FAIL Blob interface: operation stream() assert_own_property: interface prototype object missing non-static operation expected property "stream" missing
     15FAIL Blob interface: operation text() assert_own_property: interface prototype object missing non-static operation expected property "text" missing
     16FAIL Blob interface: operation arrayBuffer() assert_own_property: interface prototype object missing non-static operation expected property "arrayBuffer" missing
    1417PASS Blob must be primary interface of new Blob(["TEST"])
    1518PASS Stringification of new Blob(["TEST"])
     
    1821PASS Blob interface: new Blob(["TEST"]) must inherit property "slice(long long, long long, DOMString)" with the proper type
    1922PASS Blob interface: calling slice(long long, long long, DOMString) on new Blob(["TEST"]) with too few arguments must throw TypeError
     23FAIL Blob interface: new Blob(["TEST"]) must inherit property "stream()" with the proper type assert_inherits: property "stream" not found in prototype chain
     24FAIL Blob interface: new Blob(["TEST"]) must inherit property "text()" with the proper type assert_inherits: property "text" not found in prototype chain
     25FAIL Blob interface: new Blob(["TEST"]) must inherit property "arrayBuffer()" with the proper type assert_inherits: property "arrayBuffer" not found in prototype chain
    2026FAIL File interface: existence and properties of interface object assert_own_property: self does not have own property "File" expected property "File" missing
    2127FAIL File interface object length assert_own_property: self does not have own property "File" expected property "File" missing
     
    3440FAIL Blob interface: new File(["myFileBits"], "myFileName") must inherit property "slice(long long, long long, DOMString)" with the proper type assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: Can't find variable: File"
    3541FAIL Blob interface: calling slice(long long, long long, DOMString) on new File(["myFileBits"], "myFileName") with too few arguments must throw TypeError assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: Can't find variable: File"
     42FAIL Blob interface: new File(["myFileBits"], "myFileName") must inherit property "stream()" with the proper type assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: Can't find variable: File"
     43FAIL Blob interface: new File(["myFileBits"], "myFileName") must inherit property "text()" with the proper type assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: Can't find variable: File"
     44FAIL Blob interface: new File(["myFileBits"], "myFileName") must inherit property "arrayBuffer()" with the proper type assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: Can't find variable: File"
    3645FAIL FileList interface: existence and properties of interface object assert_own_property: self does not have own property "FileList" expected property "FileList" missing
    3746FAIL FileList interface object length assert_own_property: self does not have own property "FileList" expected property "FileList" missing
     
    111120PASS FileReaderSync interface: new FileReaderSync() must inherit property "readAsDataURL(Blob)" with the proper type
    112121PASS FileReaderSync interface: calling readAsDataURL(Blob) on new FileReaderSync() with too few arguments must throw TypeError
    113 PASS URL interface: operation createObjectURL(Blob)
     122PASS URL interface: operation createObjectURL([object Object],[object Object])
    114123PASS URL interface: operation revokeObjectURL(DOMString)
    115124
  • trunk/LayoutTests/imported/w3c/web-platform-tests/IndexedDB/interfaces.any-expected.txt

    r249672 r249731  
    11
    22PASS Test driver
    3 PASS Partial interface WindowOrWorkerGlobalScope: original interface defined
     3PASS Partial interface mixin WindowOrWorkerGlobalScope: original interface mixin defined
    44PASS IDBRequest interface: existence and properties of interface object
    55PASS IDBRequest interface object length
     
    4343PASS IDBFactory interface: operation open(DOMString, unsigned long long)
    4444PASS IDBFactory interface: operation deleteDatabase(DOMString)
     45FAIL IDBFactory interface: operation databases() assert_own_property: interface prototype object missing non-static operation expected property "databases" missing
    4546PASS IDBFactory interface: operation cmp(any, any)
    4647PASS IDBFactory must be primary interface of [object IDBFactory]
     
    5051PASS IDBFactory interface: [object IDBFactory] must inherit property "deleteDatabase(DOMString)" with the proper type
    5152PASS IDBFactory interface: calling deleteDatabase(DOMString) on [object IDBFactory] with too few arguments must throw TypeError
     53FAIL IDBFactory interface: [object IDBFactory] must inherit property "databases()" with the proper type assert_inherits: property "databases" not found in prototype chain
    5254PASS IDBFactory interface: [object IDBFactory] must inherit property "cmp(any, any)" with the proper type
    5355PASS IDBFactory interface: calling cmp(any, any) on [object IDBFactory] with too few arguments must throw TypeError
     
    153155PASS IDBCursor interface: attribute key
    154156PASS IDBCursor interface: attribute primaryKey
     157FAIL IDBCursor interface: attribute request assert_true: The prototype object must have a property "request" expected true got false
    155158PASS IDBCursor interface: operation advance(unsigned long)
    156159PASS IDBCursor interface: operation continue(any)
     
    176179PASS IDBTransaction interface: attribute error
    177180PASS IDBTransaction interface: operation objectStore(DOMString)
     181FAIL IDBTransaction interface: operation commit() assert_own_property: interface prototype object missing non-static operation expected property "commit" missing
    178182PASS IDBTransaction interface: operation abort()
    179183PASS IDBTransaction interface: attribute onabort
  • trunk/LayoutTests/imported/w3c/web-platform-tests/IndexedDB/interfaces.any.worker-expected.txt

    r249672 r249731  
    11
    22PASS Test driver
    3 PASS Partial interface WindowOrWorkerGlobalScope: original interface defined
     3PASS Partial interface mixin WindowOrWorkerGlobalScope: original interface mixin defined
    44PASS EventListener interface: existence and properties of interface object
    55PASS NodeList interface: existence and properties of interface object
     
    7474PASS IDBFactory interface: operation open(DOMString, unsigned long long)
    7575PASS IDBFactory interface: operation deleteDatabase(DOMString)
     76FAIL IDBFactory interface: operation databases() assert_own_property: interface prototype object missing non-static operation expected property "databases" missing
    7677PASS IDBFactory interface: operation cmp(any, any)
    7778PASS IDBFactory must be primary interface of [object IDBFactory]
     
    8182PASS IDBFactory interface: [object IDBFactory] must inherit property "deleteDatabase(DOMString)" with the proper type
    8283PASS IDBFactory interface: calling deleteDatabase(DOMString) on [object IDBFactory] with too few arguments must throw TypeError
     84FAIL IDBFactory interface: [object IDBFactory] must inherit property "databases()" with the proper type assert_inherits: property "databases" not found in prototype chain
    8385PASS IDBFactory interface: [object IDBFactory] must inherit property "cmp(any, any)" with the proper type
    8486PASS IDBFactory interface: calling cmp(any, any) on [object IDBFactory] with too few arguments must throw TypeError
     
    184186PASS IDBCursor interface: attribute key
    185187PASS IDBCursor interface: attribute primaryKey
     188FAIL IDBCursor interface: attribute request assert_true: The prototype object must have a property "request" expected true got false
    186189PASS IDBCursor interface: operation advance(unsigned long)
    187190PASS IDBCursor interface: operation continue(any)
     
    207210PASS IDBTransaction interface: attribute error
    208211PASS IDBTransaction interface: operation objectStore(DOMString)
     212FAIL IDBTransaction interface: operation commit() assert_own_property: interface prototype object missing non-static operation expected property "commit" missing
    209213PASS IDBTransaction interface: operation abort()
    210214PASS IDBTransaction interface: attribute onabort
  • trunk/LayoutTests/imported/w3c/web-platform-tests/WebCryptoAPI/idlharness.https-expected.txt

    r235889 r249731  
    44
    55
     6FAIL Partial interface mixin WindowOrWorkerGlobalScope: original interface mixin defined assert_true: Original interface mixin should be defined expected true got false
    67PASS Crypto interface: existence and properties of interface object
    78PASS Crypto interface object length
  • trunk/LayoutTests/imported/w3c/web-platform-tests/WebCryptoAPI/idlharness.https.worker-expected.txt

    r235889 r249731  
    11
     2FAIL Partial interface mixin WindowOrWorkerGlobalScope: original interface mixin defined assert_true: Original interface mixin should be defined expected true got false
    23PASS Window interface: existence and properties of interface object
    34FAIL ArrayBuffer interface: existence and properties of interface object assert_false: expected false got true
  • trunk/LayoutTests/imported/w3c/web-platform-tests/content-security-policy/securitypolicyviolation/idlharness.window-expected.txt

    r249672 r249731  
    11
    2 FAIL idl_test setup promise_test: Unhandled rejection with value: object "Error fetching /interfaces/CSP.idl."
     2PASS idl_test setup
     3FAIL CSPViolationReportBody interface: existence and properties of interface object assert_own_property: self does not have own property "CSPViolationReportBody" expected property "CSPViolationReportBody" missing
     4FAIL CSPViolationReportBody interface object length assert_own_property: self does not have own property "CSPViolationReportBody" expected property "CSPViolationReportBody" missing
     5FAIL CSPViolationReportBody interface object name assert_own_property: self does not have own property "CSPViolationReportBody" expected property "CSPViolationReportBody" missing
     6FAIL CSPViolationReportBody interface: existence and properties of interface prototype object assert_own_property: self does not have own property "CSPViolationReportBody" expected property "CSPViolationReportBody" missing
     7FAIL CSPViolationReportBody interface: existence and properties of interface prototype object's "constructor" property assert_own_property: self does not have own property "CSPViolationReportBody" expected property "CSPViolationReportBody" missing
     8FAIL CSPViolationReportBody interface: existence and properties of interface prototype object's @@unscopables property assert_own_property: self does not have own property "CSPViolationReportBody" expected property "CSPViolationReportBody" missing
     9FAIL CSPViolationReportBody interface: attribute documentURL assert_own_property: self does not have own property "CSPViolationReportBody" expected property "CSPViolationReportBody" missing
     10FAIL CSPViolationReportBody interface: attribute referrer assert_own_property: self does not have own property "CSPViolationReportBody" expected property "CSPViolationReportBody" missing
     11FAIL CSPViolationReportBody interface: attribute blockedURL assert_own_property: self does not have own property "CSPViolationReportBody" expected property "CSPViolationReportBody" missing
     12FAIL CSPViolationReportBody interface: attribute effectiveDirective assert_own_property: self does not have own property "CSPViolationReportBody" expected property "CSPViolationReportBody" missing
     13FAIL CSPViolationReportBody interface: attribute originalPolicy assert_own_property: self does not have own property "CSPViolationReportBody" expected property "CSPViolationReportBody" missing
     14FAIL CSPViolationReportBody interface: attribute sourceFile assert_own_property: self does not have own property "CSPViolationReportBody" expected property "CSPViolationReportBody" missing
     15FAIL CSPViolationReportBody interface: attribute sample assert_own_property: self does not have own property "CSPViolationReportBody" expected property "CSPViolationReportBody" missing
     16FAIL CSPViolationReportBody interface: attribute disposition assert_own_property: self does not have own property "CSPViolationReportBody" expected property "CSPViolationReportBody" missing
     17FAIL CSPViolationReportBody interface: attribute statusCode assert_own_property: self does not have own property "CSPViolationReportBody" expected property "CSPViolationReportBody" missing
     18FAIL CSPViolationReportBody interface: attribute lineNumber assert_own_property: self does not have own property "CSPViolationReportBody" expected property "CSPViolationReportBody" missing
     19FAIL CSPViolationReportBody interface: attribute columnNumber assert_own_property: self does not have own property "CSPViolationReportBody" expected property "CSPViolationReportBody" missing
     20PASS SecurityPolicyViolationEvent interface: existence and properties of interface object
     21PASS SecurityPolicyViolationEvent interface object length
     22PASS SecurityPolicyViolationEvent interface object name
     23PASS SecurityPolicyViolationEvent interface: existence and properties of interface prototype object
     24PASS SecurityPolicyViolationEvent interface: existence and properties of interface prototype object's "constructor" property
     25PASS SecurityPolicyViolationEvent interface: existence and properties of interface prototype object's @@unscopables property
     26FAIL SecurityPolicyViolationEvent interface: attribute documentURL assert_true: The prototype object must have a property "documentURL" expected true got false
     27PASS SecurityPolicyViolationEvent interface: attribute documentURI
     28PASS SecurityPolicyViolationEvent interface: attribute referrer
     29FAIL SecurityPolicyViolationEvent interface: attribute blockedURL assert_true: The prototype object must have a property "blockedURL" expected true got false
     30PASS SecurityPolicyViolationEvent interface: attribute blockedURI
     31PASS SecurityPolicyViolationEvent interface: attribute effectiveDirective
     32PASS SecurityPolicyViolationEvent interface: attribute violatedDirective
     33PASS SecurityPolicyViolationEvent interface: attribute originalPolicy
     34PASS SecurityPolicyViolationEvent interface: attribute sourceFile
     35FAIL SecurityPolicyViolationEvent interface: attribute sample assert_true: The prototype object must have a property "sample" expected true got false
     36FAIL SecurityPolicyViolationEvent interface: attribute disposition assert_true: The prototype object must have a property "disposition" expected true got false
     37PASS SecurityPolicyViolationEvent interface: attribute statusCode
     38FAIL SecurityPolicyViolationEvent interface: attribute lineno assert_true: The prototype object must have a property "lineno" expected true got false
     39PASS SecurityPolicyViolationEvent interface: attribute lineNumber
     40FAIL SecurityPolicyViolationEvent interface: attribute colno assert_true: The prototype object must have a property "colno" expected true got false
     41PASS SecurityPolicyViolationEvent interface: attribute columnNumber
     42PASS SecurityPolicyViolationEvent must be primary interface of new SecurityPolicyViolationEvent("securitypolicyviolation")
     43PASS Stringification of new SecurityPolicyViolationEvent("securitypolicyviolation")
     44FAIL SecurityPolicyViolationEvent interface: new SecurityPolicyViolationEvent("securitypolicyviolation") must inherit property "documentURL" with the proper type assert_inherits: property "documentURL" not found in prototype chain
     45PASS SecurityPolicyViolationEvent interface: new SecurityPolicyViolationEvent("securitypolicyviolation") must inherit property "documentURI" with the proper type
     46PASS SecurityPolicyViolationEvent interface: new SecurityPolicyViolationEvent("securitypolicyviolation") must inherit property "referrer" with the proper type
     47FAIL SecurityPolicyViolationEvent interface: new SecurityPolicyViolationEvent("securitypolicyviolation") must inherit property "blockedURL" with the proper type assert_inherits: property "blockedURL" not found in prototype chain
     48PASS SecurityPolicyViolationEvent interface: new SecurityPolicyViolationEvent("securitypolicyviolation") must inherit property "blockedURI" with the proper type
     49PASS SecurityPolicyViolationEvent interface: new SecurityPolicyViolationEvent("securitypolicyviolation") must inherit property "effectiveDirective" with the proper type
     50PASS SecurityPolicyViolationEvent interface: new SecurityPolicyViolationEvent("securitypolicyviolation") must inherit property "violatedDirective" with the proper type
     51PASS SecurityPolicyViolationEvent interface: new SecurityPolicyViolationEvent("securitypolicyviolation") must inherit property "originalPolicy" with the proper type
     52PASS SecurityPolicyViolationEvent interface: new SecurityPolicyViolationEvent("securitypolicyviolation") must inherit property "sourceFile" with the proper type
     53FAIL SecurityPolicyViolationEvent interface: new SecurityPolicyViolationEvent("securitypolicyviolation") must inherit property "sample" with the proper type assert_inherits: property "sample" not found in prototype chain
     54FAIL SecurityPolicyViolationEvent interface: new SecurityPolicyViolationEvent("securitypolicyviolation") must inherit property "disposition" with the proper type assert_inherits: property "disposition" not found in prototype chain
     55PASS SecurityPolicyViolationEvent interface: new SecurityPolicyViolationEvent("securitypolicyviolation") must inherit property "statusCode" with the proper type
     56FAIL SecurityPolicyViolationEvent interface: new SecurityPolicyViolationEvent("securitypolicyviolation") must inherit property "lineno" with the proper type assert_inherits: property "lineno" not found in prototype chain
     57PASS SecurityPolicyViolationEvent interface: new SecurityPolicyViolationEvent("securitypolicyviolation") must inherit property "lineNumber" with the proper type
     58FAIL SecurityPolicyViolationEvent interface: new SecurityPolicyViolationEvent("securitypolicyviolation") must inherit property "colno" with the proper type assert_inherits: property "colno" not found in prototype chain
     59PASS SecurityPolicyViolationEvent interface: new SecurityPolicyViolationEvent("securitypolicyviolation") must inherit property "columnNumber" with the proper type
    360
  • trunk/LayoutTests/imported/w3c/web-platform-tests/css/geometry/interfaces-expected.txt

    r249672 r249731  
    201201PASS DOMMatrixReadOnly interface: operation translate(unrestricted double, unrestricted double, unrestricted double)
    202202PASS DOMMatrixReadOnly interface: operation scale(unrestricted double, unrestricted double, unrestricted double, unrestricted double, unrestricted double, unrestricted double)
     203FAIL DOMMatrixReadOnly interface: operation scaleNonUniform(unrestricted double, unrestricted double) assert_own_property: interface prototype object missing non-static operation expected property "scaleNonUniform" missing
    203204PASS DOMMatrixReadOnly interface: operation scale3d(unrestricted double, unrestricted double, unrestricted double, unrestricted double)
    204205PASS DOMMatrixReadOnly interface: operation rotate(unrestricted double, unrestricted double, unrestricted double)
     
    252253PASS DOMMatrixReadOnly interface: new DOMMatrixReadOnly() must inherit property "scale(unrestricted double, unrestricted double, unrestricted double, unrestricted double, unrestricted double, unrestricted double)" with the proper type
    253254PASS DOMMatrixReadOnly interface: calling scale(unrestricted double, unrestricted double, unrestricted double, unrestricted double, unrestricted double, unrestricted double) on new DOMMatrixReadOnly() with too few arguments must throw TypeError
     255FAIL DOMMatrixReadOnly interface: new DOMMatrixReadOnly() must inherit property "scaleNonUniform(unrestricted double, unrestricted double)" with the proper type assert_inherits: property "scaleNonUniform" not found in prototype chain
     256FAIL DOMMatrixReadOnly interface: calling scaleNonUniform(unrestricted double, unrestricted double) on new DOMMatrixReadOnly() with too few arguments must throw TypeError assert_inherits: property "scaleNonUniform" not found in prototype chain
    254257PASS DOMMatrixReadOnly interface: new DOMMatrixReadOnly() must inherit property "scale3d(unrestricted double, unrestricted double, unrestricted double, unrestricted double)" with the proper type
    255258PASS DOMMatrixReadOnly interface: calling scale3d(unrestricted double, unrestricted double, unrestricted double, unrestricted double) on new DOMMatrixReadOnly() with too few arguments must throw TypeError
  • trunk/LayoutTests/imported/w3c/web-platform-tests/css/geometry/interfaces.worker-expected.txt

    r249672 r249731  
    181181PASS DOMMatrixReadOnly interface: operation translate(unrestricted double, unrestricted double, unrestricted double)
    182182PASS DOMMatrixReadOnly interface: operation scale(unrestricted double, unrestricted double, unrestricted double, unrestricted double, unrestricted double, unrestricted double)
     183FAIL DOMMatrixReadOnly interface: operation scaleNonUniform(unrestricted double, unrestricted double) assert_own_property: interface prototype object missing non-static operation expected property "scaleNonUniform" missing
    183184PASS DOMMatrixReadOnly interface: operation scale3d(unrestricted double, unrestricted double, unrestricted double, unrestricted double)
    184185PASS DOMMatrixReadOnly interface: operation rotate(unrestricted double, unrestricted double, unrestricted double)
     
    232233PASS DOMMatrixReadOnly interface: new DOMMatrixReadOnly() must inherit property "scale(unrestricted double, unrestricted double, unrestricted double, unrestricted double, unrestricted double, unrestricted double)" with the proper type
    233234PASS DOMMatrixReadOnly interface: calling scale(unrestricted double, unrestricted double, unrestricted double, unrestricted double, unrestricted double, unrestricted double) on new DOMMatrixReadOnly() with too few arguments must throw TypeError
     235FAIL DOMMatrixReadOnly interface: new DOMMatrixReadOnly() must inherit property "scaleNonUniform(unrestricted double, unrestricted double)" with the proper type assert_inherits: property "scaleNonUniform" not found in prototype chain
     236FAIL DOMMatrixReadOnly interface: calling scaleNonUniform(unrestricted double, unrestricted double) on new DOMMatrixReadOnly() with too few arguments must throw TypeError assert_inherits: property "scaleNonUniform" not found in prototype chain
    234237PASS DOMMatrixReadOnly interface: new DOMMatrixReadOnly() must inherit property "scale3d(unrestricted double, unrestricted double, unrestricted double, unrestricted double)" with the proper type
    235238PASS DOMMatrixReadOnly interface: calling scale3d(unrestricted double, unrestricted double, unrestricted double, unrestricted double) on new DOMMatrixReadOnly() with too few arguments must throw TypeError
  • trunk/LayoutTests/imported/w3c/web-platform-tests/encoding/idlharness-expected.txt

    r235889 r249731  
    1111PASS TextDecoder interface: existence and properties of interface prototype object's "constructor" property
    1212PASS TextDecoder interface: existence and properties of interface prototype object's @@unscopables property
     13PASS TextDecoder interface: operation decode(BufferSource, TextDecodeOptions)
    1314PASS TextDecoder interface: attribute encoding
    1415PASS TextDecoder interface: attribute fatal
    1516PASS TextDecoder interface: attribute ignoreBOM
    16 PASS TextDecoder interface: operation decode(BufferSource, TextDecodeOptions)
    1717PASS TextDecoder must be primary interface of new TextDecoder()
    1818PASS Stringification of new TextDecoder()
     19PASS TextDecoder interface: new TextDecoder() must inherit property "decode(BufferSource, TextDecodeOptions)" with the proper type
     20PASS TextDecoder interface: calling decode(BufferSource, TextDecodeOptions) on new TextDecoder() with too few arguments must throw TypeError
    1921PASS TextDecoder interface: new TextDecoder() must inherit property "encoding" with the proper type
    2022PASS TextDecoder interface: new TextDecoder() must inherit property "fatal" with the proper type
    2123PASS TextDecoder interface: new TextDecoder() must inherit property "ignoreBOM" with the proper type
    22 PASS TextDecoder interface: new TextDecoder() must inherit property "decode(BufferSource, TextDecodeOptions)" with the proper type
    23 PASS TextDecoder interface: calling decode(BufferSource, TextDecodeOptions) on new TextDecoder() with too few arguments must throw TypeError
    2424PASS TextEncoder interface: existence and properties of interface object
    2525PASS TextEncoder interface object length
     
    2828PASS TextEncoder interface: existence and properties of interface prototype object's "constructor" property
    2929PASS TextEncoder interface: existence and properties of interface prototype object's @@unscopables property
     30PASS TextEncoder interface: operation encode(USVString)
     31FAIL TextEncoder interface: operation encodeInto(USVString, Uint8Array) assert_own_property: interface prototype object missing non-static operation expected property "encodeInto" missing
    3032PASS TextEncoder interface: attribute encoding
    31 PASS TextEncoder interface: operation encode(USVString)
    3233PASS TextEncoder must be primary interface of new TextEncoder()
    3334PASS Stringification of new TextEncoder()
    34 PASS TextEncoder interface: new TextEncoder() must inherit property "encoding" with the proper type
    3535PASS TextEncoder interface: new TextEncoder() must inherit property "encode(USVString)" with the proper type
    3636PASS TextEncoder interface: calling encode(USVString) on new TextEncoder() with too few arguments must throw TypeError
     37FAIL TextEncoder interface: new TextEncoder() must inherit property "encodeInto(USVString, Uint8Array)" with the proper type assert_inherits: property "encodeInto" not found in prototype chain
     38FAIL TextEncoder interface: calling encodeInto(USVString, Uint8Array) on new TextEncoder() with too few arguments must throw TypeError assert_inherits: property "encodeInto" not found in prototype chain
     39PASS TextEncoder interface: new TextEncoder() must inherit property "encoding" with the proper type
     40FAIL TextDecoderStream interface: existence and properties of interface object assert_own_property: self does not have own property "TextDecoderStream" expected property "TextDecoderStream" missing
     41FAIL TextDecoderStream interface object length assert_own_property: self does not have own property "TextDecoderStream" expected property "TextDecoderStream" missing
     42FAIL TextDecoderStream interface object name assert_own_property: self does not have own property "TextDecoderStream" expected property "TextDecoderStream" missing
     43FAIL TextDecoderStream interface: existence and properties of interface prototype object assert_own_property: self does not have own property "TextDecoderStream" expected property "TextDecoderStream" missing
     44FAIL TextDecoderStream interface: existence and properties of interface prototype object's "constructor" property assert_own_property: self does not have own property "TextDecoderStream" expected property "TextDecoderStream" missing
     45FAIL TextDecoderStream interface: existence and properties of interface prototype object's @@unscopables property assert_own_property: self does not have own property "TextDecoderStream" expected property "TextDecoderStream" missing
     46FAIL TextDecoderStream interface: attribute encoding assert_own_property: self does not have own property "TextDecoderStream" expected property "TextDecoderStream" missing
     47FAIL TextDecoderStream interface: attribute fatal assert_own_property: self does not have own property "TextDecoderStream" expected property "TextDecoderStream" missing
     48FAIL TextDecoderStream interface: attribute ignoreBOM assert_own_property: self does not have own property "TextDecoderStream" expected property "TextDecoderStream" missing
     49FAIL TextDecoderStream interface: attribute readable assert_own_property: self does not have own property "TextDecoderStream" expected property "TextDecoderStream" missing
     50FAIL TextDecoderStream interface: attribute writable assert_own_property: self does not have own property "TextDecoderStream" expected property "TextDecoderStream" missing
     51FAIL TextEncoderStream interface: existence and properties of interface object assert_own_property: self does not have own property "TextEncoderStream" expected property "TextEncoderStream" missing
     52FAIL TextEncoderStream interface object length assert_own_property: self does not have own property "TextEncoderStream" expected property "TextEncoderStream" missing
     53FAIL TextEncoderStream interface object name assert_own_property: self does not have own property "TextEncoderStream" expected property "TextEncoderStream" missing
     54FAIL TextEncoderStream interface: existence and properties of interface prototype object assert_own_property: self does not have own property "TextEncoderStream" expected property "TextEncoderStream" missing
     55FAIL TextEncoderStream interface: existence and properties of interface prototype object's "constructor" property assert_own_property: self does not have own property "TextEncoderStream" expected property "TextEncoderStream" missing
     56FAIL TextEncoderStream interface: existence and properties of interface prototype object's @@unscopables property assert_own_property: self does not have own property "TextEncoderStream" expected property "TextEncoderStream" missing
     57FAIL TextEncoderStream interface: attribute encoding assert_own_property: self does not have own property "TextEncoderStream" expected property "TextEncoderStream" missing
     58FAIL TextEncoderStream interface: attribute readable assert_own_property: self does not have own property "TextEncoderStream" expected property "TextEncoderStream" missing
     59FAIL TextEncoderStream interface: attribute writable assert_own_property: self does not have own property "TextEncoderStream" expected property "TextEncoderStream" missing
    3760
  • trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/cors-rfc1918/idlharness.tentative.any-expected.txt

    r249672 r249731  
    11
    2 FAIL idl_test setup promise_test: Unhandled rejection with value: object "Error fetching /interfaces/cors-rfc1918.idl."
     2PASS idl_test setup
     3PASS Partial interface Document: original interface defined
     4PASS Partial interface WorkerGlobalScope: original interface defined
     5PASS WorkerGlobalScope interface: existence and properties of interface object
     6FAIL Document interface: attribute addressSpace assert_true: The prototype object must have a property "addressSpace" expected true got false
     7FAIL Document interface: document must inherit property "addressSpace" with the proper type assert_inherits: property "addressSpace" not found in prototype chain
    38
  • trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/cors-rfc1918/idlharness.tentative.any.worker-expected.txt

    r249672 r249731  
    11
    2 FAIL idl_test setup promise_test: Unhandled rejection with value: object "Error fetching /interfaces/cors-rfc1918.idl."
     2PASS idl_test setup
     3PASS Partial interface Document: original interface defined
     4PASS Partial interface WorkerGlobalScope: original interface defined
     5FAIL WorkerGlobalScope interface: attribute addressSpace assert_true: The prototype object must have a property "addressSpace" expected true got false
     6FAIL WorkerGlobalScope interface: self must inherit property "addressSpace" with the proper type assert_inherits: property "addressSpace" not found in prototype chain
     7PASS Node interface: existence and properties of interface object
     8PASS Document interface: existence and properties of interface object
    39
  • trunk/LayoutTests/imported/w3c/web-platform-tests/hr-time/idlharness-expected.txt

    r249672 r249731  
    33
    44PASS Test driver
    5 PASS Partial interface WindowOrWorkerGlobalScope: original interface defined
     5PASS Partial interface mixin WindowOrWorkerGlobalScope: original interface mixin defined
    66PASS Performance interface: existence and properties of interface object
    77PASS Performance interface object length
  • trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/DOM-Parsing.idl

    r243813 r249731  
    1818
    1919[Constructor, Exposed=Window]
    20 
    2120interface XMLSerializer {
    2221  DOMString serializeToString(Node root);
  • trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/FileAPI.idl

    r229544 r249731  
    1 // https://w3c.github.io/FileAPI/#idl-index
     1// GENERATED CONTENT - DO NOT EDIT
     2// Content was automatically extracted by Reffy into reffy-reports
     3// (https://github.com/tidoust/reffy-reports)
     4// Source: File API (https://w3c.github.io/FileAPI/)
    25
    3 [Constructor(optional sequence<BlobPart> blobParts, optional BlobPropertyBag options),
    4 Exposed=(Window,Worker)]
     6[Constructor(optional sequence<BlobPart> blobParts,
     7             optional BlobPropertyBag options = {}),
     8 Exposed=(Window,Worker), Serializable]
    59interface Blob {
    610
     
    812  readonly attribute DOMString type;
    913
    10   //slice Blob into byte-ranged chunks
     14  // slice Blob into byte-ranged chunks
     15  Blob slice(optional [Clamp] long long start,
     16            optional [Clamp] long long end,
     17            optional DOMString contentType);
    1118
    12   Blob slice([Clamp] optional long long start,
    13             [Clamp] optional long long end,
    14             optional DOMString contentType);
     19  // read from the Blob.
     20  [NewObject] ReadableStream stream();
     21  [NewObject] Promise<USVString> text();
     22  [NewObject] Promise<ArrayBuffer> arrayBuffer();
    1523};
     24
     25enum EndingType { "transparent", "native" };
    1626
    1727dictionary BlobPropertyBag {
    1828  DOMString type = "";
     29  EndingType endings = "transparent";
    1930};
    2031
     
    2233
    2334[Constructor(sequence<BlobPart> fileBits,
    24             [EnsureUTF16] DOMString fileName,
    25             optional FilePropertyBag options),
    26 Exposed=(Window,Worker)]
     35             USVString fileName,
     36             optional FilePropertyBag options = {}),
     37 Exposed=(Window,Worker), Serializable]
    2738interface File : Blob {
    2839  readonly attribute DOMString name;
     
    3445};
    3546
    36 [Exposed=(Window,Worker)]
     47[Exposed=(Window,Worker), Serializable]
    3748interface FileList {
    3849  getter File? item(unsigned long index);
     
    4657  void readAsArrayBuffer(Blob blob);
    4758  void readAsBinaryString(Blob blob);
    48   void readAsText(Blob blob, optional DOMString label);
     59  void readAsText(Blob blob, optional DOMString encoding);
    4960  void readAsDataURL(Blob blob);
    5061
     
    5566  const unsigned short LOADING = 1;
    5667  const unsigned short DONE = 2;
    57 
    5868
    5969  readonly attribute unsigned short readyState;
     
    7181  attribute EventHandler onerror;
    7282  attribute EventHandler onloadend;
    73 
    7483};
    7584
    76 [Constructor, Exposed=Worker]
     85[Constructor, Exposed=(DedicatedWorker,SharedWorker)]
    7786interface FileReaderSync {
    7887  // Synchronously return strings
     
    8089  ArrayBuffer readAsArrayBuffer(Blob blob);
    8190  DOMString readAsBinaryString(Blob blob);
    82   DOMString readAsText(Blob blob, optional DOMString label);
     91  DOMString readAsText(Blob blob, optional DOMString encoding);
    8392  DOMString readAsDataURL(Blob blob);
    8493};
     
    8695[Exposed=(Window,DedicatedWorker,SharedWorker)]
    8796partial interface URL {
    88   static DOMString createObjectURL(Blob blob);
     97  static DOMString createObjectURL((Blob or MediaSource) obj);
    8998  static void revokeObjectURL(DOMString url);
    9099};
  • trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/IndexedDB.idl

    r235889 r249731  
     1// GENERATED CONTENT - DO NOT EDIT
     2// Content was automatically extracted by Reffy into reffy-reports
     3// (https://github.com/tidoust/reffy-reports)
     4// Source: Indexed Database API 3.0 (https://w3c.github.io/IndexedDB/)
     5
    16[Exposed=(Window,Worker)]
    27interface IDBRequest : EventTarget {
    3   readonly attribute any                                        result;
    4   readonly attribute DOMException?                              error;
     8  readonly attribute any result;
     9  readonly attribute DOMException? error;
    510  readonly attribute (IDBObjectStore or IDBIndex or IDBCursor)? source;
    6   readonly attribute IDBTransaction?                            transaction;
    7   readonly attribute IDBRequestReadyState                       readyState;
     11  readonly attribute IDBTransaction? transaction;
     12  readonly attribute IDBRequestReadyState readyState;
    813
    914  // Event handlers:
     
    2530
    2631[Exposed=(Window,Worker),
    27  Constructor(DOMString type, optional IDBVersionChangeEventInit eventInitDict)]
     32 Constructor(DOMString type, optional IDBVersionChangeEventInit eventInitDict = {})]
    2833interface IDBVersionChangeEvent : Event {
    29   readonly attribute unsigned long long  oldVersion;
     34  readonly attribute unsigned long long oldVersion;
    3035  readonly attribute unsigned long long? newVersion;
    3136};
    3237
    3338dictionary IDBVersionChangeEventInit : EventInit {
    34   unsigned long long  oldVersion = 0;
     39  unsigned long long oldVersion = 0;
    3540  unsigned long long? newVersion = null;
    3641};
    3742
    38 partial interface WindowOrWorkerGlobalScope {
     43partial interface mixin WindowOrWorkerGlobalScope {
    3944  [SameObject] readonly attribute IDBFactory indexedDB;
    4045};
     
    4247[Exposed=(Window,Worker)]
    4348interface IDBFactory {
    44   IDBOpenDBRequest open(DOMString name,
    45                         optional [EnforceRange] unsigned long long version);
    46   IDBOpenDBRequest deleteDatabase(DOMString name);
     49  [NewObject] IDBOpenDBRequest open(DOMString name,
     50                                    optional [EnforceRange] unsigned long long version);
     51  [NewObject] IDBOpenDBRequest deleteDatabase(DOMString name);
     52
     53  Promise<sequence<IDBDatabaseInfo>> databases();
    4754
    4855  short cmp(any first, any second);
    4956};
    5057
     58dictionary IDBDatabaseInfo {
     59  DOMString name;
     60  unsigned long long version;
     61};
     62
    5163[Exposed=(Window,Worker)]
    5264interface IDBDatabase : EventTarget {
    53   readonly attribute DOMString          name;
     65  readonly attribute DOMString name;
    5466  readonly attribute unsigned long long version;
    55   readonly attribute DOMStringList      objectStoreNames;
    56 
    57   IDBTransaction transaction((DOMString or sequence<DOMString>) storeNames,
    58                              optional IDBTransactionMode mode = "readonly");
    59   void           close();
    60 
    61   IDBObjectStore createObjectStore(DOMString name,
    62                                    optional IDBObjectStoreParameters options);
    63   void           deleteObjectStore(DOMString name);
     67  readonly attribute DOMStringList objectStoreNames;
     68
     69  [NewObject] IDBTransaction transaction((DOMString or sequence<DOMString>) storeNames,
     70                                         optional IDBTransactionMode mode = "readonly");
     71  void close();
     72
     73  [NewObject] IDBObjectStore createObjectStore(
     74    DOMString name,
     75    optional IDBObjectStoreParameters options = {});
     76  void deleteObjectStore(DOMString name);
    6477
    6578  // Event handlers:
     
    7285dictionary IDBObjectStoreParameters {
    7386  (DOMString or sequence<DOMString>)? keyPath = null;
    74   boolean                             autoIncrement = false;
     87  boolean autoIncrement = false;
    7588};
    7689
    7790[Exposed=(Window,Worker)]
    7891interface IDBObjectStore {
    79            attribute DOMString      name;
    80   readonly attribute any            keyPath;
    81   readonly attribute DOMStringList  indexNames;
    82   readonly attribute IDBTransaction transaction;
    83   readonly attribute boolean        autoIncrement;
    84 
    85   IDBRequest put(any value, optional any key);
    86   IDBRequest add(any value, optional any key);
    87   IDBRequest delete(any query);
    88   IDBRequest clear();
    89   IDBRequest get(any query);
    90   IDBRequest getKey(any query);
    91   IDBRequest getAll(optional any query,
    92                     [EnforceRange] optional unsigned long count);
    93   IDBRequest getAllKeys(optional any query,
    94                         [EnforceRange] optional unsigned long count);
    95   IDBRequest count(optional any query);
    96 
    97   IDBRequest openCursor(optional any query,
    98                         optional IDBCursorDirection direction = "next");
    99   IDBRequest openKeyCursor(optional any query,
    100                            optional IDBCursorDirection direction = "next");
    101 
    102   IDBIndex   index(DOMString name);
    103 
    104   IDBIndex  createIndex(DOMString name,
    105                          (DOMString or sequence<DOMString>) keyPath,
    106                          optional IDBIndexParameters options);
    107   void       deleteIndex(DOMString indexName);
     92  attribute DOMString name;
     93  readonly attribute any keyPath;
     94  readonly attribute DOMStringList indexNames;
     95  [SameObject] readonly attribute IDBTransaction transaction;
     96  readonly attribute boolean autoIncrement;
     97
     98  [NewObject] IDBRequest put(any value, optional any key);
     99  [NewObject] IDBRequest add(any value, optional any key);
     100  [NewObject] IDBRequest delete(any query);
     101  [NewObject] IDBRequest clear();
     102  [NewObject] IDBRequest get(any query);
     103  [NewObject] IDBRequest getKey(any query);
     104  [NewObject] IDBRequest getAll(optional any query,
     105                                optional [EnforceRange] unsigned long count);
     106  [NewObject] IDBRequest getAllKeys(optional any query,
     107                                    optional [EnforceRange] unsigned long count);
     108  [NewObject] IDBRequest count(optional any query);
     109
     110  [NewObject] IDBRequest openCursor(optional any query,
     111                                    optional IDBCursorDirection direction = "next");
     112  [NewObject] IDBRequest openKeyCursor(optional any query,
     113                                       optional IDBCursorDirection direction = "next");
     114
     115  IDBIndex index(DOMString name);
     116
     117  [NewObject] IDBIndex createIndex(DOMString name,
     118                                   (DOMString or sequence<DOMString>) keyPath,
     119                                   optional IDBIndexParameters options = {});
     120  void deleteIndex(DOMString name);
    108121};
    109122
     
    115128[Exposed=(Window,Worker)]
    116129interface IDBIndex {
    117            attribute DOMString      name;
    118   readonly attribute IDBObjectStore objectStore;
    119   readonly attribute any            keyPath;
    120   readonly attribute boolean        multiEntry;
    121   readonly attribute boolean        unique;
    122 
    123   IDBRequest get(any query);
    124   IDBRequest getKey(any query);
    125   IDBRequest getAll(optional any query,
    126                     [EnforceRange] optional unsigned long count);
    127   IDBRequest getAllKeys(optional any query,
    128                         [EnforceRange] optional unsigned long count);
    129   IDBRequest count(optional any query);
    130 
    131   IDBRequest openCursor(optional any query,
    132                         optional IDBCursorDirection direction = "next");
    133   IDBRequest openKeyCursor(optional any query,
    134                            optional IDBCursorDirection direction = "next");
     130  attribute DOMString name;
     131  [SameObject] readonly attribute IDBObjectStore objectStore;
     132  readonly attribute any keyPath;
     133  readonly attribute boolean multiEntry;
     134  readonly attribute boolean unique;
     135
     136  [NewObject] IDBRequest get(any query);
     137  [NewObject] IDBRequest getKey(any query);
     138  [NewObject] IDBRequest getAll(optional any query,
     139                                optional [EnforceRange] unsigned long count);
     140  [NewObject] IDBRequest getAllKeys(optional any query,
     141                                    optional [EnforceRange] unsigned long count);
     142  [NewObject] IDBRequest count(optional any query);
     143
     144  [NewObject] IDBRequest openCursor(optional any query,
     145                                    optional IDBCursorDirection direction = "next");
     146  [NewObject] IDBRequest openKeyCursor(optional any query,
     147                                       optional IDBCursorDirection direction = "next");
    135148};
    136149
    137150[Exposed=(Window,Worker)]
    138151interface IDBKeyRange {
    139   readonly attribute any     lower;
    140   readonly attribute any     upper;
     152  readonly attribute any lower;
     153  readonly attribute any upper;
    141154  readonly attribute boolean lowerOpen;
    142155  readonly attribute boolean upperOpen;
    143156
    144157  // Static construction methods:
    145   static IDBKeyRange only(any value);
    146   static IDBKeyRange lowerBound(any lower, optional boolean open = false);
    147   static IDBKeyRange upperBound(any upper, optional boolean open = false);
    148   static IDBKeyRange bound(any lower,
    149                            any upper,
    150                            optional boolean lowerOpen = false,
    151                            optional boolean upperOpen = false);
     158  [NewObject] static IDBKeyRange only(any value);
     159  [NewObject] static IDBKeyRange lowerBound(any lower, optional boolean open = false);
     160  [NewObject] static IDBKeyRange upperBound(any upper, optional boolean open = false);
     161  [NewObject] static IDBKeyRange bound(any lower,
     162                                       any upper,
     163                                       optional boolean lowerOpen = false,
     164                                       optional boolean upperOpen = false);
    152165
    153166  boolean _includes(any key);
     
    157170interface IDBCursor {
    158171  readonly attribute (IDBObjectStore or IDBIndex) source;
    159   readonly attribute IDBCursorDirection           direction;
    160   readonly attribute any                          key;
    161   readonly attribute any                          primaryKey;
     172  readonly attribute IDBCursorDirection direction;
     173  readonly attribute any key;
     174  readonly attribute any primaryKey;
     175  [SameObject] readonly attribute IDBRequest request;
    162176
    163177  void advance([EnforceRange] unsigned long count);
     
    165179  void continuePrimaryKey(any key, any primaryKey);
    166180
    167   IDBRequest update(any value);
    168   IDBRequest delete();
     181  [NewObject] IDBRequest update(any value);
     182  [NewObject] IDBRequest delete();
    169183};
    170184
     
    183197[Exposed=(Window,Worker)]
    184198interface IDBTransaction : EventTarget {
    185   readonly attribute DOMStringList      objectStoreNames;
     199  readonly attribute DOMStringList objectStoreNames;
    186200  readonly attribute IDBTransactionMode mode;
    187   readonly attribute IDBDatabase        db;
    188   readonly attribute DOMException       error;
     201  [SameObject] readonly attribute IDBDatabase db;
     202  readonly attribute DOMException error;
    189203
    190204  IDBObjectStore objectStore(DOMString name);
    191   void           abort();
     205  void commit();
     206  void abort();
    192207
    193208  // Event handlers:
  • trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/WebCryptoAPI.idl

    r229544 r249731  
    1 [NoInterfaceObject]
    2 interface GlobalCrypto {
     1// GENERATED CONTENT - DO NOT EDIT
     2// Content was automatically extracted by Reffy into reffy-reports
     3// (https://github.com/tidoust/reffy-reports)
     4// Source: Web Cryptography API (https://w3c.github.io/webcrypto/Overview.html)
     5
     6partial interface mixin WindowOrWorkerGlobalScope {
    37  readonly attribute Crypto crypto;
    48};
    5 
    6 //Window implements GlobalCrypto;
    7 //WorkerGlobalScope implements GlobalCrypto;
    89
    910[Exposed=(Window,Worker)]
    1011interface Crypto {
    11   readonly attribute SubtleCrypto subtle;
     12  [SecureContext] readonly attribute SubtleCrypto subtle;
    1213  ArrayBufferView getRandomValues(ArrayBufferView array);
    1314};
     
    2930enum KeyUsage { "encrypt", "decrypt", "sign", "verify", "deriveKey", "deriveBits", "wrapKey", "unwrapKey" };
    3031
    31 [Exposed=(Window,Worker)]
     32[SecureContext,Exposed=(Window,Worker)]
    3233interface CryptoKey {
    3334  readonly attribute KeyType type;
     
    3738};
    3839
    39 
    4040enum KeyFormat { "raw", "spki", "pkcs8", "jwk" };
    4141
    42 [Exposed=(Window,Worker)]
     42[SecureContext,Exposed=(Window,Worker)]
    4343interface SubtleCrypto {
    4444  Promise<any> encrypt(AlgorithmIdentifier algorithm,
     
    6666                         boolean extractable,
    6767                         sequence<KeyUsage> keyUsages );
    68   Promise<any> deriveBits(AlgorithmIdentifier algorithm,
     68  Promise<ArrayBuffer> deriveBits(AlgorithmIdentifier algorithm,
    6969                          CryptoKey baseKey,
    7070                          unsigned long length);
    7171
    72   Promise<any> importKey(KeyFormat format,
     72  Promise<CryptoKey> importKey(KeyFormat format,
    7373                         (BufferSource or JsonWebKey) keyData,
    7474                         AlgorithmIdentifier algorithm,
     
    8181                       CryptoKey wrappingKey,
    8282                       AlgorithmIdentifier wrapAlgorithm);
    83   Promise<any> unwrapKey(KeyFormat format,
     83  Promise<CryptoKey> unwrapKey(KeyFormat format,
    8484                         BufferSource wrappedKey,
    8585                         CryptoKey unwrappingKey,
     
    9191
    9292dictionary RsaOtherPrimesInfo {
    93  // The following fields are defined in Section 6.3.2.7 of JSON Web Algorithms
     93  // The following fields are defined in Section 6.3.2.7 of JSON Web Algorithms
    9494  DOMString r;
    9595  DOMString d;
     
    154154};
    155155
    156 dictionary RsaHashedImportParams {
     156dictionary RsaHashedImportParams : Algorithm {
    157157  // The hash algorithm to use
    158158  required HashAlgorithmIdentifier hash;
     
    160160
    161161dictionary RsaPssParams : Algorithm {
    162 // The desired length of the random salt
    163 [EnforceRange] required unsigned long saltLength;
     162  // The desired length of the random salt
     163  [EnforceRange] required unsigned long saltLength;
    164164};
    165165
    166166dictionary RsaOaepParams : Algorithm {
    167 // The optional label/application data to associate with the message
    168 BufferSource label;
     167  // The optional label/application data to associate with the message
     168  BufferSource label;
    169169};
    170170
    171171dictionary EcdsaParams : Algorithm {
    172 // The hash algorithm to use
    173 required HashAlgorithmIdentifier hash;
     172  // The hash algorithm to use
     173  required HashAlgorithmIdentifier hash;
    174174};
    175175
     
    177177
    178178dictionary EcKeyGenParams : Algorithm {
    179 // A named curve
    180 required NamedCurve namedCurve;
     179  // A named curve
     180  required NamedCurve namedCurve;
    181181};
    182182
    183183dictionary EcKeyAlgorithm : KeyAlgorithm {
    184 // The named curve that the key uses
    185 required NamedCurve namedCurve;
     184  // The named curve that the key uses
     185  required NamedCurve namedCurve;
    186186};
    187187
    188188dictionary EcKeyImportParams : Algorithm {
    189 // A named curve
    190 required NamedCurve namedCurve;
     189  // A named curve
     190  required NamedCurve namedCurve;
    191191};
    192192
    193193dictionary EcdhKeyDeriveParams : Algorithm {
    194 // The peer's EC public key.
    195 required CryptoKey public;
     194  // The peer's EC public key.
     195  required CryptoKey public;
    196196};
    197197
    198198dictionary AesCtrParams : Algorithm {
    199 // The initial value of the counter block. counter MUST be 16 bytes
    200 // (the AES block size). The counter bits are the rightmost length
    201 // bits of the counter block. The rest of the counter block is for
    202 // the nonce. The counter bits are incremented using the standard
    203 // incrementing function specified in NIST SP 800-38A Appendix B.1:
    204 // the counter bits are interpreted as a big-endian integer and
    205 // incremented by one.
    206 required BufferSource counter;
    207 // The length, in bits, of the rightmost part of the counter block
    208 // that is incremented.
    209 [EnforceRange] required octet length;
     199  // The initial value of the counter block. counter MUST be 16 bytes
     200  // (the AES block size). The counter bits are the rightmost length
     201  // bits of the counter block. The rest of the counter block is for
     202  // the nonce. The counter bits are incremented using the standard
     203  // incrementing function specified in NIST SP 800-38A Appendix B.1:
     204  // the counter bits are interpreted as a big-endian integer and
     205  // incremented by one.
     206  required BufferSource counter;
     207  // The length, in bits, of the rightmost part of the counter block
     208  // that is incremented.
     209  [EnforceRange] required octet length;
    210210};
    211211
    212212dictionary AesKeyAlgorithm : KeyAlgorithm {
    213 // The length, in bits, of the key.
    214 required unsigned short length;
     213  // The length, in bits, of the key.
     214  required unsigned short length;
    215215};
    216216
    217217dictionary AesKeyGenParams : Algorithm {
    218 // The length, in bits, of the key.
    219 [EnforceRange] required unsigned short length;
     218  // The length, in bits, of the key.
     219  [EnforceRange] required unsigned short length;
    220220};
    221221
    222222dictionary AesDerivedKeyParams : Algorithm {
    223 // The length, in bits, of the key.
    224 [EnforceRange] required unsigned short length;
     223  // The length, in bits, of the key.
     224  [EnforceRange] required unsigned short length;
    225225};
    226226
    227227dictionary AesCbcParams : Algorithm {
    228 // The initialization vector. MUST be 16 bytes.
    229 required BufferSource iv;
     228  // The initialization vector. MUST be 16 bytes.
     229  required BufferSource iv;
    230230};
    231231
    232232dictionary AesGcmParams : Algorithm {
    233 // The initialization vector to use. May be up to 2^64-1 bytes long.
    234 required BufferSource iv;
    235 // The additional authentication data to include.
    236 BufferSource additionalData;
    237 // The desired length of the authentication tag. May be 0 - 128.
    238 [EnforceRange] octet tagLength;
     233  // The initialization vector to use. May be up to 2^64-1 bytes long.
     234  required BufferSource iv;
     235  // The additional authentication data to include.
     236  BufferSource additionalData;
     237  // The desired length of the authentication tag. May be 0 - 128.
     238  [EnforceRange] octet tagLength;
    239239};
    240240
    241241dictionary HmacImportParams : Algorithm {
    242 // The inner hash function to use.
    243 HashAlgorithmIdentifier hash;
    244 // The length (in bits) of the key.
    245 [EnforceRange] unsigned long length;
     242  // The inner hash function to use.
     243  required HashAlgorithmIdentifier hash;
     244  // The length (in bits) of the key.
     245  [EnforceRange] unsigned long length;
    246246};
    247247
    248248dictionary HmacKeyAlgorithm : KeyAlgorithm {
    249 // The inner hash function to use.
    250 required KeyAlgorithm hash;
    251 // The length (in bits) of the key.
    252 required unsigned long length;
     249  // The inner hash function to use.
     250  required KeyAlgorithm hash;
     251  // The length (in bits) of the key.
     252  required unsigned long length;
    253253};
    254254
    255255dictionary HmacKeyGenParams : Algorithm {
    256 // The inner hash function to use.
    257 required HashAlgorithmIdentifier hash;
    258 // The length (in bits) of the key to generate. If unspecified, the
    259 // recommended length will be used, which is the size of the associated hash function's block
    260 // size.
    261 [EnforceRange] unsigned long length;
    262 };
    263 
    264 dictionary HkdfCtrParams : Algorithm {
    265 // The algorithm to use with HMAC (e.g.: SHA-256)
    266 required HashAlgorithmIdentifier hash;
    267 // A bit string that corresponds to the label that identifies the purpose for the derived keying material.
    268 required BufferSource label;
    269 // A bit string that corresponds to the context of the key derivation, as described in Section 5 of [NIST SP800-108]
    270 required BufferSource context;
     256  // The inner hash function to use.
     257  required HashAlgorithmIdentifier hash;
     258  // The length (in bits) of the key to generate. If unspecified, the
     259  // recommended length will be used, which is the size of the associated hash function's block
     260  // size.
     261  [EnforceRange] unsigned long length;
     262};
     263
     264dictionary HkdfParams : Algorithm {
     265  // The algorithm to use with HMAC (e.g.: SHA-256)
     266  required HashAlgorithmIdentifier hash;
     267  // A bit string that corresponds to the salt used in the extract step.
     268  required BufferSource salt;
     269  // A bit string that corresponds to the context and application specific context for the derived keying material.
     270  required BufferSource info;
    271271};
    272272
    273273dictionary Pbkdf2Params : Algorithm {
    274 required BufferSource salt;
    275 [EnforceRange] required unsigned long iterations;
    276 required HashAlgorithmIdentifier hash;
    277 };
     274  required BufferSource salt;
     275  [EnforceRange] required unsigned long iterations;
     276  required HashAlgorithmIdentifier hash;
     277};
  • trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/accelerometer.idl

    r229544 r249731  
    1 [Constructor(optional AccelerometerSensorOptions options), SecureContext,
     1// GENERATED CONTENT - DO NOT EDIT
     2// Content was automatically extracted by Reffy into reffy-reports
     3// (https://github.com/tidoust/reffy-reports)
     4// Source: Accelerometer (https://w3c.github.io/accelerometer/)
     5
     6[Constructor(optional AccelerometerSensorOptions options = {}), SecureContext,
    27  Exposed=Window]
    38interface Accelerometer : Sensor {
     
    1318};
    1419
    15 [Constructor(optional AccelerometerSensorOptions options), SecureContext,
     20[Constructor(optional AccelerometerSensorOptions options = {}), SecureContext,
    1621  Exposed=Window]
    1722interface LinearAccelerationSensor : Accelerometer {
    1823};
    1924
    20 [Constructor(optional AccelerometerSensorOptions options), SecureContext,
     25[Constructor(optional AccelerometerSensorOptions options = {}), SecureContext,
    2126  Exposed=Window]
    2227interface GravitySensor : Accelerometer {
    2328};
     29
     30dictionary AccelerometerReadingValues {
     31  required double? x;
     32  required double? y;
     33  required double? z;
     34};
     35
     36dictionary LinearAccelerationReadingValues : AccelerometerReadingValues {
     37};
     38
     39dictionary GravityReadingValues : AccelerometerReadingValues {
     40};
  • trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/ambient-light.idl

    r229544 r249731  
    1 [Constructor(optional SensorOptions sensorOptions), SecureContext, Exposed=Window]
     1// GENERATED CONTENT - DO NOT EDIT
     2// Content was automatically extracted by Reffy into reffy-reports
     3// (https://github.com/tidoust/reffy-reports)
     4// Source: Ambient Light Sensor (https://w3c.github.io/ambient-light/)
     5
     6[Constructor(optional SensorOptions sensorOptions = {}), SecureContext, Exposed=Window]
    27interface AmbientLightSensor : Sensor {
    38  readonly attribute double? illuminance;
    49};
     10
     11dictionary AmbientLightReadingValues {
     12  required double? illuminance;
     13};
  • trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/background-fetch.idl

    r229544 r249731  
    1 // 4.1. Extensions to ServiceWorkerGlobalScope
     1// GENERATED CONTENT - DO NOT EDIT
     2// Content was automatically extracted by Reffy into reffy-reports
     3// (https://github.com/tidoust/reffy-reports)
     4// Source: Background Fetch (https://wicg.github.io/background-fetch/)
    25
    36partial interface ServiceWorkerGlobalScope {
    4   attribute EventHandler onbackgroundfetched;
     7  attribute EventHandler onbackgroundfetchsuccess;
    58  attribute EventHandler onbackgroundfetchfail;
    69  attribute EventHandler onbackgroundfetchabort;
     
    811};
    912
    10 // 4.2. Extensions to ServiceWorkerRegistration
    11 
    1213partial interface ServiceWorkerRegistration {
    1314  readonly attribute BackgroundFetchManager backgroundFetch;
    1415};
    15 
    16 // 4.3. BackgroundFetchManager
    1716
    1817[Exposed=(Window,Worker)]
     
    2019  Promise<BackgroundFetchRegistration> fetch(DOMString id, (RequestInfo or sequence<RequestInfo>) requests, optional BackgroundFetchOptions options);
    2120  Promise<BackgroundFetchRegistration?> get(DOMString id);
    22   Promise<FrozenArray<DOMString>> getIds();
    23   // TODO: in future this should become an async iterator for BackgroundFetchRegistration objects
     21  Promise<sequence<DOMString>> getIds();
    2422};
    2523
    26 dictionary BackgroundFetchOptions {
    27   sequence<IconDefinition> icons;
     24dictionary BackgroundFetchUIOptions {
     25  sequence<ImageResource> icons;
    2826  DOMString title;
    29   unsigned long long downloadTotal;
    3027};
    3128
    32 // This is taken from https://w3c.github.io/manifest/#icons-member.
    33 // This definition should probably be moved somewhere more general.
    34 dictionary IconDefinition {
    35   DOMString src;
    36   DOMString sizes;
    37   DOMString type;
     29dictionary BackgroundFetchOptions : BackgroundFetchUIOptions {
     30  unsigned long long downloadTotal = 0;
    3831};
    39 
    40 // 4.4. BackgroundFetchRegistration
    4132
    4233[Exposed=(Window,Worker)]
     
    4738  readonly attribute unsigned long long downloadTotal;
    4839  readonly attribute unsigned long long downloaded;
    49   readonly attribute BackgroundFetchActiveFetches activeFetches;
     40  readonly attribute BackgroundFetchResult result;
     41  readonly attribute BackgroundFetchFailureReason failureReason;
     42  readonly attribute boolean recordsAvailable;
    5043
    5144  attribute EventHandler onprogress;
    5245
    5346  Promise<boolean> abort();
     47  Promise<BackgroundFetchRecord> match(RequestInfo request, optional CacheQueryOptions options);
     48  Promise<sequence<BackgroundFetchRecord>> matchAll(optional RequestInfo request, optional CacheQueryOptions options);
     49};
     50
     51enum BackgroundFetchResult { "", "success", "failure" };
     52
     53enum BackgroundFetchFailureReason {
     54  // The background fetch has not completed yet, or was successful.
     55  "",
     56  // The operation was aborted by the user, or abort() was called.
     57  "aborted",
     58  // A response had a not-ok-status.
     59  "bad-status",
     60  // A fetch failed for other reasons, e.g. CORS, MIX, an invalid partial response,
     61  // or a general network failure for a fetch that cannot be retried.
     62  "fetch-error",
     63  // Storage quota was reached during the operation.
     64  "quota-exceeded",
     65  // The provided downloadTotal was exceeded.
     66  "download-total-exceeded"
    5467};
    5568
    5669[Exposed=(Window,Worker)]
    57 interface BackgroundFetchFetch {
     70interface BackgroundFetchRecord {
    5871  readonly attribute Request request;
     72  readonly attribute Promise<Response> responseReady;
    5973};
    60 
    61 [Exposed=(Window,Worker)]
    62 interface BackgroundFetchActiveFetches {
    63   Promise<BackgroundFetchActiveFetch> match(RequestInfo request);
    64   Promise<FrozenArray<BackgroundFetchActiveFetch>> values();
    65 };
    66 
    67 [Exposed=(Window,Worker)]
    68 interface BackgroundFetchActiveFetch : BackgroundFetchFetch {
    69   readonly attribute Promise<Response> responseReady;
    70   // In future this will include a fetch observer
    71 };
    72 
    73 // 4.4.3. BackgroundFetchEvent
    7474
    7575[Constructor(DOMString type, BackgroundFetchEventInit init), Exposed=ServiceWorker]
    7676interface BackgroundFetchEvent : ExtendableEvent {
    77   readonly attribute DOMString id;
     77  readonly attribute BackgroundFetchRegistration registration;
    7878};
    7979
    8080dictionary BackgroundFetchEventInit : ExtendableEventInit {
    81   required DOMString id;
     81  required BackgroundFetchRegistration registration;
    8282};
    8383
    84 // 4.4.4. BackgroundFetchSettledEvent
    85 
    86 [Constructor(DOMString type, BackgroundFetchSettledEventInit init), Exposed=ServiceWorker]
    87 interface BackgroundFetchSettledEvent : BackgroundFetchEvent {
    88   readonly attribute BackgroundFetchSettledFetches fetches;
     84[Constructor(DOMString type, BackgroundFetchEventInit init), Exposed=ServiceWorker]
     85interface BackgroundFetchUpdateUIEvent : BackgroundFetchEvent {
     86  Promise<void> updateUI(optional BackgroundFetchUIOptions options);
    8987};
    90 
    91 dictionary BackgroundFetchSettledEventInit : BackgroundFetchEventInit {
    92   required BackgroundFetchSettledFetches fetches;
    93 };
    94 
    95 [Exposed=ServiceWorker]
    96 interface BackgroundFetchSettledFetches {
    97   Promise<BackgroundFetchSettledFetch> match(RequestInfo request);
    98   Promise<FrozenArray<BackgroundFetchSettledFetch>> values();
    99 };
    100 
    101 [Exposed=ServiceWorker]
    102 interface BackgroundFetchSettledFetch : BackgroundFetchFetch {
    103   readonly attribute Response? response;
    104 };
    105 
    106 // 4.4.5. BackgroundFetchUpdateEvent
    107 
    108 [Constructor(DOMString type, BackgroundFetchSettledEventInit init), Exposed=ServiceWorker]
    109 interface BackgroundFetchUpdateEvent : BackgroundFetchSettledEvent {
    110   Promise<void> updateUI(DOMString title);
    111 };
    112 
    113 // 4.4.6. BackgroundFetchClickEvent
    114 
    115 [Constructor(DOMString type, BackgroundFetchClickEventInit init), Exposed=ServiceWorker]
    116 interface BackgroundFetchClickEvent : BackgroundFetchEvent {
    117   readonly attribute BackgroundFetchState state;
    118 };
    119 
    120 dictionary BackgroundFetchClickEventInit : BackgroundFetchEventInit {
    121   required BackgroundFetchState state;
    122 };
    123 
    124 enum BackgroundFetchState { "pending", "succeeded", "failed" };
  • trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/clipboard-apis.idl

    r229544 r249731  
     1// GENERATED CONTENT - DO NOT EDIT
     2// Content was automatically extracted by Reffy into reffy-reports
     3// (https://github.com/tidoust/reffy-reports)
     4// Source: Clipboard API and events (https://w3c.github.io/clipboard-apis/)
     5
    16dictionary ClipboardEventInit : EventInit {
    27  DataTransfer? clipboardData = null;
    38};
    49
    5 [Constructor(DOMString type, optional ClipboardEventInit eventInitDict), Exposed=Window]
     10[Constructor(DOMString type, optional ClipboardEventInit eventInitDict = {}), Exposed=Window]
    611interface ClipboardEvent : Event {
    712  readonly attribute DataTransfer? clipboardData;
     
    1217};
    1318
     19typedef sequence<ClipboardItem> ClipboardItems;
     20
    1421[SecureContext, Exposed=Window] interface Clipboard : EventTarget {
    15   Promise<DataTransfer> read();
     22  Promise<ClipboardItems> read();
    1623  Promise<DOMString> readText();
    17   Promise<void> write(DataTransfer data);
     24  Promise<void> write(ClipboardItems data);
    1825  Promise<void> writeText(DOMString data);
     26};
     27
     28typedef (DOMString or Blob) ClipboardItemDataType;
     29typedef Promise<ClipboardItemDataType> ClipboardItemData;
     30
     31callback ClipboardItemDelayedCallback = ClipboardItemData ();
     32
     33[Constructor(record<DOMString, ClipboardItemData> items,
     34    optional ClipboardItemOptions options = {}),
     35 Exposed=Window] interface ClipboardItem {
     36  static ClipboardItem createDelayed(
     37      record<DOMString, ClipboardItemDelayedCallback> items,
     38      optional ClipboardItemOptions options = {});
     39
     40  readonly attribute PresentationStyle presentationStyle;
     41  readonly attribute long long lastModified;
     42  readonly attribute boolean delayed;
     43
     44  readonly attribute FrozenArray<DOMString> types;
     45
     46  Promise<Blob> getType(DOMString type);
     47};
     48
     49enum PresentationStyle { "unspecified", "inline", "attachment" };
     50
     51dictionary ClipboardItemOptions {
     52  PresentationStyle presentationStyle = "unspecified";
    1953};
    2054
  • trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/console.idl

    r229544 r249731  
     1// GENERATED CONTENT - DO NOT EDIT
     2// Content was automatically extracted by Reffy into reffy-reports
     3// (https://github.com/tidoust/reffy-reports)
     4// Source: Console Standard (https://console.spec.whatwg.org/)
     5
    16[Exposed=(Window,Worker,Worklet)]
    27namespace console { // but see namespace object requirements below
     
    49  void assert(optional boolean condition = false, any... data);
    510  void clear();
    6   void count(optional DOMString label = "default");
    711  void debug(any... data);
    812  void error(any... data);
    913  void info(any... data);
    1014  void log(any... data);
    11   void table(any tabularData, optional sequence<DOMString> properties);
     15  void table(optional any tabularData, optional sequence<DOMString> properties);
    1216  void trace(any... data);
    1317  void warn(any... data);
    14   void dir(any item, optional object? options);
     18  void dir(optional any item, optional object? options);
    1519  void dirxml(any... data);
     20
     21  // Counting
     22  void count(optional DOMString label = "default");
     23  void countReset(optional DOMString label = "default");
    1624
    1725  // Grouping
     
    2230  // Timing
    2331  void time(optional DOMString label = "default");
     32  void timeLog(optional DOMString label = "default", any... data);
    2433  void timeEnd(optional DOMString label = "default");
    2534};
  • trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/cookie-store.idl

    r229544 r249731  
    1 // https://github.com/WICG/cookie-store/blob/gh-pages/explainer.md
     1// GENERATED CONTENT - DO NOT EDIT
     2// Content was automatically extracted by Reffy into reffy-reports
     3// (https://github.com/tidoust/reffy-reports)
     4// Source: Cookie Store API (https://wicg.github.io/cookie-store/)
    25
    3 dictionary CookieListItem {
    4   USVString name;
    5   USVString value;
    6 };
    7 
    8 typedef sequence<CookieListItem> CookieList;
    9 
    10 [
    11   Exposed=(ServiceWorker,Window)
    12 ] interface CookieStore {
    13   Promise<CookieList?> getAll(USVString name, optional CookieStoreGetOptions options);
    14   Promise<CookieList?> getAll(optional CookieStoreGetOptions options);
    15 
    16   Promise<CookieListItem?> get(USVString name, optional CookieStoreGetOptions options);
     6[Exposed=(ServiceWorker,Window),
     7 SecureContext]
     8interface CookieStore : EventTarget {
     9  Promise<CookieListItem?> get(USVString name);
    1710  Promise<CookieListItem?> get(optional CookieStoreGetOptions options);
    1811
    19   Promise<boolean> has(USVString name, optional CookieStoreGetOptions options);
    20   Promise<boolean> has(optional CookieStoreGetOptions options);
     12  Promise<CookieList> getAll(USVString name);
     13  Promise<CookieList> getAll(optional CookieStoreGetOptions options);
    2114
    22   Promise<void> set(USVString name, USVString value, optional CookieStoreSetOptions options);
    23   Promise<void> set(CookieStoreSetOptions options);
     15  Promise<void> set(USVString name, USVString value,
     16                    optional CookieStoreSetOptions options);
     17  Promise<void> set(CookieStoreSetExtraOptions options);
    2418
    25   Promise<void> delete(USVString name, optional CookieStoreSetOptions options);
    26   Promise<void> delete(CookieStoreSetOptions options);
     19  Promise<void> delete(USVString name);
     20  Promise<void> delete(CookieStoreDeleteOptions options);
     21
     22  [Exposed=ServiceWorker]
     23  Promise<void> subscribeToChanges(sequence<CookieStoreGetOptions> subscriptions);
     24
     25  [Exposed=ServiceWorker]
     26  Promise<sequence<CookieStoreGetOptions>> getChangeSubscriptions();
     27
     28  [Exposed=Window]
     29  attribute EventHandler onchange;
    2730};
    2831
    2932enum CookieMatchType {
    3033  "equals",
    31   "startsWith"
     34  "starts-with"
    3235};
    3336
     
    3841};
    3942
    40 dictionary CookieStoreSetOptions {
    41   USVString name;
    42   USVString value;
    43   DOMTimeStamp? expires = null;
    44   USVString domain;
    45   USVString path = "/";
    46   boolean? secure;
    47   boolean httpOnly = false;
     43enum CookieSameSite {
     44  "strict",
     45  "lax",
     46  "unrestricted"
    4847};
    4948
     49dictionary CookieStoreSetOptions {
     50  DOMTimeStamp? expires = null;
     51  USVString? domain = null;
     52  USVString path = "/";
     53  boolean secure = true;
     54  CookieSameSite sameSite = "strict";
     55};
     56
     57dictionary CookieStoreSetExtraOptions : CookieStoreSetOptions {
     58  required USVString name;
     59  required USVString value;
     60};
     61
     62dictionary CookieStoreDeleteOptions {
     63  required USVString name;
     64  USVString? domain = null;
     65  USVString path = "/";
     66};
     67
     68dictionary CookieListItem {
     69  required USVString name;
     70  USVString value;
     71  USVString? domain = null;
     72  USVString path = "/";
     73  DOMTimeStamp? expires = null;
     74  boolean secure = true;
     75  CookieSameSite sameSite = "strict";
     76};
     77
     78typedef sequence<CookieListItem> CookieList;
     79
     80[Exposed=Window,
     81 SecureContext,
     82 Constructor(DOMString type, optional CookieChangeEventInit eventInitDict)]
     83interface CookieChangeEvent : Event {
     84  readonly attribute CookieList changed;
     85  readonly attribute CookieList deleted;
     86};
     87
     88dictionary CookieChangeEventInit : EventInit {
     89  CookieList changed;
     90  CookieList deleted;
     91};
     92
     93[Exposed=ServiceWorker,
     94 Constructor(DOMString type, optional ExtendableCookieChangeEventInit eventInitDict)
     95] interface ExtendableCookieChangeEvent : ExtendableEvent {
     96  readonly attribute CookieList changed;
     97  readonly attribute CookieList deleted;
     98};
     99
     100dictionary ExtendableCookieChangeEventInit : ExtendableEventInit {
     101  CookieList changed;
     102  CookieList deleted;
     103};
     104
     105[SecureContext]
    50106partial interface Window {
    51107  [Replaceable, SameObject] readonly attribute CookieStore cookieStore;
     
    54110partial interface ServiceWorkerGlobalScope {
    55111  [Replaceable, SameObject] readonly attribute CookieStore cookieStore;
     112
     113  attribute EventHandler oncookiechange;
    56114};
  • trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/css-typed-om.idl

    r229544 r249731  
     1// GENERATED CONTENT - DO NOT EDIT
     2// Content was automatically extracted by Reffy into reffy-reports
     3// (https://github.com/tidoust/reffy-reports)
     4// Source: CSS Typed OM Level 1 (https://drafts.css-houdini.org/css-typed-om-1/)
     5
    16[Exposed=(Window, Worker, PaintWorklet, LayoutWorklet)]
    27interface CSSStyleValue {
    38    stringifier;
    4     [Exposed=Window] static CSSStyleValue parse(DOMString property, DOMString cssText);
    5     [Exposed=Window] static sequence<CSSStyleValue> parseAll(DOMString property, DOMString cssText);
     9    [Exposed=Window] static CSSStyleValue parse(USVString property, USVString cssText);
     10    [Exposed=Window] static sequence<CSSStyleValue> parseAll(USVString property, USVString cssText);
    611};
    712
    813[Exposed=(Window, Worker, PaintWorklet, LayoutWorklet)]
    914interface StylePropertyMapReadOnly {
    10     iterable<DOMString, sequence<CSSStyleValue>>;
    11     any get(DOMString property);
     15    iterable<USVString, sequence<CSSStyleValue>>;
     16    any get(USVString property);
    1217    /* 'any' means (undefined or CSSStyleValue) here,
    1318       see https://github.com/heycam/webidl/issues/60 */
    14     sequence<CSSStyleValue> getAll(DOMString property);
    15     boolean has(DOMString property);
    16     readonly attribute long size;
     19    sequence<CSSStyleValue> getAll(USVString property);
     20    boolean has(USVString property);
     21    readonly attribute unsigned long size;
    1722};
    1823
    1924[Exposed=Window]
    2025interface StylePropertyMap : StylePropertyMapReadOnly {
    21     void set(DOMString property, (CSSStyleValue or DOMString)... values);
    22     void append(DOMString property, (CSSStyleValue or DOMString)... values);
    23     void delete(DOMString property);
     26    void set(USVString property, (CSSStyleValue or USVString)... values);
     27    void append(USVString property, (CSSStyleValue or USVString)... values);
     28    void delete(USVString property);
    2429    void clear();
    2530};
    2631
    2732partial interface Element {
    28     StylePropertyMapReadOnly computedStyleMap();
     33    [SameObject] StylePropertyMapReadOnly computedStyleMap();
    2934};
    3035
     
    3338};
    3439
    35 partial interface ElementCSSInlineStyle {
     40partial interface mixin ElementCSSInlineStyle {
    3641    [SameObject] readonly attribute StylePropertyMap attributeStyleMap;
    3742};
     
    4651};
    4752
    48 typedef (DOMString or CSSVariableReferenceValue) CSSUnparsedSegment;
    49 
    50 [Exposed=(Window, Worker, PaintWorklet, LayoutWorklet),
    51  Constructor(DOMString variable, optional CSSUnparsedValue? fallback = null)]
     53typedef (USVString or CSSVariableReferenceValue) CSSUnparsedSegment;
     54
     55[Exposed=(Window, Worker, PaintWorklet, LayoutWorklet),
     56 Constructor(USVString variable, optional CSSUnparsedValue? fallback = null)]
    5257interface CSSVariableReferenceValue {
    53     attribute DOMString variable;
     58    attribute USVString variable;
    5459    readonly attribute CSSUnparsedValue? fallback;
    5560};
    5661
    5762[Exposed=(Window, Worker, PaintWorklet, LayoutWorklet),
    58  Constructor(DOMString value)]
     63 Constructor(USVString value)]
    5964interface CSSKeywordValue : CSSStyleValue {
    60     attribute DOMString value;
     65    attribute USVString value;
    6166};
    6267
     
    95100    boolean equals(CSSNumberish... value);
    96101
    97     CSSUnitValue to(DOMString unit);
    98     CSSMathSum toSum(DOMString... units);
     102    CSSUnitValue to(USVString unit);
     103    CSSMathSum toSum(USVString... units);
    99104    CSSNumericType type();
    100105
    101     [Exposed=Window] static CSSNumericValue parse(DOMString cssText);
    102 };
    103 
    104 [Exposed=(Window, Worker, PaintWorklet, LayoutWorklet),
    105  Constructor(double value, DOMString unit)]
     106    [Exposed=Window] static CSSNumericValue parse(USVString cssText);
     107};
     108
     109[Exposed=(Window, Worker, PaintWorklet, LayoutWorklet),
     110 Constructor(double value, USVString unit)]
    106111interface CSSUnitValue : CSSNumericValue {
    107112    attribute double value;
    108     readonly attribute DOMString unit;
     113    readonly attribute USVString unit;
    109114};
    110115
     
    148153interface CSSMathMax : CSSMathValue {
    149154    readonly attribute CSSNumericArray values;
     155};
     156
     157[Exposed=(Window, Worker, PaintWorklet, LayoutWorklet),
     158 Constructor(CSSNumberish min, CSSNumberish val, CSSNumberish max)]
     159interface CSSMathClamp : CSSMathValue {
     160    readonly attribute CSSNumericValue min;
     161    readonly attribute CSSNumericValue val;
     162    readonly attribute CSSNumericValue max;
    150163};
    151164
     
    164177    "min",
    165178    "max",
    166 };
    167 
    168 // FIXME: Uncomment this when IDLHarness supports CSS namespaces:
    169 // https://github.com/w3c/web-platform-tests/issues/7583
    170 /*
     179    "clamp",
     180};
     181
    171182partial namespace CSS {
    172183    CSSUnitValue number(double value);
     
    217228    CSSUnitValue fr(double value);
    218229};
    219 */
    220230
    221231[Exposed=(Window, Worker, PaintWorklet, LayoutWorklet),
     
    293303
    294304[Exposed=(Window, Worker, PaintWorklet, LayoutWorklet),
    295  Constructor(DOMMatrixReadOnly matrix, optional CSSMatrixComponentOptions options)]
     305 Constructor(DOMMatrixReadOnly matrix, optional CSSMatrixComponentOptions options = {})]
    296306interface CSSMatrixComponent : CSSTransformComponent {
    297307    attribute DOMMatrix matrix;
     
    302312};
    303313
    304 [Exposed=(Window, Worker, PaintWorklet, LayoutWorklet),
    305  Constructor(CSSNumericValue x, CSSNumericValue y)]
    306 interface CSSPositionValue : CSSStyleValue {
    307     attribute CSSNumericValue x;
    308     attribute CSSNumericValue y;
    309 };
    310 
    311314[Exposed=(Window, Worker, PaintWorklet, LayoutWorklet)]
    312315interface CSSImageValue : CSSStyleValue {
  • trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/encoding.idl

    r230285 r249731  
     1// GENERATED CONTENT - DO NOT EDIT
     2// Content was automatically extracted by Reffy into reffy-reports
     3// (https://github.com/tidoust/reffy-reports)
     4// Source: Encoding Standard (https://encoding.spec.whatwg.org/)
     5
     6interface mixin TextDecoderCommon {
     7  readonly attribute DOMString encoding;
     8  readonly attribute boolean fatal;
     9  readonly attribute boolean ignoreBOM;
     10};
     11
    112dictionary TextDecoderOptions {
    213  boolean fatal = false;
     
    819};
    920
    10 [Constructor(optional DOMString label = "utf-8", optional TextDecoderOptions options),
     21[Constructor(optional DOMString label = "utf-8", optional TextDecoderOptions options = {}),
    1122 Exposed=(Window,Worker)]
    1223interface TextDecoder {
     24  USVString decode(optional BufferSource input, optional TextDecodeOptions options = {});
     25};
     26TextDecoder includes TextDecoderCommon;
     27
     28interface mixin TextEncoderCommon {
    1329  readonly attribute DOMString encoding;
    14   readonly attribute boolean fatal;
    15   readonly attribute boolean ignoreBOM;
    16   USVString decode(optional BufferSource input, optional TextDecodeOptions options);
     30};
     31
     32dictionary TextEncoderEncodeIntoResult {
     33  unsigned long long read;
     34  unsigned long long written;
    1735};
    1836
     
    2038 Exposed=(Window,Worker)]
    2139interface TextEncoder {
    22   readonly attribute DOMString encoding;
    2340  [NewObject] Uint8Array encode(optional USVString input = "");
     41  TextEncoderEncodeIntoResult encodeInto(USVString source, Uint8Array destination);
    2442};
     43TextEncoder includes TextEncoderCommon;
     44
     45interface mixin GenericTransformStream {
     46  readonly attribute ReadableStream readable;
     47  readonly attribute WritableStream writable;
     48};
     49
     50[Constructor(optional DOMString label = "utf-8", optional TextDecoderOptions options),
     51 Exposed=(Window,Worker)]
     52interface TextDecoderStream {
     53};
     54TextDecoderStream includes TextDecoderCommon;
     55TextDecoderStream includes GenericTransformStream;
     56
     57[Constructor,
     58 Exposed=(Window,Worker)]
     59interface TextEncoderStream {
     60};
     61TextEncoderStream includes TextEncoderCommon;
     62TextEncoderStream includes GenericTransformStream;
  • trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/encrypted-media.idl

    r229544 r249731  
    1 // Encrypted Media Extensions WebIDL
    2 //
    3 // NOTE: Please update the link below to the specification version from
    4 //       which this IDL was extracted.
    5 //
    6 // https://www.w3.org/TR/2016/WD-encrypted-media-20160610/
    7 //  + commit 5499821932391ae2c2e53756ae7ab9fae89d5863
    8 //
     1// GENERATED CONTENT - DO NOT EDIT
     2// Content was automatically extracted by Reffy into reffy-reports
     3// (https://github.com/tidoust/reffy-reports)
     4// Source: Encrypted Media Extensions (https://w3c.github.io/encrypted-media/)
    95
     6[Exposed=Window]
    107partial interface Navigator {
    11     Promise<MediaKeySystemAccess> requestMediaKeySystemAccess (DOMString keySystem, sequence<MediaKeySystemConfiguration> supportedConfigurations);
     8    [SecureContext] Promise<MediaKeySystemAccess> requestMediaKeySystemAccess(DOMString keySystem,
     9                                                                              sequence<MediaKeySystemConfiguration> supportedConfigurations);
    1210};
    1311
     
    1917
    2018dictionary MediaKeySystemConfiguration {
    21              DOMString                               label = "";
    22              sequence<DOMString>                     initDataTypes = [];
    23              sequence<MediaKeySystemMediaCapability> audioCapabilities = [];
    24              sequence<MediaKeySystemMediaCapability> videoCapabilities = [];
    25              MediaKeysRequirement                    distinctiveIdentifier = "optional";
    26              MediaKeysRequirement                    persistentState = "optional";
    27              sequence<DOMString>                     sessionTypes;
     19    DOMString                               label = "";
     20    sequence<DOMString>                     initDataTypes = [];
     21    sequence<MediaKeySystemMediaCapability> audioCapabilities = [];
     22    sequence<MediaKeySystemMediaCapability> videoCapabilities = [];
     23    MediaKeysRequirement                    distinctiveIdentifier = "optional";
     24    MediaKeysRequirement                    persistentState = "optional";
     25    sequence<DOMString>                     sessionTypes;
    2826};
    2927
    3028dictionary MediaKeySystemMediaCapability {
    31              DOMString contentType = "";
    32              DOMString robustness = "";
     29    DOMString contentType = "";
     30    DOMString robustness = "";
    3331};
    3432
     33[Exposed=Window,
     34 SecureContext]
    3535interface MediaKeySystemAccess {
    36     readonly        attribute DOMString keySystem;
    37     MediaKeySystemConfiguration getConfiguration ();
    38     Promise<MediaKeys>          createMediaKeys ();
     36    readonly attribute DOMString keySystem;
     37    MediaKeySystemConfiguration getConfiguration();
     38    Promise<MediaKeys>          createMediaKeys();
    3939};
    4040
    4141enum MediaKeySessionType {
    4242    "temporary",
    43     "persistent-usage-record",
    4443    "persistent-license"
    4544};
    4645
     46[Exposed=Window,
     47 SecureContext]
    4748interface MediaKeys {
    48     MediaKeySession  createSession (optional MediaKeySessionType sessionType = "temporary");
    49     Promise<boolean> setServerCertificate (BufferSource serverCertificate);
     49    MediaKeySession  createSession(optional MediaKeySessionType sessionType = "temporary");
     50    Promise<boolean> setServerCertificate(BufferSource serverCertificate);
    5051};
    5152
     53[Exposed=Window,
     54 SecureContext]
    5255interface MediaKeySession : EventTarget {
    53     readonly        attribute DOMString           sessionId;
    54     readonly        attribute unrestricted double expiration;
    55     readonly        attribute Promise<void>       closed;
    56     readonly        attribute MediaKeyStatusMap   keyStatuses;
    57                     attribute EventHandler        onkeystatuseschange;
    58                     attribute EventHandler        onmessage;
    59     Promise<void>    generateRequest (DOMString initDataType, BufferSource initData);
    60     Promise<boolean> load (DOMString sessionId);
    61     Promise<void>    update (BufferSource response);
    62     Promise<void>    close ();
    63     Promise<void>    remove ();
     56    readonly attribute DOMString           sessionId;
     57    readonly attribute unrestricted double expiration;
     58    readonly attribute Promise<void>       closed;
     59    readonly attribute MediaKeyStatusMap   keyStatuses;
     60             attribute EventHandler        onkeystatuseschange;
     61             attribute EventHandler        onmessage;
     62    Promise<void>    generateRequest(DOMString initDataType,
     63                                     BufferSource initData);
     64    Promise<boolean> load(DOMString sessionId);
     65    Promise<void>    update(BufferSource response);
     66    Promise<void>    close();
     67    Promise<void>    remove();
    6468};
    6569
     70[Exposed=Window,
     71 SecureContext]
    6672interface MediaKeyStatusMap {
    67     iterable<BufferSource,MediaKeyStatus>;
    68     readonly        attribute unsigned long size;
    69     boolean has (BufferSource keyId);
    70     any     get (BufferSource keyId);
     73    iterable<BufferSource, MediaKeyStatus>;
     74    readonly attribute unsigned long size;
     75    boolean has(BufferSource keyId);
     76    any     get(BufferSource keyId);
    7177};
    7278
     
    8894};
    8995
    90 [Constructor(DOMString type, MediaKeyMessageEventInit eventInitDict)]
     96[Exposed=Window,
     97 SecureContext,
     98 Constructor(DOMString type, MediaKeyMessageEventInit eventInitDict)]
    9199interface MediaKeyMessageEvent : Event {
    92     readonly        attribute MediaKeyMessageType messageType;
    93     readonly        attribute ArrayBuffer         message;
     100    readonly attribute MediaKeyMessageType messageType;
     101    readonly attribute ArrayBuffer         message;
    94102};
    95103
    96104dictionary MediaKeyMessageEventInit : EventInit {
    97              required MediaKeyMessageType messageType;
    98              required ArrayBuffer         message;
     105    required MediaKeyMessageType messageType;
     106    required ArrayBuffer         message;
    99107};
    100108
    101 // partial interface HTMLMediaElement : EventTarget {
     109[Exposed=Window]
    102110partial interface HTMLMediaElement {
    103     readonly        attribute MediaKeys?   mediaKeys;
    104                     attribute EventHandler onencrypted;
    105                     attribute EventHandler onwaitingforkey;
    106     Promise<void> setMediaKeys (MediaKeys? mediaKeys);
     111    [SecureContext]
     112    readonly attribute MediaKeys?   mediaKeys;
     113             attribute EventHandler onencrypted;
     114             attribute EventHandler onwaitingforkey;
     115    [SecureContext] Promise<void> setMediaKeys(MediaKeys? mediaKeys);
    107116};
    108117
    109 [Constructor(DOMString type, optional MediaEncryptedEventInit eventInitDict)]
     118[Exposed=Window,
     119 Constructor(DOMString type, optional MediaEncryptedEventInit eventInitDict)]
    110120interface MediaEncryptedEvent : Event {
    111     readonly        attribute DOMString    initDataType;
    112     readonly        attribute ArrayBuffer? initData;
     121    readonly attribute DOMString    initDataType;
     122    readonly attribute ArrayBuffer? initData;
    113123};
    114124
    115125dictionary MediaEncryptedEventInit : EventInit {
    116              DOMString    initDataType = "";
    117              ArrayBuffer? initData = null;
     126    DOMString    initDataType = "";
     127    ArrayBuffer? initData = null;
    118128};
    119 
  • trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/entries-api.idl

    r229544 r249731  
    11// GENERATED CONTENT - DO NOT EDIT
    2 // Content of this file was automatically extracted from the File and Directory Entries API spec.
    3 // See https://wicg.github.io/entries-api/
     2// Content was automatically extracted by Reffy into reffy-reports
     3// (https://github.com/tidoust/reffy-reports)
     4// Source: File and Directory Entries API (https://wicg.github.io/entries-api/)
    45
    56partial interface File {
     
    3233    FileSystemDirectoryReader createReader();
    3334    void getFile(optional USVString? path,
    34                  optional FileSystemFlags options,
     35                 optional FileSystemFlags options = {},
    3536                 optional FileSystemEntryCallback successCallback,
    3637                 optional ErrorCallback errorCallback);
    3738    void getDirectory(optional USVString? path,
    38                       optional FileSystemFlags options,
     39                      optional FileSystemFlags options = {},
    3940                      optional FileSystemEntryCallback successCallback,
    4041                      optional ErrorCallback errorCallback);
  • trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/fetch.idl

    r239693 r249731  
    2828typedef (Request or USVString) RequestInfo;
    2929
    30 [Constructor(RequestInfo input, optional RequestInit init),
     30[Constructor(RequestInfo input, optional RequestInit init = {}),
    3131 Exposed=(Window,Worker)]
    3232interface Request {
     
    7373enum RequestCache { "default", "no-store", "reload", "no-cache", "force-cache", "only-if-cached" };
    7474enum RequestRedirect { "follow", "error", "manual" };
    75 [Constructor(optional BodyInit? body = null, optional ResponseInit init), Exposed=(Window,Worker)]
     75[Constructor(optional BodyInit? body = null, optional ResponseInit init = {}), Exposed=(Window,Worker)]
    7676interface Response {
    7777  [NewObject] static Response error();
  • trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/fullscreen.idl

    r220772 r249731  
     1// GENERATED CONTENT - DO NOT EDIT
     2// Content was automatically extracted by Reffy into reffy-reports
     3// (https://github.com/tidoust/reffy-reports)
     4// Source: Fullscreen API Standard (https://fullscreen.spec.whatwg.org/)
     5
     6enum FullscreenNavigationUI {
     7  "auto",
     8  "show",
     9  "hide"
     10};
     11
     12dictionary FullscreenOptions {
     13  FullscreenNavigationUI navigationUI = "auto";
     14};
     15
    116partial interface Element {
    2   Promise<void> requestFullscreen();
     17  Promise<void> requestFullscreen(optional FullscreenOptions options);
    318
    419  attribute EventHandler onfullscreenchange;
     
    1631};
    1732
    18 partial interface DocumentOrShadowRoot {
     33partial interface mixin DocumentOrShadowRoot {
    1934  [LenientSetter] readonly attribute Element? fullscreenElement;
    2035};
  • trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/gamepad.idl

    r229544 r249731  
     1// GENERATED CONTENT - DO NOT EDIT
     2// Content was automatically extracted by Reffy into reffy-reports
     3// (https://github.com/tidoust/reffy-reports)
     4// Source: Gamepad (https://w3c.github.io/gamepad/)
     5
     6[Exposed=Window]
    17interface Gamepad {
    2     readonly attribute DOMString                  id;
    3     readonly attribute long                      index;
    4     readonly attribute boolean                    connected;
    5     readonly attribute DOMHighResTimeStamp        timestamp;
    6     readonly attribute GamepadMappingType        mapping;
    7     readonly attribute FrozenArray<double>        axes;
    8     readonly attribute FrozenArray<GamepadButton> buttons;
     8  readonly attribute DOMString id;
     9  readonly attribute long index;
     10  readonly attribute boolean connected;
     11  readonly attribute DOMHighResTimeStamp timestamp;
     12  readonly attribute GamepadMappingType mapping;
     13  readonly attribute FrozenArray<double> axes;
     14  readonly attribute FrozenArray<GamepadButton> buttons;
    915};
    1016
     17[Exposed=Window]
    1118interface GamepadButton {
    12     readonly attribute boolean pressed;
    13     readonly attribute boolean touched;
    14     readonly attribute double value;
     19  readonly attribute boolean pressed;
     20  readonly attribute boolean touched;
     21  readonly attribute double value;
    1522};
    1623
    1724enum GamepadMappingType {
    18     "",
    19     "standard",
     25  "",
     26  "standard",
    2027};
    2128
     29[Exposed=Window]
    2230partial interface Navigator {
    23     sequence<Gamepad?> getGamepads();
     31  sequence<Gamepad?> getGamepads();
    2432};
    2533
    26 [Constructor(GamepadEventInit eventInitDict)]
     34[Constructor(DOMString type, GamepadEventInit eventInitDict), Exposed=Window]
     35
    2736interface GamepadEvent : Event {
    28     readonly attribute Gamepad gamepad;
     37  [SameObject] readonly attribute Gamepad gamepad;
    2938};
    3039
    3140dictionary GamepadEventInit : EventInit {
    32     required Gamepad gamepad;
     41  required Gamepad gamepad;
    3342};
  • trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/geolocation-sensor.idl

    r229544 r249731  
    1 [Constructor(optional GeolocationSensorOptions options), SecureContext, Exposed=Window]
     1// GENERATED CONTENT - DO NOT EDIT
     2// Content was automatically extracted by Reffy into reffy-reports
     3// (https://github.com/tidoust/reffy-reports)
     4// Source: Geolocation Sensor (https://wicg.github.io/geolocation-sensor/)
     5
     6[Constructor(optional GeolocationSensorOptions options = {}),
     7 SecureContext,
     8 Exposed=(DedicatedWorker, Window)]
    29interface GeolocationSensor : Sensor {
    3   static Promise<GeolocationSensorReading> read(optional ReadOptions readOptions);
     10  static Promise<GeolocationSensorReading> read(optional ReadOptions readOptions = {});
    411  readonly attribute unrestricted double? latitude;
    512  readonly attribute unrestricted double? longitude;
     
    2936  double? speed;
    3037};
     38
     39dictionary GeolocationReadingValues {
     40  required double? latitude;
     41  required double? longitude;
     42  required double? altitude;
     43  required double? accuracy;
     44  required double? altitudeAccuracy;
     45  required double? heading;
     46  required double? speed;
     47};
  • trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/geometry.idl

    r231325 r249731  
    11// GENERATED CONTENT - DO NOT EDIT
    2 // Content of this file was automatically extracted from the Geometry Interfaces spec.
    3 // See https://drafts.fxtf.org/geometry/
     2// Content was automatically extracted by Reffy into reffy-reports
     3// (https://github.com/tidoust/reffy-reports)
     4// Source: Geometry Interfaces Module Level 1 (https://drafts.fxtf.org/geometry/)
    45
    56[Constructor(optional unrestricted double x = 0, optional unrestricted double y = 0,
     
    1516    readonly attribute unrestricted double w;
    1617
    17     DOMPoint matrixTransform(optional DOMMatrixInit matrix);
     18    [NewObject] DOMPoint matrixTransform(optional DOMMatrixInit matrix);
    1819
    1920    [Default] object toJSON();
     
    8182};
    8283
     84[Exposed=Window]
    8385interface DOMRectList {
    8486    readonly attribute unsigned long length;
     
    156158                                optional unrestricted double originY = 0,
    157159                                optional unrestricted double originZ = 0);
     160    [NewObject] DOMMatrix scaleNonUniform(optional unrestricted double scaleX = 1,
     161                                          optional unrestricted double scaleY = 1);
    158162    [NewObject] DOMMatrix scale3d(optional unrestricted double scale = 1,
    159163                                  optional unrestricted double originX = 0,
  • trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/gyroscope.idl

    r229544 r249731  
     1// GENERATED CONTENT - DO NOT EDIT
     2// Content was automatically extracted by Reffy into reffy-reports
     3// (https://github.com/tidoust/reffy-reports)
     4// Source: Gyroscope (https://w3c.github.io/gyroscope/)
     5
    16[Constructor(optional GyroscopeSensorOptions sensorOptions), SecureContext, Exposed=Window]
    27interface Gyroscope : Sensor {
     
    1116  GyroscopeLocalCoordinateSystem referenceFrame = "device";
    1217};
     18
     19dictionary GyroscopeReadingValues {
     20  required double? x;
     21  required double? y;
     22  required double? z;
     23};
  • trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/hr-time.idl

    r229544 r249731  
     1// GENERATED CONTENT - DO NOT EDIT
     2// Content was automatically extracted by Reffy into reffy-reports
     3// (https://github.com/tidoust/reffy-reports)
     4// Source: High Resolution Time Level 2 (https://w3c.github.io/hr-time/)
     5
    16typedef double DOMHighResTimeStamp;
    27
     
    510    DOMHighResTimeStamp now();
    611    readonly attribute DOMHighResTimeStamp timeOrigin;
    7     [Default] object              toJSON();
     12    [Default] object toJSON();
    813};
    914
    10 partial interface WindowOrWorkerGlobalScope {
    11     [Replaceable]
    12     readonly attribute Performance performance;
     15partial interface mixin WindowOrWorkerGlobalScope {
     16  [Replaceable] readonly attribute Performance performance;
    1317};
  • trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/intersection-observer.idl

    r235889 r249731  
    2121interface IntersectionObserverEntry {
    2222  readonly attribute DOMHighResTimeStamp time;
    23   readonly attribute DOMRectReadOnly rootBounds;
     23  readonly attribute DOMRectReadOnly? rootBounds;
    2424  readonly attribute DOMRectReadOnly boundingClientRect;
    2525  readonly attribute DOMRectReadOnly intersectionRect;
     
    3131dictionary IntersectionObserverEntryInit {
    3232  required DOMHighResTimeStamp time;
    33   required DOMRectInit rootBounds;
     33  required DOMRectInit? rootBounds;
    3434  required DOMRectInit boundingClientRect;
    3535  required DOMRectInit intersectionRect;
  • trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/magnetometer.idl

    r229544 r249731  
    1 [Constructor(optional MagnetometerSensorOptions sensorOptions), SecureContext,
     1// GENERATED CONTENT - DO NOT EDIT
     2// Content was automatically extracted by Reffy into reffy-reports
     3// (https://github.com/tidoust/reffy-reports)
     4// Source: Magnetometer (https://w3c.github.io/magnetometer/)
     5
     6[Constructor(optional MagnetometerSensorOptions sensorOptions = {}), SecureContext,
    27  Exposed=Window]
    38interface Magnetometer : Sensor {
     
    712};
    813
    9 enum LocalCoordinateSystem { "device", "screen" };
     14enum MagnetometerLocalCoordinateSystem { "device", "screen" };
    1015
    1116dictionary MagnetometerSensorOptions : SensorOptions {
    12   LocalCoordinateSystem referenceFrame = "device";
     17  MagnetometerLocalCoordinateSystem referenceFrame = "device";
    1318};
    1419
    15 [Constructor(optional MagnetometerSensorOptions sensorOptions), SecureContext,
     20[Constructor(optional MagnetometerSensorOptions sensorOptions = {}), SecureContext,
    1621  Exposed=Window]
    1722interface UncalibratedMagnetometer : Sensor {
     
    2328  readonly attribute double? zBias;
    2429};
     30
     31dictionary MagnetometerReadingValues {
     32  required double? x;
     33  required double? y;
     34  required double? z;
     35};
     36
     37dictionary UncalibratedMagnetometerReadingValues {
     38  required double? x;
     39  required double? y;
     40  required double? z;
     41  required double? xBias;
     42  required double? yBias;
     43  required double? zBias;
     44};
  • trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/orientation-sensor.idl

    r229544 r249731  
     1// GENERATED CONTENT - DO NOT EDIT
     2// Content was automatically extracted by Reffy into reffy-reports
     3// (https://github.com/tidoust/reffy-reports)
     4// Source: Orientation Sensor (https://w3c.github.io/orientation-sensor/)
     5
    16typedef (Float32Array or Float64Array or DOMMatrix) RotationMatrixType;
    27
     
    712};
    813
    9 enum LocalCoordinateSystem { "device", "screen" };
     14enum OrientationSensorLocalCoordinateSystem { "device", "screen" };
    1015
    11 dictionary OrientationSensorOptions : SensorOptions  {
    12   LocalCoordinateSystem referenceFrame = "device";
     16dictionary OrientationSensorOptions : SensorOptions {
     17  OrientationSensorLocalCoordinateSystem referenceFrame = "device";
    1318};
    1419
    15 [Constructor(optional OrientationSensorOptions sensorOptions), SecureContext, Exposed=Window]
     20[Constructor(optional OrientationSensorOptions sensorOptions = {}), SecureContext, Exposed=Window]
    1621interface AbsoluteOrientationSensor : OrientationSensor {
    1722};
    1823
    19 [Constructor(optional OrientationSensorOptions sensorOptions), SecureContext, Exposed=Window]
     24[Constructor(optional OrientationSensorOptions sensorOptions = {}), SecureContext, Exposed=Window]
    2025interface RelativeOrientationSensor : OrientationSensor {
    2126};
     27
     28dictionary AbsoluteOrientationReadingValues {
     29  required FrozenArray<double>? quaternion;
     30};
     31
     32dictionary RelativeOrientationReadingValues : AbsoluteOrientationReadingValues {
     33};
  • trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/payment-handler.idl

    r229544 r249731  
    1 [SecureContext,
    2  Exposed=(Window,Worker)]
     1// GENERATED CONTENT - DO NOT EDIT
     2// Content was automatically extracted by Reffy into reffy-reports
     3// (https://github.com/tidoust/reffy-reports)
     4// Source: Payment Handler API (https://w3c.github.io/payment-handler/)
     5
     6partial interface ServiceWorkerRegistration {
     7  [SameObject] readonly attribute PaymentManager paymentManager;
     8};
     9
     10[SecureContext, Exposed=(Window,Worker)]
    311interface PaymentManager {
    4     [SameObject]
    5     readonly attribute PaymentInstruments instruments;
    6     [Exposed=Window] static Promise<PermissionState> requestPermission();
     12  [SameObject] readonly attribute PaymentInstruments instruments;
     13  attribute DOMString userHint;
    714};
    8 [SecureContext,
    9  Exposed=(Window,Worker)]
     15
     16[SecureContext, Exposed=(Window,Worker)]
    1017interface PaymentInstruments {
    11     Promise<boolean>             delete(DOMString instrumentKey);
    12     Promise<PaymentInstrument>  get(DOMString instrumentKey);
     18    Promise<boolean> delete(DOMString instrumentKey);
     19    Promise<any> get(DOMString instrumentKey);
    1320    Promise<sequence<DOMString>> keys();
    14     Promise<boolean>             has(DOMString instrumentKey);
    15     Promise<void>                set(DOMString instrumentKey,
    16                                      PaymentInstrument details);
    17     Promise<void>                clear();
     21    Promise<boolean> has(DOMString instrumentKey);
     22    Promise<void> set(DOMString instrumentKey, PaymentInstrument details);
     23    Promise<void> clear();
    1824};
     25
    1926dictionary PaymentInstrument {
    20     required DOMString            name;
    21              sequence<ImageObject> icons;
    22              sequence<DOMString>   enabledMethods;
    23              object                capabilities;
     27  required DOMString name;
     28  sequence<ImageObject> icons;
     29  DOMString method;
     30  object capabilities;
    2431};
     32
    2533dictionary ImageObject {
    2634    required USVString src;
    27              DOMString sizes;
    28              DOMString type;
     35    DOMString sizes;
     36    DOMString type;
    2937};
    30 [Constructor(DOMString type, CanMakePaymentEventInit eventInitDict),
    31  Exposed=ServiceWorker]
     38
     39partial interface ServiceWorkerGlobalScope {
     40  attribute EventHandler oncanmakepayment;
     41};
     42
     43[Constructor(DOMString type, CanMakePaymentEventInit eventInitDict), Exposed=ServiceWorker]
    3244interface CanMakePaymentEvent : ExtendableEvent {
    33     readonly attribute USVString                           topLevelOrigin;
    34     readonly attribute USVString                           paymentRequestOrigin;
    35     readonly attribute FrozenArray<PaymentMethodData>      methodData;
    36     readonly attribute FrozenArray<PaymentDetailsModifier> modifiers;
    37     void respondWith(Promise<boolean> canMakePaymentResponse);
     45  readonly attribute USVString topOrigin;
     46  readonly attribute USVString paymentRequestOrigin;
     47  readonly attribute FrozenArray<PaymentMethodData> methodData;
     48  void respondWith(Promise<boolean> canMakePaymentResponse);
    3849};
     50
    3951dictionary CanMakePaymentEventInit : ExtendableEventInit {
    40     USVString                        topLevelOrigin;
    41     USVString                        paymentRequestOrigin;
    42     sequence<PaymentMethodData>      methodData;
    43     sequence<PaymentDetailsModifier> modifiers;
     52  USVString topOrigin;
     53  USVString paymentRequestOrigin;
     54  sequence<PaymentMethodData> methodData;
    4455};
    45 [Constructor(DOMString type, PaymentRequestEventInit eventInitDict),
    46  Exposed=ServiceWorker]
     56
     57partial interface ServiceWorkerGlobalScope {
     58  attribute EventHandler onpaymentrequest;
     59};
     60
     61dictionary PaymentMethodChangeResponse {
     62  DOMString error;
     63  PaymentCurrencyAmount total;
     64  FrozenArray<PaymentDetailsModifier> modifiers;
     65  object paymentMethodErrors;
     66};
     67
     68[Constructor(DOMString type, PaymentRequestEventInit eventInitDict), Exposed=ServiceWorker]
    4769interface PaymentRequestEvent : ExtendableEvent {
    48     readonly attribute USVString                           topLevelOrigin;
    49     readonly attribute USVString                           paymentRequestOrigin;
    50     readonly attribute DOMString                           paymentRequestId;
    51     readonly attribute FrozenArray<PaymentMethodData>      methodData;
    52     readonly attribute object                              total;
    53     readonly attribute FrozenArray<PaymentDetailsModifier> modifiers;
    54     readonly attribute DOMString                           instrumentKey;
    55     Promise<WindowClient?> openWindow(USVString url);
    56     void                   respondWith(Promise<PaymentHandlerResponse> handlerResponse);
     70  readonly attribute USVString topOrigin;
     71  readonly attribute USVString paymentRequestOrigin;
     72  readonly attribute DOMString paymentRequestId;
     73  readonly attribute FrozenArray<PaymentMethodData> methodData;
     74  readonly attribute object total;
     75  readonly attribute FrozenArray<PaymentDetailsModifier> modifiers;
     76  readonly attribute DOMString instrumentKey;
     77  readonly attribute boolean requestBillingAddress;
     78  Promise<WindowClient?> openWindow(USVString url);
     79  Promise<PaymentMethodChangeResponse?> changePaymentMethod(DOMString methodName, optional object? methodDetails = null);
     80  void respondWith(Promise<PaymentHandlerResponse> handlerResponsePromise);
    5781};
     82
    5883dictionary PaymentRequestEventInit : ExtendableEventInit {
    59     USVString                        topLevelOrigin;
    60     USVString                        paymentRequestOrigin;
    61     DOMString                        paymentRequestId;
    62     sequence<PaymentMethodData>      methodData;
    63     PaymentCurrencyAmount            total;
    64     sequence<PaymentDetailsModifier> modifiers;
    65     DOMString                        instrumentKey;
     84  USVString topOrigin;
     85  USVString paymentRequestOrigin;
     86  DOMString paymentRequestId;
     87  sequence<PaymentMethodData> methodData;
     88  PaymentCurrencyAmount total;
     89  sequence<PaymentDetailsModifier> modifiers;
     90  DOMString instrumentKey;
    6691};
     92
    6793dictionary PaymentHandlerResponse {
    68     DOMString methodName;
    69     object    details;
     94DOMString methodName;
     95object details;
    7096};
  • trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/payment-request.idl

    r229544 r249731  
    1 [Constructor(sequence<PaymentMethodData> methodData, PaymentDetailsInit details, optional PaymentOptions options),
    2   SecureContext,
    3   Exposed=Window]
     1// GENERATED CONTENT - DO NOT EDIT
     2// Content was automatically extracted by Reffy into reffy-reports
     3// (https://github.com/tidoust/reffy-reports)
     4// Source: Payment Request API (https://w3c.github.io/payment-request/)
     5
     6[SecureContext, Exposed=Window]
    47interface PaymentRequest : EventTarget {
    5   Promise<PaymentResponse> show();
     8  constructor(
     9    sequence<PaymentMethodData> methodData,
     10    PaymentDetailsInit details,
     11    optional PaymentOptions options = {}
     12  );
     13  [NewObject]
     14  Promise<PaymentResponse> show(optional Promise<PaymentDetailsUpdate> detailsPromise);
     15  [NewObject]
    616  Promise<void> abort();
     17  [NewObject]
    718  Promise<boolean> canMakePayment();
     19  [NewObject]
     20  Promise<boolean> hasEnrolledInstrument();
    821
    922  readonly attribute DOMString id;
     
    1225  readonly attribute PaymentShippingType? shippingType;
    1326
     27  attribute EventHandler onmerchantvalidation;
    1428  attribute EventHandler onshippingaddresschange;
    15 
    1629  attribute EventHandler onshippingoptionchange;
    17 };
     30  attribute EventHandler onpaymentmethodchange;
     31};
     32
    1833dictionary PaymentMethodData {
    1934  required DOMString supportedMethods;
    2035  object data;
    2136};
     37
    2238dictionary PaymentCurrencyAmount {
    2339  required DOMString currency;
    2440  required DOMString value;
    25   // Note: currencySystem is "at risk" of being removed!
    26   DOMString currencySystem = "urn:iso:std:iso:4217";
    27 };
     41};
     42
    2843dictionary PaymentDetailsBase {
    2944  sequence<PaymentItem> displayItems;
     
    3146  sequence<PaymentDetailsModifier> modifiers;
    3247};
     48
    3349dictionary PaymentDetailsInit : PaymentDetailsBase {
    3450  DOMString id;
    3551  required PaymentItem total;
    3652};
     53
    3754dictionary PaymentDetailsUpdate : PaymentDetailsBase {
    3855  DOMString error;
    3956  PaymentItem total;
    40 };
     57  AddressErrors shippingAddressErrors;
     58  PayerErrors payerErrors;
     59  object paymentMethodErrors;
     60};
     61
    4162dictionary PaymentDetailsModifier {
    4263  required DOMString supportedMethods;
     
    4566  object data;
    4667};
     68
    4769enum PaymentShippingType {
    4870  "shipping",
     
    5072  "pickup"
    5173};
     74
    5275dictionary PaymentOptions {
    5376  boolean requestPayerName = false;
     77  boolean requestBillingAddress = false;
    5478  boolean requestPayerEmail = false;
    5579  boolean requestPayerPhone = false;
     
    5781  PaymentShippingType shippingType = "shipping";
    5882};
     83
    5984dictionary PaymentItem {
    6085  required DOMString label;
     
    6287  boolean pending = false;
    6388};
    64 [SecureContext,
    65   Exposed=Window]
     89
     90[SecureContext, Exposed=(Window)]
    6691interface PaymentAddress {
    6792  [Default] object toJSON();
     93  readonly attribute DOMString city;
    6894  readonly attribute DOMString country;
     95  readonly attribute DOMString dependentLocality;
     96  readonly attribute DOMString organization;
     97  readonly attribute DOMString phone;
     98  readonly attribute DOMString postalCode;
     99  readonly attribute DOMString recipient;
     100  readonly attribute DOMString region;
     101  readonly attribute DOMString sortingCode;
    69102  readonly attribute FrozenArray<DOMString> addressLine;
    70   readonly attribute DOMString region;
    71   readonly attribute DOMString regionCode;
    72   readonly attribute DOMString city;
    73   readonly attribute DOMString dependentLocality;
    74   readonly attribute DOMString postalCode;
    75   readonly attribute DOMString sortingCode;
    76   readonly attribute DOMString languageCode;
    77   readonly attribute DOMString organization;
    78   readonly attribute DOMString recipient;
    79   readonly attribute DOMString phone;
    80 };
     103};
     104
     105dictionary AddressInit {
     106  DOMString country;
     107  sequence<DOMString> addressLine;
     108  DOMString region;
     109  DOMString city;
     110  DOMString dependentLocality;
     111  DOMString postalCode;
     112  DOMString sortingCode;
     113  DOMString organization;
     114  DOMString recipient;
     115  DOMString phone;
     116};
     117
     118dictionary AddressErrors {
     119  DOMString addressLine;
     120  DOMString city;
     121  DOMString country;
     122  DOMString dependentLocality;
     123  DOMString organization;
     124  DOMString phone;
     125  DOMString postalCode;
     126  DOMString recipient;
     127  DOMString region;
     128  DOMString sortingCode;
     129};
     130
    81131dictionary PaymentShippingOption {
    82132  required DOMString id;
     
    85135  boolean selected = false;
    86136};
     137
    87138enum PaymentComplete {
    88139  "fail",
     
    90141  "unknown"
    91142};
    92 [SecureContext,
    93   Exposed=Window]
    94 interface PaymentResponse {
     143
     144[SecureContext, Exposed=Window]
     145interface PaymentResponse : EventTarget  {
    95146  [Default] object toJSON();
    96147
     
    104155  readonly attribute DOMString? payerPhone;
    105156
     157  [NewObject]
    106158  Promise<void> complete(optional PaymentComplete result = "unknown");
    107 };
    108 [Constructor(DOMString type, optional PaymentRequestUpdateEventInit eventInitDict),
    109   SecureContext,
    110   Exposed=Window]
     159  [NewObject]
     160  Promise<void> retry(optional PaymentValidationErrors errorFields = {});
     161
     162  attribute EventHandler onpayerdetailchange;
     163};
     164
     165dictionary PaymentValidationErrors {
     166  PayerErrors payer;
     167  AddressErrors shippingAddress;
     168  DOMString error;
     169  object paymentMethod;
     170};
     171
     172dictionary PayerErrors {
     173  DOMString email;
     174  DOMString name;
     175  DOMString phone;
     176};
     177
     178[SecureContext, Exposed=Window]
     179interface MerchantValidationEvent : Event {
     180  constructor(DOMString type, optional MerchantValidationEventInit eventInitDict = {});
     181  readonly attribute DOMString methodName;
     182  readonly attribute USVString validationURL;
     183  void complete(Promise<any> merchantSessionPromise);
     184};
     185
     186dictionary MerchantValidationEventInit : EventInit {
     187  DOMString methodName = "";
     188  USVString validationURL = "";
     189};
     190
     191[SecureContext, Exposed=Window]
     192interface PaymentMethodChangeEvent : PaymentRequestUpdateEvent {
     193  constructor(DOMString type, optional PaymentMethodChangeEventInit eventInitDict = {});
     194  readonly attribute DOMString methodName;
     195  readonly attribute object? methodDetails;
     196};
     197
     198dictionary PaymentMethodChangeEventInit : PaymentRequestUpdateEventInit {
     199  DOMString methodName = "";
     200  object? methodDetails = null;
     201};
     202
     203[SecureContext, Exposed=Window]
    111204interface PaymentRequestUpdateEvent : Event {
     205  constructor(DOMString type, optional PaymentRequestUpdateEventInit eventInitDict = {});
    112206  void updateWith(Promise<PaymentDetailsUpdate> detailsPromise);
    113207};
    114 dictionary PaymentRequestUpdateEventInit : EventInit {
    115 };
     208
     209dictionary PaymentRequestUpdateEventInit : EventInit {};
  • trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/proximity.idl

    r229544 r249731  
     1// GENERATED CONTENT - DO NOT EDIT
     2// Content was automatically extracted by Reffy into reffy-reports
     3// (https://github.com/tidoust/reffy-reports)
     4// Source: Proximity Sensor (https://w3c.github.io/proximity/)
     5
    16[Constructor(optional SensorOptions sensorOptions), SecureContext, Exposed=Window]
    27interface ProximitySensor : Sensor {
     
    510  readonly attribute boolean? near;
    611};
     12
     13dictionary ProximityReadingValues {
     14  required double? distance;
     15  required double? max;
     16  required boolean? near;
     17};
  • trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/screen-orientation.idl

    r229544 r249731  
     1// GENERATED CONTENT - DO NOT EDIT
     2// Content was automatically extracted by Reffy into reffy-reports
     3// (https://github.com/tidoust/reffy-reports)
     4// Source: The Screen Orientation API (https://w3c.github.io/screen-orientation/)
     5
    16partial interface Screen {
    2     [SameObject]
    3     readonly attribute ScreenOrientation orientation;
     7  [SameObject] readonly attribute ScreenOrientation orientation;
    48};
     9
    510[Exposed=Window]
    611interface ScreenOrientation : EventTarget {
    7     Promise<void> lock(OrientationLockType orientation);
    8     void          unlock();
    9     readonly attribute OrientationType type;
    10     readonly attribute unsigned short angle;
    11              attribute EventHandler    onchange;
     12  Promise<void> lock(OrientationLockType orientation);
     13  void unlock();
     14  readonly attribute OrientationType type;
     15  readonly attribute unsigned short angle;
     16  attribute EventHandler onchange;
    1217};
     18
     19enum OrientationLockType {
     20  "any",
     21  "natural",
     22  "landscape",
     23  "portrait",
     24  "portrait-primary",
     25  "portrait-secondary",
     26  "landscape-primary",
     27  "landscape-secondary"
     28};
     29
    1330enum OrientationType {
    14     "portrait-primary",
    15     "portrait-secondary",
    16     "landscape-primary",
    17     "landscape-secondary"
     31  "portrait-primary",
     32  "portrait-secondary",
     33  "landscape-primary",
     34  "landscape-secondary"
    1835};
    19 enum OrientationLockType {
    20     "any",
    21     "natural",
    22     "landscape",
    23     "portrait",
    24     "portrait-primary",
    25     "portrait-secondary",
    26     "landscape-primary",
    27     "landscape-secondary"
    28 };
  • trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/selection-api.idl

    r229544 r249731  
    1 // http://w3c.github.io/selection-api/#selection-interface
     1// GENERATED CONTENT - DO NOT EDIT
     2// Content was automatically extracted by Reffy into reffy-reports
     3// (https://github.com/tidoust/reffy-reports)
     4// Source: Selection API (https://w3c.github.io/selection-api/)
     5
     6[Exposed=Window]
    27interface Selection {
    3   readonly attribute Node?         anchorNode;
     8  readonly attribute Node? anchorNode;
    49  readonly attribute unsigned long anchorOffset;
    5   readonly attribute Node?         focusNode;
     10  readonly attribute Node? focusNode;
    611  readonly attribute unsigned long focusOffset;
    7   readonly attribute boolean       isCollapsed;
     12  readonly attribute boolean isCollapsed;
    813  readonly attribute unsigned long rangeCount;
    9   readonly attribute DOMString     type;
    10   Range     getRangeAt(unsigned long index);
    11   void      addRange(Range range);
    12   void      removeRange(Range range);
    13   void      removeAllRanges();
    14   void      empty();
    15   void      collapse(Node? node, optional unsigned long offset = 0);
    16   void      setPosition(Node? node, optional unsigned long offset = 0);
    17   void      collapseToStart();
    18   void      collapseToEnd();
    19   void      extend(Node node, optional unsigned long offset = 0);
    20   void      setBaseAndExtent(Node anchorNode,
    21                              unsigned long anchorOffset,
    22                              Node focusNode,
    23                              unsigned long focusOffset);
    24   void      selectAllChildren(Node node);
     14  readonly attribute DOMString type;
     15  Range getRangeAt(unsigned long index);
     16  void addRange(Range range);
     17  void removeRange(Range range);
     18  void removeAllRanges();
     19  void empty();
     20  void collapse(Node? node, optional unsigned long offset = 0);
     21  void setPosition(Node? node, optional unsigned long offset = 0);
     22  void collapseToStart();
     23  void collapseToEnd();
     24  void extend(Node node, optional unsigned long offset = 0);
     25  void setBaseAndExtent(Node anchorNode, unsigned long anchorOffset, Node focusNode, unsigned long focusOffset);
     26  void selectAllChildren(Node node);
    2527  [CEReactions]
    26   void      deleteFromDocument();
    27   boolean   containsNode(Node node,
    28                          optional boolean allowPartialContainment = false);
     28  void deleteFromDocument();
     29  boolean containsNode(Node node, optional boolean allowPartialContainment = false);
    2930  stringifier DOMString ();
    3031};
     
    3839};
    3940
    40 partial interface GlobalEventHandlers {
     41partial interface mixin GlobalEventHandlers {
    4142  attribute EventHandler onselectstart;
    4243  attribute EventHandler onselectionchange;
  • trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/storage.idl

    r229544 r249731  
     1// GENERATED CONTENT - DO NOT EDIT
     2// Content was automatically extracted by Reffy into reffy-reports
     3// (https://github.com/tidoust/reffy-reports)
     4// Source: Storage Standard (https://storage.spec.whatwg.org/)
     5
    16[SecureContext]
    27interface mixin NavigatorStorage {
    3   readonly attribute StorageManager storage;
     8  [SameObject] readonly attribute StorageManager storage;
    49};
    510Navigator includes NavigatorStorage;
  • trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/uievents.idl

    r229544 r249731  
    11// GENERATED CONTENT - DO NOT EDIT
    2 // Content of this file was automatically extracted from the UI Events spec.
    3 // See https://w3c.github.io/uievents/
     2// Content was automatically extracted by Reffy into reffy-reports
     3// (https://github.com/tidoust/reffy-reports)
     4// Source: UI Events (https://w3c.github.io/uievents/)
    45
    56[Constructor(DOMString type, optional UIEventInit eventInitDict), Exposed=Window]
     
    9697  readonly attribute DOMString? data;
    9798  readonly attribute boolean isComposing;
     99  readonly attribute DOMString inputType;
    98100};
    99101
     
    101103  DOMString? data = "";
    102104  boolean isComposing = false;
     105  DOMString inputType = "";
    103106};
    104107
  • trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/url.idl

    r229544 r249731  
     1// GENERATED CONTENT - DO NOT EDIT
     2// Content was automatically extracted by Reffy into reffy-reports
     3// (https://github.com/tidoust/reffy-reports)
     4// Source: URL Standard (https://url.spec.whatwg.org/)
     5
    16[Constructor(USVString url, optional USVString base),
    27 Exposed=(Window,Worker),
  • trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/wake-lock.idl

    r229544 r249731  
    1 enum WakeLockType {
    2     "screen",
    3     "system"
     1// GENERATED CONTENT - DO NOT EDIT
     2// Content was automatically extracted by Reffy into reffy-reports
     3// (https://github.com/tidoust/reffy-reports)
     4// Source: Wake Lock API (https://w3c.github.io/wake-lock/)
     5
     6dictionary WakeLockPermissionDescriptor : PermissionDescriptor {
     7  WakeLockType type;
    48};
    59
    6 partial interface Navigator {
    7     [SecureContext] Promise<WakeLock> getWakeLock(WakeLockType type);
     10enum WakeLockType { "screen", "system" };
     11
     12[SecureContext, Exposed=(DedicatedWorker, Window)]
     13interface WakeLock {
     14  [Exposed=Window] static Promise<PermissionState> requestPermission(WakeLockType type);
     15  static Promise<void> request(WakeLockType type, optional WakeLockRequestOptions options = {});
    816};
    917
    10 [SecureContext,
    11  Exposed=Window]
    12 interface WakeLock : EventTarget {
    13     readonly attribute WakeLockType type;
    14     readonly attribute boolean      active;
    15              attribute EventHandler onactivechange;
    16     WakeLockRequest createRequest();
     18dictionary WakeLockRequestOptions {
     19  AbortSignal signal;
    1720};
    18 
    19 [SecureContext,
    20  Exposed=Window]
    21 interface WakeLockRequest {
    22     void cancel();
    23 };
  • trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/web-nfc.idl

    r229544 r249731  
     1// GENERATED CONTENT - DO NOT EDIT
     2// Content was automatically extracted by Reffy into reffy-reports
     3// (https://github.com/tidoust/reffy-reports)
     4// Source: Web NFC API (https://w3c.github.io/web-nfc/)
    15
    2       dictionary NFCMessage {
    3         sequence<NFCRecord> records;
    4         USVString url;
    5       };
     6[Exposed=Window]
     7interface NDEFMessage {
     8  constructor(NDEFMessageInit messageInit);
     9  readonly attribute FrozenArray<NDEFRecord> records;
     10};
    611
    7       typedef (DOMString or unrestricted double or ArrayBuffer or Dictionary) NFCRecordData;
     12dictionary NDEFMessageInit {
     13  sequence<NDEFRecordInit> records;
     14};
    815
    9       dictionary NFCRecord {
    10         NFCRecordType recordType;
    11         USVString mediaType;
    12         NFCRecordData data;
    13       };
     16typedef any NDEFRecordData;
    1417
    15         enum NFCRecordType {
    16           "empty",
    17           "text",
    18           "url",
    19           "json",
    20           "opaque"
    21         };
     18[Exposed=Window]
     19interface NDEFRecord {
     20  constructor(NDEFRecordInit recordInit);
    2221
    23     partial interface Navigator {
    24       readonly attribute NFC nfc;
    25     };
     22  readonly attribute NDEFRecordType recordType;
     23  readonly attribute USVString mediaType;
     24  readonly attribute USVString id;
    2625
    27     typedef (DOMString or ArrayBuffer or NFCMessage) NFCPushMessage;
     26  USVString? toText();
     27  [NewObject] ArrayBuffer? toArrayBuffer();
     28  [NewObject] any toJSON();
     29  sequence<NDEFRecord> toRecords();
     30};
    2831
    29     interface NFC {
    30       Promise<void> push(NFCPushMessage message, optional NFCPushOptions options);
    31       Promise<void> cancelPush(optional NFCPushTarget target="any");
    32       Promise<long> watch(MessageCallback callback, optional NFCWatchOptions options);
    33       Promise<void> cancelWatch(optional long id);
    34     };
     32dictionary NDEFRecordInit {
     33  NDEFRecordType recordType;
     34  USVString mediaType;
     35  USVString id;
    3536
    36     callback MessageCallback = void (NFCMessage message);
     37  NDEFRecordData data;
     38};
    3739
    38       dictionary NFCPushOptions {
    39         NFCPushTarget target = "any";
    40         unrestricted double timeout = Infinity;
    41         boolean ignoreRead = true;
    42       };
     40typedef DOMString NDEFRecordType;
    4341
    44       enum NFCPushTarget {
    45         "tag",
    46         "peer",
    47         "any"
    48       };
     42typedef (DOMString or ArrayBuffer or NDEFMessageInit) NDEFMessageSource;
    4943
    50         dictionary NFCWatchOptions {
    51           USVString url = "";
    52           NFCRecordType? recordType;
    53           USVString mediaType = "";
    54           NFCWatchMode mode = "web-nfc-only";
    55         };
     44[SecureContext, Exposed=Window]
     45interface NFCWriter {
     46  constructor();
    5647
    57       enum NFCWatchMode {
    58         "web-nfc-only",
    59         "any"
    60       };
     48  Promise<void> push(NDEFMessageSource message, optional NFCPushOptions options={});
     49};
     50
     51[SecureContext, Exposed=Window]
     52interface NFCReader : EventTarget {
     53  constructor();
     54
     55  attribute EventHandler onreading;
     56  attribute EventHandler onerror;
     57
     58  void scan(optional NFCScanOptions options={});
     59};
     60
     61[SecureContext, Exposed=Window]
     62interface NFCReadingEvent : Event {
     63  constructor(DOMString type, NFCReadingEventInit readingEventInitDict);
     64
     65  readonly attribute DOMString serialNumber;
     66  [SameObject] readonly attribute NDEFMessage message;
     67};
     68
     69dictionary NFCReadingEventInit : EventInit {
     70  DOMString? serialNumber = "";
     71  required NDEFMessageInit message;
     72};
     73
     74[SecureContext, Exposed=Window]
     75interface NFCErrorEvent : Event {
     76  constructor(DOMString type, NFCErrorEventInit errorEventInitDict);
     77
     78  readonly attribute DOMException error;
     79};
     80
     81dictionary NFCErrorEventInit : EventInit {
     82  required DOMException error;
     83};
     84
     85dictionary NFCPushOptions {
     86  NFCPushTarget target = "any";
     87  unrestricted double timeout = Infinity;
     88  boolean ignoreRead = true;
     89  AbortSignal? signal;
     90};
     91
     92enum NFCPushTarget {
     93  "tag",
     94  "peer",
     95  "any"
     96};
     97
     98dictionary NFCScanOptions {
     99  USVString id = "";
     100  NDEFRecordType recordType;
     101  USVString mediaType = "";
     102  AbortSignal? signal;
     103};
  • trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/web-share.idl

    r220772 r249731  
    1 // https://wicg.github.io/web-share/
     1// GENERATED CONTENT - DO NOT EDIT
     2// Content was automatically extracted by Reffy into reffy-reports
     3// (https://github.com/tidoust/reffy-reports)
     4// Source: Web Share API - Level 1 (https://w3c.github.io/web-share/)
    25
    36partial interface Navigator {
    4   [SecureContext]
    5   Promise<void> share(optional ShareData data);
     7  [SecureContext] Promise<void> share(optional ShareData data = {});
    68};
    79
  • trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/webauthn.idl

    r229544 r249731  
     1// GENERATED CONTENT - DO NOT EDIT
     2// Content was automatically extracted by Reffy into reffy-reports
     3// (https://github.com/tidoust/reffy-reports)
     4// Source: Web Authentication: An API for accessing Public Key Credentials - Level 2 (https://w3c.github.io/webauthn/)
     5
    16[SecureContext, Exposed=Window]
    27interface PublicKeyCredential : Credential {
    38    [SameObject] readonly attribute ArrayBuffer              rawId;
    49    [SameObject] readonly attribute AuthenticatorResponse    response;
    5     AuthenticationExtensions getClientExtensionResults();
     10    AuthenticationExtensionsClientOutputs getClientExtensionResults();
    611};
    712
    813partial dictionary CredentialCreationOptions {
    9     MakePublicKeyCredentialOptions      publicKey;
     14    PublicKeyCredentialCreationOptions      publicKey;
    1015};
    1116
     
    1520
    1621partial interface PublicKeyCredential {
    17     static Promise < boolean > isUserVerifyingPlatformAuthenticatorAvailable();
     22    static Promise<boolean> isUserVerifyingPlatformAuthenticatorAvailable();
    1823};
    1924
     
    2631interface AuthenticatorAttestationResponse : AuthenticatorResponse {
    2732    [SameObject] readonly attribute ArrayBuffer      attestationObject;
     33    sequence<DOMString>                              getTransports();
    2834};
    2935
     
    3238    [SameObject] readonly attribute ArrayBuffer      authenticatorData;
    3339    [SameObject] readonly attribute ArrayBuffer      signature;
    34     [SameObject] readonly attribute ArrayBuffer      userHandle;
     40    [SameObject] readonly attribute ArrayBuffer?     userHandle;
    3541};
    3642
     
    4046};
    4147
    42 dictionary MakePublicKeyCredentialOptions {
     48dictionary PublicKeyCredentialCreationOptions {
    4349    required PublicKeyCredentialRpEntity         rp;
    4450    required PublicKeyCredentialUserEntity       user;
     
    5157    AuthenticatorSelectionCriteria               authenticatorSelection;
    5258    AttestationConveyancePreference              attestation = "none";
    53     AuthenticationExtensions                     extensions;
     59    AuthenticationExtensionsClientInputs         extensions;
    5460};
    5561
     
    7177    AuthenticatorAttachment      authenticatorAttachment;
    7278    boolean                      requireResidentKey = false;
     79    ResidentKeyRequirement       residentKey;
    7380    UserVerificationRequirement  userVerification = "preferred";
    7481};
    7582
    7683enum AuthenticatorAttachment {
    77     "platform",       // Platform attachment
    78     "cross-platform"  // Cross-platform attachment
     84    "platform",
     85    "cross-platform"
     86};
     87
     88enum ResidentKeyRequirement {
     89    "discouraged",
     90    "preferred",
     91    "required"
    7992};
    8093
     
    91104    sequence<PublicKeyCredentialDescriptor> allowCredentials = [];
    92105    UserVerificationRequirement          userVerification = "preferred";
    93     AuthenticationExtensions             extensions;
    94 };
    95 
    96 typedef record<DOMString, any>       AuthenticationExtensions;
     106    AuthenticationExtensionsClientInputs extensions;
     107};
     108
     109dictionary AuthenticationExtensionsClientInputs {
     110};
     111
     112dictionary AuthenticationExtensionsClientOutputs {
     113};
     114
     115typedef record<DOMString, DOMString> AuthenticationExtensionsAuthenticatorInputs;
    97116
    98117dictionary CollectedClientData {
     
    100119    required DOMString           challenge;
    101120    required DOMString           origin;
    102     required DOMString           hashAlgorithm;
    103     DOMString                    tokenBindingId;
    104     AuthenticationExtensions     clientExtensions;
    105     AuthenticationExtensions     authenticatorExtensions;
    106 };
     121    TokenBinding                 tokenBinding;
     122};
     123
     124dictionary TokenBinding {
     125    required TokenBindingStatus status;
     126    DOMString id;
     127};
     128
     129enum TokenBindingStatus { "present", "supported" };
    107130
    108131enum PublicKeyCredentialType {
     
    113136    required PublicKeyCredentialType      type;
    114137    required BufferSource                 id;
    115     sequence<AuthenticatorTransport>      transports;
     138    sequence<DOMString>                   transports;
    116139};
    117140
     
    119142    "usb",
    120143    "nfc",
    121     "ble"
     144    "ble",
     145    "internal",
     146    "lightning"
    122147};
    123148
     
    130155};
    131156
    132 typedef sequence<AAGUID>      AuthenticatorSelectionList;
     157partial dictionary AuthenticationExtensionsClientInputs {
     158  USVString appid;
     159};
     160
     161partial dictionary AuthenticationExtensionsClientOutputs {
     162  boolean appid;
     163};
     164
     165partial dictionary AuthenticationExtensionsClientInputs {
     166  USVString appidExclude;
     167};
     168
     169partial dictionary AuthenticationExtensionsClientInputs {
     170  USVString txAuthSimple;
     171};
     172
     173partial dictionary AuthenticationExtensionsClientOutputs {
     174  USVString txAuthSimple;
     175};
     176
     177dictionary txAuthGenericArg {
     178    required USVString contentType;    // MIME-Type of the content, e.g., "image/png"
     179    required ArrayBuffer content;
     180};
     181
     182partial dictionary AuthenticationExtensionsClientInputs {
     183  txAuthGenericArg txAuthGeneric;
     184};
     185
     186partial dictionary AuthenticationExtensionsClientOutputs {
     187  ArrayBuffer txAuthGeneric;
     188};
     189
     190typedef sequence<AAGUID> AuthenticatorSelectionList;
     191
     192partial dictionary AuthenticationExtensionsClientInputs {
     193  AuthenticatorSelectionList authnSel;
     194};
    133195
    134196typedef BufferSource      AAGUID;
     197
     198partial dictionary AuthenticationExtensionsClientOutputs {
     199  boolean authnSel;
     200};
     201
     202partial dictionary AuthenticationExtensionsClientInputs {
     203  boolean exts;
     204};
     205
     206typedef sequence<USVString> AuthenticationExtensionsSupported;
     207
     208partial dictionary AuthenticationExtensionsClientOutputs {
     209  AuthenticationExtensionsSupported exts;
     210};
     211
     212partial dictionary AuthenticationExtensionsClientInputs {
     213  boolean uvi;
     214};
     215
     216partial dictionary AuthenticationExtensionsClientOutputs {
     217  ArrayBuffer uvi;
     218};
     219
     220partial dictionary AuthenticationExtensionsClientInputs {
     221  boolean loc;
     222};
     223
     224partial dictionary AuthenticationExtensionsClientOutputs {
     225  Coordinates loc;
     226};
     227
     228partial dictionary AuthenticationExtensionsClientInputs {
     229  boolean uvm;
     230};
     231
     232typedef sequence<unsigned long> UvmEntry;
     233typedef sequence<UvmEntry> UvmEntries;
     234
     235partial dictionary AuthenticationExtensionsClientOutputs {
     236  UvmEntries uvm;
     237};
     238
     239dictionary authenticatorBiometricPerfBounds{
     240    float FAR;
     241    float FRR;
     242    };
     243
     244partial dictionary AuthenticationExtensionsClientInputs {
     245    boolean credProps;
     246};
     247
     248dictionary CredentialPropertiesOutput {
     249    boolean rk;
     250};
     251
     252partial dictionary AuthenticationExtensionsClientOutputs {
     253    CredentialPropertiesOutput credProps;
     254};
  • trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/webidl.idl

    r229544 r249731  
     1// GENERATED CONTENT - DO NOT EDIT
     2// Content was automatically extracted by Reffy into reffy-reports
     3// (https://github.com/tidoust/reffy-reports)
     4// Source: Web IDL (https://heycam.github.io/webidl/)
     5
    16typedef (Int8Array or Int16Array or Int32Array or
    27         Uint8Array or Uint16Array or Uint32Array or Uint8ClampedArray or
     
    49
    510typedef (ArrayBufferView or ArrayBuffer) BufferSource;
    6 
    7 [
    8  Exposed=(Window,Worker),
    9  Constructor(optional DOMString message = "", optional DOMString name = "Error")
    10 ]
     11[Exposed=(Window,Worker),
     12 Constructor(optional DOMString message = "", optional DOMString name = "Error"),
     13 Serializable]
    1114interface DOMException { // but see below note about ECMAScript binding
    1215  readonly attribute DOMString name;
     
    4245
    4346typedef unsigned long long DOMTimeStamp;
    44 
    4547callback Function = any (any... arguments);
    46 
    4748callback VoidFunction = void ();
  • trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/webusb.idl

    r220772 r249731  
    1 // Copied from https://wicg.github.io/webusb/#idl-index minus the
    2 // definitions related to Permissions API integration which is unstable.
     1// GENERATED CONTENT - DO NOT EDIT
     2// Content was automatically extracted by Reffy into reffy-reports
     3// (https://github.com/tidoust/reffy-reports)
     4// Source: WebUSB API (https://wicg.github.io/webusb/)
    35
    46dictionary USBDeviceFilter {
     
    1517};
    1618
     19[Exposed=(DedicatedWorker,SharedWorker,Window), SecureContext]
    1720interface USB : EventTarget {
    1821  attribute EventHandler onconnect;
    1922  attribute EventHandler ondisconnect;
    2023  Promise<sequence<USBDevice>> getDevices();
    21   Promise<USBDevice> requestDevice(USBDeviceRequestOptions options);
    22 };
    23 
    24 [SecureContext]
     24  [Exposed=Window] Promise<USBDevice> requestDevice(USBDeviceRequestOptions options);
     25};
     26
     27[Exposed=Window, SecureContext]
    2528partial interface Navigator {
    2629  [SameObject] readonly attribute USB usb;
    2730};
    2831
     32[Exposed=(DedicatedWorker,SharedWorker), SecureContext]
     33partial interface WorkerNavigator {
     34  [SameObject] readonly attribute USB usb;
     35};
     36
    2937dictionary USBConnectionEventInit : EventInit {
    3038    required USBDevice device;
    3139};
    3240
    33 [Constructor(DOMString type, USBConnectionEventInit eventInitDict)]
     41[
     42  Constructor(DOMString type, USBConnectionEventInit eventInitDict),
     43  Exposed=(DedicatedWorker,SharedWorker,Window),
     44  SecureContext
     45]
    3446interface USBConnectionEvent : Event {
    3547  [SameObject] readonly attribute USBDevice device;
    3648};
    3749
     50[Exposed=(DedicatedWorker,SharedWorker,Window), SecureContext]
    3851interface USBDevice {
    3952  readonly attribute octet usbVersionMajor;
     
    97110};
    98111
    99 [Constructor(USBTransferStatus status, optional DataView? data)]
     112[
     113  Constructor(USBTransferStatus status, optional DataView? data),
     114  Exposed=(DedicatedWorker,SharedWorker,Window),
     115  SecureContext
     116]
    100117interface USBInTransferResult {
    101118  readonly attribute DataView? data;
     
    103120};
    104121
    105 [Constructor(USBTransferStatus status, optional unsigned long bytesWritten = 0)]
     122[
     123  Constructor(USBTransferStatus status, optional unsigned long bytesWritten = 0),
     124  Exposed=(DedicatedWorker,SharedWorker,Window),
     125  SecureContext
     126]
    106127interface USBOutTransferResult {
    107128  readonly attribute unsigned long bytesWritten;
     
    109130};
    110131
    111 [Constructor(USBTransferStatus status, optional DataView? data)]
     132[
     133  Constructor(USBTransferStatus status, optional DataView? data),
     134  Exposed=(DedicatedWorker,SharedWorker,Window),
     135  SecureContext
     136]
    112137interface USBIsochronousInTransferPacket {
    113138  readonly attribute DataView? data;
     
    115140};
    116141
    117 [Constructor(sequence<USBIsochronousInTransferPacket> packets, optional DataView? data)]
     142[
     143  Constructor(sequence<USBIsochronousInTransferPacket> packets, optional DataView? data),
     144  Exposed=(DedicatedWorker,SharedWorker,Window),
     145  SecureContext
     146]
    118147interface USBIsochronousInTransferResult {
    119148  readonly attribute DataView? data;
     
    121150};
    122151
    123 [Constructor(USBTransferStatus status, optional unsigned long bytesWritten = 0)]
     152[
     153  Constructor(USBTransferStatus status, optional unsigned long bytesWritten = 0),
     154  Exposed=(DedicatedWorker,SharedWorker,Window),
     155  SecureContext
     156]
    124157interface USBIsochronousOutTransferPacket {
    125158  readonly attribute unsigned long bytesWritten;
     
    127160};
    128161
    129 [Constructor(sequence<USBIsochronousOutTransferPacket> packets)]
     162[
     163  Constructor(sequence<USBIsochronousOutTransferPacket> packets),
     164  Exposed=(DedicatedWorker,SharedWorker,Window),
     165  SecureContext
     166]
    130167interface USBIsochronousOutTransferResult {
    131168  readonly attribute FrozenArray<USBIsochronousOutTransferPacket> packets;
    132169};
    133170
    134 [Constructor(USBDevice device, octet configurationValue)]
     171[
     172  Constructor(USBDevice device, octet configurationValue),
     173  Exposed=(DedicatedWorker,SharedWorker,Window),
     174  SecureContext
     175]
    135176interface USBConfiguration {
    136177  readonly attribute octet configurationValue;
     
    139180};
    140181
    141 [Constructor(USBConfiguration configuration, octet interfaceNumber)]
     182[
     183  Constructor(USBConfiguration configuration, octet interfaceNumber),
     184  Exposed=(DedicatedWorker,SharedWorker,Window),
     185  SecureContext
     186]
    142187interface USBInterface {
    143188  readonly attribute octet interfaceNumber;
     
    147192};
    148193
    149 [Constructor(USBInterface deviceInterface, octet alternateSetting)]
     194[
     195  Constructor(USBInterface deviceInterface, octet alternateSetting),
     196  Exposed=(DedicatedWorker,SharedWorker,Window),
     197  SecureContext
     198]
    150199interface USBAlternateInterface {
    151200  readonly attribute octet alternateSetting;
     
    168217};
    169218
    170 [Constructor(USBAlternateInterface alternate, octet endpointNumber, USBDirection direction)]
     219[
     220  Constructor(USBAlternateInterface alternate, octet endpointNumber, USBDirection direction),
     221  Exposed=(DedicatedWorker,SharedWorker,Window),
     222  SecureContext
     223]
    171224interface USBEndpoint {
    172225  readonly attribute octet endpointNumber;
     
    175228  readonly attribute unsigned long packetSize;
    176229};
     230
     231dictionary USBPermissionDescriptor : PermissionDescriptor {
     232  sequence<USBDeviceFilter> filters;
     233};
     234
     235dictionary AllowedUSBDevice {
     236  required octet vendorId;
     237  required octet productId;
     238  DOMString serialNumber;
     239};
     240
     241dictionary USBPermissionStorage {
     242  sequence<AllowedUSBDevice> allowedDevices = [];
     243};
     244
     245interface USBPermissionResult : PermissionStatus {
     246  attribute FrozenArray<USBDevice> devices;
     247};
  • trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/webxr.idl

    r229544 r249731  
     1// GENERATED CONTENT - DO NOT EDIT
     2// Content was automatically extracted by Reffy into reffy-reports
     3// (https://github.com/tidoust/reffy-reports)
     4// Source: WebXR Device API (https://immersive-web.github.io/webxr/)
     5
     6partial interface Navigator {
     7  [SecureContext, SameObject] readonly attribute XR xr;
     8};
     9
    110[SecureContext, Exposed=Window] interface XR : EventTarget {
    211  // Methods
    3   Promise<XRDevice?> requestDevice();
     12  Promise<void> supportsSession(XRSessionMode mode);
     13  Promise<XRSession> requestSession(XRSessionMode mode, optional XRSessionInit options = {});
    414
    515  // Events
     
    717};
    818
    9 [SecureContext]
    10 partial interface Navigator {
    11   [SameObject] readonly attribute XR xr;
    12 };
    13 
    14 [SecureContext, Exposed=Window] interface XRDevice : EventTarget {
    15   // Methods
    16   Promise<void> supportsSession(optional XRSessionCreationOptions options);
    17   Promise<XRSession> requestSession(optional XRSessionCreationOptions options);
    18 };
    19 
    20 dictionary XRSessionCreationOptions {
    21   boolean exclusive = false;
    22   XRPresentationContext outputContext;
     19enum XRSessionMode {
     20  "inline",
     21  "immersive-vr"
     22};
     23
     24dictionary XRSessionInit {
     25  sequence<any> requiredFeatures;
     26  sequence<any> optionalFeatures;
     27};
     28
     29enum XRVisibilityState {
     30  "visible",
     31  "visible-blurred",
     32  "hidden",
    2333};
    2434
    2535[SecureContext, Exposed=Window] interface XRSession : EventTarget {
    2636  // Attributes
    27   readonly attribute XRDevice device;
    28   readonly attribute boolean exclusive;
    29   readonly attribute XRPresentationContext outputContext;
    30 
    31   attribute double depthNear;
    32   attribute double depthFar;
    33   attribute XRLayer baseLayer;
     37  readonly attribute XRVisibilityState visibilityState;
     38  [SameObject] readonly attribute XRRenderState renderState;
     39  [SameObject] readonly attribute XRInputSourceArray inputSources;
    3440
    3541  // Methods
    36   Promise<XRFrameOfReference> requestFrameOfReference(XRFrameOfReferenceType type, optional XRFrameOfReferenceOptions options);
     42  void updateRenderState(optional XRRenderStateInit state = {});
     43  Promise<XRReferenceSpace> requestReferenceSpace(XRReferenceSpaceType type);
    3744
    3845  long requestAnimationFrame(XRFrameRequestCallback callback);
     
    4249
    4350  // Events
    44   attribute EventHandler onblur;
    45   attribute EventHandler onfocus;
    46   attribute EventHandler onresetpose;
    4751  attribute EventHandler onend;
    48 };
    49 
    50 callback XRFrameRequestCallback = void (DOMHighResTimeStamp time, XRPresentationFrame frame);
    51 
    52 [SecureContext, Exposed=Window] interface XRPresentationFrame {
    53   readonly attribute FrozenArray<XRView> views;
    54 
    55   XRDevicePose? getDevicePose(XRCoordinateSystem coordinateSystem);
    56 };
    57 
    58 [SecureContext, Exposed=Window] interface XRCoordinateSystem : EventTarget {
    59   Float32Array? getTransformTo(XRCoordinateSystem other);
    60 };
    61 
    62 enum XRFrameOfReferenceType {
    63   "headModel",
    64   "eyeLevel",
    65   "stage",
    66 };
    67 
    68 dictionary XRFrameOfReferenceOptions {
    69   boolean disableStageEmulation = false;
    70   double stageEmulationHeight = 0.0;
    71 };
    72 
    73 [SecureContext, Exposed=Window] interface XRFrameOfReference : XRCoordinateSystem {
    74   readonly attribute XRStageBounds? bounds;
    75   readonly attribute double emulatedHeight;
    76 
    77   attribute EventHandler onboundschange;
    78 };
    79 
    80 [SecureContext, Exposed=Window] interface XRStageBounds {
    81   readonly attribute FrozenArray<XRStageBoundsPoint> geometry;
    82 };
    83 
    84 [SecureContext, Exposed=Window] interface XRStageBoundsPoint {
    85   readonly attribute double x;
    86   readonly attribute double z;
     52  attribute EventHandler onselect;
     53  attribute EventHandler oninputsourceschange;
     54  attribute EventHandler onselectstart;
     55  attribute EventHandler onselectend;
     56  attribute EventHandler onvisibilitychange;
     57};
     58
     59dictionary XRRenderStateInit {
     60  double depthNear;
     61  double depthFar;
     62  double inlineVerticalFieldOfView;
     63  XRWebGLLayer? baseLayer;
     64};
     65
     66[SecureContext, Exposed=Window] interface XRRenderState {
     67  readonly attribute double depthNear;
     68  readonly attribute double depthFar;
     69  readonly attribute double? inlineVerticalFieldOfView;
     70  readonly attribute XRWebGLLayer? baseLayer;
     71};
     72
     73callback XRFrameRequestCallback = void (DOMHighResTimeStamp time, XRFrame frame);
     74
     75[SecureContext, Exposed=Window] interface XRFrame {
     76  [SameObject] readonly attribute XRSession session;
     77
     78  XRViewerPose? getViewerPose(XRReferenceSpace referenceSpace);
     79  XRPose? getPose(XRSpace space, XRSpace baseSpace);
     80};
     81
     82[SecureContext, Exposed=Window] interface XRSpace : EventTarget {
     83
     84};
     85
     86enum XRReferenceSpaceType {
     87  "viewer",
     88  "local",
     89  "local-floor",
     90  "bounded-floor",
     91  "unbounded"
     92};
     93
     94[SecureContext, Exposed=Window]
     95interface XRReferenceSpace : XRSpace {
     96  XRReferenceSpace getOffsetReferenceSpace(XRRigidTransform originOffset);
     97
     98  attribute EventHandler onreset;
     99};
     100
     101[SecureContext, Exposed=Window]
     102interface XRBoundedReferenceSpace : XRReferenceSpace {
     103  readonly attribute FrozenArray<DOMPointReadOnly> boundsGeometry;
    87104};
    88105
    89106enum XREye {
     107  "none",
    90108  "left",
    91109  "right"
     
    95113  readonly attribute XREye eye;
    96114  readonly attribute Float32Array projectionMatrix;
     115  [SameObject] readonly attribute XRRigidTransform transform;
    97116};
    98117
     
    104123};
    105124
    106 [SecureContext, Exposed=Window] interface XRDevicePose {
    107   readonly attribute Float32Array poseModelMatrix;
    108 
    109   Float32Array getViewMatrix(XRView view);
    110 };
    111 
    112 [SecureContext, Exposed=Window] interface XRLayer {};
     125[SecureContext, Exposed=Window,
     126 Constructor(optional DOMPointInit position = {}, optional DOMPointInit orientation = {})]
     127interface XRRigidTransform {
     128  [SameObject] readonly attribute DOMPointReadOnly position;
     129  [SameObject] readonly attribute DOMPointReadOnly orientation;
     130  readonly attribute Float32Array matrix;
     131  [SameObject] readonly attribute XRRigidTransform inverse;
     132};
     133
     134[SecureContext, Exposed=Window] interface XRPose {
     135  [SameObject] readonly attribute XRRigidTransform transform;
     136  readonly attribute boolean emulatedPosition;
     137};
     138
     139[SecureContext, Exposed=Window] interface XRViewerPose : XRPose {
     140  [SameObject] readonly attribute FrozenArray<XRView> views;
     141};
     142
     143enum XRHandedness {
     144  "none",
     145  "left",
     146  "right"
     147};
     148
     149enum XRTargetRayMode {
     150  "gaze",
     151  "tracked-pointer",
     152  "screen"
     153};
     154
     155[SecureContext, Exposed=Window]
     156interface XRInputSource {
     157  readonly attribute XRHandedness handedness;
     158  readonly attribute XRTargetRayMode targetRayMode;
     159  [SameObject] readonly attribute XRSpace targetRaySpace;
     160  [SameObject] readonly attribute XRSpace? gripSpace;
     161  [SameObject] readonly attribute FrozenArray<DOMString> profiles;
     162};
     163
     164[SecureContext, Exposed=Window]
     165interface XRInputSourceArray {
     166  iterable<XRInputSource>;
     167  readonly attribute unsigned long length;
     168  getter XRInputSource(unsigned long index);
     169};
    113170
    114171typedef (WebGLRenderingContext or
     
    117174dictionary XRWebGLLayerInit {
    118175  boolean antialias = true;
    119   boolean depth = false;
     176  boolean depth = true;
    120177  boolean stencil = false;
    121178  boolean alpha = true;
    122   boolean multiview = false;
    123   double framebufferScaleFactor;
     179  boolean ignoreDepthValues = false;
     180  double framebufferScaleFactor = 1.0;
    124181};
    125182
    126183[SecureContext, Exposed=Window, Constructor(XRSession session,
    127184             XRWebGLRenderingContext context,
    128              optional XRWebGLLayerInit layerInit)]
    129 interface XRWebGLLayer : XRLayer {
     185             optional XRWebGLLayerInit layerInit = {})]
     186interface XRWebGLLayer {
    130187  // Attributes
    131   readonly attribute XRWebGLRenderingContext context;
    132 
    133188  readonly attribute boolean antialias;
    134   readonly attribute boolean depth;
    135   readonly attribute boolean stencil;
    136   readonly attribute boolean alpha;
    137   readonly attribute boolean multiview;
    138 
    139   readonly attribute WebGLFramebuffer framebuffer;
     189  readonly attribute boolean ignoreDepthValues;
     190
     191  [SameObject] readonly attribute WebGLFramebuffer framebuffer;
    140192  readonly attribute unsigned long framebufferWidth;
    141193  readonly attribute unsigned long framebufferHeight;
     
    143195  // Methods
    144196  XRViewport? getViewport(XRView view);
    145   void requestViewportScaling(double viewportScaleFactor);
     197
     198  // Static Methods
     199  static double getNativeFramebufferScaleFactor(XRSession session);
    146200};
    147201
    148202partial dictionary WebGLContextAttributes {
    149     XRDevice compatibleXRDevice = null;
     203    boolean xrCompatible = null;
    150204};
    151205
    152206partial interface mixin WebGLRenderingContextBase {
    153     Promise<void> setCompatibleXRDevice(XRDevice device);
    154 };
    155 
    156 [SecureContext, Exposed=Window] interface XRPresentationContext {
    157   readonly attribute HTMLCanvasElement canvas;
     207    Promise<void> makeXRCompatible();
    158208};
    159209
    160210[SecureContext, Exposed=Window, Constructor(DOMString type, XRSessionEventInit eventInitDict)]
    161211interface XRSessionEvent : Event {
    162   readonly attribute XRSession session;
     212  [SameObject] readonly attribute XRSession session;
    163213};
    164214
     
    167217};
    168218
    169 [SecureContext, Exposed=Window, Constructor(DOMString type, XRCoordinateSystemEventInit eventInitDict)]
    170 interface XRCoordinateSystemEvent : Event {
    171   readonly attribute XRCoordinateSystem coordinateSystem;
    172 };
    173 
    174 dictionary XRCoordinateSystemEventInit : EventInit {
    175   required XRCoordinateSystem coordinateSystem;
    176 };
     219[SecureContext, Exposed=Window, Constructor(DOMString type, XRInputSourceEventInit eventInitDict)]
     220interface XRInputSourceEvent : Event {
     221  [SameObject] readonly attribute XRFrame frame;
     222  [SameObject] readonly attribute XRInputSource inputSource;
     223};
     224
     225dictionary XRInputSourceEventInit : EventInit {
     226  required XRFrame frame;
     227  required XRInputSource inputSource;
     228};
     229
     230[SecureContext, Exposed=Window, Constructor(DOMString type, XRInputSourcesChangeEventInit eventInitDict)]
     231interface XRInputSourcesChangeEvent : Event {
     232  [SameObject] readonly attribute XRSession session;
     233  [SameObject] readonly attribute FrozenArray<XRInputSource> added;
     234  [SameObject] readonly attribute FrozenArray<XRInputSource> removed;
     235};
     236
     237dictionary XRInputSourcesChangeEventInit : EventInit {
     238  required XRSession session;
     239  required FrozenArray<XRInputSource> added;
     240  required FrozenArray<XRInputSource> removed;
     241
     242};
     243
     244[SecureContext, Exposed=Window, Constructor(DOMString type, XRReferenceSpaceEventInit eventInitDict)]
     245interface XRReferenceSpaceEvent : Event {
     246  [SameObject] readonly attribute XRReferenceSpace referenceSpace;
     247  [SameObject] readonly attribute XRRigidTransform? transform;
     248};
     249
     250dictionary XRReferenceSpaceEventInit : EventInit {
     251  required XRReferenceSpace referenceSpace;
     252  XRRigidTransform transform;
     253};
  • trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/xhr.idl

    r229544 r249731  
     1// GENERATED CONTENT - DO NOT EDIT
     2// Content was automatically extracted by Reffy into reffy-reports
     3// (https://github.com/tidoust/reffy-reports)
     4// Source: XMLHttpRequest Standard (https://xhr.spec.whatwg.org/)
     5
    16[Exposed=(Window,DedicatedWorker,SharedWorker)]
    27interface XMLHttpRequestEventTarget : EventTarget {
     
    6065  [Exposed=Window] readonly attribute Document? responseXML;
    6166};
    62 
    6367typedef (File or USVString) FormDataEntryValue;
    6468
     
    7680  iterable<USVString, FormDataEntryValue>;
    7781};
    78 
    7982[Constructor(DOMString type, optional ProgressEventInit eventInitDict),
    8083 Exposed=(Window,DedicatedWorker,SharedWorker)]
  • trunk/LayoutTests/imported/w3c/web-platform-tests/mediacapture-record/idlharness.window-expected.txt

    r249672 r249731  
    11
    2 FAIL idl_test setup promise_test: Unhandled rejection with value: object "Error fetching /interfaces/mediastream-recording.idl."
     2PASS idl_test setup
     3PASS MediaRecorder interface: existence and properties of interface object
     4PASS MediaRecorder interface object length
     5PASS MediaRecorder interface object name
     6PASS MediaRecorder interface: existence and properties of interface prototype object
     7PASS MediaRecorder interface: existence and properties of interface prototype object's "constructor" property
     8PASS MediaRecorder interface: existence and properties of interface prototype object's @@unscopables property
     9FAIL MediaRecorder interface: attribute stream assert_true: The prototype object must have a property "stream" expected true got false
     10FAIL MediaRecorder interface: attribute mimeType assert_true: The prototype object must have a property "mimeType" expected true got false
     11PASS MediaRecorder interface: attribute state
     12FAIL MediaRecorder interface: attribute onstart assert_true: The prototype object must have a property "onstart" expected true got false
     13PASS MediaRecorder interface: attribute onstop
     14PASS MediaRecorder interface: attribute ondataavailable
     15FAIL MediaRecorder interface: attribute onpause assert_true: The prototype object must have a property "onpause" expected true got false
     16FAIL MediaRecorder interface: attribute onresume assert_true: The prototype object must have a property "onresume" expected true got false
     17PASS MediaRecorder interface: attribute onerror
     18FAIL MediaRecorder interface: attribute videoBitsPerSecond assert_true: The prototype object must have a property "videoBitsPerSecond" expected true got false
     19FAIL MediaRecorder interface: attribute audioBitsPerSecond assert_true: The prototype object must have a property "audioBitsPerSecond" expected true got false
     20PASS MediaRecorder interface: operation start(unsigned long)
     21PASS MediaRecorder interface: operation stop()
     22FAIL MediaRecorder interface: operation pause() assert_own_property: interface prototype object missing non-static operation expected property "pause" missing
     23FAIL MediaRecorder interface: operation resume() assert_own_property: interface prototype object missing non-static operation expected property "resume" missing
     24FAIL MediaRecorder interface: operation requestData() assert_own_property: interface prototype object missing non-static operation expected property "requestData" missing
     25FAIL MediaRecorder interface: operation isTypeSupported(DOMString) assert_own_property: interface object missing static operation expected property "isTypeSupported" missing
     26PASS MediaRecorder must be primary interface of [object MediaRecorder]
     27PASS Stringification of [object MediaRecorder]
     28FAIL MediaRecorder interface: [object MediaRecorder] must inherit property "stream" with the proper type assert_inherits: property "stream" not found in prototype chain
     29FAIL MediaRecorder interface: [object MediaRecorder] must inherit property "mimeType" with the proper type assert_inherits: property "mimeType" not found in prototype chain
     30PASS MediaRecorder interface: [object MediaRecorder] must inherit property "state" with the proper type
     31FAIL MediaRecorder interface: [object MediaRecorder] must inherit property "onstart" with the proper type assert_inherits: property "onstart" not found in prototype chain
     32PASS MediaRecorder interface: [object MediaRecorder] must inherit property "onstop" with the proper type
     33PASS MediaRecorder interface: [object MediaRecorder] must inherit property "ondataavailable" with the proper type
     34FAIL MediaRecorder interface: [object MediaRecorder] must inherit property "onpause" with the proper type assert_inherits: property "onpause" not found in prototype chain
     35FAIL MediaRecorder interface: [object MediaRecorder] must inherit property "onresume" with the proper type assert_inherits: property "onresume" not found in prototype chain
     36PASS MediaRecorder interface: [object MediaRecorder] must inherit property "onerror" with the proper type
     37FAIL MediaRecorder interface: [object MediaRecorder] must inherit property "videoBitsPerSecond" with the proper type assert_inherits: property "videoBitsPerSecond" not found in prototype chain
     38FAIL MediaRecorder interface: [object MediaRecorder] must inherit property "audioBitsPerSecond" with the proper type assert_inherits: property "audioBitsPerSecond" not found in prototype chain
     39PASS MediaRecorder interface: [object MediaRecorder] must inherit property "start(unsigned long)" with the proper type
     40PASS MediaRecorder interface: calling start(unsigned long) on [object MediaRecorder] with too few arguments must throw TypeError
     41PASS MediaRecorder interface: [object MediaRecorder] must inherit property "stop()" with the proper type
     42FAIL MediaRecorder interface: [object MediaRecorder] must inherit property "pause()" with the proper type assert_inherits: property "pause" not found in prototype chain
     43FAIL MediaRecorder interface: [object MediaRecorder] must inherit property "resume()" with the proper type assert_inherits: property "resume" not found in prototype chain
     44FAIL MediaRecorder interface: [object MediaRecorder] must inherit property "requestData()" with the proper type assert_inherits: property "requestData" not found in prototype chain
     45PASS MediaRecorder interface: [object MediaRecorder] must inherit property "isTypeSupported(DOMString)" with the proper type
     46FAIL MediaRecorder interface: calling isTypeSupported(DOMString) on [object MediaRecorder] with too few arguments must throw TypeError assert_own_property: interface object must have static operation as own property expected property "isTypeSupported" missing
     47PASS BlobEvent interface: existence and properties of interface object
     48PASS BlobEvent interface object length
     49PASS BlobEvent interface object name
     50PASS BlobEvent interface: existence and properties of interface prototype object
     51PASS BlobEvent interface: existence and properties of interface prototype object's "constructor" property
     52PASS BlobEvent interface: existence and properties of interface prototype object's @@unscopables property
     53PASS BlobEvent interface: attribute data
     54FAIL BlobEvent interface: attribute timecode assert_true: The prototype object must have a property "timecode" expected true got false
     55PASS BlobEvent must be primary interface of [object BlobEvent]
     56PASS Stringification of [object BlobEvent]
     57PASS BlobEvent interface: [object BlobEvent] must inherit property "data" with the proper type
     58FAIL BlobEvent interface: [object BlobEvent] must inherit property "timecode" with the proper type assert_inherits: property "timecode" not found in prototype chain
     59PASS MediaRecorderErrorEvent interface: existence and properties of interface object
     60PASS MediaRecorderErrorEvent interface object length
     61PASS MediaRecorderErrorEvent interface object name
     62PASS MediaRecorderErrorEvent interface: existence and properties of interface prototype object
     63PASS MediaRecorderErrorEvent interface: existence and properties of interface prototype object's "constructor" property
     64PASS MediaRecorderErrorEvent interface: existence and properties of interface prototype object's @@unscopables property
     65PASS MediaRecorderErrorEvent interface: attribute error
     66FAIL MediaRecorderErrorEvent must be primary interface of undefined assert_equals: wrong typeof object expected "object" but got "undefined"
     67FAIL Stringification of undefined assert_equals: wrong typeof object expected "object" but got "undefined"
     68FAIL MediaRecorderErrorEvent interface: undefined must inherit property "error" with the proper type assert_equals: wrong typeof object expected "object" but got "undefined"
    369
  • trunk/LayoutTests/imported/w3c/web-platform-tests/mst-content-hint/idlharness.window-expected.txt

    r249672 r249731  
    11
    2 FAIL idl_test setup promise_test: Unhandled rejection with value: object "Error fetching /interfaces/mst-content-hint.idl."
     2PASS idl_test setup
     3PASS Partial interface MediaStreamTrack: original interface defined
     4PASS MediaStreamTrack interface: attribute contentHint
     5PASS MediaStreamTrack interface: audioTrack must inherit property "contentHint" with the proper type
     6PASS MediaStreamTrack interface: videoTrack must inherit property "contentHint" with the proper type
    37
  • trunk/LayoutTests/imported/w3c/web-platform-tests/payment-request/idlharness.https.window-expected.txt

    r235889 r249731  
    77PASS PaymentRequest interface: existence and properties of interface prototype object's "constructor" property
    88PASS PaymentRequest interface: existence and properties of interface prototype object's @@unscopables property
    9 PASS PaymentRequest interface: operation show()
     9PASS PaymentRequest interface: operation show([object Object])
    1010PASS PaymentRequest interface: operation abort()
    1111PASS PaymentRequest interface: operation canMakePayment()
     12FAIL PaymentRequest interface: operation hasEnrolledInstrument() assert_own_property: interface prototype object missing non-static operation expected property "hasEnrolledInstrument" missing
    1213PASS PaymentRequest interface: attribute id
    1314PASS PaymentRequest interface: attribute shippingAddress
    1415PASS PaymentRequest interface: attribute shippingOption
    1516PASS PaymentRequest interface: attribute shippingType
     17PASS PaymentRequest interface: attribute onmerchantvalidation
    1618PASS PaymentRequest interface: attribute onshippingaddresschange
    1719PASS PaymentRequest interface: attribute onshippingoptionchange
     20PASS PaymentRequest interface: attribute onpaymentmethodchange
    1821PASS PaymentRequest must be primary interface of paymentRequest
    1922PASS Stringification of paymentRequest
    20 PASS PaymentRequest interface: paymentRequest must inherit property "show()" with the proper type
     23PASS PaymentRequest interface: paymentRequest must inherit property "show([object Object])" with the proper type
     24PASS PaymentRequest interface: calling show([object Object]) on paymentRequest with too few arguments must throw TypeError
    2125PASS PaymentRequest interface: paymentRequest must inherit property "abort()" with the proper type
    2226PASS PaymentRequest interface: paymentRequest must inherit property "canMakePayment()" with the proper type
     27FAIL PaymentRequest interface: paymentRequest must inherit property "hasEnrolledInstrument()" with the proper type assert_inherits: property "hasEnrolledInstrument" not found in prototype chain
    2328PASS PaymentRequest interface: paymentRequest must inherit property "id" with the proper type
    2429PASS PaymentRequest interface: paymentRequest must inherit property "shippingAddress" with the proper type
    2530PASS PaymentRequest interface: paymentRequest must inherit property "shippingOption" with the proper type
    2631PASS PaymentRequest interface: paymentRequest must inherit property "shippingType" with the proper type
     32PASS PaymentRequest interface: paymentRequest must inherit property "onmerchantvalidation" with the proper type
    2733PASS PaymentRequest interface: paymentRequest must inherit property "onshippingaddresschange" with the proper type
    2834PASS PaymentRequest interface: paymentRequest must inherit property "onshippingoptionchange" with the proper type
     35PASS PaymentRequest interface: paymentRequest must inherit property "onpaymentmethodchange" with the proper type
    2936PASS PaymentAddress interface: existence and properties of interface object
    3037PASS PaymentAddress interface object length
     
    3441PASS PaymentAddress interface: existence and properties of interface prototype object's @@unscopables property
    3542PASS PaymentAddress interface: operation toJSON()
     43PASS PaymentAddress interface: attribute city
    3644PASS PaymentAddress interface: attribute country
     45PASS PaymentAddress interface: attribute dependentLocality
     46PASS PaymentAddress interface: attribute organization
     47PASS PaymentAddress interface: attribute phone
     48PASS PaymentAddress interface: attribute postalCode
     49PASS PaymentAddress interface: attribute recipient
     50PASS PaymentAddress interface: attribute region
     51PASS PaymentAddress interface: attribute sortingCode
    3752PASS PaymentAddress interface: attribute addressLine
    38 PASS PaymentAddress interface: attribute region
    39 FAIL PaymentAddress interface: attribute regionCode assert_true: The prototype object must have a property "regionCode" expected true got false
    40 PASS PaymentAddress interface: attribute city
    41 PASS PaymentAddress interface: attribute dependentLocality
    42 PASS PaymentAddress interface: attribute postalCode
    43 PASS PaymentAddress interface: attribute sortingCode
    44 FAIL PaymentAddress interface: attribute languageCode assert_true: The prototype object must have a property "languageCode" expected true got false
    45 PASS PaymentAddress interface: attribute organization
    46 PASS PaymentAddress interface: attribute recipient
    47 PASS PaymentAddress interface: attribute phone
    48 FAIL PaymentResponse interface: existence and properties of interface object assert_equals: prototype of self's property "PaymentResponse" is not Function.prototype expected function "function () {
    49     [native code]
    50 }" but got function "function EventTarget() {
    51     [native code]
    52 }"
     53PASS PaymentResponse interface: existence and properties of interface object
    5354PASS PaymentResponse interface object length
    5455PASS PaymentResponse interface object name
    55 FAIL PaymentResponse interface: existence and properties of interface prototype object assert_equals: prototype of PaymentResponse.prototype is not Object.prototype expected object "[object Object]" but got object "[object EventTargetPrototype]"
     56PASS PaymentResponse interface: existence and properties of interface prototype object
    5657PASS PaymentResponse interface: existence and properties of interface prototype object's "constructor" property
    5758PASS PaymentResponse interface: existence and properties of interface prototype object's @@unscopables property
     
    6667PASS PaymentResponse interface: attribute payerPhone
    6768PASS PaymentResponse interface: operation complete(PaymentComplete)
     69PASS PaymentResponse interface: operation retry(PaymentValidationErrors)
     70PASS PaymentResponse interface: attribute onpayerdetailchange
     71PASS MerchantValidationEvent interface: existence and properties of interface object
     72PASS MerchantValidationEvent interface object length
     73PASS MerchantValidationEvent interface object name
     74PASS MerchantValidationEvent interface: existence and properties of interface prototype object
     75PASS MerchantValidationEvent interface: existence and properties of interface prototype object's "constructor" property
     76PASS MerchantValidationEvent interface: existence and properties of interface prototype object's @@unscopables property
     77PASS MerchantValidationEvent interface: attribute methodName
     78PASS MerchantValidationEvent interface: attribute validationURL
     79PASS MerchantValidationEvent interface: operation complete([object Object])
     80PASS MerchantValidationEvent must be primary interface of new MerchantValidationEvent("merchantvalidation")
     81PASS Stringification of new MerchantValidationEvent("merchantvalidation")
     82PASS MerchantValidationEvent interface: new MerchantValidationEvent("merchantvalidation") must inherit property "methodName" with the proper type
     83PASS MerchantValidationEvent interface: new MerchantValidationEvent("merchantvalidation") must inherit property "validationURL" with the proper type
     84PASS MerchantValidationEvent interface: new MerchantValidationEvent("merchantvalidation") must inherit property "complete([object Object])" with the proper type
     85PASS MerchantValidationEvent interface: calling complete([object Object]) on new MerchantValidationEvent("merchantvalidation") with too few arguments must throw TypeError
     86PASS PaymentMethodChangeEvent interface: existence and properties of interface object
     87PASS PaymentMethodChangeEvent interface object length
     88PASS PaymentMethodChangeEvent interface object name
     89PASS PaymentMethodChangeEvent interface: existence and properties of interface prototype object
     90PASS PaymentMethodChangeEvent interface: existence and properties of interface prototype object's "constructor" property
     91PASS PaymentMethodChangeEvent interface: existence and properties of interface prototype object's @@unscopables property
     92PASS PaymentMethodChangeEvent interface: attribute methodName
     93PASS PaymentMethodChangeEvent interface: attribute methodDetails
     94PASS PaymentMethodChangeEvent must be primary interface of new PaymentMethodChangeEvent("paymentmethodchange")
     95PASS Stringification of new PaymentMethodChangeEvent("paymentmethodchange")
     96PASS PaymentMethodChangeEvent interface: new PaymentMethodChangeEvent("paymentmethodchange") must inherit property "methodName" with the proper type
     97PASS PaymentMethodChangeEvent interface: new PaymentMethodChangeEvent("paymentmethodchange") must inherit property "methodDetails" with the proper type
     98PASS PaymentRequestUpdateEvent interface: new PaymentMethodChangeEvent("paymentmethodchange") must inherit property "updateWith([object Object])" with the proper type
     99PASS PaymentRequestUpdateEvent interface: calling updateWith([object Object]) on new PaymentMethodChangeEvent("paymentmethodchange") with too few arguments must throw TypeError
    68100PASS PaymentRequestUpdateEvent interface: existence and properties of interface object
    69101PASS PaymentRequestUpdateEvent interface object length
Note: See TracChangeset for help on using the changeset viewer.