Title: [247690] trunk/Source/_javascript_Core
Revision
247690
Author
[email protected]
Date
2019-07-22 11:16:02 -0700 (Mon, 22 Jul 2019)

Log Message

Need to skip test cache directory data vault for non internal build
https://bugs.webkit.org/show_bug.cgi?id=199951

Patch by Zhifei Fang <[email protected]> on 2019-07-22
Reviewed by Alexey Proskuryakov.

* API/tests/testapi.mm:
(testBytecodeCacheValidation): "Cache directory `/private/tmp` is not a data vault" this error message will only be created for internal build see JSScript.mm:97

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/API/tests/testapi.mm (247689 => 247690)


--- trunk/Source/_javascript_Core/API/tests/testapi.mm	2019-07-22 18:12:14 UTC (rev 247689)
+++ trunk/Source/_javascript_Core/API/tests/testapi.mm	2019-07-22 18:16:02 UTC (rev 247690)
@@ -2405,7 +2405,9 @@
         testInvalidCacheURL([NSURL URLWithString:@""], @"Cache path `` is not a local file");
         testInvalidCacheURL([NSURL URLWithString:@"file:///"], @"Cache path `/` already exists and is not a file");
         testInvalidCacheURL([NSURL URLWithString:@"file:///a/b/c/d/e"], @"Cache directory `/a/b/c/d` is not a directory or does not exist");
+#if USE(APPLE_INTERNAL_SDK)
         testInvalidCacheURL([NSURL URLWithString:@"file:///private/tmp/file.cache"], @"Cache directory `/private/tmp` is not a data vault");
+#endif
     }
 
 #if USE(APPLE_INTERNAL_SDK)

Modified: trunk/Source/_javascript_Core/ChangeLog (247689 => 247690)


--- trunk/Source/_javascript_Core/ChangeLog	2019-07-22 18:12:14 UTC (rev 247689)
+++ trunk/Source/_javascript_Core/ChangeLog	2019-07-22 18:16:02 UTC (rev 247690)
@@ -1,3 +1,13 @@
+2019-07-22  Zhifei Fang  <[email protected]>
+
+        Need to skip test cache directory data vault for non internal build
+        https://bugs.webkit.org/show_bug.cgi?id=199951
+
+        Reviewed by Alexey Proskuryakov.
+
+        * API/tests/testapi.mm:
+        (testBytecodeCacheValidation): "Cache directory `/private/tmp` is not a data vault" this error message will only be created for internal build see JSScript.mm:97
+
 2019-07-17  Antoine Quint  <[email protected]>
 
         Disable Pointer Events prior to watchOS 6
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to