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 525138 89dc1513582b72484244b676404792d5239e2e2e
parent 525137 3bd6059a1b6414721944c0fa2bbecd01a7818ec4
child 525139 ec1f4ffa35d1590e641a668b370bc84b9aa2933e
push id2032
push userffxbld-merge
push dateMon, 13 May 2019 09:36:57 +0000
treeherdermozilla-release@455c1065dcbe [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>