[Webkit-unassigned] [Bug 129306] New: Updating `iframe at srcdoc` through DOM/ JavaScript doesn’t work reliably

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Feb 25 06:30:23 PST 2014


https://bugs.webkit.org/show_bug.cgi?id=129306

           Summary: Updating `iframe at srcdoc` through DOM/JavaScript
                    doesn’t work reliably
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
               URL: data:text/html,<iframe%20id=x%20srcdoc="<body%20bgcolo
                    r=red>FAIL"></iframe><script>x.srcdoc%20=%20'<body%20b
                    gcolor=green>PASS';</script>
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Frames
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: mathias at qiwi.be
                CC: ap at webkit.org


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.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list