Closed Bug 1298193 Opened 9 years ago Closed 9 years ago

Fix test_prompt_promptAuth.html for e10s

Categories

(Toolkit :: Password Manager, defect, P3)

defect

Tracking

()

RESOLVED FIXED
mozilla51
Tracking Status
e10s ? ---
firefox51 --- fixed

People

(Reporter: MattN, Assigned: MattN)

References

(Blocks 1 open bug)

Details

(Whiteboard: [passwords:tech-debt])

Attachments

(8 files)

+++ This bug was initially created as a clone of Bug #1266618 +++ Follow the same basic scheme as bug 1266618.
Comment on attachment 8785029 [details] Bug 1298193 - Part 1: Move promptAuth proxy tests to their own file. https://reviewboard.mozilla.org/r/74330/#review72192
Attachment #8785029 - Flags: review?(dolske) → review+
I moved the tests that were loading authenticate.sjs iframes instead of using promptAuth out of the …prompt_promptAuth.html test file (it was a mistake they got moved there in the first place) and into a new test …prompt_http.html.
tracking-e10s: --- → ?
Comment on attachment 8785160 [details] Bug 1298193 - Part 2: Switch test_prompt_promptAuth* to add_task. https://reviewboard.mozilla.org/r/74458/#review72470
Attachment #8785160 - Flags: review?(dolske) → review+
Comment on attachment 8785161 [details] Bug 1298193 - Part 3: Don't manually remove logins at the end of test_prompt_promptAuth*. https://reviewboard.mozilla.org/r/74460/#review72472
Attachment #8785161 - Flags: review?(dolske) → review+
Comment on attachment 8785162 [details] Bug 1298193 - Part 4: Remove storage observer from test_prompt_promptAuth_proxy. https://reviewboard.mozilla.org/r/74462/#review72474
Attachment #8785162 - Flags: review?(dolske) → review+
Comment on attachment 8785163 [details] Bug 1298193 - Part 5: test_prompt_promptAuth_proxy doesn't need to clear auth sessions on its own. https://reviewboard.mozilla.org/r/74464/#review72476 ::: toolkit/components/passwordmgr/test/mochitest/test_prompt_promptAuth_proxy.html (Diff revision 1) > - > - // clear plain HTTP auth sessions before the test, to allow > - // running them more than once. > - var authMgr = Cc['@mozilla.org/network/http-auth-manager;1']. > - getService(Ci.nsIHttpAuthManager); > - authMgr.clearAll(); I'm not sure if if this also cleared proxy auth (I'd suspect it did). Might be worth checking to make sure any leftover proxy auth is still being cleared. Although given how rarely someone would need to debug this stuff, it probably doesn't matter either way.
Comment on attachment 8785164 [details] Bug 1298193 - Part 6: Remove storage observer from test_prompt_promptAuth.html and run setup in the chrome. https://reviewboard.mozilla.org/r/74466/#review72478
Attachment #8785164 - Flags: review?(dolske) → review+
Comment on attachment 8785163 [details] Bug 1298193 - Part 5: test_prompt_promptAuth_proxy doesn't need to clear auth sessions on its own. https://reviewboard.mozilla.org/r/74464/#review72480
Attachment #8785163 - Flags: review?(dolske) → review+
Comment on attachment 8785165 [details] Bug 1298193 - Part 7: Make test_prompt_promptAuth work with channels in the parent. https://reviewboard.mozilla.org/r/74468/#review72482
Attachment #8785165 - Flags: review?(dolske) → review+
Comment on attachment 8785166 [details] Bug 1298193 - Part 8: Move pwmgr HTTP auth tests triggered by HTTP requests to their own file. https://reviewboard.mozilla.org/r/74470/#review72484
Attachment #8785166 - Flags: review?(dolske) → review+
Comment on attachment 8785163 [details] Bug 1298193 - Part 5: test_prompt_promptAuth_proxy doesn't need to clear auth sessions on its own. https://reviewboard.mozilla.org/r/74464/#review72476 > I'm not sure if if this also cleared proxy auth (I'd suspect it did). Might be worth checking to make sure any leftover proxy auth is still being cleared. Although given how rarely someone would need to debug this stuff, it probably doesn't matter either way. I deleted this since pwmgr_common.js already does this exact same code in a registerCleanupFunction.
Pushed by mozilla@noorenberghe.ca: https://hg.mozilla.org/integration/fx-team/rev/e7f08c0a78b4 Part 1: Move promptAuth proxy tests to their own file. r=Dolske https://hg.mozilla.org/integration/fx-team/rev/62eac8108589 Part 2: Switch test_prompt_promptAuth* to add_task. r=Dolske https://hg.mozilla.org/integration/fx-team/rev/7e8890510e51 Part 3: Don't manually remove logins at the end of test_prompt_promptAuth*. r=Dolske https://hg.mozilla.org/integration/fx-team/rev/42f5e31cf040 Part 4: Remove storage observer from test_prompt_promptAuth_proxy. r=Dolske https://hg.mozilla.org/integration/fx-team/rev/92e257d137c5 Part 5: test_prompt_promptAuth_proxy doesn't need to clear auth sessions on its own. r=Dolske https://hg.mozilla.org/integration/fx-team/rev/a3c4ad672325 Part 6: Remove storage observer from test_prompt_promptAuth.html and run setup in the chrome. r=Dolske https://hg.mozilla.org/integration/fx-team/rev/74f737e158ed Part 7: Make test_prompt_promptAuth work with channels in the parent. r=Dolske https://hg.mozilla.org/integration/fx-team/rev/ad6a5176633b Part 8: Move pwmgr HTTP auth tests triggered by HTTP requests to their own file. r=Dolske
Blocks: 1298543
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: