Bug 129306
| Summary: | Updating `iframe@srcdoc` through DOM/JavaScript doesn’t work reliably | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Mathias Bynens <mathias> |
| Component: | Frames | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED CONFIGURATION CHANGED | ||
| Severity: | Normal | CC: | ahmad.saleem792, ap |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| URL: | data:text/html,<iframe%20id=x%20srcdoc="<body%20bgcolor=red>FAIL"></iframe><script>x.srcdoc%20=%20'<body%20bgcolor=green>PASS';</script> | ||
Mathias Bynens
Test case:
data:text/html,<iframe%20id=x%20srcdoc="<body%20bgcolor=red>FAIL"></iframe><script>x.srcdoc%20=%20'<body%20bgcolor=green>PASS';</script>
Expected results:
The test case should show an iframe with a green background.
Actual results:
The test case shows an iframe with a red background.
Safari has the same issue. Firefox gets it right.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Ahmad Saleem
Safari 17.2 seems to get this right (Green Background with PASS), similar to Chrome Canary 121 and Firefox Nightly 121.
Marking this as 'RESOLVED CONFIGURATION CHANGED'.