Bug 1494928 [wpt PR 13258] - Simplify UUID RegExp because OS variants, a=testonly
authorMarcos Cáceres <mcaceres@mozilla.com>
Tue, 09 Oct 2018 04:12:50 +0000
changeset 498634 b7b8399e627679068a3f9ea3eb854e77976ef3e1
parent 498633 7a5fbc7c20518c2ba068bb0882af31ea095de5ef
child 498635 948fac6ee88f4cae55b402b773d71da8b847e249
push id1864
push userffxbld-merge
push dateMon, 03 Dec 2018 15:51:40 +0000
treeherdermozilla-release@f040763d99ad [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstestonly
bugs1494928, 13258
milestone64.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1494928 [wpt PR 13258] - Simplify UUID RegExp because OS variants, a=testonly Automatic update from web-platform-testsSimplify UUID RegExp because OS variants -- wpt-commits: 7a564fd15ffbb61d61e65a32977e8349bdf3ec50 wpt-pr: 13258
testing/web-platform/tests/payment-request/payment-request-id-attribute.https.html
--- a/testing/web-platform/tests/payment-request/payment-request-id-attribute.https.html
+++ b/testing/web-platform/tests/payment-request/payment-request-id-attribute.https.html
@@ -15,17 +15,17 @@ test(() => {
     total,
   });
   assert_idl_attribute(request1, "id");
   assert_equals(request1.id, "pass", "Expected PaymentRequest.id to be 'pass'");
 }, "PaymentRequest's id attribute's value can be set via PaymentDetailsInit dictionary");
 
 // Test for https://github.com/w3c/payment-request/pull/665
 test(() => {
-  const uuidRegExp = /^[0-9a-f]{8}-[0-9a-f]{4}-[1-4][0-9a-f]{3}-[0-9a-f]{4}-[0-9a-f]{12}$/i;
+  const uuidRegExp = /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;
   const request1 = new PaymentRequest(methods, {
     total,
   });
   const request2 = new PaymentRequest(methods, {
     total,
   });
   assert_true(
     uuidRegExp.test(request1.id) && uuidRegExp.test(request2.id) ,