Bug 131392 - Use an explicit class when decoding individual bundle parameters
Summary: Use an explicit class when decoding individual bundle parameters
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Anders Carlsson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-08 14:16 PDT by Anders Carlsson
Modified: 2014-04-08 14:23 PDT (History)
1 user (show)

See Also:


Attachments
Patch (1.60 KB, patch)
2014-04-08 14:18 PDT, Anders Carlsson
mitz: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Anders Carlsson 2014-04-08 14:16:36 PDT
Use an explicit class when decoding individual bundle parameters
Comment 1 Anders Carlsson 2014-04-08 14:18:04 PDT
Created attachment 228887 [details]
Patch
Comment 2 mitz 2014-04-08 14:19:30 PDT
Comment on attachment 228887 [details]
Patch

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

> Source/WebKit2/WebProcess/InjectedBundle/mac/InjectedBundleMac.mm:150
> +        parameter = [unarchiver.get() decodeObjectOfClass:[NSObject class] forKey:@"parameter"];

Why the .get()?
Comment 3 Anders Carlsson 2014-04-08 14:23:01 PDT
Committed r166961: <http://trac.webkit.org/changeset/166961>