Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
srcdoc iframes fail to clear when srcdoc attribute removed
https://bugs.webkit.org/show_bug.cgi?id=243385 Reviewed by Darin Adler. The bug was caused by the superfluous null string check in HTMLFrameElementBase::parseAttribute in the case of srcdoc being a null string. When both src and srcdoc are both, we should navigate to about:blank instead. * LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/srcdoc-attribute-reset-expected.txt: * Source/WebCore/html/HTMLFrameElementBase.cpp: (WebCore::HTMLFrameElementBase::parseAttribute): Canonical link: https://commits.webkit.org/252991@main
- Loading branch information