Bug 112478 - plugins/netscape-plugin-setwindow-size*.html and plugins/pass-different-npp-struct.html should be async
Summary: plugins/netscape-plugin-setwindow-size*.html and plugins/pass-different-npp-s...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: jochen
URL:
Keywords:
Depends on:
Blocks: 110973
  Show dependency treegraph
 
Reported: 2013-03-15 16:48 PDT by jochen
Modified: 2013-03-15 17:22 PDT (History)
2 users (show)

See Also:


Attachments
Patch (5.90 KB, patch)
2013-03-15 16:49 PDT, jochen
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description jochen 2013-03-15 16:48:48 PDT
plugins/netscape-plugin-setwindow-size*.html and plugins/pass-different-npp-struct.html should be async
Comment 1 jochen 2013-03-15 16:49:29 PDT
Created attachment 193398 [details]
Patch
Comment 2 jochen 2013-03-15 16:51:24 PDT
This one is slightly different from the original patch: in the pass different npp struct test, I first invoke waitUntilDone() and then load the plugin.
Comment 3 Tony Chang 2013-03-15 16:56:48 PDT
Comment on attachment 193398 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=193398&action=review

> LayoutTests/platform/mac-wk2/plugins/netscape-plugin-setwindow-size-2-expected.txt:-1
> -This tests that a hidden plug-in gets a correct NPP_SetWindow the first time.

I see, this output is from before the log message came back from the plugin, right?
Comment 4 Tony Chang 2013-03-15 16:58:05 PDT
Comment on attachment 193398 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=193398&action=review

> LayoutTests/plugins/pass-different-npp-struct.html:5
> +  if (window.testRunner) {
> +      testRunner.dumpAsText();

The mixing of 2 and 4 space indents is confusing, but I guess the old code was like that.
Comment 5 jochen 2013-03-15 16:58:22 PDT
Comment on attachment 193398 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=193398&action=review

>> LayoutTests/platform/mac-wk2/plugins/netscape-plugin-setwindow-size-2-expected.txt:-1
>> -This tests that a hidden plug-in gets a correct NPP_SetWindow the first time.
> 
> I see, this output is from before the log message came back from the plugin, right?

Right. wk2 also uses out-of-process plugins, and has the same problem as content shell
Comment 6 WebKit Review Bot 2013-03-15 17:22:24 PDT
Comment on attachment 193398 [details]
Patch

Clearing flags on attachment: 193398

Committed r145967: <http://trac.webkit.org/changeset/145967>
Comment 7 WebKit Review Bot 2013-03-15 17:22:27 PDT
All reviewed patches have been landed.  Closing bug.