Bug 136998 - [GTK] Test /webkit2/WebKitWebView/can-show-mime-type fails if evince browser plugin is installed
Summary: [GTK] Test /webkit2/WebKitWebView/can-show-mime-type fails if evince browser ...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: Gtk
Depends on:
Blocks:
 
Reported: 2014-09-22 03:58 PDT by Carlos Garcia Campos
Modified: 2014-09-22 04:15 PDT (History)
2 users (show)

See Also:


Attachments
Patch (1.42 KB, patch)
2014-09-22 04:00 PDT, Carlos Garcia Campos
pnormand: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Carlos Garcia Campos 2014-09-22 03:58:54 PDT
/webkit2/WebKitWebView/can-show-mime-type: **
ERROR:../../Tools/TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitWebView.cpp:240:void testWebViewCanShowMIMEType(WebViewTest*, gconstpointer): assertion failed: (!webkit_web_view_can_show_mime_type(test->m_webView, "application/pdf"))

I think we can just remove the pdf check, since we are already checking other unsupported mime types.
Comment 1 Carlos Garcia Campos 2014-09-22 04:00:34 PDT
Created attachment 238472 [details]
Patch
Comment 2 Carlos Garcia Campos 2014-09-22 04:15:23 PDT
Committed r173832: <http://trac.webkit.org/changeset/173832>