Commit 6f5fcda3 authored by ap@apple.com's avatar ap@apple.com

[Mac] fast/dom/attr-style-too-lazy.html is flaky

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

Reviewed by Darin Adler.

* DumpRenderTree/mac/UIDelegate.mm:
(-[UIDelegate webView:setStatusText:]): Don't dump anything when not running
a test, it would just semi-randomly leak to the next one.
(-[UIDelegate webView:didPressMissingPluginButton:]): Added same check here, just
for good measure.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154027 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent d40e4df9
2013-08-13 Alexey Proskuryakov <ap@apple.com>
[Mac] fast/dom/attr-style-too-lazy.html is flaky
https://bugs.webkit.org/show_bug.cgi?id=119763
Reviewed by Darin Adler.
* DumpRenderTree/mac/UIDelegate.mm:
(-[UIDelegate webView:setStatusText:]): Don't dump anything when not running
a test, it would just semi-randomly leak to the next one.
(-[UIDelegate webView:didPressMissingPluginButton:]): Added same check here, just
for good measure.
2013-08-13 Tim Horton <timothy_horton@apple.com>
[mac] Give MiniBrowser a reasonable bundle identifier
......
......@@ -197,7 +197,7 @@ DumpRenderTreeDraggingInfo *draggingInfo = nil;
- (void)webView:(WebView *)sender setStatusText:(NSString *)text
{
if (gTestRunner->dumpStatusCallbacks())
if (!done && gTestRunner->dumpStatusCallbacks())
printf("UI DELEGATE STATUS CALLBACK: setStatusText:%s\n", [text UTF8String]);
}
......@@ -290,7 +290,8 @@ DumpRenderTreeDraggingInfo *draggingInfo = nil;
- (BOOL)webView:(WebView *)webView didPressMissingPluginButton:(DOMElement *)element
{
printf("MISSING PLUGIN BUTTON PRESSED\n");
if (!done)
printf("MISSING PLUGIN BUTTON PRESSED\n");
return TRUE;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment