Changeset 56064 in webkit


Ignore:
Timestamp:
Mar 16, 2010 9:09:31 AM (14 years ago)
Author:
abarth@webkit.org
Message:

2010-03-16 Adam Barth <abarth@webkit.org>

Unreviewed.

noscript tag should render when @sandbox disables JavaScript
https://bugs.webkit.org/show_bug.cgi?id=36092

Add missing "!" in plugin code. Should fix plugins/embed-inside-object
on Gtk and Qt.

  • plugins/PluginView.cpp: (WebCore::PluginView::load):
Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r56063 r56064  
     12010-03-16  Adam Barth  <abarth@webkit.org>
     2
     3        Unreviewed.
     4
     5        noscript tag should render when @sandbox disables JavaScript
     6        https://bugs.webkit.org/show_bug.cgi?id=36092
     7
     8        Add missing "!" in plugin code.  Should fix plugins/embed-inside-object
     9        on Gtk and Qt.
     10
     11        * plugins/PluginView.cpp:
     12        (WebCore::PluginView::load):
     13
    1142010-03-16  Nate Chapin  <japhet@chromium.org>
    215
  • trunk/WebCore/plugins/PluginView.cpp

    r56046 r56064  
    535535    if (!jsString.isNull()) {
    536536        // Return NPERR_GENERIC_ERROR if JS is disabled. This is what Mozilla does.
    537         if (m_parentFrame->script()->canExecuteScripts(NotAboutToExecuteScript))
     537        if (!m_parentFrame->script()->canExecuteScripts(NotAboutToExecuteScript))
    538538            return NPERR_GENERIC_ERROR;
    539539
Note: See TracChangeset for help on using the changeset viewer.