Revision 31a51c70f74e23dc52f2033e552990a03f3166a9 authored by Mike Pennisi on 29 June 2018, 15:27:58 UTC, committed by Ms2ger on 02 July 2018, 14:31:05 UTC
Today, the return value of functions provided to the global `add_cleanup` function has no effect on the behavior of the test runner. An upcoming feature addition to testharness.js will cause the return value to influence test results [1]. Despite this, some existing tests have already been authored to return a value: the result of `document.exitFullScreen`. Although this is expected to be a Promise in conforming implementations, some browsers do not yet implement this functionality. To allow the new test harness feature to land without introducing harness errors, refactor existing tests to omit a return value. Additionally, use `Promise.prototype.catch` to avoid race conditions resulting from unhandled Promise rejections (which trigger a harness error in testharness.js today). [1] https://github.com/web-platform-tests/wpt/issues/6075
1 parent 21369c1
File | Mode | Size |
---|---|---|
BackgroundSync.idl | -rw-r--r-- | 801 bytes |
DOM-Parsing.idl | -rw-r--r-- | 905 bytes |
FileAPI.idl | -rw-r--r-- | 2.5 KB |
IndexedDB.idl | -rw-r--r-- | 6.7 KB |
InputDeviceCapabilities.idl | -rw-r--r-- | 719 bytes |
META.yml | -rw-r--r-- | 41 bytes |
ResizeObserver.idl | -rw-r--r-- | 846 bytes |
ServiceWorker.idl | -rw-r--r-- | 7.0 KB |
WebCryptoAPI.idl | -rw-r--r-- | 8.1 KB |
WebIDL.idl | -rw-r--r-- | 1.9 KB |
accelerometer.idl | -rw-r--r-- | 869 bytes |
ambient-light.idl | -rw-r--r-- | 342 bytes |
background-fetch.idl | -rw-r--r-- | 3.7 KB |
battery.idl | -rw-r--r-- | 823 bytes |
beacon.idl | -rw-r--r-- | 257 bytes |
budget-api.idl | -rw-r--r-- | 776 bytes |
clipboard-apis.idl | -rw-r--r-- | 877 bytes |
compat.idl | -rw-r--r-- | 379 bytes |
console.idl | -rw-r--r-- | 770 bytes |
cookie-store.idl | -rw-r--r-- | 2.8 KB |
cors-rfc1918.idl | -rw-r--r-- | 393 bytes |
credential-management.idl | -rw-r--r-- | 2.5 KB |
css-animations.idl | -rw-r--r-- | 1.4 KB |
css-conditional.idl | -rw-r--r-- | 935 bytes |
css-font-loading.idl | -rw-r--r-- | 2.9 KB |
css-fonts.idl | -rw-r--r-- | 1.2 KB |
css-masking.idl | -rw-r--r-- | 683 bytes |
css-paint-api.idl | -rw-r--r-- | 1.3 KB |
css-transitions.idl | -rw-r--r-- | 813 bytes |
css-typed-om.idl | -rw-r--r-- | 9.4 KB |
cssom-view.idl | -rw-r--r-- | 6.0 KB |
cssom.idl | -rw-r--r-- | 4.4 KB |
dedicated-workers.idl | -rw-r--r-- | 4.6 KB |
dom.idl | -rw-r--r-- | 17.7 KB |
encoding.idl | -rw-r--r-- | 833 bytes |
encrypted-media.idl | -rw-r--r-- | 3.9 KB |
entries-api.idl | -rw-r--r-- | 2.1 KB |
feature-policy.idl | -rw-r--r-- | 256 bytes |
fetch.idl | -rw-r--r-- | 3.6 KB |
filter-effects.idl | -rw-r--r-- | 10.5 KB |
fullscreen.idl | -rw-r--r-- | 749 bytes |
gamepad.idl | -rw-r--r-- | 939 bytes |
geolocation-sensor.idl | -rw-r--r-- | 1.1 KB |
geometry.idl | -rw-r--r-- | 11.5 KB |
gyroscope.idl | -rw-r--r-- | 558 bytes |
hr-time.idl | -rw-r--r-- | 503 bytes |
html.idl | -rw-r--r-- | 78.2 KB |
image-capture.idl | -rw-r--r-- | 3.7 KB |
input-events.idl | -rw-r--r-- | 539 bytes |
keyboard-lock.idl | -rw-r--r-- | 408 bytes |
keyboard-map.idl | -rw-r--r-- | 279 bytes |
magnetometer.idl | -rw-r--r-- | 932 bytes |
media-capabilities.idl | -rw-r--r-- | 1.7 KB |
mediacapture-depth.idl | -rw-r--r-- | 2.7 KB |
mediacapture-fromelement.idl | -rw-r--r-- | 530 bytes |
mediacapture-main.idl | -rw-r--r-- | 8.5 KB |
mediacapture-record.idl | -rw-r--r-- | 1.7 KB |
mediasession.idl | -rw-r--r-- | 1.2 KB |
orientation-event.idl | -rw-r--r-- | 2.1 KB |
orientation-sensor.idl | -rw-r--r-- | 941 bytes |
payment-handler.idl | -rw-r--r-- | 3.5 KB |
payment-request.idl | -rw-r--r-- | 4.7 KB |
performance-timeline.idl | -rw-r--r-- | 1.6 KB |
permissions.idl | -rw-r--r-- | 1.2 KB |
pointerevents-extension.idl | -rw-r--r-- | 256 bytes |
pointerevents.idl | -rw-r--r-- | 1.8 KB |
pointerlock.idl | -rw-r--r-- | 680 bytes |
presentation-api.idl | -rw-r--r-- | 3.3 KB |
proximity.idl | -rw-r--r-- | 398 bytes |
push-api.idl | -rw-r--r-- | 2.8 KB |
referrer-policy.idl | -rw-r--r-- | 391 bytes |
remote-playback.idl | -rw-r--r-- | 969 bytes |
resource-timing.idl | -rw-r--r-- | 1.4 KB |
screen-orientation.idl | -rw-r--r-- | 892 bytes |
scroll-animations.idl | -rw-r--r-- | 984 bytes |
secure-contexts.idl | -rw-r--r-- | 276 bytes |
selection-api.idl | -rw-r--r-- | 1.9 KB |
sensors.idl | -rw-r--r-- | 817 bytes |
server-timing.idl | -rw-r--r-- | 570 bytes |
shape-detection-api.idl | -rw-r--r-- | 1.6 KB |
storage.idl | -rw-r--r-- | 626 bytes |
touch-events.idl | -rw-r--r-- | 2.9 KB |
touchevents.idl | -rw-r--r-- | 395 bytes |
uievents.idl | -rw-r--r-- | 4.3 KB |
url.idl | -rw-r--r-- | 1.2 KB |
user-timing.idl | -rw-r--r-- | 635 bytes |
vibration.idl | -rw-r--r-- | 326 bytes |
wake-lock.idl | -rw-r--r-- | 645 bytes |
web-animations.idl | -rw-r--r-- | 5.3 KB |
web-bluetooth.idl | -rw-r--r-- | 7.1 KB |
web-nfc.idl | -rw-r--r-- | 1.5 KB |
web-share.idl | -rw-r--r-- | 349 bytes |
webappsec-subresource-integrity.idl | -rw-r--r-- | 334 bytes |
webaudio.idl | -rw-r--r-- | 17.7 KB |
webauthn.idl | -rw-r--r-- | 6.1 KB |
webdriver.idl | -rw-r--r-- | 304 bytes |
webrtc-pc.idl | -rw-r--r-- | 22.8 KB |
webusb.idl | -rw-r--r-- | 7.0 KB |
webvtt.idl | -rw-r--r-- | 1.4 KB |
webxr.idl | -rw-r--r-- | 4.8 KB |
xhr.idl | -rw-r--r-- | 3.1 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...