Skip to content

Commit

Permalink
Convert /_mozilla/css/iframe/multiple_external.html into a WPT crashtest
Browse files Browse the repository at this point in the history
This test was made before the use of WPT tests, much less WPT
crashtests, but it was originally made to test a crash. Initially, it
had an empty result, but text was added. The new reference for the test
relied on the bad float layout of legacy layout so was always incorrect.

This change converts the test into a WPT crashtest.
  • Loading branch information
mrobinson committed Aug 30, 2023
1 parent 9a70086 commit dc62b37
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 52 deletions.
7 changes: 7 additions & 0 deletions tests/wpt/meta/MANIFEST.json
Original file line number Diff line number Diff line change
Expand Up @@ -5574,6 +5574,13 @@
{}
]
],
"multiple-iframes-with-allow-scripts-crash.html": [
"572f119be8e41130c62eb5a01ba4b9c8c0832080",
[
null,
{}
]
],
"sandbox-toggle-in-inactive-document-crash.html": [
"654542f6a8e21a23f70d50c1c547e9dac6971c36",
[
Expand Down
21 changes: 0 additions & 21 deletions tests/wpt/mozilla/meta/MANIFEST.json
Original file line number Diff line number Diff line change
Expand Up @@ -2366,19 +2366,6 @@
{}
]
],
"multiple_external.html": [
"c2d66f25cec3e496023755af786409fff5b3c619",
[
null,
[
[
"/_mozilla/css/iframe/multiple_external_ref.html",
"=="
]
],
{}
]
],
"navigation.html": [
"bbbceaea51dda8983c11d169297c11395d918077",
[
Expand Down Expand Up @@ -8798,14 +8785,6 @@
"cb61f63d447b8df1862fbd5c01d41508183442f0",
[]
],
"multiple_external_child.html": [
"8e1b304226d46f5f470bb0f4b59f9186eb56d3ce",
[]
],
"multiple_external_ref.html": [
"cb06d78125970a8127708354db716f8ad5094fc0",
[]
],
"navigation_ref.html": [
"0207d0908e16bf1b6ccb2c9e76bb844e70c8d991",
[]
Expand Down
20 changes: 0 additions & 20 deletions tests/wpt/mozilla/tests/css/iframe/multiple_external.html

This file was deleted.

This file was deleted.

6 changes: 0 additions & 6 deletions tests/wpt/mozilla/tests/css/iframe/multiple_external_ref.html

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<!DOCTYPE html>
<html>
<body>
<style>
iframe {
margin: 10px;
float: left;
width: 300px;
height: 300px;
border: none;
}
</style>
<iframe sandbox="allow-scripts" src="resources/hello-world.html"> </iframe>
<iframe sandbox="allow-scripts" src="resources/hello-world.html"> </iframe>
</body>
</html>

0 comments on commit dc62b37

Please sign in to comment.