mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Implement srcdoc support for iframes.
This commit is contained in:
parent
944c1e9f97
commit
bf69b6fea7
56 changed files with 116 additions and 172 deletions
|
@ -14,6 +14,9 @@
|
|||
[Revoke blob URL after creating Request, will fetch]
|
||||
expected: FAIL
|
||||
|
||||
[Revoke blob URL after calling fetch, fetch should succeed]
|
||||
expected: FAIL
|
||||
|
||||
|
||||
[url-with-fetch.any.html]
|
||||
[Untitled]
|
||||
|
|
|
@ -1,14 +1,5 @@
|
|||
[current-realm.html]
|
||||
type: testharness
|
||||
[NamedNodeMap item]
|
||||
expected: FAIL
|
||||
|
||||
[NamedNodeMap getNamedItem]
|
||||
expected: FAIL
|
||||
|
||||
[NamedNodeMap getNamedItemNS]
|
||||
expected: FAIL
|
||||
|
||||
[createImageData]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
[floats-in-table-caption-001.html]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[hyphens-out-of-flow-001.html]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[line-break-normal-018.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[line-break-strict-018.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[text-transform-full-size-kana-001.html]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[text-transform-full-size-kana-002.html]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[text-transform-full-size-kana-003.html]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[text-transform-full-size-kana-004.html]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[trailing-ideographic-space-004.html]
|
||||
expected: FAIL
|
|
@ -1,5 +1,4 @@
|
|||
[perspective-interpolation.html]
|
||||
expected: CRASH
|
||||
[ perspective interpolation]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
[no-transition-from-ua-to-blocking-stylesheet.html]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
[matchMedia-display-none-iframe.html]
|
||||
expected: ERROR
|
|
@ -1,2 +0,0 @@
|
|||
[HTMLMediaElement.html]
|
||||
expected: CRASH
|
|
@ -1,2 +0,0 @@
|
|||
[contenttype_html.html]
|
||||
expected: CRASH
|
|
@ -1,2 +0,0 @@
|
|||
[contenttype_txt.html]
|
||||
expected: CRASH
|
|
@ -1,2 +0,0 @@
|
|||
[contenttype_xml.html]
|
||||
expected: CRASH
|
|
@ -1,2 +1,5 @@
|
|||
[realms.window.html]
|
||||
expected: TIMEOUT
|
||||
expected: ERROR
|
||||
[realms]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,48 +1,26 @@
|
|||
[dangling-markup-mitigation-data-url.tentative.sub.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[<img id="dangling" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII=">]
|
||||
expected: FAIL
|
||||
|
||||
[<img id="dangling" src="data:image/png;base64, iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII=">]
|
||||
expected: FAIL
|
||||
|
||||
[<img id="dangling" src="data:image/png;base64,i VBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII=">]
|
||||
expected: FAIL
|
||||
|
||||
[<img id="dangling" src="data:image/svg+xml;utf8,\\n <svg width='1' height='1' xmlns='http://www.w3.org/2000/svg'>\\n <rect width='100%' height='100%' fill='rebeccapurple'/>\\n <rect x='10%' y='10%' width='80%' height='80%' fill='lightgreen'/>\\n </svg>">]
|
||||
expected: FAIL
|
||||
|
||||
[<iframe id="dangling"\\n src="data:text/html,\\n <img\\n onload='window.parent.postMessage("loaded", "*");'\\n onerror='window.parent.postMessage("error", "*");'\\n src='http://web-platform.test:8000/images/gr een-256x256.png'>\\n ">\\n </iframe>]
|
||||
expected: TIMEOUT
|
||||
|
||||
[<iframe id="dangling"\\n src="data:text/html,\\n <img\\n onload='window.parent.postMessage("loaded", "*");'\\n onerror='window.parent.postMessage("error", "*");'\\n src='http://web-platform.test:8000/images/green-256x256.png?<'>\\n ">\\n </iframe>]
|
||||
expected: TIMEOUT
|
||||
|
||||
[<iframe id="dangling"\\n src="data:text/html,\\n <img\\n onload='window.parent.postMessage("loaded", "*");'\\n onerror='window.parent.postMessage("error", "*");'\\n src='http://web-platform.test:8000/images/gr een-256x256.png?&amp;lt;'>\\n ">\\n </iframe>]
|
||||
expected: TIMEOUT
|
||||
|
||||
[<iframe id="dangling"\\n src="data:text/html,\\n <img\\n onload='window.parent.postMessage("loaded", "*");'\\n onerror='window.parent.postMessage("error", "*");'\\n src='http://web-platform.test:8000/images/green-256x256.png?&amp;#10;<'>\\n ">\\n </iframe>]
|
||||
expected: TIMEOUT
|
||||
|
||||
[<iframe id="dangling"\\n src="data:text/html,\\n <img\\n onload='window.parent.postMessage("loaded", "*");'\\n onerror='window.parent.postMessage("error", "*");'\\n src='http://web-platform.test:8000/images/gr een-256x256.png?<'>\\n ">\\n </iframe>]
|
||||
expected: TIMEOUT
|
||||
expected: FAIL
|
||||
|
||||
[<iframe id="dangling"\\n src=" data:text/html,\\n <img\\n onload='window.parent.postMessage("loaded", "*");'\\n onerror='window.parent.postMessage("error", "*");'\\n src='http://web-platform.test:8000/images/gr een-256x256.png?<'>\\n ">\\n </iframe>]
|
||||
expected: TIMEOUT
|
||||
expected: FAIL
|
||||
|
||||
[<iframe id="dangling"\\n src="\\ndata:text/html,\\n <img\\n onload='window.parent.postMessage("loaded", "*");'\\n onerror='window.parent.postMessage("error", "*");'\\n src='http://web-platform.test:8000/images/gr een-256x256.png?<'>\\n ">\\n </iframe>]
|
||||
expected: TIMEOUT
|
||||
expected: FAIL
|
||||
|
||||
[<iframe id="dangling"\\n src=" data:text/html,\\n <img\\n onload='window.parent.postMessage("loaded", "*");'\\n onerror='window.parent.postMessage("error", "*");'\\n src='http://web-platform.test:8000/images/gr een-256x256.png?<'>\\n ">\\n </iframe>]
|
||||
expected: TIMEOUT
|
||||
expected: FAIL
|
||||
|
||||
[<iframe id="dangling"\\n src="\\tdata:text/html,\\n <img\\n onload='window.parent.postMessage("loaded", "*");'\\n onerror='window.parent.postMessage("error", "*");'\\n src='http://web-platform.test:8000/images/gr een-256x256.png?<'>\\n ">\\n </iframe>]
|
||||
expected: TIMEOUT
|
||||
expected: FAIL
|
||||
|
||||
[<iframe id="dangling"\\n src="\\rdata:text/html,\\n <img\\n onload='window.parent.postMessage("loaded", "*");'\\n onerror='window.parent.postMessage("error", "*");'\\n src='http://web-platform.test:8000/images/gr een-256x256.png?<'>\\n ">\\n </iframe>]
|
||||
expected: TIMEOUT
|
||||
|
||||
[<iframe id="dangling"\\n src="data:text/html,\\n <img\\n onload='window.parent.postMessage("loaded", "*");'\\n onerror='window.parent.postMessage("error", "*");'\\n src='http://web-platform.test:8000/images/green-256x256.png?&amp;%2310;<'>\\n ">\\n </iframe>]
|
||||
expected: TIMEOUT
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -54,12 +54,3 @@
|
|||
[<img id="dangling" src="data:image/svg+xml;utf8,\\n <svg width='1' height='1' xmlns='http://www.w3.org/2000/svg'>\\n <rect width='100%' height='100%' fill='rebeccapurple'/>\\n <rect x='10%' y='10%' width='80%' height='80%' fill='lightgreen'/>\\n </svg>">]
|
||||
expected: FAIL
|
||||
|
||||
[<img id="dangling" src="/images/green-1x1.png?img= <b">]
|
||||
expected: FAIL
|
||||
|
||||
[<img id="dangling" src="/images/green-1x1.png?img=< b">]
|
||||
expected: FAIL
|
||||
|
||||
[\\n <img id="dangling" src="/images/green-1x1.png?img=\\n <\\n b\\n ">\\n ]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
[traverse_the_history_2.html]
|
||||
[Multiple history traversals, last would be aborted]
|
||||
expected: FAIL
|
||||
|
|
@ -18,3 +18,6 @@
|
|||
[Set HTTP URL frame location.protocol to x]
|
||||
expected: FAIL
|
||||
|
||||
[Set data URL frame location.protocol to data]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,8 +1,5 @@
|
|||
[location_hash.html]
|
||||
type: testharness
|
||||
[Setting location.hash on srcdoc iframe]
|
||||
expected: FAIL
|
||||
|
||||
[Setting hash which is partially encoded should only encode incompatible characters]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,12 +0,0 @@
|
|||
[document_domain_setter_srcdoc.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[srcdoc can access with no 'document.domain' modification.]
|
||||
expected: TIMEOUT
|
||||
|
||||
[srcdoc can access with valid 'document.domain'.]
|
||||
expected: NOTRUN
|
||||
|
||||
[srcdoc can access when parent modifies 'document.domain'.]
|
||||
expected: NOTRUN
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
[sandbox-parse-noscript.html]
|
||||
expected: FAIL
|
|
@ -1,5 +1,4 @@
|
|||
[embedded-opener-remove-frame.html]
|
||||
expected: CRASH
|
||||
[opener and "removed" embedded documents]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -4230,9 +4230,6 @@
|
|||
[HTMLInputElement interface: calling setCustomValidity(DOMString) on createInput("button") with too few arguments must throw TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLIFrameElement interface: attribute srcdoc]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: createInput("week") must inherit property "checkValidity()" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
[focusable-area-in-top-document.html]
|
||||
[If topDocument's focused area is not topDocument, autofocus is not processed.]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
[skip-not-fully-active.html]
|
||||
[Autofocus element in not-fully-active document should be skipped while flusing.]
|
||||
expected: FAIL
|
|
@ -1,4 +1,5 @@
|
|||
[iframe_sandbox_anchor_download_allow_downloads_without_user_activation.sub.tentative.html]
|
||||
expected: TIMEOUT
|
||||
[<a download> triggered download in sandbox is allowed by allow-downloads-without-user-activation.]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
[iframe_sandbox_anchor_download_block_downloads_without_user_activation.sub.tentative.html]
|
||||
[<a download> triggered download in sandbox is blocked.]
|
||||
expected: FAIL
|
||||
|
|
@ -1,4 +1,5 @@
|
|||
[iframe_sandbox_navigation_download_allow_downloads_without_user_activation.sub.tentative.html]
|
||||
expected: TIMEOUT
|
||||
[Navigation resulted download in sandbox is allowed by allow-downloads-without-user-activation.]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
[iframe_sandbox_navigation_download_block_downloads_without_user_activation.sub.tentative.html]
|
||||
[Navigation resulted download in sandbox is blocked.]
|
||||
expected: FAIL
|
||||
|
|
@ -1,6 +1,5 @@
|
|||
[iframe_sandbox_popups_escaping-1.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[Check that popups from a sandboxed iframe escape the sandbox if\n allow-popups-to-escape-sandbox is used]
|
||||
expected: TIMEOUT
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,14 +0,0 @@
|
|||
[srcdoc_process_attributes.html]
|
||||
expected: TIMEOUT
|
||||
[Removing `srcdoc` attribute triggers attributes processing]
|
||||
expected: FAIL
|
||||
|
||||
[Changing `srcdoc` (via property) triggers attributes processing]
|
||||
expected: FAIL
|
||||
|
||||
[Adding `srcdoc` attribute triggers attributes processing]
|
||||
expected: TIMEOUT
|
||||
|
||||
[Setting `srcdoc` (via property) triggers attributes processing]
|
||||
expected: FAIL
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
[sizes-dynamic-001.html]
|
||||
expected: TIMEOUT
|
|
@ -1,5 +1,5 @@
|
|||
[form-double-submit-2.html]
|
||||
expected: ERROR
|
||||
[preventDefault should allow onclick submit() to succeed]
|
||||
expected: TIMEOUT
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
[form-double-submit-3.html]
|
||||
expected: ERROR
|
||||
[<button> should have the same double-submit protection as <input type=submit>]
|
||||
expected: TIMEOUT
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -5,14 +5,14 @@
|
|||
expected: NOTRUN
|
||||
|
||||
[Check that rel=noopener with target=_parent does a normal load]
|
||||
expected: FAIL
|
||||
expected: NOTRUN
|
||||
|
||||
[Check that rel=noopener with target=_top does a normal load]
|
||||
expected: FAIL
|
||||
expected: NOTRUN
|
||||
|
||||
[Check that targeting of rel=noopener with a given name reuses an existing window with that name]
|
||||
expected: NOTRUN
|
||||
|
||||
[Check that rel=noopener with target=_self does a normal load]
|
||||
expected: FAIL
|
||||
expected: NOTRUN
|
||||
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
[099.html]
|
||||
type: testharness
|
||||
[ scheduler: defer adding iframe containing script]
|
||||
expected: FAIL
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
[data-xhtml-with-dtd.html]
|
||||
expected: FAIL
|
|
@ -1,5 +0,0 @@
|
|||
[document-close-with-pending-script.html]
|
||||
expected: TIMEOUT
|
||||
[document.close called while a script is pending]
|
||||
expected: TIMEOUT
|
||||
|
|
@ -1,5 +1,4 @@
|
|||
[location-set-and-document-open.html]
|
||||
expected: TIMEOUT
|
||||
[Location sets should cancel current navigation and prevent later document.open() from doing anything]
|
||||
expected: TIMEOUT
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
[promise-rejection-events.html]
|
||||
expected: TIMEOUT
|
||||
[delayed handling: delaying handling rejected promise created from createImageBitmap will cause both events to fire]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -8,3 +9,6 @@
|
|||
[no unhandledrejection/rejectionhandled: rejection handler attached synchronously to a promise created from createImageBitmap]
|
||||
expected: FAIL
|
||||
|
||||
[rejectionhandled is dispatched from a queued task, and not immediately]
|
||||
expected: TIMEOUT
|
||||
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
[child-document-raf-order.html]
|
||||
expected: TIMEOUT
|
||||
[Ordering of steps in "Update the Rendering" - child document requestAnimationFrame order]
|
||||
expected: TIMEOUT
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
[iframe-inheritance-srcdoc-child.html]
|
||||
expected: TIMEOUT
|
||||
[iframes srcdoc child correctly inherit the ancestor's referrer policy]
|
||||
expected: NOTRUN
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
[realtimeanalyser-fft-scaling.html]
|
||||
expected: TIMEOUT
|
||||
[X 2048-point FFT peak position is not equal to 64. Got 0.]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
[018.html]
|
||||
expected: TIMEOUT
|
||||
[origin of the script that invoked the method, javascript:]
|
||||
expected: TIMEOUT
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
[remove-own-iframe-during-onerror.window.html]
|
||||
expected: TIMEOUT
|
||||
[removing an iframe from within an onerror handler should work]
|
||||
expected: TIMEOUT
|
||||
|
|
@ -1,5 +1,4 @@
|
|||
[005.html]
|
||||
expected: ERROR
|
||||
[dedicated worker in shared worker in dedicated worker]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
[003.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[shared]
|
||||
expected: FAIL
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue