[Webkit-unassigned] [Bug 205995] New: <iframe> attributes should be processed on "srcdoc" attribute removal

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jan 9 03:07:01 PST 2020


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

            Bug ID: 205995
           Summary: <iframe> attributes should be processed on "srcdoc"
                    attribute removal
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: All
                OS: All
            Status: NEW
          Severity: Trivial
          Priority: P2
         Component: WebCore JavaScript
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: shvaikalesh at gmail.com

Per spec, "srcdoc" attribute of an <iframe> takes precedence over "src".
However, existing handling of "srcdoc" in HTMLFrameElementBase::parseAttribute does not check if the attribute was set or removed.
As a result, removal of "srcdoc" attribute navigates the <iframe> to "about:srcdoc" instead of URL in value of "src" attribute.

WHATWG HTML: https://html.spec.whatwg.org/multipage/iframe-embed-object.html#otherwise-steps-for-iframe-or-frame-elements

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200109/8cd654dc/attachment.htm>


More information about the webkit-unassigned mailing list