Closed Bug 1576871 Opened 3 months ago Closed 3 months ago

Intermittent TV- browser/base/content/test/siteProtections/browser_protections_UI.js | The ETP state of the second tab has been changed to disabled. -

Categories

(Firefox :: Protections UI, defect, P5)

defect

Tracking

()

RESOLVED FIXED
Firefox 70
Tracking Status
firefox-esr60 --- unaffected
firefox-esr68 --- unaffected
firefox68 --- unaffected
firefox69 --- unaffected
firefox70 --- fixed

People

(Reporter: intermittent-bug-filer, Assigned: timhuang)

References

(Regression)

Details

(Keywords: intermittent-failure, regression)

Attachments

(1 file)

Filed by: nerli [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer.html#?job_id=263659590&repo=autoland
Full log: https://queue.taskcluster.net/v1/task/STjv4NooSIiPwWTmLfZiKA/runs/0/artifacts/public/logs/live_backing.log
Reftest URL: https://hg.mozilla.org/mozilla-central/raw-file/tip/layout/tools/reftest/reftest-analyzer.xhtml#logurl=https://queue.taskcluster.net/v1/task/STjv4NooSIiPwWTmLfZiKA/runs/0/artifacts/public/logs/live_backing.log&only_show_unexpected=1


[task 2019-08-27T10:05:59.975Z] 10:05:59 INFO - TEST-PASS | browser/base/content/test/siteProtections/browser_protections_UI.js | recorded subview_settings telemetry event -
[task 2019-08-27T10:05:59.975Z] 10:05:59 INFO - Leaving test bound testSubViewTelemetry
[task 2019-08-27T10:05:59.976Z] 10:05:59 INFO - Entering test bound testQuickSwitchTabAfterTogglingTPSwitch
[task 2019-08-27T10:05:59.976Z] 10:05:59 INFO - Buffered messages logged at 10:05:59
[task 2019-08-27T10:05:59.980Z] 10:05:59 INFO - TEST-PASS | browser/base/content/test/siteProtections/browser_protections_UI.js | The ETP state of the first tab is still enabled. -
[task 2019-08-27T10:05:59.980Z] 10:05:59 INFO - Buffered messages finished
[task 2019-08-27T10:05:59.981Z] 10:05:59 INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/siteProtections/browser_protections_UI.js | The ETP state of the second tab has been changed to disabled. -
[task 2019-08-27T10:05:59.981Z] 10:05:59 INFO - Stack trace:
[task 2019-08-27T10:05:59.981Z] 10:05:59 INFO - chrome://mochikit/content/browser-test.js:test_ok:1580
[task 2019-08-27T10:05:59.982Z] 10:05:59 INFO - chrome://mochitests/content/browser/browser/base/content/test/siteProtections/browser_protections_UI.js:testQuickSwitchTabAfterTogglingTPSwitch:613
[task 2019-08-27T10:05:59.982Z] 10:05:59 INFO - chrome://mochikit/content/browser-test.js:Tester_execTest/<:1350
[task 2019-08-27T10:05:59.982Z] 10:05:59 INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1385
[task 2019-08-27T10:05:59.983Z] 10:05:59 INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1207
[task 2019-08-27T10:05:59.983Z] 10:05:59 INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<:805
[task 2019-08-27T10:05:59.984Z] 10:05:59 INFO - Leaving test bound testQuickSwitchTabAfterTogglingTPSwitch
[task 2019-08-27T10:05:59.985Z] 10:05:59 INFO - GECKO(1090) | JavaScript error: resource://testing-common/PromiseTestUtils.jsm, line 112: uncaught exception: Object
[task 2019-08-27T10:05:59.986Z] 10:05:59 INFO - Console message: [JavaScript Error: "uncaught exception: Object" {file: "resource://testing-common/PromiseTestUtils.jsm" line: 112}]
[task 2019-08-27T10:05:59.986Z] 10:05:59 INFO - GECKO(1090) | MEMORY STAT | vsize 3107MB | residentFast 490MB | heapAllocated 202MB
[task 2019-08-27T10:05:59.987Z] 10:05:59 INFO - TEST-OK | browser/base/content/test/siteProtections/browser_protections_UI.js | took 22301ms
[task 2019-08-27T10:05:59.987Z] 10:05:59 INFO - GECKO(1090) | ++DOCSHELL 0x7f2ee98ac000 == 2 [pid = 1228] [id = {804fc84c-739a-4d62-ab6c-16959f003e96}]
[task 2019-08-27T10:05:59.988Z] 10:05:59 INFO - GECKO(1090) | ++DOMWINDOW == 8 (0x7f2eebd1e880) [pid = 1228] [serial = 28] [outer = (nil)]
[task 2019-08-27T10:05:59.989Z] 10:05:59 INFO - GECKO(1090) | ++DOMWINDOW == 9 (0x7f2eea44bc00) [pid = 1228] [serial = 29] [outer = 0x7f2eebd1e880]
[task 2019-08-27T10:05:59.990Z] 10:05:59 INFO - checking window state
[task 2019-08-27T10:05:59.991Z] 10:05:59 INFO - GECKO(1090) | [Parent 1090, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80004005: file /builds/worker/workspace/build/src/dom/base/nsFrameLoader.cpp, line 664
[task 2019-08-27T10:05:59.991Z] 10:05:59 INFO - GECKO(1090) | ++DOMWINDOW == 64 (0x7f41c3782000) [pid = 1090] [serial = 99] [outer = 0x7f41d5446020]
[task 2019-08-27T10:05:59.999Z] 10:05:59 INFO - GECKO(1090) | ++DOMWINDOW == 65 (0x7f41cb1a9400) [pid = 1090] [serial = 100] [outer = 0x7f41d5446020]
[task 2019-08-27T10:06:00.343Z] 10:06:00 INFO - GECKO(1090) | --DOCSHELL 0x7fbdc80a4000 == 0 [pid = 1257] [id = {fd072b44-13f7-4a26-bf0a-03c41284825e}] [url = about:blank]
[task 2019-08-27T10:06:00.472Z] 10:06:00 INFO - GECKO(1090) | --DOMWINDOW == 8 (0x7f2eea457c00) [pid = 1228] [serial = 21] [outer = (nil)] [url = http://www.example.com/]
[task 2019-08-27T10:06:00.473Z] 10:06:00 INFO - GECKO(1090) | --DOMWINDOW == 7 (0x7f2eea449c00) [pid = 1228] [serial = 23] [outer = (nil)] [url = about:blank]
[task 2019-08-27T10:06:00.488Z] 10:06:00 INFO - GECKO(1090) | --DOCSHELL 0x7f2ee98a7800 == 1 [pid = 1228] [id = {e29f1f03-922c-48e1-8fd0-9c80d7af4c55}] [url = https://example.com/]
[task 2019-08-27T10:06:00.544Z] 10:06:00 INFO - GECKO(1090) | --DOMWINDOW == 9 (0x7f5df7be3000) [pid = 1288] [serial = 28] [outer = (nil)] [url = http://www.example.com/]
[task 2019-08-27T10:06:00.545Z] 10:06:00 INFO - GECKO(1090) | --DOMWINDOW == 8 (0x7f5df7050c00) [pid = 1288] [serial = 33] [outer = (nil)] [url = about:blank]
[task 2019-08-27T10:06:00.561Z] 10:06:00 INFO - GECKO(1090) | --DOCSHELL 0x7f5df6f41000 == 1 [pid = 1288] [id = {dadbfb8f-a8a5-47e1-843c-f66f374ec11a}] [url = http://www.example.com/]
[task 2019-08-27T10:06:00.561Z] 10:06:00 INFO - GECKO(1090) | --DOCSHELL 0x7f5df6f40000 == 0 [pid = 1288] [id = {8969cbfe-ec64-450c-b418-b566deb35cde}] [url = https://example.org/]
[task 2019-08-27T10:06:00.623Z] 10:06:00 INFO - GECKO(1090) | --DOMWINDOW == 6 (0x7f2eea455000) [pid = 1228] [serial = 24] [outer = (nil)] [url = http://www.example.com/]
[task 2019-08-27T10:06:00.624Z] 10:06:00 INFO - GECKO(1090) | --DOMWINDOW == 5 (0x7f2eea44a800) [pid = 1228] [serial = 26] [outer = (nil)] [url = about:blank]
[task 2019-08-27T10:06:00.625Z] 10:06:00 INFO - GECKO(1090) | --DOMWINDOW == 4 (0x7f2eebd1e4c0) [pid = 1228] [serial = 22] [outer = (nil)] [url = http://www.example.com/]
[task 2019-08-27T10:06:00.713Z] 10:06:00 INFO - GECKO(1090) | --DOMWINDOW == 7 (0x7f5df78bc800) [pid = 1288] [serial = 31] [outer = (nil)] [url = http://www.example.com/]
[task 2019-08-27T10:06:00.714Z] 10:06:00 INFO - GECKO(1090) | --DOMWINDOW == 6 (0x7f5df78bec00) [pid = 1288] [serial = 37] [outer = (nil)] [url = https://example.org/]
[task 2019-08-27T10:06:00.715Z] 10:06:00 INFO - GECKO(1090) | --DOMWINDOW == 5 (0x7f5df7050800) [pid = 1288] [serial = 36] [outer = (nil)] [url = about:blank]
[task 2019-08-27T10:06:00.715Z] 10:06:00 INFO - GECKO(1090) | --DOMWINDOW == 4 (0x7f5df5795880) [pid = 1288] [serial = 29] [outer = (nil)] [url = http://www.example.com/]
[task 2019-08-27T10:06:00.716Z] 10:06:00 INFO - GECKO(1090) | --DOMWINDOW == 3 (0x7f2eebd1e2e0) [pid = 1228] [serial = 25] [outer = (nil)] [url = https://example.com/]
[task 2019-08-27T10:06:00.844Z] 10:06:00 INFO - GECKO(1090) | --DOMWINDOW == 1 (0x7f1cc6bd32e0) [pid = 1174] [serial = 4] [outer = (nil)] [url = about:newtab]

Component: General → Tracking Protection

I just noticed that we're never clearing the permission at the end of the test - probably why verify is failing. I suspect adding ContentBlockingAllowList.remove(tabTwo.linkedBrowser) will fix this failure.

Oh, yes, Nihanth is correct about this. Sorry for not catching this. I add fix this ASAP.

Flags: needinfo?(tihuang)
Assignee: nobody → tihuang
Status: NEW → ASSIGNED
Pushed by tihuang@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/20f391b8fafd
Clean up the allow list after the test 'testQuickSwitchTabAfterTogglingTPSwitch' in test browser_protections_UI.js r=nhnt11
Status: ASSIGNED → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 70
You need to log in before you can comment on or make changes to this bug.