Title: [209949] trunk/LayoutTests
Revision
209949
Author
wei...@apple.com
Date
2016-12-16 15:59:20 -0800 (Fri, 16 Dec 2016)

Log Message

Fix failing test.

* http/tests/ssl/applepay/ApplePaySession-expected.txt:
* http/tests/ssl/applepay/ApplePaySession.html:
Update results to match latest IDL.

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (209948 => 209949)


--- trunk/LayoutTests/ChangeLog	2016-12-16 23:51:59 UTC (rev 209948)
+++ trunk/LayoutTests/ChangeLog	2016-12-16 23:59:20 UTC (rev 209949)
@@ -1,3 +1,11 @@
+2016-12-16  Sam Weinig  <s...@webkit.org>
+
+        Fix failing test.
+
+        * http/tests/ssl/applepay/ApplePaySession-expected.txt:
+        * http/tests/ssl/applepay/ApplePaySession.html:
+        Update results to match latest IDL.
+
 2016-12-16  Andy Estes  <aes...@apple.com>
 
         Add a setting to suppress keyboard input during provisional navigation

Modified: trunk/LayoutTests/http/tests/ssl/applepay/ApplePaySession-expected.txt (209948 => 209949)


--- trunk/LayoutTests/http/tests/ssl/applepay/ApplePaySession-expected.txt	2016-12-16 23:51:59 UTC (rev 209948)
+++ trunk/LayoutTests/http/tests/ssl/applepay/ApplePaySession-expected.txt	2016-12-16 23:59:20 UTC (rev 209949)
@@ -239,12 +239,12 @@
 SETUP: request = validRequest(); request.billingContact = '';
 PASS new ApplePaySession(2, request) threw exception TypeError: Type error.
 
-SETUP: request = validRequest(); request.billingContact = null;
-PASS new ApplePaySession(2, request) threw exception TypeError: Type error.
-
 SETUP: request = validRequest(); request.billingContact = 7;
 PASS new ApplePaySession(2, request) threw exception TypeError: Type error.
 
+SETUP: request = validRequest(); request.billingContact = null;
+PASS new ApplePaySession(2, request) did not throw exception.
+
 SETUP: request = validRequest(); request.billingContact = undefined;
 PASS new ApplePaySession(2, request) did not throw exception.
 
@@ -297,12 +297,12 @@
 SETUP: request = validRequest(); request.shippingContact = '';
 PASS new ApplePaySession(2, request) threw exception TypeError: Type error.
 
-SETUP: request = validRequest(); request.shippingContact = null;
-PASS new ApplePaySession(2, request) threw exception TypeError: Type error.
-
 SETUP: request = validRequest(); request.shippingContact = 7;
 PASS new ApplePaySession(2, request) threw exception TypeError: Type error.
 
+SETUP: request = validRequest(); request.shippingContact = null;
+PASS new ApplePaySession(2, request) did not throw exception.
+
 SETUP: request = validRequest(); request.shippingContact = undefined;
 PASS new ApplePaySession(2, request) did not throw exception.
 

Modified: trunk/LayoutTests/http/tests/ssl/applepay/ApplePaySession.html (209948 => 209949)


--- trunk/LayoutTests/http/tests/ssl/applepay/ApplePaySession.html	2016-12-16 23:51:59 UTC (rev 209948)
+++ trunk/LayoutTests/http/tests/ssl/applepay/ApplePaySession.html	2016-12-16 23:59:20 UTC (rev 209949)
@@ -142,8 +142,8 @@
     debug("Testing PaymentRequest.billingContact")
     debug("");
     logAndShouldThrow("request = validRequest(); request.billingContact = '';", "new ApplePaySession(2, request)")
-    logAndShouldThrow("request = validRequest(); request.billingContact = null;", "new ApplePaySession(2, request)")
     logAndShouldThrow("request = validRequest(); request.billingContact = 7;", "new ApplePaySession(2, request)")
+    logAndShouldNotThrow("request = validRequest(); request.billingContact = null;", "new ApplePaySession(2, request)")
     logAndShouldNotThrow("request = validRequest(); request.billingContact = undefined;", "new ApplePaySession(2, request)")
     logAndShouldNotThrow("request = validRequest(); request.billingContact = { };", "new ApplePaySession(2, request)")
     
@@ -167,8 +167,8 @@
     debug("Testing PaymentRequest.shippingContact")
     debug("");
     logAndShouldThrow("request = validRequest(); request.shippingContact = '';", "new ApplePaySession(2, request)")
-    logAndShouldThrow("request = validRequest(); request.shippingContact = null;", "new ApplePaySession(2, request)")
     logAndShouldThrow("request = validRequest(); request.shippingContact = 7;", "new ApplePaySession(2, request)")
+    logAndShouldNotThrow("request = validRequest(); request.shippingContact = null;", "new ApplePaySession(2, request)")
     logAndShouldNotThrow("request = validRequest(); request.shippingContact = undefined;", "new ApplePaySession(2, request)")
     logAndShouldNotThrow("request = validRequest(); request.shippingContact = { };", "new ApplePaySession(2, request)")
     
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to