Bug 73346

Summary: [chromium] add accessors to WebDOMMessageEvent
Product: WebKit Reporter: Karl Koscher <supersat>
Component: WebKit APIAssignee: Karl Koscher <supersat>
Status: RESOLVED FIXED    
Severity: Normal CC: creis, dglazkov, fishd, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 73337    
Attachments:
Description Flags
Patch
fishd: review-
Patch
fishd: review+, webkit.review.bot: commit-queue-
Revised patch
none
Patch should apply now none

Karl Koscher
Reported 2011-11-29 12:08:18 PST
To support cross-process postMessages in Chromium, we need to be able to access the data, origin, and target origin of a message event via its WebDOMMessageEvent wrapper.
Attachments
Patch (2.35 KB, patch)
2011-11-29 12:11 PST, Karl Koscher
fishd: review-
Patch (2.38 KB, patch)
2011-11-29 13:11 PST, Karl Koscher
fishd: review+
webkit.review.bot: commit-queue-
Revised patch (2.40 KB, patch)
2011-12-05 17:54 PST, Karl Koscher
no flags
Patch should apply now (2.40 KB, patch)
2011-12-06 22:57 PST, Karl Koscher
no flags
Karl Koscher
Comment 1 2011-11-29 12:11:30 PST
WebKit Review Bot
Comment 2 2011-11-29 12:14:22 PST
Please wait for approval from fishd@chromium.org before submitting because this patch contains changes to the Chromium public API.
Darin Fisher (:fishd, Google)
Comment 3 2011-11-29 12:57:31 PST
Comment on attachment 117016 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=117016&action=review > Source/WebKit/chromium/public/WebDOMMessageEvent.h:50 > + WEBKIT_EXPORT WebString data() const; nit: This method should probably return WebSerializedScriptValue instead.
Karl Koscher
Comment 4 2011-11-29 13:11:40 PST
Created attachment 117029 [details] Patch (In reply to comment #3) > (From update of attachment 117016 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=117016&action=review > > > Source/WebKit/chromium/public/WebDOMMessageEvent.h:50 > > + WEBKIT_EXPORT WebString data() const; > > nit: This method should probably return WebSerializedScriptValue instead. Fixed.
WebKit Review Bot
Comment 5 2011-11-29 23:45:14 PST
Comment on attachment 117029 [details] Patch Attachment 117029 [details] did not pass chromium-ews (chromium-xvfb): Output: http://queues.webkit.org/results/10693096
Karl Koscher
Comment 6 2011-12-05 17:54:21 PST
Created attachment 117969 [details] Revised patch This revised patch removes the targetOrigin accessor, which we aren't adding to MesssageEvent. This will also make it pass the commit queue.
Karl Koscher
Comment 7 2011-12-06 22:57:17 PST
Created attachment 118174 [details] Patch should apply now
WebKit Review Bot
Comment 8 2011-12-09 17:18:35 PST
Comment on attachment 118174 [details] Patch should apply now Clearing flags on attachment: 118174 Committed r102496: <http://trac.webkit.org/changeset/102496>
WebKit Review Bot
Comment 9 2011-12-09 17:18:39 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.