Closed
Bug 1173337
Opened 9 years ago
Closed 6 years ago
Fix and re-enable test_privbrowsing_perwindowpb.html
Categories
(Toolkit :: Password Manager, defect, P1)
Toolkit
Password Manager
Tracking
()
RESOLVED
FIXED
mozilla67
Tracking | Status | |
---|---|---|
firefox67 | --- | fixed |
People
(Reporter: RyanVM, Assigned: sfoster)
References
(Depends on 1 open bug)
Details
(Whiteboard: [passwords:tech-debt])
Attachments
(1 file)
test_privbrowsing_perwindowpb.html was originally disabled in bug 919016. However, that test became a dumping ground for different issues. Per a recent Try push, this test is still severely broken across all platforms.
Opt builds continue to hit the failure mode described in bug 919016:
https://treeherder.mozilla.org/logviewer.html#?job_id=8353124&repo=try
2616 INFO TEST-UNEXPECTED-FAIL | toolkit/components/passwordmgr/test/test_privbrowsing_perwindowpb.html | Checking submitted password - got , expected notifyp1
Debug builds are also susceptible to the failures above. Additionally, they also frequently hit asserts and crashes:
https://treeherder.mozilla.org/logviewer.html#?job_id=8353022&repo=try
Assertion failure: mSearchesOngoing > 0 && mSearches.Contains(aSearch), at /builds/slave/try-lx-d-000000000000000000000/build/src/toolkit/components/autocomplete/nsAutoCompleteController.cpp:771
PROCESS-CRASH | toolkit/components/passwordmgr/test/test_privbrowsing_perwindowpb.html | application crashed [@ nsAutoCompleteController::OnSearchResult(nsIAutoCompleteSearch*, nsIAutoCompleteResult*)]
Updated•8 years ago
|
Whiteboard: [passwords:tech-debt]
Comment 1•6 years ago
|
||
Bug 1462281 removes the getNotificationBox function form browser.js that is used in this test.
Comment 2•6 years ago
|
||
We need this test coverage and having chrome.ini with no enabled tests breaks mach test
on the parent directory. This should be ported to m-bc.
Priority: -- → P1
Updated•6 years ago
|
Assignee: nobody → sfoster
Status: NEW → ASSIGNED
Assignee | ||
Comment 3•6 years ago
|
||
- Added browser_privbrowsing_notifications.js - which is a port of chrome/privbrowsing_perwindowpb.html
- Moved onload/form submit from the form documents to the test via ContentTask.spawn
from the form documents to the test via ContentTask.spawn
TODO/WIP:
- The sub-test 7 is supposed to aufill the form and trigger the asswordmgr-processed-form observers. I'm still trying to figure out why this isn't happening.
- The sub-tests 8-10 aren't ported yet.
- I've not removed the chrome/ directory yet.
Updated•6 years ago
|
Attachment #9039197 -
Attachment description: Bug 1173337 - Port private browsing tests to browser-chrome → Bug 1173337 - Port private browsing tests to browser-chrome. r?MattN
Assignee | ||
Comment 4•6 years ago
|
||
..not sure why the windows builds didn't work out, but otherwise looks good I think?
Comment 5•6 years ago
|
||
(In reply to Sam Foster [:sfoster] from comment #4)
..not sure why the windows builds didn't work out, but otherwise looks good I think?
I had the same Windows build issue on Try today so I think you can ignore it.
Comment 6•6 years ago
|
||
Btw. you should schedule test-verify-e10s in the future
Pushed by sfoster@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/25a343e42273
Port private browsing tests to browser-chrome. r=MattN
Comment 8•6 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
status-firefox67:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla67
You need to log in
before you can comment on or make changes to this bug.
Description
•