Andreas Kling
19de6bb1cc
LibWeb+Browser: Add Debug menu action for toggling Same-Origin Policy
...
Sometimes it's useful to turn off the SOP for testing purposes.
Let's make that easy by having a Debug menu item for it. :^)
2021-09-12 02:13:28 +02:00
Andreas Kling
8fabaaa2a8
LibWeb: Make "top-level browsing context" concept more spec-compliant
...
Any browsing context that doesn't have a parent browsing context is now
considered a top-level browsing context. This matches the HTML spec.
This means we no longer keep a pointer to the top-level context, since
we can simply walk the parent chain until we find the topmost ancestor.
2021-09-10 03:02:55 +02:00
Andreas Kling
84fcf879f9
LibWeb: Rename BrowsingContext::document() => active_document()
...
This better matches the spec nomenclature. Note that we don't yet
*retrieve* the active document according to spec.
2021-09-09 21:25:10 +02:00
Luke
59cfc4a8db
LibWeb: Rename "FrameHostElement" to "BrowsingContextContainer"
...
With the renaming of "Frame" to "BrowsingContext", this changes
"FrameHostElement" to "BrowsingContextContainer" to further
match the spec.
https://html.spec.whatwg.org/#browsing-context-container
2021-05-31 16:25:13 +02:00