Bug 120763

Summary: [GTK][WK2] Update ContextMenu Download API
Product: WebKit Reporter: Brian Holt <brian.holt>
Component: WebKitGTKAssignee: Brian Holt <brian.holt>
Status: RESOLVED FIXED    
Severity: Normal CC: cgarcia, commit-queue, gustavo, mrobinson, pnormand
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Brian Holt
Reported 2013-09-05 02:10:00 PDT
From https://bugs.webkit.org/show_bug.cgi?id=120459. The new tags to download media to disk should be merged into the 2.2 release so the docs need updating. Also, a new unit test for the audio tag should be added.
Attachments
Patch (5.86 KB, patch)
2013-09-05 09:24 PDT, Brian Holt
no flags
Brian Holt
Comment 1 2013-09-05 09:24:30 PDT
Brian Holt
Comment 2 2013-09-05 09:27:07 PDT
Comment on attachment 210627 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=210627&action=review > Source/WebKit2/UIProcess/API/gtk/WebKitContextMenuActions.h:75 > + * @WEBKIT_CONTEXT_MENU_ACTION_DOWNLOAD_VIDEO_TO_DISK: Download video to disk. Since 2.2 Unfortunately this doesn't result in the enum appearing under the Since 2.2 section of the docs... Perhaps there is a different way, or it doesn't matter? > Source/WebKit2/UIProcess/API/gtk/tests/TestContextMenu.cpp:324 > + iter = checkCurrentItemIsStockActionAndGetNext(iter, WEBKIT_CONTEXT_MENU_ACTION_ENTER_VIDEO_FULLSCREEN, Visible); This surprised me, but without it the test will not pass!
WebKit Commit Bot
Comment 3 2013-09-05 09:27:39 PDT
Thanks for the patch. If this patch contains new public API please make sure it follows the guidelines for new WebKit2 GTK+ API. See http://trac.webkit.org/wiki/WebKitGTK/AddingNewWebKit2API
WebKit Commit Bot
Comment 4 2013-09-09 06:04:27 PDT
Comment on attachment 210627 [details] Patch Clearing flags on attachment: 210627 Committed r155345: <http://trac.webkit.org/changeset/155345>
WebKit Commit Bot
Comment 5 2013-09-09 06:04:32 PDT
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.