Make iframes block the enclosing document's load event. Fixes #6663.

This commit is contained in:
Josh Matthews 2015-07-20 16:15:13 -04:00
parent fc3f93235e
commit e9b98ad5fa
17 changed files with 2054 additions and 19 deletions

View file

@ -1,4 +1,23 @@
[send-entity-body-document.htm]
type: testharness
disabled: https://github.com/servo/servo/issues/8157
[XML document, windows-1252]
expected: FAIL
[HTML document, invalid UTF-8]
expected: FAIL
[HTML document, shift-jis]
expected: FAIL
[plain text file]
expected: FAIL
[image file]
expected: FAIL
[img tag]
expected: FAIL
[empty div]
expected: FAIL

View file

@ -35,4 +35,3 @@
[Resulting cursor position for range 51 [paras[3\], 1, comment, 8\]]
expected: FAIL

View file

@ -14,4 +14,3 @@
[Resulting cursor position for range 51 [paras[3\], 1, comment, 8\]]
expected: FAIL

View file

@ -0,0 +1,3 @@
[location_reload.html]
type: testharness
expected: CRASH

View file

@ -1,3 +0,0 @@
[text-plain.html]
type: testharness
disabled: https://github.com/servo/servo/issues/9286

View file

@ -1,6 +1,6 @@
[base_multiple.html]
type: testharness
expected: ERROR
expected: TIMEOUT
[The attributes of the a element must be affected by the first base element]
expected: FAIL
expected: NOTRUN

View file

@ -1,3 +0,0 @@
[move_iframe_in_dom_03.html]
type: testharness
expected: TIMEOUT

View file

@ -1,3 +1,109 @@
[viewport-change.html]
type: testharness
expected: TIMEOUT
disabled: unsupported feature and prone to intermittent incorrect results
bug: 9560
[img (no src), onload, narrow]
expected: FAIL
[img (empty src), onload, narrow]
expected: FAIL
[img (src only) broken image, onload, narrow]
expected: FAIL
[img (src only) valid image, onload, narrow]
expected: FAIL
[img (srcset 1 cand) broken image, onload, narrow]
expected: FAIL
[img (srcset 1 cand) valid image, onload, narrow]
expected: FAIL
[picture: source (max-width:500px) broken image, img broken image, onload, narrow]
expected: FAIL
[picture: source (max-width:500px) broken image, img broken image, resize to wide]
expected: FAIL
[picture: source (max-width:500px) broken image, img valid image, onload, narrow]
expected: FAIL
[picture: source (max-width:500px) broken image, img valid image, resize to wide]
expected: FAIL
[picture: source (max-width:500px) valid image, img broken image, onload, narrow]
expected: FAIL
[picture: source (max-width:500px) valid image, img broken image, resize to wide]
expected: FAIL
[picture: source (max-width:500px) valid image, img valid image, onload, narrow]
expected: FAIL
[picture: source (max-width:500px) valid image, img valid image, resize to wide]
expected: FAIL
[picture: same URL in source (max-width:500px) and img, onload, narrow]
expected: FAIL
[img (no src), onload, wide]
expected: FAIL
[img (empty src), onload, wide]
expected: FAIL
[img (src only) broken image, onload, wide]
expected: FAIL
[img (src only) valid image, onload, wide]
expected: FAIL
[img (srcset 1 cand) broken image, onload, wide]
expected: FAIL
[img (srcset 1 cand) valid image, onload, wide]
expected: FAIL
[picture: source (max-width:500px) broken image, img broken image, onload, wide]
expected: FAIL
[picture: source (max-width:500px) broken image, img broken image, resize to narrow]
expected: FAIL
[picture: source (max-width:500px) broken image, img valid image, onload, wide]
expected: FAIL
[picture: source (max-width:500px) broken image, img valid image, resize to narrow]
expected: FAIL
[picture: source (max-width:500px) valid image, img broken image, onload, wide]
expected: FAIL
[picture: source (max-width:500px) valid image, img broken image, resize to narrow]
expected: FAIL
[picture: source (max-width:500px) valid image, img valid image, onload, wide]
expected: FAIL
[picture: source (max-width:500px) valid image, img valid image, resize to narrow]
expected: FAIL
[picture: same URL in source (max-width:500px) and img, onload, wide]
expected: FAIL
[img (empty src), resize to wide]
expected: FAIL
[img (src only) broken image, resize to wide]
expected: FAIL
[img (src only) valid image, resize to wide]
expected: FAIL
[picture: same URL in source (max-width:500px) and img, resize to wide]
expected: FAIL
[picture: same URL in source (max-width:500px) and img, resize to narrow]
expected: FAIL

View file

@ -6,3 +6,6 @@
[editable elements are focusable]
expected: FAIL
[':focus' doesn't match focused elements in iframe]
expected: FAIL

View file

@ -3,4 +3,6 @@
expected: TIMEOUT
[Nested worker]
expected: FAIL
[Checking contents for text file]
expected: FAIL