Reviewed by Darin.
authorweinig <weinig@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 3 Jul 2007 22:51:56 +0000 (22:51 +0000)
committerweinig <weinig@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 3 Jul 2007 22:51:56 +0000 (22:51 +0000)
        Eleventh round of fixes for implicit 64-32 bit conversion errors.
        <rdar://problem/5292262>

        Add functions to test long long and unsigned long long.

        * DumpRenderTree/DumpRenderTree.m:
        (+[LayoutTestController isSelectorExcludedFromWebScript:]):
        (+[LayoutTestController webScriptNameForSelector:]):
        (-[LayoutTestController objCLongLongRoundTrip:]):
        (-[LayoutTestController objCUnsignedLongLongRoundTrip:]):

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

WebKitTools/ChangeLog
WebKitTools/DumpRenderTree/DumpRenderTree.m

index 4762e7f3563ee9476b01d57f3a9191e5fbe765af..4dd896a010c92ca36b3d38257786fac794db4d66 100644 (file)
@@ -1,3 +1,18 @@
+2007-07-03  Sam Weinig  <sam@webkit.org>
+
+        Reviewed by Darin.
+
+        Eleventh round of fixes for implicit 64-32 bit conversion errors.
+        <rdar://problem/5292262>
+
+        Add functions to test long long and unsigned long long.
+
+        * DumpRenderTree/DumpRenderTree.m:
+        (+[LayoutTestController isSelectorExcludedFromWebScript:]):
+        (+[LayoutTestController webScriptNameForSelector:]):
+        (-[LayoutTestController objCLongLongRoundTrip:]):
+        (-[LayoutTestController objCUnsignedLongLongRoundTrip:]):
+
 2007-07-01  Adam Roben  <aroben@apple.com>
 
         Fix some paths to make http tests work again on Windows
index b65479f31af66421d6d6a2090c776ddf6808474a..5bcd19bb612870049d3933b0a6786c5bbced7432 100644 (file)
@@ -976,7 +976,9 @@ void dump(void)
             || aSelector == @selector(setCloseRemainingWindowsWhenComplete:)
             || aSelector == @selector(setUseDashboardCompatibilityMode:)
             || aSelector == @selector(windowCount)
-            || aSelector == @selector(addFileToPasteboardOnDrag))
+            || aSelector == @selector(addFileToPasteboardOnDrag)
+            || aSelector == @selector(objCLongLongRoundTrip:)
+            || aSelector == @selector(objCUnsignedLongLongRoundTrip:))
         return NO;
     return YES;
 }
@@ -1021,6 +1023,10 @@ void dump(void)
         return @"setCloseRemainingWindowsWhenComplete";
     if (aSelector == @selector(setUseDashboardCompatibilityMode:))
         return @"setUseDashboardCompatiblityMode";
+    if (aSelector == @selector(objCLongLongRoundTrip:))
+        return @"objCLongLongRoundTrip";
+    if (aSelector == @selector(objCUnsignedLongLongRoundTrip:))
+        return @"objCUnsignedLongLongRoundTrip";
     
     return nil;
 }
@@ -1382,6 +1388,16 @@ void dump(void)
     return a == b;
 }
 
+- (long long)objCLongLongRoundTrip:(long long)num
+{
+    return num;
+}
+
+- (unsigned long long)objCUnsignedLongLongRoundTrip:(unsigned long long)num
+{
+    return num;
+}
+
 @end
 
 static bool shouldLogFrameLoadDelegates(const char *pathOrURL)