Change description:
Re-implement the 'document' accessor on the global object/Window for improved spec compliance.
Changes to API surface:
- change Window.document to be an accessor.
(observable by asking for document's property descriptor)
Links:
- The document accessor is documented in the HTML5 spec. (https://html.spec.whatwg.org/#the-window-object)
- The WebIDL spec demands that attributes (as interface members) are implemented as JavaScript accessors. (https://www.w3.org/TR/WebIDL/)
Support in other browsers:
Internet Explorer: Already has spec-compliant implementation.
Firefox: Already has spec-compliant implementation.
Safari: Already has spec-compliant implementation.
Comment 1 by owe...@chromium.org
, Sep 12 2017