Bug 210148 - We can still cache delete in strict mode as long as the property is not "non-configurable"
Summary: We can still cache delete in strict mode as long as the property is not "non-...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Saam Barati
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2020-04-07 13:32 PDT by Saam Barati
Modified: 2020-04-09 11:00 PDT (History)
13 users (show)

See Also:


Attachments
patch (3.97 KB, patch)
2020-04-08 10:54 PDT, Saam Barati
no flags Details | Formatted Diff | Diff
patch (3.97 KB, patch)
2020-04-08 10:56 PDT, Saam Barati
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Saam Barati 2020-04-07 13:32:20 PDT
Only deletes on non-configurable in strict mode throw
Comment 1 Saam Barati 2020-04-08 10:54:37 PDT
Created attachment 395836 [details]
patch
Comment 2 Saam Barati 2020-04-08 10:55:34 PDT
Comment on attachment 395836 [details]
patch

View in context: https://bugs.webkit.org/attachment.cgi?id=395836&action=review

> JSTests/microbenchmarks/delete-cache-strict-mode.js:27
> +noInline(doDel);

oops: this should be doDelByVal, will fix
Comment 3 Saam Barati 2020-04-08 10:56:28 PDT
Created attachment 395837 [details]
patch
Comment 4 Tadeu Zagallo 2020-04-08 11:16:36 PDT
Comment on attachment 395837 [details]
patch

r=me
Comment 5 EWS 2020-04-09 10:59:12 PDT
Committed r259807: <https://trac.webkit.org/changeset/259807>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 395837 [details].
Comment 6 Radar WebKit Bug Importer 2020-04-09 11:00:16 PDT
<rdar://problem/61527037>