Bug 34997

Summary: Add call to FrameLoaderClient::allowPlugins everywhere arePluginsEnabled is called
Product: WebKit Reporter: Adam Barth <abarth>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: dglazkov, eric, gustavo, pkasting, webkit.review.bot, xan.lopez
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Other   
OS: OS X 10.5   
Attachments:
Description Flags
Patch
none
Patch
none
Patch fishd: review+, fishd: commit-queue+

Description Adam Barth 2010-02-16 14:12:28 PST
Add call to FrameLoaderClient::allowPlugins everywhere arePluginsEnabled is called
Comment 1 Adam Barth 2010-02-16 14:14:05 PST
Created attachment 48831 [details]
Patch
Comment 2 Eric Seidel (no email) 2010-02-16 14:17:05 PST
Attachment 48831 [details] did not build on mac:
Build output: http://webkit-commit-queue.appspot.com/results/271553
Comment 3 WebKit Review Bot 2010-02-16 14:24:24 PST
Attachment 48831 [details] did not build on gtk:
Build output: http://webkit-commit-queue.appspot.com/results/271555
Comment 4 WebKit Review Bot 2010-02-16 14:42:28 PST
Attachment 48831 [details] did not build on chromium:
Build output: http://webkit-commit-queue.appspot.com/results/271577
Comment 5 Adam Barth 2010-02-16 18:05:54 PST
Comment on attachment 48831 [details]
Patch

Oops.  Will try again.
Comment 6 Adam Barth 2010-02-20 23:19:44 PST
Created attachment 49142 [details]
Patch
Comment 7 Adam Barth 2010-02-20 23:20:40 PST
This time I actually tried it.  :)
Comment 8 WebKit Review Bot 2010-02-20 23:25:34 PST
Attachment 49142 [details] did not build on qt:
Build output: http://webkit-commit-queue.appspot.com/results/296159
Comment 9 Adam Barth 2010-02-20 23:45:05 PST
Created attachment 49143 [details]
Patch
Comment 10 Eric Seidel (no email) 2010-02-24 14:56:29 PST
Comment on attachment 49143 [details]
Patch

Why not just add a new method on Loader which does this check?

Seems slightly silly to have to copy/paste this large line.
Comment 11 Adam Barth 2010-02-24 15:49:02 PST
> Why not just add a new method on Loader which does this check?

Sounds like a good idea.  Will do in a followup patch.
Comment 12 Peter Kasting 2010-02-24 16:17:25 PST
Landed in r55206.