Name Description Size
META.yml 44
PrefixedLocalStorage.js Supports pseudo-"namespacing" localStorage for a given test by generating and using a unique prefix for keys. Why trounce on other tests' localStorage items when you can keep it "separated"? PrefixedLocalStorageTest: Instantiate in testharness.js tests to generate a new unique-ish prefix PrefixedLocalStorageResource: Instantiate in supporting test resource files to use/share a prefix generated by a test. 4264
PrefixedLocalStorage.js.headers 45
PrefixedPostMessage.js Supports pseudo-"namespacing" for window-posted messages for a given test by generating and using a unique prefix that gets wrapped into message objects. This makes it more feasible to have multiple tests that use `window.postMessage` in a single test file. Basically, make it possible for the each test to listen for only the messages that are pertinent to it. 'Prefix' not an elegant term to use here but this models itself after PrefixedLocalStorage. PrefixedMessageTest: Instantiate in testharness.js tests to generate a new unique-ish prefix that can be used by other test support files PrefixedMessageResource: Instantiate in supporting test resource files to use/share a prefix generated by a test. 3882
PrefixedPostMessage.js.headers 45
README.md The files in this directory are non-infrastructure support files that can be used by tests. 594
arrays.js Callback for checking equality of c and d. @callback equalityCallback @param {*} c @param {*} d @returns {boolean} 687
blank.html 0
domain-setter.sub.html A page that will likely be same-origin-domain but not same-origin 184
dummy.xhtml Dummy XHTML document 123
dummy.xml 30
echo.py 316
get-host-info.sub.js Host information for cross-origin tests. @returns {Object} with properties for different host information. 2592
get-host-info.sub.js.headers 45
media.js Returns the URL of a supported video source based on the user agent @param {string} base - media URL without file extension @returns {string} 1260
media.js.headers 45
object-association.js Run tests for window[propertyName] after discarding the browsing context, navigating, etc. @param {string} propertyName 2381
object-association.js.headers 45
performance-timeline-utils.js author: W3C http://www.w3.org/ help: http://www.w3.org/TR/navigation-timing/#sec-window.performance-attribute 1976
performance-timeline-utils.js.headers 45
redirect-opt-in.py Simple handler that causes redirection. The request should typically have two query parameters: status - The status to use for the redirection. Defaults to 302. location - The resource to redirect to. 601
redirect.py Simple handler that causes redirection. The request should typically have two query parameters: status - The status to use for the redirection. Defaults to 302. location - The resource to redirect to. 546
reftest-wait.js Remove the `reftest-wait` class on the document element. The reftest runner will wait with taking a screenshot while this class is present. See https://web-platform-tests.org/writing-tests/reftests.html#controlling-when-comparison-occurs 597
reftest-wait.js.headers 45
rendering-utils.js Waits until we have at least one frame rendered, regardless of the engine. @returns {Promise} 559
sab.js 519
security-features This directory contains the common infrastructure for the following tests (also referred below as projects). 6
slow.py 84
square.png 18299
stringifiers.js Runs tests for <http://heycam.github.io/webidl/#es-stringifier>. @param {Object} aObject - object to test @param {string} aAttribute - IDL attribute name that is annotated with `stringifier` @param {boolean} aIsUnforgeable - whether the IDL attribute is `[LegacyUnforgeable]` 1626
stringifiers.js.headers 45
subset-tests-by-key.js Check if `key` is in the subset specified in the URL. @param {string} key @returns {boolean} 2362
subset-tests.js Check if `currentSubTest` is in the subset specified in the URL. @param {number} currentSubTest @returns {boolean} 2035
test-setting-immutable-prototype.js 2689
test-setting-immutable-prototype.js.headers 45
text-plain.txt 70
utils.js Create an absolute URL from `options` and defaulting unspecified properties to `window.location`. @param {Object} options - a `Location`-like object @param {string} options.hostname @param {string} options.subdomain - prepend subdomain to the hostname @param {string} options.port @param {string} options.path @param {string} options.query @param {string} options.hash @returns {string} 2447
utils.js.headers 45
worklet-reftest.js Imports code into a worklet. E.g. importWorklet(CSS.paintWorklet, {url: 'script.js'}); importWorklet(CSS.paintWorklet, '(javascript string)'); @param {Worklet} worklet @param {(Object|string)} code 1252
worklet-reftest.js.headers 45