Bug 1521319 - Disable selfXSS prevention for browser_jsterm_middle_click_paste.js r=nchevobbe
☠☠ backed out by 847eaa28d60b ☠ ☠
authorSebastian Hengst <archaeopteryx@coole-files.de>
Mon, 21 Jan 2019 09:37:18 +0000
changeset 514677 1df92f5b3d7d6527b3ce0b4ef8850df5ee68cc19
parent 514676 b099ed392e48dc314699e15dd0341ef1cf11bab5
child 514678 b277b79a2e7c6c35b74026ad58b844dca3b7d01f
push id1953
push userffxbld-merge
push dateMon, 11 Mar 2019 12:10:20 +0000
treeherdermozilla-release@9c35dcbaa899 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersnchevobbe
bugs1521319
milestone66.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 1521319 - Disable selfXSS prevention for browser_jsterm_middle_click_paste.js r=nchevobbe Differential Revision: https://phabricator.services.mozilla.com/D17101
devtools/client/webconsole/test/mochitest/browser_jsterm_middle_click_paste.js
--- a/devtools/client/webconsole/test/mochitest/browser_jsterm_middle_click_paste.js
+++ b/devtools/client/webconsole/test/mochitest/browser_jsterm_middle_click_paste.js
@@ -1,15 +1,17 @@
 /* Any copyright is dedicated to the Public Domain.
  * http://creativecommons.org/publicdomain/zero/1.0/ */
 
 // Test that pasting clipboard content into input with middle-click works.
 
 "use strict";
 
+await pushPref("devtools.selfxss.count", 5);
+
 const TEST_URI = `data:text/html;charset=utf-8,Web Console test paste on middle-click`;
 
 add_task(async function() {
   // Enable pasting with middle-click.
   await pushPref("middlemouse.paste", true);
 
   // Run test with legacy JsTerm
   await pushPref("devtools.webconsole.jsterm.codeMirror", false);