Perma devtools/client/webconsole/test/mochitest/browser_jsterm_middle_click_paste.js | clipboard content was pasted in the console input - Got , expected test clipboard content

VERIFIED FIXED in Firefox 66

Status

defect
VERIFIED FIXED
5 months ago
4 months ago

People

(Reporter: aiakab, Assigned: aryx)

Tracking

unspecified
Firefox 66
Dependency tree / graph

Firefox Tracking Flags

(firefox-esr60 unaffected, firefox64 unaffected, firefox65 unaffected, firefox66 verified)

Details

Attachments

(1 attachment)

Reporter

Description

5 months ago

[Tracking Requested - why for this release]:

https://treeherder.mozilla.org/#/jobs?repo=try&resultStatus=testfailed%2Cbusted%2Cexception%2Cretry%2Cusercancel%2Crunnable&revision=f1d5cf53e4ae4163666857f9cfa8f72ebd81f61f

This is occuring only on Nightly opt builds.
It seems that the failures started from this bug https://bugzilla.mozilla.org/show_bug.cgi?id=1482875

Failure log: https://treeherder.mozilla.org/logviewer.html#?job_id=222876610&repo=try

Part of that log:
[task 2019-01-19T14:00:35.905Z] 14:00:35 INFO - TEST-START | devtools/client/webconsole/test/mochitest/browser_jsterm_middle_click_paste.js
[task 2019-01-19T14:00:37.391Z] 14:00:37 INFO - TEST-INFO | started process screentopng
[task 2019-01-19T14:00:37.795Z] 14:00:37 INFO - TEST-INFO | screentopng: exit 0
[task 2019-01-19T14:00:37.795Z] 14:00:37 INFO - Buffered messages logged at 14:00:35
[task 2019-01-19T14:00:37.796Z] 14:00:37 INFO - Entering test bound
[task 2019-01-19T14:00:37.796Z] 14:00:37 INFO - Buffered messages logged at 14:00:36
[task 2019-01-19T14:00:37.796Z] 14:00:37 INFO - Adding a new tab with URL: data:text/html;charset=utf-8,Web Console test paste on middle-click
[task 2019-01-19T14:00:37.797Z] 14:00:37 INFO - Tab added and finished loading
[task 2019-01-19T14:00:37.797Z] 14:00:37 INFO - Opening the toolbox
[task 2019-01-19T14:00:37.798Z] 14:00:37 INFO - Buffered messages logged at 14:00:37
[task 2019-01-19T14:00:37.799Z] 14:00:37 INFO - Toolbox opened and focused
[task 2019-01-19T14:00:37.800Z] 14:00:37 INFO - Set clipboard content
[task 2019-01-19T14:00:37.800Z] 14:00:37 INFO - Middle-click on the console input
[task 2019-01-19T14:00:37.800Z] 14:00:37 INFO - Buffered messages finished
[task 2019-01-19T14:00:37.800Z] 14:00:37 INFO - TEST-UNEXPECTED-FAIL | devtools/client/webconsole/test/mochitest/browser_jsterm_middle_click_paste.js | clipboard content was pasted in the console input - Got , expected test clipboard content
[task 2019-01-19T14:00:37.800Z] 14:00:37 INFO - Stack trace:
[task 2019-01-19T14:00:37.800Z] 14:00:37 INFO - chrome://mochikit/content/browser-test.js:test_is:1318
[task 2019-01-19T14:00:37.800Z] 14:00:37 INFO - chrome://mochitests/content/browser/devtools/client/webconsole/test/mochitest/browser_jsterm_middle_click_paste.js:performTests:34
[task 2019-01-19T14:00:37.801Z] 14:00:37 INFO - Adding a new tab with URL: data:text/html;charset=utf-8,Web Console test paste on middle-click
[task 2019-01-19T14:00:37.801Z] 14:00:37 INFO - Tab added and finished loading
[task 2019-01-19T14:00:37.801Z] 14:00:37 INFO - Opening the toolbox
[task 2019-01-19T14:00:38.225Z] 14:00:38 INFO - Toolbox opened and focused
[task 2019-01-19T14:00:38.226Z] 14:00:38 INFO - Set clipboard content
[task 2019-01-19T14:00:38.227Z] 14:00:38 INFO - Middle-click on the console input
[task 2019-01-19T14:00:38.248Z] 14:00:38 INFO - Not taking screenshot here: see the one that was previously logged
[task 2019-01-19T14:00:38.251Z] 14:00:38 INFO - TEST-UNEXPECTED-FAIL | devtools/client/webconsole/test/mochitest/browser_jsterm_middle_click_paste.js | clipboard content was pasted in the console input - Got , expected test clipboard content
[task 2019-01-19T14:00:38.251Z] 14:00:38 INFO - Stack trace:
[task 2019-01-19T14:00:38.251Z] 14:00:38 INFO - chrome://mochikit/content/browser-test.js:test_is:1318
[task 2019-01-19T14:00:38.253Z] 14:00:38 INFO - chrome://mochitests/content/browser/devtools/client/webconsole/test/mochitest/browser_jsterm_middle_click_paste.js:performTests:34
[task 2019-01-19T14:00:38.254Z] 14:00:38 INFO - Leaving test bound
[task 2019-01-19T14:00:38.474Z] 14:00:38 INFO - Removing tab.
[task 2019-01-19T14:00:38.475Z] 14:00:38 INFO - Waiting for event: 'TabClose' on [object XULElement].
[task 2019-01-19T14:00:38.480Z] 14:00:38 INFO - Got event: 'TabClose' on [object XULElement].
[task 2019-01-19T14:00:38.484Z] 14:00:38 INFO - Tab removed and finished closing
[task 2019-01-19T14:00:38.674Z] 14:00:38 INFO - Removing tab.
[task 2019-01-19T14:00:38.675Z] 14:00:38 INFO - Waiting for event: 'TabClose' on [object XULElement].
[task 2019-01-19T14:00:38.683Z] 14:00:38 INFO - Got event: 'TabClose' on [object XULElement].
[task 2019-01-19T14:00:38.685Z] 14:00:38 INFO - Tab removed and finished closing
[task 2019-01-19T14:00:38.707Z] 14:00:38 INFO - GECKO(8469) | MEMORY STAT vsizeMaxContiguous not supported in this build configuration.
[task 2019-01-19T14:00:38.708Z] 14:00:38 INFO - GECKO(8469) | MEMORY STAT | vsize 1825MB | residentFast 369MB | heapAllocated 145MB
[task 2019-01-19T14:00:38.709Z] 14:00:38 INFO - TEST-OK | devtools/client/webconsole/test/mochitest/browser_jsterm_middle_click_paste.js | took 2805ms
[task 2019-01-19T14:00:38.726Z] 14:00:38 INFO - checking window state

Comment hidden (Intermittent Failures Robot)

There are 2 patches in Bug 1482875, are they both applied for the beta simulation?

Flags: needinfo?(nchevobbe)

Yes. Yesterday's beta simulation which is also affected uses https://hg.mozilla.org/mozilla-central/rev/219bc50b5cd5ac8b374cac6531ece44dddf4bfff as base revision and that got pushed to mozilla-central at Sun, 20 Jan 2019 09:43:40 +0000

The screenshot (open the log and select the artifact which ends on ".png" shows the self xss check kicks in and prevents the pasting.

devtools.selfxss.count need to be set to 5 to fix this. It only has this value by default in Nightly and DevEdition.

Assignee: nobody → aryx.bugmail
Blocks: 1482875
Status: NEW → ASSIGNED

Comment 6

5 months ago
Pushed by archaeopteryx@coole-files.de:
https://hg.mozilla.org/integration/autoland/rev/1df92f5b3d7d
Disable selfXSS prevention for browser_jsterm_middle_click_paste.js r=nchevobbe

Comment 7

5 months ago
Pushed by archaeopteryx@coole-files.de:
https://hg.mozilla.org/integration/autoland/rev/847eaa28d60b
Backed out changeset 1df92f5b3d7d for eslint failure in modified file.
https://hg.mozilla.org/integration/autoland/rev/2dd26100e311
Disable selfXSS prevention for browser_jsterm_middle_click_paste.js r=nchevobbe

Comment 8

5 months ago
bugherder
Status: ASSIGNED → RESOLVED
Closed: 5 months ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 66
Comment hidden (Intermittent Failures Robot)
You need to log in before you can comment on or make changes to this bug.