Bug 1483069 [wpt PR 12448] - Test length of `selectedOptions` after change, a=testonly
authorZirro <code@zirro.se>
Thu, 16 Aug 2018 09:37:48 +0000
changeset 487086 b5ef3ca3c0dddef6993cbfb9dee454d1eab99b47
parent 487085 fb6563c40067647e0aee54629917b896639a2ee4
child 487087 dcc25e3e6d2d9ddc539aabd02f4c0ea503d4292e
push id9719
push userffxbld-merge
push dateFri, 24 Aug 2018 17:49:46 +0000
treeherdermozilla-beta@719ec98fba77 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstestonly
bugs1483069, 12448
milestone63.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 1483069 [wpt PR 12448] - Test length of `selectedOptions` after change, a=testonly Automatic update from web-platform-testsTest length of `selectedOptions` after change -- wpt-commits: 8a4e7bfebdea3b2219af9989405ce4d9e3fe34f5 wpt-pr: 12448
testing/web-platform/meta/MANIFEST.json
testing/web-platform/tests/html/semantics/forms/the-select-element/select-selectedOptions.html
--- a/testing/web-platform/meta/MANIFEST.json
+++ b/testing/web-platform/meta/MANIFEST.json
@@ -600115,17 +600115,17 @@
    "da43da9d920cd56e2041fc51005f1653b0fbc71d",
    "testharness"
   ],
   "html/semantics/forms/the-select-element/select-remove.html": [
    "cf2128bd1584f3ca523ecdf8620c0c0f1f2329f6",
    "testharness"
   ],
   "html/semantics/forms/the-select-element/select-selectedOptions.html": [
-   "f8e577a8a066e665468e3ebb7420f7c634657d3b",
+   "6a5c75f2b147ece26f45c83581f5684d4746a4ab",
    "testharness"
   ],
   "html/semantics/forms/the-select-element/select-setcustomvalidity.html": [
    "15308c1a8f04c6f9fa3901b9985031e3cf3d79ed",
    "testharness"
   ],
   "html/semantics/forms/the-select-element/select-validity.html": [
    "73f41dfc712f854a039da4bf8cb6577c0219df56",
--- a/testing/web-platform/tests/html/semantics/forms/the-select-element/select-selectedOptions.html
+++ b/testing/web-platform/tests/html/semantics/forms/the-select-element/select-selectedOptions.html
@@ -109,19 +109,22 @@ test(() => {
 
   assert_equals(select.selectedOptions, selectAgain.selectedOptions);
 
 }, ".selectedOptions should always return the same value - [SameObject]");
 
 test(() => {
   const select = document.getElementById("select-same-object-change");
   const before = select.selectedOptions;
+  assert_equals(before.length, 3);
 
   select.selectedOptions[1].selected = false;
 
   const after = select.selectedOptions;
 
   assert_equals(before, after);
+  assert_equals(before.length, 2);
+  assert_equals(after.length, 2);
 
 }, ".selectedOptions should return the same object after selection changes - [SameObject]");
 </script>
 </body>
 </html>