| Summary: | InternalFunction::createSubclassStructure() should use base object's global object | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Alexey Shvayka <ashvayka> | ||||
| Component: | JavaScriptCore | Assignee: | 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
Alexey Shvayka
2022-04-14 10:22:02 PDT
Created attachment 457640 [details]
Patch
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? Committed r292883 (249653@trunk): <https://commits.webkit.org/249653@trunk> (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. Committed r292886 (249656@trunk): <https://commits.webkit.org/249656@trunk> |