The Wayback Machine - https://web.archive.org/web/20230430213550/https://trac.webkit.org/changeset/87632/webkit

Changeset 87632 in webkit

Timestamp:
May 28, 2011 7:46:00 PM (12 years ago)
Author:
mrowe@apple.com
Message:

Merge r87624.

Location:
branches/safari-534-branch/Source/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/safari-534-branch/Source/WebKit2/ChangeLog

    r87630 r87632 
     12011-05-28  Mark Rowe  <mrowe@apple.com>
     2
     3        Merge r87624.
     4
     5    2011-05-28  Anders Carlsson  <andersca@apple.com>
     6
     7        Reviewed by Dan Bernstein.
     8
     9        REGRESSION (r86578): Flash content missing from mercurynews.com
     10        https://bugs.webkit.org/show_bug.cgi?id=61691
     11        <rdar://problem/9519893>
     12
     13        If the plug-in doesn't have access to the toplevel URL, make sure to
     14        return *something* to the plug-in.
     15
     16        * PluginProcess/PluginControllerProxy.cpp:
     17        (WebKit::PluginControllerProxy::tryToShortCircuitInvoke):
     18
    1192011-05-28  Mark Rowe  <mrowe@apple.com>
    220
  • branches/safari-534-branch/Source/WebKit2/PluginProcess/PluginControllerProxy.cpp

    r86578 r87632 
    320320        if (m_pluginCreationParameters->parameters.toplevelDocumentURL.isNull()) {
    321321            // If the toplevel document is URL it means that the frame that the plug-in is in doesn't have access to the toplevel document.
    322             returnValue = false;
     322            // In this case, just pass the string "[object]" to Flash.
     323            result.type = NPVariantType_String;
     324            result.value.stringValue = createNPString("[object]");
     325            returnValue = true;
    323326            return true;
    324327        }
Note: See TracChangeset for help on using the changeset viewer.
close