Bug 127317

Summary: UserContentController should keep track of user scripts
Product: WebKit Reporter: Anders Carlsson <andersca>
Component: New BugsAssignee: Anders Carlsson <andersca>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch kling: review+

Description Anders Carlsson 2014-01-20 15:38:26 PST
UserContentController should keep track of user scripts
Comment 1 Anders Carlsson 2014-01-20 15:39:07 PST
Created attachment 221700 [details]
Patch
Comment 2 Andreas Kling 2014-01-20 15:53:06 PST
Comment on attachment 221700 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=221700&action=review

> Source/WebCore/page/UserContentController.cpp:79
> +    auto scripts = it->value.get();

Could this be a reference instead?
Comment 3 Andreas Kling 2014-01-20 15:53:44 PST
Comment on attachment 221700 [details]
Patch

Actually no. This is crashy on EWS :|
Comment 4 Anders Carlsson 2014-01-20 15:57:49 PST
Created attachment 221701 [details]
Patch
Comment 5 Anders Carlsson 2014-01-20 16:04:35 PST
Committed r162384: <http://trac.webkit.org/changeset/162384>