Changeset 70544 in webkit


Ignore:
Timestamp:
Oct 26, 2010 11:23:40 AM (14 years ago)
Author:
andersca@apple.com
Message:

Enable the plug-in process on Mac
https://bugs.webkit.org/show_bug.cgi?id=48350

Reviewed by Sam Weinig.

WebKit2:

  • WebKit2Prefix.h:

Flip the switch and enable the plug-in process on Mac.

  • WebProcess/Plugins/Netscape/mac/NetscapePluginMac.mm:

(WebKit::NetscapePlugin::platformDestroy):
Fix a bogus assert.

LayoutTests:

  • platform/mac-wk2/Skipped:

Update WebKit2 mac skipped list.

Location:
trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r70542 r70544  
     12010-10-26  Anders Carlsson  <andersca@apple.com>
     2
     3        Reviewed by Sam Weinig.
     4
     5        Enable the plug-in process on Mac
     6        https://bugs.webkit.org/show_bug.cgi?id=48350
     7
     8        * platform/mac-wk2/Skipped:
     9        Update WebKit2 mac skipped list.
     10
    1112010-10-26  Pavel Feldman  <pfeldman@chromium.org>
    212
  • trunk/LayoutTests/platform/mac-wk2/Skipped

    r70501 r70544  
    17991799http/tests/loading/text-content-type-with-binary-extension.html
    18001800
     1801# NPRuntime support for out-of-process plug-ins
     1802# <https://bugs.webkit.org/show_bug.cgi?id=48346>
     1803http/tests/plugins/cross-frame-object-access.html
     1804http/tests/plugins/get-url.html
     1805http/tests/plugins/geturlnotify-from-npp-destroystream.html
     1806http/tests/plugins/interrupted-get-url.html
     1807http/tests/plugins/local-geturl-from-remote.html
     1808http/tests/plugins/npapi-response-headers.html
     1809plugins/destroy-during-npp-new.html
     1810plugins/destroy-stream-twice.html
     1811plugins/embed-inside-object.html
     1812plugins/get-empty-url.html
     1813plugins/get-file-url.html
     1814plugins/get-javascript-url.html
     1815plugins/get-url-with-iframe-target.html
     1816plugins/geturl-replace-query.html
     1817plugins/inner-html-display-none.html
     1818plugins/instance-available-before-stylesheets-loaded-object.html
     1819plugins/instance-available-before-stylesheets-loaded.html
     1820plugins/netscape-plugin-map-data-to-src.html
     1821plugins/netscape-plugin-setwindow-size.html
     1822plugins/override-node-method.html
     1823plugins/pass-different-npp-struct.html
     1824plugins/plugin-remove-subframe.html
     1825plugins/reentrant-update-widget-positions.html
     1826plugins/reloadplugins-no-pages.html
     1827plugins/return-error-from-new-stream-doesnt-invoke-destroy-stream.html
     1828plugins/return-negative-one-from-write.html
     1829plugins/set-status.html
     1830plugins/update-widgets-crash.html
     1831plugins/window-open.html
     1832plugins/npruntime/embed-property.html
     1833plugins/npruntime/enumerate.html
     1834plugins/npruntime/evaluate.html
     1835plugins/npruntime/get-int-identifier-special-values.html
     1836plugins/npruntime/get-property-return-value.html
     1837plugins/npruntime/identifier-conversion.html
     1838plugins/npruntime/invoke-browserfuncs.html
     1839plugins/npruntime/invoke-default.html
     1840plugins/npruntime/invoke.html
     1841plugins/npruntime/npruntime.html
     1842plugins/npruntime/object-from-destroyed-plugin.html
     1843plugins/npruntime/plugin-scriptable-object-invoke-default.html
     1844plugins/npruntime/round-trip-npobject.html
     1845plugins/npruntime/set-property.html
     1846 
    18011847########################################
    18021848
     
    21952241media/video-zoom-controls.html
    21962242platform/mac/fast/loader/non-html-load-event.html
     2243plugins/embed-attributes-style.html
    21972244storage/multiple-databases-garbage-collection.html
    21982245storage/open-database-while-transaction-in-progress.html
  • trunk/WebKit2/ChangeLog

    r70520 r70544  
     12010-10-26  Anders Carlsson  <andersca@apple.com>
     2
     3        Reviewed by Sam Weinig.
     4
     5        Enable the plug-in process on Mac
     6        https://bugs.webkit.org/show_bug.cgi?id=48350
     7
     8        * WebKit2Prefix.h:
     9        Flip the switch and enable the plug-in process on Mac.
     10
     11        * WebProcess/Plugins/Netscape/mac/NetscapePluginMac.mm:
     12        (WebKit::NetscapePlugin::platformDestroy):
     13        Fix a bogus assert.
     14
    1152010-10-26  Zoltan Horvath  <zoltan@webkit.org>
    216
  • trunk/WebKit2/WebKit2Prefix.h

    r69538 r70544  
    6060#endif
    6161
    62 // FIXME: Enable once this works well enough.
    63 #define ENABLE_PLUGIN_PROCESS 0
     62#define ENABLE_PLUGIN_PROCESS 1
    6463
    6564#import <CoreGraphics/CoreGraphics.h>
  • trunk/WebKit2/WebProcess/Plugins/Netscape/mac/NetscapePluginMac.mm

    r70506 r70544  
    153153    if (m_eventModel == NPEventModelCarbon) {
    154154        // Destroy the fake Carbon window.
    155         ASSERT(m_npCGContext.window);
    156         DisposeWindow(static_cast<WindowRef>(m_npCGContext.window));
     155        if (m_npCGContext.window)
     156            DisposeWindow(static_cast<WindowRef>(m_npCGContext.window));
    157157
    158158        // Stop the null event timer.
Note: See TracChangeset for help on using the changeset viewer.