Skip to content

Conversation

@annevk
Copy link
Member

@annevk annevk commented Jun 2, 2020

Having a central point to acknowledge its non-existence will hopefully provide some clarity for #5560 and other changes.

It would also be useful to go from an environment settings object to a browsing session, but there is already a way to get there. Maybe instead there should be "To get a browsing session, given an environment settings object environment, return the ..."?


/history.html ( diff )
/index.html ( diff )

Having a central point to acknowledge its non-existence will hopefully provide some clarity for #5560 and other changes.
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.

"To get a browsing session, given an environment settings object environment, return the ..."?

I think the more usual pattern would be to define

An <span>environment settings object</span>'s <dfn data-export="" data-dfn-for="environment settings object">browsing session</dfn> is its ...

although we should probably note somehow that the definition only applies for window ESOs?

@annevk
Copy link
Member Author

annevk commented Jun 3, 2020

I think the more usual pattern would be to define

I was thinking that would require adding this to the set of algorithm fields for environment settings object, which I didn't really want to do. As you say, it only needs to work for windows, at least for now.

<var>environment</var> is the result of running these steps:</p>

<ol>
<li><p>Assert: <var>environment</var> has a <span>responsible document</span>.</p></li>
Copy link
Member

Choose a reason for hiding this comment

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

Note that I'd like to remove responsible document (#4335), but I'm fine with adding this usage since it's easy to convert in the future whenever I get around to that.

@annevk annevk merged commit 5796632 into master Jun 3, 2020
@annevk annevk deleted the annevk/browsing-session branch June 3, 2020 14:34
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