RESOLVED FIXED 223883
Remove [Replaceable] extended attribute from `document.all`
https://bugs.webkit.org/show_bug.cgi?id=223883
Summary Remove [Replaceable] extended attribute from `document.all`
Alexey Shvayka
Reported 2021-03-29 10:28:43 PDT
Remove [Replaceable] extended attribute from `document.all`
Attachments
Patch (11.76 KB, patch)
2021-03-29 10:32 PDT, Alexey Shvayka
darin: review+
Alexey Shvayka
Comment 1 2021-03-29 10:32:46 PDT
Darin Adler
Comment 2 2021-03-29 11:07:55 PDT
Comment on attachment 424543 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=424543&action=review > Source/WebCore/ChangeLog:13 > + iOS apps should be unaffected as they were authored long after `document.all` time. What you mean is: - iOS apps are unlikely to accidentally depend on subtleties in document.all behavior since they were authored long after there was a need, But this ignores the likelihood that these apps may include very old versions of libraries originally designed for the web. I am optimistic this will not be the case, but I don’t know that we can confidently state that.
Alexey Shvayka
Comment 3 2021-04-02 15:24:25 PDT
Alexey Shvayka
Comment 4 2021-04-02 15:24:38 PDT
(In reply to Darin Adler from comment #2) I appreciate the review! > What you mean is: > > - iOS apps are unlikely to accidentally depend on subtleties in document.all > behavior since they were authored long after there was a need, Right, I've tweaked the wording. > But this ignores the likelihood that these apps may include very old > versions of libraries originally designed for the web. I am optimistic this > will not be the case, but I don’t know that we can confidently state that. I am pretty sure we can state that: `document.all` was introduced in IE4 as a regular IDL attribute; it was never replaceable. For a legacy web library to be cross-browser, it couldn't depend on `document.all` being reassignable. Updated ChangeLog to mention this.
Radar WebKit Bug Importer
Comment 5 2021-04-02 15:26:29 PDT
Note You need to log in before you can comment on or make changes to this bug.