Bug 1503681 - rel=noopener implicit for target=_blank in anchor and area elements when no rel attribute is set - fix tests, r=me
authorAndrea Marchesini <amarchesini@mozilla.com>
Wed, 28 Nov 2018 13:42:57 +0100
changeset 507724 90b9a0bd1fc5a87c9c00275b641b3fb6d6da46c1
parent 507723 94ff32de21d6fcb638a3759e12735edf31136033
child 507725 dcb2522d819e0c4193d10c446e4a9215c4f2295f
push id1905
push userffxbld-merge
push dateMon, 21 Jan 2019 12:33:13 +0000
treeherdermozilla-release@c2fca1944d8c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersme
bugs1503681
milestone65.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 1503681 - rel=noopener implicit for target=_blank in anchor and area elements when no rel attribute is set - fix tests, r=me
dom/browser-element/mochitest/file_browserElement_TargetBlank.html
--- a/dom/browser-element/mochitest/file_browserElement_TargetBlank.html
+++ b/dom/browser-element/mochitest/file_browserElement_TargetBlank.html
@@ -1,11 +1,11 @@
 <html>
 <body>
-<a id='link' target='_blank' href="http://example.com">Click me</a>
+<a id='link' target='_blank' href="http://example.com" rel="opener">Click me</a>
 
 <script>
 function clickLink() {
   // See testcase in bug 666604.
   var e = document.createEvent("MouseEvent");
   e.initMouseEvent("click", true, true, window, 0, 0, 0, 0, 0,
                    false, false, false, false, 0, null);
   document.getElementById('link').dispatchEvent(e);