Convert /_mozilla/css/iframe/multiple_external.html into a WPT crashtest (#30246)

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.
This commit is contained in:
Martin Robinson 2023-08-30 13:43:27 +02:00 committed by GitHub
parent f25ab59406
commit 17dec241db
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 23 additions and 52 deletions

View file

@ -5574,6 +5574,13 @@
{}
]
],
"multiple-iframes-with-allow-scripts-crash.html": [
"572f119be8e41130c62eb5a01ba4b9c8c0832080",
[
null,
{}
]
],
"sandbox-toggle-in-inactive-document-crash.html": [
"654542f6a8e21a23f70d50c1c547e9dac6971c36",
[

View file

@ -2366,19 +2366,6 @@
{}
]
],
"multiple_external.html": [
"c2d66f25cec3e496023755af786409fff5b3c619",
[
null,
[
[
"/_mozilla/css/iframe/multiple_external_ref.html",
"=="
]
],
{}
]
],
"navigation.html": [
"bbbceaea51dda8983c11d169297c11395d918077",
[
@ -8798,14 +8785,6 @@
"cb61f63d447b8df1862fbd5c01d41508183442f0",
[]
],
"multiple_external_child.html": [
"8e1b304226d46f5f470bb0f4b59f9186eb56d3ce",
[]
],
"multiple_external_ref.html": [
"cb06d78125970a8127708354db716f8ad5094fc0",
[]
],
"navigation_ref.html": [
"0207d0908e16bf1b6ccb2c9e76bb844e70c8d991",
[]

View file

@ -1,20 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<link rel=match href=multiple_external_ref.html>
<style>
iframe {
margin: 10px;
float: left;
width: 300px;
height: 300px;
border: none;
}
</style>
</head>
<body>
iframe test
<iframe sandbox="allow-scripts" src="multiple_external_child.html"> </iframe>
<iframe sandbox="allow-scripts" src="multiple_external_child.html"> </iframe>
</body>
</html>

View file

@ -1,5 +0,0 @@
<!DOCTYPE html>
<html>
<body>
</body>
</html>

View file

@ -1,6 +0,0 @@
<!DOCTYPE html>
<html>
<body>
iframe test
</body>
</html>

View file

@ -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>