RESOLVED FIXED 215978
DeprecatedGlobalSettings::globalConstRedeclarationShouldThrow() is not actually a setting, so should not be in DeprecatedGlobalSettings
https://bugs.webkit.org/show_bug.cgi?id=215978
Summary DeprecatedGlobalSettings::globalConstRedeclarationShouldThrow() is not actual...
Sam Weinig
Reported 2020-08-29 08:49:11 PDT
DeprecatedGlobalSettings::globalConstRedeclarationShouldThrow() is not actually a setting, so should not be in DeprecatedGlobalSettings
Attachments
Patch (3.71 KB, patch)
2020-08-29 08:50 PDT, Sam Weinig
no flags
Patch (3.89 KB, patch)
2020-08-30 18:31 PDT, Sam Weinig
no flags
Sam Weinig
Comment 1 2020-08-29 08:50:33 PDT
Alexey Proskuryakov
Comment 2 2020-08-29 11:20:13 PDT
Comment on attachment 407539 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=407539&action=review > Source/WebCore/bindings/js/CommonVM.cpp:47 > +static bool globalConstRedeclarationShouldThrow() I know that you are only moving code, but this needs a comment with a radar that tracks when this can be removed. Perhaps it can already be removed.
Sam Weinig
Comment 3 2020-08-29 13:25:29 PDT
(In reply to Alexey Proskuryakov from comment #2) > Comment on attachment 407539 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=407539&action=review > > > Source/WebCore/bindings/js/CommonVM.cpp:47 > > +static bool globalConstRedeclarationShouldThrow() > > I know that you are only moving code, but this needs a comment with a radar > that tracks when this can be removed. Perhaps it can already be removed. Sure, feel free to file one and add the comment. I don't think this change should be predicated on that though.
Sam Weinig
Comment 4 2020-08-29 16:40:34 PDT
(In reply to Sam Weinig from comment #3) > (In reply to Alexey Proskuryakov from comment #2) > > Comment on attachment 407539 [details] > > Patch > > > > View in context: > > https://bugs.webkit.org/attachment.cgi?id=407539&action=review > > > > > Source/WebCore/bindings/js/CommonVM.cpp:47 > > > +static bool globalConstRedeclarationShouldThrow() > > > > I know that you are only moving code, but this needs a comment with a radar > > that tracks when this can be removed. Perhaps it can already be removed. > > Sure, feel free to file one and add the comment. I don't think this change > should be predicated on that though. That is to say, I'm not exactly sure what radar you want, so if you file one, I'd be happy to add a FIXME in this change (or later).
Darin Adler
Comment 5 2020-08-29 20:11:06 PDT
Comment on attachment 407539 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=407539&action=review >>>> Source/WebCore/bindings/js/CommonVM.cpp:47 >>>> +static bool globalConstRedeclarationShouldThrow() >>> >>> I know that you are only moving code, but this needs a comment with a radar that tracks when this can be removed. Perhaps it can already be removed. >> >> Sure, feel free to file one and add the comment. I don't think this change should be predicated on that though. > > That is to say, I'm not exactly sure what radar you want, so if you file one, I'd be happy to add a FIXME in this change (or later). Saam, when you landed this in r200121, 4 years ago, was there a bug in Radar to track work in iBooks to allow this to be removed? Without a setting, I wonder if they can ever remove it, since they want compatibility with old books.
Darin Adler
Comment 6 2020-08-29 20:12:25 PDT
We promised to add a setting, in bug 157101, but looks like we never did.
Darin Adler
Comment 7 2020-08-29 20:13:24 PDT
Which leads us to the appropriate bug in Radar! rdar://25965028
Sam Weinig
Comment 8 2020-08-30 18:31:02 PDT
EWS
Comment 9 2020-08-31 09:13:59 PDT
Committed r266355: <https://trac.webkit.org/changeset/266355> All reviewed patches have been landed. Closing bug and clearing flags on attachment 407582 [details].
Radar WebKit Bug Importer
Comment 10 2020-08-31 09:14:13 PDT
Note You need to log in before you can comment on or make changes to this bug.