WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
164763
[WebCore] Drop frame protection for script execution
https://bugs.webkit.org/show_bug.cgi?id=164763
Summary
[WebCore] Drop frame protection for script execution
Yusuke Suzuki
Reported
2016-11-14 20:28:01 PST
In ScriptController and ScriptElement, there are some `Ref<Frame> protector(frame)` protections. It avoids destroying Frame during executing scripts. But if there are no code touching Frame after the execution of the script, we do not need to save Frame.
Attachments
Add attachment
proposed patch, testcase, etc.
Yusuke Suzuki
Comment 1
2016-11-14 20:32:05 PST
Not in ScriptElement.
Michael Catanzaro
Comment 2
2018-01-29 12:22:10 PST
Be careful if changing this: the ScriptController is actually owned by its Frame, so removing protectors could cause the ScriptController itself to be destroyed.
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