Bug 250758 - HTMLFrameOwnerElement::getSVGDocument should return null rather than throwing
Summary: HTMLFrameOwnerElement::getSVGDocument should return null rather than throwing
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: SVG (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: BrowserCompat, InRadar
Depends on:
Blocks:
 
Reported: 2023-01-18 04:06 PST by Ahmad Saleem
Modified: 2023-02-06 11:43 PST (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ahmad Saleem 2023-01-18 04:06:03 PST
Hi Team,

While going through Blink's fixes, I came across another Web-Compat issue:

Test Case (failing in STP161 & Safari 16.2) - https://jsfiddle.net/k1wn9qtu/1/

^ Passes in Chrome Canary 111 and Firefox Nightly 111

Blink Commit - https://chromium.googlesource.com/chromium/blink/+/cf7eb89e462b4f8b003025cab9c99a6770ef6c44

WebKit Source - https://searchfox.org/wubkat/source/Source/WebCore/html/HTMLFrameOwnerElement.cpp#118

Just wanted to raise so we can fix it. Thanks!
Comment 1 Karl Dubost 2023-01-18 17:49:43 PST
I haven't found specific WPT tests for these. 
Maybe there is an opportunity for it.
Comment 2 Radar WebKit Bug Importer 2023-01-25 04:06:19 PST
<rdar://problem/104641450>
Comment 3 Ahmad Saleem 2023-02-05 04:53:33 PST
PR - https://github.com/WebKit/WebKit/pull/9648
Comment 4 EWS 2023-02-06 11:43:23 PST
Committed 259905@main (47f7b571335b): <https://commits.webkit.org/259905@main>

Reviewed commits have been landed. Closing PR #9648 and removing active labels.