Bug 222523 - [JSC] Throw TypeError when getFunctionRealm hits revoked Proxy
Summary: [JSC] Throw TypeError when getFunctionRealm hits revoked Proxy
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: Yusuke Suzuki
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-02-27 23:06 PST by Yusuke Suzuki
Modified: 2021-03-01 11:22 PST (History)
8 users (show)

See Also:


Attachments
Patch (62.30 KB, patch)
2021-02-27 23:26 PST, Yusuke Suzuki
no flags Details | Formatted Diff | Diff
Patch (62.39 KB, patch)
2021-02-27 23:28 PST, Yusuke Suzuki
no flags Details | Formatted Diff | Diff
Patch (62.42 KB, patch)
2021-02-27 23:34 PST, Yusuke Suzuki
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Yusuke Suzuki 2021-02-27 23:06:45 PST
[JSC] Throw TypeError when getFunctionRealm hits revoked Proxy
Comment 1 Yusuke Suzuki 2021-02-27 23:26:15 PST
Created attachment 421767 [details]
Patch
Comment 2 Yusuke Suzuki 2021-02-27 23:28:54 PST
Created attachment 421768 [details]
Patch
Comment 3 Yusuke Suzuki 2021-02-27 23:34:53 PST
Created attachment 421769 [details]
Patch
Comment 4 Alexey Shvayka 2021-03-01 08:00:49 PST
Comment on attachment 421769 [details]
Patch

Absolutely gorgeous!
Comment 5 Yusuke Suzuki 2021-03-01 10:50:16 PST
Comment on attachment 421769 [details]
Patch

Thanks!
Comment 6 EWS 2021-03-01 11:21:47 PST
Committed r273661: <https://commits.webkit.org/r273661>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 421769 [details].
Comment 7 Radar WebKit Bug Importer 2021-03-01 11:22:15 PST
<rdar://problem/74880414>