WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
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+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Alexey Shvayka
Comment 1
2021-03-29 10:32:46 PDT
Created
attachment 424543
[details]
Patch
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
Committed
r275445
(
236106@main
): <
https://commits.webkit.org/236106@main
>
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
<
rdar://problem/76167832
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug