Bug 1527669 [wpt PR 15358] - HTML: make <a>'s rel setter test work, a=testonly
authorAnne van Kesteren <annevk@annevk.nl>
Tue, 05 Mar 2019 11:12:10 +0000
changeset 522419 e10cfd0d9d60429e61c583a7e4a326962420161a
parent 522418 7ef3ea73361d89af4b57f70f0710acb2a263ad69
child 522420 a6925bbf0b58ab3c0c3a46baf0a19893137a4186
push id10871
push usercbrindusan@mozilla.com
push dateMon, 18 Mar 2019 15:49:32 +0000
treeherdermozilla-beta@018abdd16060 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstestonly
bugs1527669, 15358
milestone67.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 1527669 [wpt PR 15358] - HTML: make <a>'s rel setter test work, a=testonly Automatic update from web-platform-tests HTML: make <a>'s rel setter test work -- wpt-commits: d1f77cdd373524b0f348e47464ced3cfda7ca05b wpt-pr: 15358
testing/web-platform/tests/html/semantics/text-level-semantics/the-a-element/a.rel-setter-01.html
--- a/testing/web-platform/tests/html/semantics/text-level-semantics/the-a-element/a.rel-setter-01.html
+++ b/testing/web-platform/tests/html/semantics/text-level-semantics/the-a-element/a.rel-setter-01.html
@@ -8,13 +8,13 @@
 <div>
 <a id="test" href="a"></a>
 </div>
 <script>
 test(function() {
   var a = document.getElementById("test");
 
   test(function() {
-    a.rel = "noreferrer"
-    assert_equals(a.rel, "noreferrer");
+    a.rel = "noreferrer";
+    assert_equals(a.getAttribute("rel"), "noreferrer");
   }, "Test anchor's rel setter");
 });
 </script>