Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tie BarProp object lifetime to the Window object #4430

Merged
merged 2 commits into from
Mar 14, 2019
Merged

Conversation

annevk
Copy link
Member

@annevk annevk commented Mar 13, 2019

Also describe what happens when the browsing context is discarded.

Tests: web-platform-tests/wpt#15815.

Fixes #2579.


/window-object.html ( diff )

Also describe what happens when the browsing context is discarded.

Tests: web-platform-tests/wpt#15815.

Fixes #2579.
@annevk annevk mentioned this pull request Mar 13, 2019
Copy link
Member

@domenic domenic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM editorially. Do the tests reveal that Window is more correct than Document?

<dd>Represents the user interface element found immediately above or before the document, as
appropriate for the user's media, which typically provides <span>session history</span> traversal
controls (back and forward buttons, reload buttons, etc). If the user agent has no such user
interface element, then the object may act as if the corresponding user interface element was
absent (i.e. its <code data-x="dom-BarProp-visible">visible</code> attribute may return
false).</dd>

</dl>

<p>The <dfn><code data-x="dom-window-locationbar">locationbar</code></dfn> attribute must return
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While here maybe add 's getter

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I intentionally didn't because I assume #4431 will touch these.

@annevk
Copy link
Member Author

annevk commented Mar 14, 2019

Yeah, in particular the window.open() test does. I could add some additional asserts there to make that clear.

@annevk annevk merged commit e32a6f8 into master Mar 14, 2019
@annevk annevk deleted the annevk/BarProp-cleanup branch March 14, 2019 08:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants