Bug 215978 - DeprecatedGlobalSettings::globalConstRedeclarationShouldThrow() is not actually a setting, so should not be in DeprecatedGlobalSettings
Summary: DeprecatedGlobalSettings::globalConstRedeclarationShouldThrow() is not actual...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Sam Weinig
URL:
Keywords: InRadar
Depends on:
Blocks: 250192
  Show dependency treegraph
 
Reported: 2020-08-29 08:49 PDT by Sam Weinig
Modified: 2023-11-06 01:59 PST (History)
3 users (show)

See Also:


Attachments
Patch (3.71 KB, patch)
2020-08-29 08:50 PDT, Sam Weinig
no flags Details | Formatted Diff | Diff
Patch (3.89 KB, patch)
2020-08-30 18:31 PDT, Sam Weinig
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sam Weinig 2020-08-29 08:49:11 PDT
DeprecatedGlobalSettings::globalConstRedeclarationShouldThrow() is not actually a setting, so should not be in DeprecatedGlobalSettings
Comment 1 Sam Weinig 2020-08-29 08:50:33 PDT
Created attachment 407539 [details]
Patch
Comment 2 Alexey Proskuryakov 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.
Comment 3 Sam Weinig 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.
Comment 4 Sam Weinig 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).
Comment 5 Darin Adler 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.
Comment 6 Darin Adler 2020-08-29 20:12:25 PDT
We promised to add a setting, in bug 157101, but looks like we never did.
Comment 7 Darin Adler 2020-08-29 20:13:24 PDT
Which leads us to the appropriate bug in Radar!

rdar://25965028
Comment 8 Sam Weinig 2020-08-30 18:31:02 PDT
Created attachment 407582 [details]
Patch
Comment 9 EWS 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].
Comment 10 Radar WebKit Bug Importer 2020-08-31 09:14:13 PDT
<rdar://problem/68079901>