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 464522 e10cfd0d9d60
parent 464521 7ef3ea73361d
child 464523 a6925bbf0b58
push id35717
push useraciure@mozilla.com
push dateSun, 17 Mar 2019 09:45:26 +0000
treeherdermozilla-central@e0861be8d6c0 [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>