https://github.com/web-platform-tests/wpt
Revision 1ea17fc1edda1c4cd0eb3915dc98ae8185e50d80 authored by James Graham on 22 August 2017, 14:43:51 UTC, committed by James Graham on 22 August 2017, 14:43:51 UTC
Instead of a series of if-conditions create some functions for
working with multi-global tests and reuse them as far as possible in
all the different places where we were previously repeating the
logic. This should make the tests easier to maintain in the future
particularly if we want to add more types of globals or different ways
of referring to different subsets.

Also fix handling of .https. and .any. so that the test author doesn't
have to carefully specify flags in the correct order for things to
work properly.
1 parent 3e978e6
History
Tip revision: 1ea17fc1edda1c4cd0eb3915dc98ae8185e50d80 authored by James Graham on 22 August 2017, 14:43:51 UTC
Consolidate logic for multi-global tests.
Tip revision: 1ea17fc
File Mode Size
.well-known
2dcontext
FileAPI
IndexedDB
WebCryptoAPI
WebIDL
XMLHttpRequest
accelerometer
ambient-light
annotation-model
annotation-protocol
annotation-vocab
apng
app-uri
assumptions
auxclick
background-fetch
battery-status
beacon
bluetooth
clear-site-data
clipboard
clipboard-apis
common
compat
conformance-checkers
console
content-security-policy
cookies
cors
credential-management
css
css-cascade
css-font-display
css-font-loading
css-fonts
css-paint-api
css-timing
css-typed-om
css-values
cssom
cssom-view
custom-elements
docs
dom
domparsing
domxpath
dpub-aam
dpub-aria
editing
encoding
encrypted-media
eventsource
ext-xhtml-pubid
feature-policy
fetch
fonts
fullscreen
gamepad
generic-sensor
geolocation-API
gyroscope
hr-time
html
html-imports
html-longdesc
html-media-capture
http
image-decodes
imagebitmap-renderingcontext
images
infrastructure
innerText
input-events
interfaces
intersection-observer
js
keyboard-lock
longtask-timing
magnetometer
mathml
media
media-capabilities
media-source
mediacapture-fromelement
mediacapture-image
mediacapture-record
mediacapture-streams
mediasession
microdata
mixed-content
navigation-timing
netinfo
notifications
offscreen-canvas
old-tests
orientation-event
orientation-sensor
page-visibility
payment-method-id
payment-request
performance-timeline
pointerevents
pointerlock
preload
presentation-api
progress-events
proximity
quirks-mode
referrer-policy
remote-playback
resource-timing
resources
screen-orientation
scroll-anchoring
secure-contexts
selection
selectors
server-timing
service-workers
shadow-dom
staticrange
storage
streams
subresource-integrity
svg
svg-aam
tools
touch-events
uievents
upgrade-insecure-requests
url
user-timing
vibration
viewport
wai-aria
wasm
web-animations
web-nfc
web-share
webaudio
webauthn
webdriver
webgl
webmessaging
webrtc
websockets
webstorage
webusb
webvr
webvtt
workers
x-frame-options
.codecov.yml -rw-r--r-- 66 bytes
.gitignore -rw-r--r-- 182 bytes
.gitmodules -rw-r--r-- 519 bytes
.travis.yml -rw-r--r-- 4.0 KB
CONTRIBUTING.md -rw-r--r-- 1.6 KB
LICENSE.md -rw-r--r-- 5.1 KB
README.md -rw-r--r-- 13.2 KB
check_stability.ini -rw-r--r-- 460 bytes
config.default.json -rw-r--r-- 695 bytes
lint.whitelist -rw-r--r-- 46.4 KB
serve.py -rw-r--r-- 263 bytes
server-side.md -rw-r--r-- 8.1 KB
testharness_runner.html -rw-r--r-- 95 bytes
update-built-tests.sh -rwxr-xr-x 131 bytes
wpt -rwxr-xr-x 95 bytes

README.md

back to top