[Webkit-unassigned] [Bug 33333] New: Move plugins/open-and-close-window-with-plugin.html to platform/mac

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jan 7 11:24:41 PST 2010


https://bugs.webkit.org/show_bug.cgi?id=33333

           Summary: Move plugins/open-and-close-window-with-plugin.html to
                    platform/mac
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Other
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: robert at roberthogan.net


This test cannot pass on platforms other than Mac because the NP plugin
is a child of the page rather than the webview on those platforms.

The test is intended to cater for cases where a window is closed but
-[webview close] is not called by the plugin - Mac experienced a
regression where you could close the window and the plugin would continue
displaying because the plugin did not close the webview. When a window is
closed
on non-Mac platforms the page is deleted and the plugin destroyed, so
the message logged by the plugin in the test reaches a deleted object.
In the case of Qt, because the object is (being) deleted the log message
from the plugin arrives in the QWebPage's implementation of
javascriptConsoleMessage() (which does nothing by default) rather than
in that of DRT's derived class WebPage (which writes to stdout). It's
pure chance that the memory has not been overwritten at
that point so it would not be correct to alter QWebpage to
cater for it. (Note that this behaviour only occurs in the DRT anyway
because the test plugin has logDestroy property).

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list