Bug 148923
Summary: | When object data attribute is set dynamically, loading from cache fails | ||
---|---|---|---|
Product: | WebKit | Reporter: | Alexey Proskuryakov <ap> |
Component: | DOM | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW | ||
Severity: | Normal | CC: | cdumez, koivisto, sabouhallawa |
Priority: | P2 | ||
Version: | Other | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
See Also: | https://bugs.webkit.org/show_bug.cgi?id=148922 |
Alexey Proskuryakov
Steps to reproduce:
run-webkit-tests svg/as-object/svg-in-object-dynamic-attribute-change.html --no-retry --repeat 2
On the second try, image #4 fails to load. It is loaded like this:
var object4 = document.getElementById("object4");
object4.onload = onObjectLoad;
object4.setAttribute("type", "image/png");
object4.setAttribute("data", "resources/lime100x100.png");
This is 100% reproducible, and still happens when I remove other sub-tests from this test.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Alexey Proskuryakov
The test is currently marked as a flaky failure, so to reproduce, please add -v (verbose).