-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Remove "responsible document" concept #7694
Conversation
It was confusing to have this as a generic on environment settings objects, since it only applied to window environment settings objects. Instead, specifications should get the Window object's associated Document directly, if necessary by looking at the settings object's global object (which will, in some cases, be a Window object). Closes #4335.
IMO, yes, and file issues (or PRs) for all affected specs. |
@domenic I think there should be a PR or an issue for everything under https://dontcallmedom.github.io/webdex/r.html#responsible%20document%40%40environment%20settings%20object%40dfn now (xhr still shows up, but I think that's due to whatwg/xhr#345) |
OMG, thank you so much for doing all that work; that's amazing! |
Use associated Document in place of responsible document, because the latter concept was removed. cf. whatwg/html#7694
* Replace usage of "responsible document" See whatwg/html#7694 * Use the relevant global object
It was confusing to have this as a generic on environment settings objects, since it only applied to window environment settings objects. Instead, specifications should get the Window object's associated Document directly, if necessary by looking at the settings object's global object (which will, in some cases, be a Window object).
Closes #4335.
Per WebDex this term is used a lot!! I'm unsure what we should do here. Just merge and break a bunch of specs? (We've done it in the past, but now we have WebDex to tell us how much damage we'd cause!) Preserve the ID, perhaps on concept-document-window? Prepare PRs for at least WHATWG specs like Compat and XHR?
Specific migration guide:
Window
object, use|window|'s [=associated Document=]
instead.[=this=]
value), use|object|'s [=relevant global object=]'s [=associated Document=]
.|eso|'s [=environment settings object/global object=] is a {{Window}}
.|object|'s [=relevant global object=] is a {{Window}}
.Return [=this=]'s [=relevant global object=]'s [=associated Document=]
./history.html ( diff )
/rendering.html ( diff )
/web-messaging.html ( diff )
/webappapis.html ( diff )
/window-object.html ( diff )
/workers.html ( diff )
/worklets.html ( diff )