Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from Aug 30, 2023

Conversation

mrobinson
Copy link
Member

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.


  • ./mach build -d does not report any errors
  • ./mach test-tidy does not report any errors
  • There are tests for these changes OR

@servo-wpt-sync
Copy link
Collaborator

🤖 Opened new upstream WPT pull request (web-platform-tests/wpt#41709) with upstreamable changes.

@mrobinson mrobinson mentioned this pull request Aug 30, 2023
3 tasks
@@ -0,0 +1,7 @@
<!DOCTYPE html>
<html>
<body>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just to confirm my understanding, the styles in the original crash test didn't contribute to the cause of the crash, so now they are removed? i.e we are not simply deleting this test because this new test without the CSS is still valuable as a crash test?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's very hard to say now if the styles contributed to the crash, since this test was added so long ago. I am happy to re-add them though.

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.
@mrobinson
Copy link
Member Author

Thanks for the review! I've restored more of the original test case. The reason behind it is lost to git history, but this is probably enough for now.

@servo-wpt-sync
Copy link
Collaborator

📝 Transplanted new upstreamable changes to existing upstream WPT pull request (web-platform-tests/wpt#41709).

@mrobinson mrobinson added this pull request to the merge queue Aug 30, 2023
Merged via the queue into servo:master with commit 17dec24 Aug 30, 2023
10 checks passed
@mrobinson mrobinson deleted the iframe-test branch August 30, 2023 13:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants