mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-27 18:17:22 +02:00
LibWeb: Remove non-standard ReturnNullIfCrossOrigin IDL attribute
This is no longer needed as BrowsingContextContainer::content_document() now does the right thing, and HTMLIFrameElement.contentDocument is the only user of this attribute. Let's not invent our own mechanisms for things that are important to get right, like same origin comparisons.
This commit is contained in:
committed by
Andreas Kling
parent
75dd4fbd16
commit
24d5ca4a9d
Notes:
sideshowbarker
2024-07-17 18:47:50 +09:00
Author: https://github.com/linusg Commit: https://github.com/SerenityOS/serenity/commit/24d5ca4a9d Pull-request: https://github.com/SerenityOS/serenity/pull/12531
@@ -8,7 +8,7 @@ interface HTMLIFrameElement : HTMLElement {
|
||||
[Reflect] attribute DOMString height;
|
||||
[Reflect=allowfullscreen] attribute boolean allowFullscreen;
|
||||
|
||||
[ReturnNullIfCrossOrigin] readonly attribute Document? contentDocument;
|
||||
readonly attribute Document? contentDocument;
|
||||
|
||||
[Reflect] attribute DOMString align;
|
||||
[Reflect] attribute DOMString scrolling;
|
||||
|
||||
Reference in New Issue
Block a user