http://trac.webkit.org/changeset/144224
https://bugs.webkit.org/show_bug.cgi?id=111045
Caused plugins/pass-different-npp-struct.html to time out
(Requested by abarth on #webkit).
Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2013-02-27
Tools:
* DumpRenderTree/TestNetscapePlugIn/Tests/PassDifferentNPPStruct.cpp:
(PassDifferentNPPStruct::NPP_SetWindow):
* DumpRenderTree/TestNetscapePlugIn/main.cpp:
(NPP_SetWindow):
LayoutTests:
* platform/mac-wk2/plugins/netscape-plugin-setwindow-size-2-expected.txt: Added.
* plugins/netscape-plugin-setwindow-size-2.html:
* plugins/netscape-plugin-setwindow-size.html:
* plugins/pass-different-npp-struct.html:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@144266
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2013-02-27 Sheriff Bot <webkit.review.bot@gmail.com>
+
+ Unreviewed, rolling out r144224.
+ http://trac.webkit.org/changeset/144224
+ https://bugs.webkit.org/show_bug.cgi?id=111045
+
+ Caused plugins/pass-different-npp-struct.html to time out
+ (Requested by abarth on #webkit).
+
+ * platform/mac-wk2/plugins/netscape-plugin-setwindow-size-2-expected.txt: Added.
+ * plugins/netscape-plugin-setwindow-size-2.html:
+ * plugins/netscape-plugin-setwindow-size.html:
+ * plugins/pass-different-npp-struct.html:
+
2013-02-27 Adam Barth <abarth@webkit.org>
Unreviewed.
--- /dev/null
+This tests that a hidden plug-in gets a correct NPP_SetWindow the first time.
<script>
if (window.testRunner) {
testRunner.dumpAsText();
- testRunner.waitUntilDone();
testRunner.setWindowIsKey(false);
}
<html>
<head>
<script>
- if (window.testRunner) {
+ if (window.testRunner)
testRunner.dumpAsText();
- testRunner.waitUntilDone();
- }
</script>
<body style="margin:0px;overflow:hidden">
<embed id="testPlugin" type="application/x-webkit-test-netscape" logfirstsetwindow="true" width="100%" height="200"></embed>
This tests that no assertions fire when a plugin passes a different NPP struct to one of the NPN* functions (specifically, NPN_GetValue).
</div>
<script>
- if (window.testRunner) {
+ if (window.testRunner)
testRunner.dumpAsText();
- testRunner.waitUntilDone();
- }
</script>
</body>
</html>
+2013-02-27 Sheriff Bot <webkit.review.bot@gmail.com>
+
+ Unreviewed, rolling out r144224.
+ http://trac.webkit.org/changeset/144224
+ https://bugs.webkit.org/show_bug.cgi?id=111045
+
+ Caused plugins/pass-different-npp-struct.html to time out
+ (Requested by abarth on #webkit).
+
+ * DumpRenderTree/TestNetscapePlugIn/Tests/PassDifferentNPPStruct.cpp:
+ (PassDifferentNPPStruct::NPP_SetWindow):
+ * DumpRenderTree/TestNetscapePlugIn/main.cpp:
+ (NPP_SetWindow):
+
2013-02-27 Adam Barth <abarth@webkit.org>
[Chromium] Enable threaded HTML parser by default in DumpRenderTree
if (error != NPERR_NO_ERROR) {
log("NPN_GetValue(NPNVprivateModeBool) with a different NPP struct failed with error %d", error);
- notifyDone();
return NPERR_GENERIC_ERROR;
}
log("NPN_GetValue(NPNVprivateModeBool) with a different NPP struct succeeded");
- notifyDone();
return NPERR_NO_ERROR;
}
if (obj->logSetWindow) {
pluginLog(instance, "NPP_SetWindow: %d %d", (int)window->width, (int)window->height);
obj->logSetWindow = FALSE;
- executeScript(obj, "testRunner.notifyDone();");
}
if (obj->onSetWindow)