WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
238381
Fix runtime expose scope check for shadow realms
https://bugs.webkit.org/show_bug.cgi?id=238381
Summary
Fix runtime expose scope check for shadow realms
Joseph Griego
Reported
2022-03-25 09:30:21 PDT
Fix runtime expose scope check for shadow realms
Attachments
Patch
(6.79 KB, patch)
2022-03-25 09:36 PDT
,
Joseph Griego
no flags
Details
Formatted Diff
Diff
Patch
(16.03 KB, patch)
2022-03-25 14:13 PDT
,
Joseph Griego
darin
: review+
Details
Formatted Diff
Diff
Patch
(16.13 KB, patch)
2022-04-08 14:48 PDT
,
Joseph Griego
no flags
Details
Formatted Diff
Diff
Patch
(15.01 KB, patch)
2022-04-18 10:29 PDT
,
Joseph Griego
no flags
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Joseph Griego
Comment 1
2022-03-25 09:36:06 PDT
Created
attachment 455774
[details]
Patch
Joseph Griego
Comment 2
2022-03-25 14:13:57 PDT
Created
attachment 455798
[details]
Patch update binding test expectations
Radar WebKit Bug Importer
Comment 3
2022-04-01 09:31:16 PDT
<
rdar://problem/91166867
>
Darin Adler
Comment 4
2022-04-08 09:49:26 PDT
Comment on
attachment 455798
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=455798&action=review
> Source/WebCore/bindings/scripts/CodeGeneratorJS.pm:4010 > + return "([&] { auto* base = $globalObjectPtr; auto obj = jsDynamicCast<$wrapperType*>(base->vm(), base); return obj && $sideCondition; })()";
WebKit coding style uses words rather than non-word abbreviations. So this would be "object" rather than "obj". Same in the many other cases below and above.
Joseph Griego
Comment 5
2022-04-08 10:48:18 PDT
Thanks Darin, and apologies; I need to add a pre-commit hook for myself to yell when a variable is named `obj`! Old habits are hard to break
Joseph Griego
Comment 6
2022-04-08 14:48:39 PDT
Created
attachment 457120
[details]
Patch
Joseph Griego
Comment 7
2022-04-18 10:29:35 PDT
Created
attachment 457810
[details]
Patch
EWS
Comment 8
2022-04-19 10:26:11 PDT
Committed
r293021
(
249760@main
): <
https://commits.webkit.org/249760@main
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 457810
[details]
.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug