WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WONTFIX
215940
Web Inspector: Graphics: remove unnecessary main page check when iterating existing animations
https://bugs.webkit.org/show_bug.cgi?id=215940
Summary
Web Inspector: Graphics: remove unnecessary main page check when iterating ex...
Devin Rousso
Reported
2020-08-28 11:32:38 PDT
.
Attachments
Patch
(4.96 KB, patch)
2020-08-28 11:38 PDT
,
Devin Rousso
bburg
: review-
bburg
: commit-queue-
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Devin Rousso
Comment 1
2020-08-28 11:38:46 PDT
Created
attachment 407491
[details]
Patch
Blaze Burg
Comment 2
2020-08-28 12:12:02 PDT
Comment on
attachment 407491
[details]
Patch LGTM, but it doesn't build. Is there a behavior change? Does this mean iframe animations will show in the main page? or that WebAnimation::instances() only returns such animations?
Devin Rousso
Comment 3
2020-08-28 13:19:43 PDT
(In reply to Brian Burg from
comment #2
)
> Comment on
attachment 407491
[details]
> Patch > > LGTM, but it doesn't build.
grumble mumble `-Wunused-private-field` grumble grumble
> Is there a behavior change? Does this mean iframe animations will show in the main page? or that WebAnimation::instances() only returns such animations?
AFAIU this is not a behavior change as subframes share the same `Page` as the main frame. It's already possible to see `WebAnimation` inside `<iframe>`. I'll adjust the ChangeLog comment to further clarify that this code indeed basically did nothing. In fact, it's possible to see `WebSocket` and `<canvas>` too, so I think we can remove those checks as well :)
Devin Rousso
Comment 4
2020-08-28 13:28:42 PDT
I totally forgot that there can be more than one `Page` per WebProcess, so we actually still do need this code.
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