Title: [158761] trunk/Tools
Revision
158761
Author
[email protected]
Date
2013-11-06 11:01:30 -0800 (Wed, 06 Nov 2013)

Log Message

Fix a Mountain Lion test failure.

NSURLRequest doesn't conform to NSSecureCoding on Mountain Lion, so don't try to test encoding it.

* TestWebKitAPI/Tests/WebKit2ObjC/WKRemoteObjectRegistry.mm:
(TestWebKitAPI::TEST):

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (158760 => 158761)


--- trunk/Tools/ChangeLog	2013-11-06 18:53:17 UTC (rev 158760)
+++ trunk/Tools/ChangeLog	2013-11-06 19:01:30 UTC (rev 158761)
@@ -1,3 +1,12 @@
+2013-11-06  Anders Carlsson  <[email protected]>
+
+        Fix a Mountain Lion test failure.
+
+        NSURLRequest doesn't conform to NSSecureCoding on Mountain Lion, so don't try to test encoding it.
+
+        * TestWebKitAPI/Tests/WebKit2ObjC/WKRemoteObjectRegistry.mm:
+        (TestWebKitAPI::TEST):
+
 2013-11-06  Krzysztof Czech  <[email protected]>
 
         [ATK] Implement tables-related attributesOf*() functions for AccessibilityUIElement

Modified: trunk/Tools/TestWebKitAPI/Tests/WebKit2ObjC/WKRemoteObjectRegistry.mm (158760 => 158761)


--- trunk/Tools/TestWebKitAPI/Tests/WebKit2ObjC/WKRemoteObjectRegistry.mm	2013-11-06 18:53:17 UTC (rev 158760)
+++ trunk/Tools/TestWebKitAPI/Tests/WebKit2ObjC/WKRemoteObjectRegistry.mm	2013-11-06 19:01:30 UTC (rev 158761)
@@ -101,9 +101,11 @@
     [remoteObjectProxy sayHello];
     [remoteObjectProxy testMethodWithString:@"Hello" double:123.456 integer:789];
 
+#if __MAC_OS_X_VERSION_MIN_REQUIRED >= 1090
     NSURLRequest *request = [NSURLRequest requestWithURL:[NSURL URLWithString:@"http://www.webkit.org/" relativeToURL:[NSURL URLWithString:@"http://www.webkit.org/"]] cachePolicy:NSURLRequestReloadIgnoringCacheData timeoutInterval:123.456];
 
     [remoteObjectProxy testMethodWithArray:@[ @1, @2, @3 ] dictionary:@{ @"Key" : @"Value", @123 : @456 } request:request];
+#endif
 
     // FIXME: Set this once the test actually is finished.
     testFinished = true;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to