fast/events/overflow-scroll-fake-mouse-move.html and fast/events/frame-scroll-fake...
authormitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 15 Aug 2012 02:52:20 +0000 (02:52 +0000)
committermitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 15 Aug 2012 02:52:20 +0000 (02:52 +0000)
https://bugs.webkit.org/show_bug.cgi?id=94045

Reviewed by Geoff Garen.

* DumpRenderTree/mac/DumpRenderTreeWindow.mm:
(-[DumpRenderTreeWindow _hasKeyAppearance]): Added. Returns [self isKeyWindow]. This is
needed now that WebView uses -_hasKeyAppearance instead of -isKeyWindow.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@125638 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Tools/ChangeLog
Tools/DumpRenderTree/mac/DumpRenderTreeWindow.mm

index 1503a4a..48c4c60 100644 (file)
@@ -1,3 +1,14 @@
+2012-08-14  Dan Bernstein  <mitz@apple.com>
+
+        fast/events/overflow-scroll-fake-mouse-move.html and fast/events/frame-scroll-fake-mouse-move.html are failing in WebKit1
+        https://bugs.webkit.org/show_bug.cgi?id=94045
+
+        Reviewed by Geoff Garen.
+
+        * DumpRenderTree/mac/DumpRenderTreeWindow.mm:
+        (-[DumpRenderTreeWindow _hasKeyAppearance]): Added. Returns [self isKeyWindow]. This is
+        needed now that WebView uses -_hasKeyAppearance instead of -isKeyWindow.
+
 2012-08-14  Alexey Proskuryakov  <ap@apple.com>
 
         [WK2] Fix some typos in MiniBrowser
index 07912fa..17a114b 100644 (file)
@@ -82,6 +82,11 @@ static CFArrayCallBacks NonRetainingArrayCallbacks = {
     return gTestRunner ? gTestRunner->windowIsKey() : YES;
 }
 
+- (BOOL)_hasKeyAppearance
+{
+    return [self isKeyWindow];
+}
+
 - (void)keyDown:(NSEvent *)event
 {
     // Do nothing, avoiding the beep we'd otherwise get from NSResponder,