WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
[patch]
Patch
bug-59184-20110422112000.patch (text/plain), 1.43 KB, created by
Alexandre Mazari
on 2011-04-22 02:20:02 PDT
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Alexandre Mazari
Created:
2011-04-22 02:20:02 PDT
Size:
1.43 KB
patch
obsolete
>Subversion Revision: 84611 >diff --git a/Tools/ChangeLog b/Tools/ChangeLog >index b4b1afffc418a3cfa478afb82920cefda63672df..34458908ffed951dc1ee86ae8afa5b11e51240f9 100644 >--- a/Tools/ChangeLog >+++ b/Tools/ChangeLog >@@ -1,3 +1,13 @@ >+2011-04-22 Alexandre MAzari <amazari@igalia.com> >+ >+ Reviewed by NOBODY (OOPS!). >+ >+ [Gtk] Implement LayoutTestController::setPluginsEnabled >+ https://bugs.webkit.org/show_bug.cgi?id=59184 >+ >+ * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: >+ (LayoutTestController::setPluginsEnabled): >+ > 2011-04-21 Tony Chang <tony@chromium.org> > > Reviewed by Mihai Parparita. >diff --git a/Tools/DumpRenderTree/gtk/LayoutTestControllerGtk.cpp b/Tools/DumpRenderTree/gtk/LayoutTestControllerGtk.cpp >index 331e222858f9526513264b734111a9db11464955..617a08ff73fa91f8c3722f8ad566121f7fa8d89a 100644 >--- a/Tools/DumpRenderTree/gtk/LayoutTestControllerGtk.cpp >+++ b/Tools/DumpRenderTree/gtk/LayoutTestControllerGtk.cpp >@@ -543,7 +543,11 @@ void LayoutTestController::setPopupBlockingEnabled(bool flag) > > void LayoutTestController::setPluginsEnabled(bool flag) > { >- // FIXME: Implement >+ WebKitWebView* view = webkit_web_frame_get_web_view(mainFrame); >+ ASSERT(view); >+ >+ WebKitWebSettings* settings = webkit_web_view_get_settings(view); >+ g_object_set(G_OBJECT(settings), "enable-plugins", flag, NULL); > } > > bool LayoutTestController::elementDoesAutoCompleteForElementWithId(JSStringRef id)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Formatted Diff
|
Diff
Attachments on
bug 59184
: 90681