Bug 239346

Summary: InternalFunction::createSubclassStructure() should use base object's global object
Product: WebKit Reporter: Alexey Shvayka <ashvayka>
Component: JavaScriptCoreAssignee: Alexey Shvayka <ashvayka>
Status: RESOLVED FIXED    
Severity: Trivial CC: darin, ews-watchlist, keith_miller, mark.lam, msaboff, saam, tzagallo, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: All   
OS: All   
Attachments:
Description Flags
Patch darin: review+

Alexey Shvayka
Reported 2022-04-14 10:22:02 PDT
InternalFunction::createSubclassStructure() should use base object's global object
Attachments
Patch (4.68 KB, patch)
2022-04-14 10:24 PDT, Alexey Shvayka
darin: review+
Alexey Shvayka
Comment 1 2022-04-14 10:24:37 PDT
Darin Adler
Comment 2 2022-04-14 10:37:48 PDT
Comment on attachment 457640 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=457640&action=review > Source/JavaScriptCore/ChangeLog:9 > + Chrome and Firefox don't agree on interoperable behavior in case of cross-realm > + NewTarget's "prototype", so this patch aligns WebKit with Chrome to fix a web-compat issue. In future: Where should the interoperability test go? WPT? Somewhere else?
Alexey Shvayka
Comment 3 2022-04-14 12:30:41 PDT
Radar WebKit Bug Importer
Comment 4 2022-04-14 12:31:15 PDT
Alexey Shvayka
Comment 5 2022-04-14 12:31:44 PDT
(In reply to Darin Adler from comment #2) > Comment on attachment 457640 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=457640&action=review > > > Source/JavaScriptCore/ChangeLog:9 > > + Chrome and Firefox don't agree on interoperable behavior in case of cross-realm > > + NewTarget's "prototype", so this patch aligns WebKit with Chrome to fix a web-compat issue. > > In future: Where should the interoperability test go? WPT? Somewhere else? Discussed this with Darin offline.
Radar WebKit Bug Importer
Comment 6 2022-04-14 12:31:56 PDT
Alexey Shvayka
Comment 7 2022-04-14 13:19:23 PDT
Note You need to log in before you can comment on or make changes to this bug.