From eec6a4632c6059cc16959b0104fd2297a3384c4e Mon Sep 17 00:00:00 2001 From: Uzlopak <5059100+Uzlopak@users.noreply.github.com> Date: Fri, 1 Nov 2024 00:19:27 +0000 Subject: [PATCH] chore: update WPT --- test/fixtures/wpt/interfaces/fedcm.idl | 1 + .../wpt/interfaces/invokers.tentative.idl | 10 +- test/fixtures/wpt/interfaces/mediasession.idl | 2 +- test/fixtures/wpt/interfaces/turtledove.idl | 15 +- test/fixtures/wpt/interfaces/webaudio.idl | 12 +- test/fixtures/wpt/interfaces/webcodecs.idl | 2 +- test/fixtures/wpt/interfaces/webgpu.idl | 1 + test/fixtures/wpt/interfaces/webtransport.idl | 3 +- test/fixtures/wpt/interfaces/webusb.idl | 26 +- test/fixtures/wpt/resources/check-layout.js | 245 ------------------ .../local-url-inherit-controller-frame.html | 3 +- .../static-router-resource-timing.https.html | 1 + ...ge-in-detached-iframe.tentative.https.html | 21 -- .../constructor-submitter-coordinate.html | 19 +- .../formdata/submitter-coordinate-value.html | 55 ++++ 15 files changed, 108 insertions(+), 308 deletions(-) delete mode 100644 test/fixtures/wpt/resources/check-layout.js delete mode 100644 test/fixtures/wpt/storage/quotachange-in-detached-iframe.tentative.https.html create mode 100644 test/fixtures/wpt/xhr/formdata/submitter-coordinate-value.html diff --git a/test/fixtures/wpt/interfaces/fedcm.idl b/test/fixtures/wpt/interfaces/fedcm.idl index ba99f1174c8..443d3311a24 100644 --- a/test/fixtures/wpt/interfaces/fedcm.idl +++ b/test/fixtures/wpt/interfaces/fedcm.idl @@ -43,6 +43,7 @@ dictionary IdentityProviderRequestOptions : IdentityProviderConfig { USVString nonce; DOMString loginHint; DOMString domainHint; + any params; }; dictionary IdentityProviderWellKnown { diff --git a/test/fixtures/wpt/interfaces/invokers.tentative.idl b/test/fixtures/wpt/interfaces/invokers.tentative.idl index 4724d7deb08..046a365939c 100644 --- a/test/fixtures/wpt/interfaces/invokers.tentative.idl +++ b/test/fixtures/wpt/interfaces/invokers.tentative.idl @@ -1,15 +1,15 @@ -interface mixin InvokerElement { - [CEReactions,Reflect=invoketarget] attribute Element? commandForElement; - [CEReactions,Reflect=invokeaction] attribute DOMString command; +interface mixin CommandElement { + [CEReactions,Reflect=commandfor] attribute Element? commandForElement; + [CEReactions,Reflect=command] attribute DOMString command; }; interface CommandEvent : Event { constructor(DOMString type, optional CommandEventInit eventInitDict = {}); - readonly attribute Element? invoker; + readonly attribute Element? source; readonly attribute DOMString command; }; dictionary CommandEventInit : EventInit { - Element? invoker = null; + Element? source = null; DOMString command = ""; }; diff --git a/test/fixtures/wpt/interfaces/mediasession.idl b/test/fixtures/wpt/interfaces/mediasession.idl index 5c6942be5a0..9c050b0efdf 100644 --- a/test/fixtures/wpt/interfaces/mediasession.idl +++ b/test/fixtures/wpt/interfaces/mediasession.idl @@ -59,7 +59,7 @@ interface MediaMetadata { attribute DOMString title; attribute DOMString artist; attribute DOMString album; - attribute FrozenArray artwork; + attribute FrozenArray artwork; [SameObject] readonly attribute FrozenArray chapterInfo; }; diff --git a/test/fixtures/wpt/interfaces/turtledove.idl b/test/fixtures/wpt/interfaces/turtledove.idl index ff48d311914..0309f5047b3 100644 --- a/test/fixtures/wpt/interfaces/turtledove.idl +++ b/test/fixtures/wpt/interfaces/turtledove.idl @@ -15,6 +15,7 @@ dictionary AuctionAd { USVString buyerReportingId; USVString buyerAndSellerReportingId; + sequence selectableBuyerAndSellerReportingIds; sequence allowedReportingOrigins; DOMString adRenderId; }; @@ -89,16 +90,16 @@ dictionary AuctionAdConfig { sequence interestGroupBuyers; Promise auctionSignals; Promise sellerSignals; - Promise directFromSellerSignalsHeaderAdSlot; - Promise> deprecatedRenderURLReplacements; + Promise directFromSellerSignalsHeaderAdSlot; + Promise?> deprecatedRenderURLReplacements; unsigned long long sellerTimeout; unsigned short sellerExperimentGroupId; - Promise> perBuyerSignals; - Promise> perBuyerTimeouts; - Promise> perBuyerCumulativeTimeouts; + Promise?> perBuyerSignals; + Promise?> perBuyerTimeouts; + Promise?> perBuyerCumulativeTimeouts; unsigned long long reportingTimeout; USVString sellerCurrency; - Promise> perBuyerCurrencies; + Promise?> perBuyerCurrencies; record perBuyerMultiBidLimits; record perBuyerGroupLimits; record perBuyerExperimentGroupIds; @@ -198,6 +199,7 @@ dictionary GenerateBidOutput { DOMString bidCurrency; (DOMString or AdRender) render; any ad; + USVString selectedBuyerAndSellerReportingId; sequence<(DOMString or AdRender)> adComponents; double adCost; unrestricted double modelingSignals; @@ -294,6 +296,7 @@ dictionary ReportingBrowserSignals { USVString componentSeller; USVString buyerAndSellerReportingId; + USVString selectedBuyerAndSellerReportingId; }; dictionary ReportResultBrowserSignals : ReportingBrowserSignals { diff --git a/test/fixtures/wpt/interfaces/webaudio.idl b/test/fixtures/wpt/interfaces/webaudio.idl index 74aab7e2362..d14eb96820f 100644 --- a/test/fixtures/wpt/interfaces/webaudio.idl +++ b/test/fixtures/wpt/interfaces/webaudio.idl @@ -1,7 +1,7 @@ // GENERATED CONTENT - DO NOT EDIT // Content was automatically extracted by Reffy into webref // (https://github.com/w3c/webref) -// Source: Web Audio API (https://webaudio.github.io/web-audio-api/) +// Source: Web Audio API 1.1 (https://webaudio.github.io/web-audio-api/) enum AudioContextState { "suspended", @@ -33,8 +33,8 @@ interface BaseAudioContext : EventTarget { AnalyserNode createAnalyser (); BiquadFilterNode createBiquadFilter (); AudioBuffer createBuffer (unsigned long numberOfChannels, - unsigned long length, - float sampleRate); + unsigned long length, + float sampleRate); AudioBufferSourceNode createBufferSource (); ChannelMergerNode createChannelMerger (optional unsigned long numberOfInputs = 6); ChannelSplitterNode createChannelSplitter ( @@ -45,12 +45,12 @@ interface BaseAudioContext : EventTarget { DynamicsCompressorNode createDynamicsCompressor (); GainNode createGain (); IIRFilterNode createIIRFilter (sequence feedforward, - sequence feedback); + sequence feedback); OscillatorNode createOscillator (); PannerNode createPanner (); PeriodicWave createPeriodicWave (sequence real, - sequence imag, - optional PeriodicWaveConstraints constraints = {}); + sequence imag, + optional PeriodicWaveConstraints constraints = {}); ScriptProcessorNode createScriptProcessor( optional unsigned long bufferSize = 0, optional unsigned long numberOfInputChannels = 2, diff --git a/test/fixtures/wpt/interfaces/webcodecs.idl b/test/fixtures/wpt/interfaces/webcodecs.idl index 52731257f1f..98476281218 100644 --- a/test/fixtures/wpt/interfaces/webcodecs.idl +++ b/test/fixtures/wpt/interfaces/webcodecs.idl @@ -340,7 +340,7 @@ dictionary VideoFrameInit { AlphaOption alpha = "keep"; // Default matches image. May be used to efficiently crop. Will trigger - // new computation of displayWidth and displayHeight using image’s pixel + // new computation of displayWidth and displayHeight using image's pixel // aspect ratio unless an explicit displayWidth and displayHeight are given. DOMRectInit visibleRect; diff --git a/test/fixtures/wpt/interfaces/webgpu.idl b/test/fixtures/wpt/interfaces/webgpu.idl index 421685c7a8f..58e43d02f5e 100644 --- a/test/fixtures/wpt/interfaces/webgpu.idl +++ b/test/fixtures/wpt/interfaces/webgpu.idl @@ -119,6 +119,7 @@ enum GPUFeatureName { "rg11b10ufloat-renderable", "bgra8unorm-storage", "float32-filterable", + "float32-blendable", "clip-distances", "dual-source-blending", }; diff --git a/test/fixtures/wpt/interfaces/webtransport.idl b/test/fixtures/wpt/interfaces/webtransport.idl index 6e9d1036736..24fe5b7e61b 100644 --- a/test/fixtures/wpt/interfaces/webtransport.idl +++ b/test/fixtures/wpt/interfaces/webtransport.idl @@ -96,7 +96,8 @@ dictionary WebTransportConnectionStats { required DOMHighResTimeStamp rttVariation; required DOMHighResTimeStamp minRtt; required WebTransportDatagramStats datagrams; - required unsigned long long? estimatedSendRate; + unsigned long long? estimatedSendRate = null; + boolean atSendCapacity = false; }; dictionary WebTransportDatagramStats { diff --git a/test/fixtures/wpt/interfaces/webusb.idl b/test/fixtures/wpt/interfaces/webusb.idl index 3b362d2351d..d6484db3e88 100644 --- a/test/fixtures/wpt/interfaces/webusb.idl +++ b/test/fixtures/wpt/interfaces/webusb.idl @@ -40,7 +40,7 @@ dictionary USBConnectionEventInit : EventInit { }; [ - Exposed=(DedicatedWorker,SharedWorker,Window), + Exposed=(Worker,Window), SecureContext ] interface USBConnectionEvent : Event { @@ -55,7 +55,7 @@ enum USBTransferStatus { }; [ - Exposed=(DedicatedWorker,SharedWorker,Window), + Exposed=(Worker,Window), SecureContext ] interface USBInTransferResult { @@ -65,7 +65,7 @@ interface USBInTransferResult { }; [ - Exposed=(DedicatedWorker,SharedWorker,Window), + Exposed=(Worker,Window), SecureContext ] interface USBOutTransferResult { @@ -75,7 +75,7 @@ interface USBOutTransferResult { }; [ - Exposed=(DedicatedWorker,SharedWorker,Window), + Exposed=(Worker,Window), SecureContext ] interface USBIsochronousInTransferPacket { @@ -85,7 +85,7 @@ interface USBIsochronousInTransferPacket { }; [ - Exposed=(DedicatedWorker,SharedWorker,Window), + Exposed=(Worker,Window), SecureContext ] interface USBIsochronousInTransferResult { @@ -95,7 +95,7 @@ interface USBIsochronousInTransferResult { }; [ - Exposed=(DedicatedWorker,SharedWorker,Window), + Exposed=(Worker,Window), SecureContext ] interface USBIsochronousOutTransferPacket { @@ -105,7 +105,7 @@ interface USBIsochronousOutTransferPacket { }; [ - Exposed=(DedicatedWorker,SharedWorker,Window), + Exposed=(Worker,Window), SecureContext ] interface USBIsochronousOutTransferResult { @@ -113,7 +113,7 @@ interface USBIsochronousOutTransferResult { readonly attribute FrozenArray packets; }; -[Exposed=(DedicatedWorker,SharedWorker,Window), SecureContext] +[Exposed=(Worker,Window), SecureContext] interface USBDevice { readonly attribute octet usbVersionMajor; readonly attribute octet usbVersionMinor; @@ -171,7 +171,7 @@ dictionary USBControlTransferParameters { }; [ - Exposed=(DedicatedWorker,SharedWorker,Window), + Exposed=(Worker,Window), SecureContext ] interface USBConfiguration { @@ -182,7 +182,7 @@ interface USBConfiguration { }; [ - Exposed=(DedicatedWorker,SharedWorker,Window), + Exposed=(Worker,Window), SecureContext ] interface USBInterface { @@ -194,7 +194,7 @@ interface USBInterface { }; [ - Exposed=(DedicatedWorker,SharedWorker,Window), + Exposed=(Worker,Window), SecureContext ] interface USBAlternateInterface { @@ -219,7 +219,7 @@ enum USBEndpointType { }; [ - Exposed=(DedicatedWorker,SharedWorker,Window), + Exposed=(Worker,Window), SecureContext ] interface USBEndpoint { @@ -252,7 +252,7 @@ dictionary USBPermissionStorage { sequence allowedDevices = []; }; -[Exposed=(DedicatedWorker,SharedWorker,Window)] +[Exposed=(Worker,Window)] interface USBPermissionResult : PermissionStatus { attribute FrozenArray devices; }; diff --git a/test/fixtures/wpt/resources/check-layout.js b/test/fixtures/wpt/resources/check-layout.js deleted file mode 100644 index 8634481497d..00000000000 --- a/test/fixtures/wpt/resources/check-layout.js +++ /dev/null @@ -1,245 +0,0 @@ -(function() { - -function insertAfter(nodeToAdd, referenceNode) -{ - if (referenceNode == document.body) { - document.body.appendChild(nodeToAdd); - return; - } - - if (referenceNode.nextSibling) - referenceNode.parentNode.insertBefore(nodeToAdd, referenceNode.nextSibling); - else - referenceNode.parentNode.appendChild(nodeToAdd); -} - -function positionedAncestor(node) -{ - var ancestor = node.parentNode; - while (getComputedStyle(ancestor).position == 'static') - ancestor = ancestor.parentNode; - return ancestor; -} - -function checkSubtreeExpectedValues(parent, failures) -{ - var checkedLayout = checkExpectedValues(parent, failures); - Array.prototype.forEach.call(parent.childNodes, function(node) { - checkedLayout |= checkSubtreeExpectedValues(node, failures); - }); - return checkedLayout; -} - -function checkAttribute(output, node, attribute) -{ - var result = node.getAttribute && node.getAttribute(attribute); - output.checked |= !!result; - return result; -} - -function checkExpectedValues(node, failures) -{ - var output = { checked: false }; - var expectedWidth = checkAttribute(output, node, "data-expected-width"); - if (expectedWidth) { - if (isNaN(expectedWidth) || Math.abs(node.offsetWidth - expectedWidth) >= 1) - failures.push("Expected " + expectedWidth + " for width, but got " + node.offsetWidth + ". "); - } - - var expectedHeight = checkAttribute(output, node, "data-expected-height"); - if (expectedHeight) { - if (isNaN(expectedHeight) || Math.abs(node.offsetHeight - expectedHeight) >= 1) - failures.push("Expected " + expectedHeight + " for height, but got " + node.offsetHeight + ". "); - } - - var expectedOffset = checkAttribute(output, node, "data-offset-x"); - if (expectedOffset) { - if (isNaN(expectedOffset) || Math.abs(node.offsetLeft - expectedOffset) >= 1) - failures.push("Expected " + expectedOffset + " for offsetLeft, but got " + node.offsetLeft + ". "); - } - - var expectedOffset = checkAttribute(output, node, "data-offset-y"); - if (expectedOffset) { - if (isNaN(expectedOffset) || Math.abs(node.offsetTop - expectedOffset) >= 1) - failures.push("Expected " + expectedOffset + " for offsetTop, but got " + node.offsetTop + ". "); - } - - var expectedOffset = checkAttribute(output, node, "data-positioned-offset-x"); - if (expectedOffset) { - var actualOffset = node.getBoundingClientRect().left - positionedAncestor(node).getBoundingClientRect().left; - if (isNaN(expectedOffset) || Math.abs(actualOffset - expectedOffset) >= 1) - failures.push("Expected " + expectedOffset + " for getBoundingClientRect().left offset, but got " + actualOffset + ". "); - } - - var expectedOffset = checkAttribute(output, node, "data-positioned-offset-y"); - if (expectedOffset) { - var actualOffset = node.getBoundingClientRect().top - positionedAncestor(node).getBoundingClientRect().top; - if (isNaN(expectedOffset) || Math.abs(actualOffset - expectedOffset) >= 1) - failures.push("Expected " + expectedOffset + " for getBoundingClientRect().top offset, but got " + actualOffset + ". "); - } - - var expectedWidth = checkAttribute(output, node, "data-expected-client-width"); - if (expectedWidth) { - if (isNaN(expectedWidth) || Math.abs(node.clientWidth - expectedWidth) >= 1) - failures.push("Expected " + expectedWidth + " for clientWidth, but got " + node.clientWidth + ". "); - } - - var expectedHeight = checkAttribute(output, node, "data-expected-client-height"); - if (expectedHeight) { - if (isNaN(expectedHeight) || Math.abs(node.clientHeight - expectedHeight) >= 1) - failures.push("Expected " + expectedHeight + " for clientHeight, but got " + node.clientHeight + ". "); - } - - var expectedWidth = checkAttribute(output, node, "data-expected-scroll-width"); - if (expectedWidth) { - if (isNaN(expectedWidth) || Math.abs(node.scrollWidth - expectedWidth) >= 1) - failures.push("Expected " + expectedWidth + " for scrollWidth, but got " + node.scrollWidth + ". "); - } - - var expectedHeight = checkAttribute(output, node, "data-expected-scroll-height"); - if (expectedHeight) { - if (isNaN(expectedHeight) || Math.abs(node.scrollHeight - expectedHeight) >= 1) - failures.push("Expected " + expectedHeight + " for scrollHeight, but got " + node.scrollHeight + ". "); - } - - var expectedOffset = checkAttribute(output, node, "data-total-x"); - if (expectedOffset) { - var totalLeft = node.clientLeft + node.offsetLeft; - if (isNaN(expectedOffset) || Math.abs(totalLeft - expectedOffset) >= 1) - failures.push("Expected " + expectedOffset + " for clientLeft+offsetLeft, but got " + totalLeft + ", clientLeft: " + node.clientLeft + ", offsetLeft: " + node.offsetLeft + ". "); - } - - var expectedOffset = checkAttribute(output, node, "data-total-y"); - if (expectedOffset) { - var totalTop = node.clientTop + node.offsetTop; - if (isNaN(expectedOffset) || Math.abs(totalTop - expectedOffset) >= 1) - failures.push("Expected " + expectedOffset + " for clientTop+offsetTop, but got " + totalTop + ", clientTop: " + node.clientTop + ", + offsetTop: " + node.offsetTop + ". "); - } - - var expectedDisplay = checkAttribute(output, node, "data-expected-display"); - if (expectedDisplay) { - var actualDisplay = getComputedStyle(node).display; - if (actualDisplay != expectedDisplay) - failures.push("Expected " + expectedDisplay + " for display, but got " + actualDisplay + ". "); - } - - var expectedPaddingTop = checkAttribute(output, node, "data-expected-padding-top"); - if (expectedPaddingTop) { - var actualPaddingTop = getComputedStyle(node).paddingTop; - // Trim the unit "px" from the output. - actualPaddingTop = actualPaddingTop.substring(0, actualPaddingTop.length - 2); - if (actualPaddingTop != expectedPaddingTop) - failures.push("Expected " + expectedPaddingTop + " for padding-top, but got " + actualPaddingTop + ". "); - } - - var expectedPaddingBottom = checkAttribute(output, node, "data-expected-padding-bottom"); - if (expectedPaddingBottom) { - var actualPaddingBottom = getComputedStyle(node).paddingBottom; - // Trim the unit "px" from the output. - actualPaddingBottom = actualPaddingBottom.substring(0, actualPaddingBottom.length - 2); - if (actualPaddingBottom != expectedPaddingBottom) - failures.push("Expected " + expectedPaddingBottom + " for padding-bottom, but got " + actualPaddingBottom + ". "); - } - - var expectedPaddingLeft = checkAttribute(output, node, "data-expected-padding-left"); - if (expectedPaddingLeft) { - var actualPaddingLeft = getComputedStyle(node).paddingLeft; - // Trim the unit "px" from the output. - actualPaddingLeft = actualPaddingLeft.substring(0, actualPaddingLeft.length - 2); - if (actualPaddingLeft != expectedPaddingLeft) - failures.push("Expected " + expectedPaddingLeft + " for padding-left, but got " + actualPaddingLeft + ". "); - } - - var expectedPaddingRight = checkAttribute(output, node, "data-expected-padding-right"); - if (expectedPaddingRight) { - var actualPaddingRight = getComputedStyle(node).paddingRight; - // Trim the unit "px" from the output. - actualPaddingRight = actualPaddingRight.substring(0, actualPaddingRight.length - 2); - if (actualPaddingRight != expectedPaddingRight) - failures.push("Expected " + expectedPaddingRight + " for padding-right, but got " + actualPaddingRight + ". "); - } - - var expectedMarginTop = checkAttribute(output, node, "data-expected-margin-top"); - if (expectedMarginTop) { - var actualMarginTop = getComputedStyle(node).marginTop; - // Trim the unit "px" from the output. - actualMarginTop = actualMarginTop.substring(0, actualMarginTop.length - 2); - if (actualMarginTop != expectedMarginTop) - failures.push("Expected " + expectedMarginTop + " for margin-top, but got " + actualMarginTop + ". "); - } - - var expectedMarginBottom = checkAttribute(output, node, "data-expected-margin-bottom"); - if (expectedMarginBottom) { - var actualMarginBottom = getComputedStyle(node).marginBottom; - // Trim the unit "px" from the output. - actualMarginBottom = actualMarginBottom.substring(0, actualMarginBottom.length - 2); - if (actualMarginBottom != expectedMarginBottom) - failures.push("Expected " + expectedMarginBottom + " for margin-bottom, but got " + actualMarginBottom + ". "); - } - - var expectedMarginLeft = checkAttribute(output, node, "data-expected-margin-left"); - if (expectedMarginLeft) { - var actualMarginLeft = getComputedStyle(node).marginLeft; - // Trim the unit "px" from the output. - actualMarginLeft = actualMarginLeft.substring(0, actualMarginLeft.length - 2); - if (actualMarginLeft != expectedMarginLeft) - failures.push("Expected " + expectedMarginLeft + " for margin-left, but got " + actualMarginLeft + ". "); - } - - var expectedMarginRight = checkAttribute(output, node, "data-expected-margin-right"); - if (expectedMarginRight) { - var actualMarginRight = getComputedStyle(node).marginRight; - // Trim the unit "px" from the output. - actualMarginRight = actualMarginRight.substring(0, actualMarginRight.length - 2); - if (actualMarginRight != expectedMarginRight) - failures.push("Expected " + expectedMarginRight + " for margin-right, but got " + actualMarginRight + ". "); - } - - return output.checked; -} - -window.checkLayout = function(selectorList, outputContainer) -{ - var result = true; - if (!selectorList) { - document.body.appendChild(document.createTextNode("You must provide a CSS selector of nodes to check.")); - return; - } - var nodes = document.querySelectorAll(selectorList); - nodes = Array.prototype.slice.call(nodes); - nodes.reverse(); - var checkedLayout = false; - Array.prototype.forEach.call(nodes, function(node) { - var failures = []; - checkedLayout |= checkExpectedValues(node.parentNode, failures); - checkedLayout |= checkSubtreeExpectedValues(node, failures); - - var container = node.parentNode.className == 'container' ? node.parentNode : node; - - var pre = document.createElement('pre'); - if (failures.length) { - pre.className = 'FAIL'; - result = false; - } - pre.appendChild(document.createTextNode(failures.length ? "FAIL:\n" + failures.join('\n') + '\n\n' + container.outerHTML : "PASS")); - - var referenceNode = container; - if (outputContainer) { - if (!outputContainer.lastChild) { - // Inserting a text node so we have something to insertAfter. - outputContainer.textContent = " "; - } - referenceNode = outputContainer.lastChild; - } - insertAfter(pre, referenceNode); - }); - - if (!checkedLayout) { - document.body.appendChild(document.createTextNode("FAIL: No valid data-* attributes found in selector list : " + selectorList)); - return false; - } - - return result; -} - -})(); diff --git a/test/fixtures/wpt/service-workers/service-worker/resources/local-url-inherit-controller-frame.html b/test/fixtures/wpt/service-workers/service-worker/resources/local-url-inherit-controller-frame.html index 3a5d9b51e75..e7214827a4c 100644 --- a/test/fixtures/wpt/service-workers/service-worker/resources/local-url-inherit-controller-frame.html +++ b/test/fixtures/wpt/service-workers/service-worker/resources/local-url-inherit-controller-frame.html @@ -140,7 +140,8 @@ let w = new SharedWorker(url); return new Promise((resolve, reject) => { w.port.onmessage = m => { - if (m.data.includes("Error")) { + // (null is a valid value when the SharedWorker is not controlled) + if (m.data?.includes("Error")) { reject(m.data); return; } diff --git a/test/fixtures/wpt/service-workers/service-worker/tentative/static-router/static-router-resource-timing.https.html b/test/fixtures/wpt/service-workers/service-worker/tentative/static-router/static-router-resource-timing.https.html index 74d84eb3c9f..e32436da41b 100644 --- a/test/fixtures/wpt/service-workers/service-worker/tentative/static-router/static-router-resource-timing.https.html +++ b/test/fixtures/wpt/service-workers/service-worker/tentative/static-router/static-router-resource-timing.https.html @@ -63,6 +63,7 @@ if (entry.workerFinalSourceType === 'cache') { assert_equals(entry.fetchStart, entry.responseStart, description); assert_less_than_equal(entry.workerCacheLookupStart, entry.responseStart, description); + assert_equals(entry.deliveryType, 'cache-storage', description); } else { assert_less_than_equal(entry.workerCacheLookupStart, entry.fetchStart, description); } diff --git a/test/fixtures/wpt/storage/quotachange-in-detached-iframe.tentative.https.html b/test/fixtures/wpt/storage/quotachange-in-detached-iframe.tentative.https.html deleted file mode 100644 index 123af50e3ce..00000000000 --- a/test/fixtures/wpt/storage/quotachange-in-detached-iframe.tentative.https.html +++ /dev/null @@ -1,21 +0,0 @@ - - -quotachange event on DOMWindow of detached iframe - - - - - diff --git a/test/fixtures/wpt/xhr/formdata/constructor-submitter-coordinate.html b/test/fixtures/wpt/xhr/formdata/constructor-submitter-coordinate.html index 992f64b7217..b7bf128bd12 100644 --- a/test/fixtures/wpt/xhr/formdata/constructor-submitter-coordinate.html +++ b/test/fixtures/wpt/xhr/formdata/constructor-submitter-coordinate.html @@ -1,18 +1,21 @@ +
- +
diff --git a/test/fixtures/wpt/xhr/formdata/submitter-coordinate-value.html b/test/fixtures/wpt/xhr/formdata/submitter-coordinate-value.html new file mode 100644 index 00000000000..69bea0ac3f9 --- /dev/null +++ b/test/fixtures/wpt/xhr/formdata/submitter-coordinate-value.html @@ -0,0 +1,55 @@ + + + +Test image button coordinates + + + + +
+ +
+ + + + +