Closed
Bug 851006
Opened 12 years ago
Closed 12 years ago
URL does not load when opening private browsing window
Categories
(Mozilla QA Graveyard :: Mozmill Tests, defect, P2)
Mozilla QA Graveyard
Mozmill Tests
Tracking
(firefox21 fixed, firefox22 fixed, firefox23 fixed, firefox24 fixed)
People
(Reporter: daniela.p98911, Assigned: daniela.p98911)
References
(Depends on 1 open bug)
Details
(Whiteboard: [blocked by bug 847991])
Attachments
(3 files, 3 obsolete files)
1.07 KB,
patch
|
AndreeaMatei
:
review+
|
Details | Diff | Splinter Review |
1.33 KB,
patch
|
AndreeaMatei
:
review+
|
Details | Diff | Splinter Review |
1.36 KB,
patch
|
AndreeaMatei
:
review+
|
Details | Diff | Splinter Review |
This is a follow up on bug 827752. The issue is that the URL does not load after opening the PB window. It happens in testFlashCookie.js and testAboutCache.js . The issue is intermittent.
testAboutCache.js does not fail because we are just waiting for the pages to load, but do not check which were loaded.
testFlashCookie.js fails because it cannot find an element on the page it did not load. Test results are (with --show-errors):
TEST-START | /home/danielapetrovici/Documents/827752/03_05_2013/mozmill-tests/tests/functional/testPrivateBrowsing/testFlashCookie.js | setupModule
TEST-PASS | /home/danielapetrovici/Documents/827752/03_05_2013/mozmill-tests/tests/functional/testPrivateBrowsing/testFlashCookie.js | testFlashCookie.js::setupModule
TEST-START | /home/danielapetrovici/Documents/827752/03_05_2013/mozmill-tests/tests/functional/testPrivateBrowsing/testFlashCookie.js | testCheckFlashCookie
ERROR | Test Failure: {"exception": {"stack": "MozMillController.prototype.type@resource://mozmill/modules/controller.js:418\ntestCheckFlashCookie@resource://mozmill/modules/frame.js -> file:///home/danielapetrovici/Documents/827752/03_05_2013/mozmill-tests/tests/functional/testPrivateBrowsing/testFlashCookie.js:39\nRunner.prototype.wrapper@resource://mozmill/modules/frame.js:595\nRunner.prototype._runTestModule@resource://mozmill/modules/frame.js:665\nRunner.prototype.runTestModule@resource://mozmill/modules/frame.js:711\nRunner.prototype.runTestFile@resource://mozmill/modules/frame.js:544\nrunTestFile@resource://mozmill/modules/frame.js:723\nBridge.prototype._execFunction@resource://jsbridge/modules/server.js:179\nBridge.prototype.execFunction@resource://jsbridge/modules/server.js:183\n@resource://jsbridge/modules/server.js:283\n", "message": "could not find element ID: cookieValue", "fileName": "resource://mozmill/modules/controller.js", "name": "Error", "lineNumber": 418}}
TEST-UNEXPECTED-FAIL | /home/danielapetrovici/Documents/827752/03_05_2013/mozmill-tests/tests/functional/testPrivateBrowsing/testFlashCookie.js | testFlashCookie.js::testCheckFlashCookie
TEST-START | /home/danielapetrovici/Documents/827752/03_05_2013/mozmill-tests/tests/functional/testPrivateBrowsing/testFlashCookie.js | teardownModule
TEST-PASS | /home/danielapetrovici/Documents/827752/03_05_2013/mozmill-tests/tests/functional/testPrivateBrowsing/testFlashCookie.js | testFlashCookie.js::teardownModule
NOTE: child process received `Goodbye', closing down
INFO Passed: 2
INFO Failed: 1
INFO Skipped: 0
The error for this test is: "could not find element ID: cookieValue"
NOTE: I have also added a screenshot with how it looks when the error appears
Comment 1•12 years ago
|
||
Even we can't see this problem in the aboutCache test we might end-up in not handling this test correctly given that the page is not cached at all. I consider this important so lets get to it by next week.
Blocks: 789987
OS: Linux → All
Priority: -- → P2
Hardware: x86 → All
Whiteboard: s=130318 u=failure c=private_browsing p=1
Comment 2•12 years ago
|
||
You may be seeing bug 847991, depending on how you trigger the loads.
Comment 3•12 years ago
|
||
Thanks Josh. Sounds like we hit this. We usually trigger the pb window via a keyboard shortcut or the main menu. Once the window is open and is loaded, we directly fire the request to load another page. And that doesn't seem to work. Daniela, can you please confirm that in such a case e.g. the flash test, you do not see the flash page but about:privatebrowsing?
Assignee | ||
Comment 4•12 years ago
|
||
Yes, this is the case in both testFlashCookie.js and testAboutCache.js
Assignee | ||
Comment 5•12 years ago
|
||
This is the patch to fix the testAboutCache.js test before bug 847991 is fixed.
Attachment #724818 -
Attachment is obsolete: true
Attachment #724941 -
Flags: review?(andreea.matei)
Comment 6•12 years ago
|
||
Simple patch to fix this bug for now. I don't see a need to account a sprint entry for.
Assignee: nobody → dpetrovici
Status: NEW → ASSIGNED
Whiteboard: s=130318 u=failure c=private_browsing p=1
Comment 7•12 years ago
|
||
Comment on attachment 724941 [details] [diff] [review]
patch v1.0 to fix testAboutCache.js
Review of attachment 724941 [details] [diff] [review]:
-----------------------------------------------------------------
Instead of modifying each of those test files, why can't we add this to the private browsing ui module?
Attachment #724941 -
Flags: review?(andreea.matei) → review-
Assignee | ||
Comment 8•12 years ago
|
||
Modified the private-browsing library per review
Attachment #724941 -
Attachment is obsolete: true
Attachment #725304 -
Flags: review?(andreea.matei)
Assignee | ||
Updated•12 years ago
|
Attachment #725304 -
Attachment description: patch v1.8 → patch v1.1
Comment 9•12 years ago
|
||
Comment on attachment 725304 [details] [diff] [review]
patch v1.1
Review of attachment 725304 [details] [diff] [review]:
-----------------------------------------------------------------
Landed as:
http://hg.mozilla.org/qa/mozmill-tests/rev/78dcfe10921a (default)
Please check for Aurora as well.
Attachment #725304 -
Flags: review?(andreea.matei) → review+
Updated•12 years ago
|
status-firefox22:
--- → fixed
Assignee | ||
Comment 10•12 years ago
|
||
The issue with testAboutCache.js reproduces on Aurora, too. The patch applies cleanly on this branch also
Comment 11•12 years ago
|
||
Transplanted:
http://hg.mozilla.org/qa/mozmill-tests/rev/00006aaabfc4 (aurora)
Leaving bug open giving that this is just a workaround.
status-firefox21:
--- → fixed
Comment 12•12 years ago
|
||
So, what's left on this bug? Can it be closed?
Assignee | ||
Comment 13•12 years ago
|
||
(In reply to Henrik Skupin (:whimboo) from comment #12)
> So, what's left on this bug? Can it be closed?
I don't think it should be closed since the dependent bug is still not fixed. We would need to remove the workaround when bug 847991 is fixed.
Updated•12 years ago
|
Whiteboard: [blocked by bug 847991]
Comment 15•12 years ago
|
||
The landed patch will break the upcoming Mozmill 2.0 testrun given that waitForPageLoad() is called twice. Daniela, please update the manifest to account that.
Assignee | ||
Comment 16•12 years ago
|
||
(In reply to Henrik Skupin (:whimboo) from comment #15)
> The landed patch will break the upcoming Mozmill 2.0 testrun given that
> waitForPageLoad() is called twice. Daniela, please update the manifest to
> account that.
Actually this is a thing I have forgotten when implementing the change in the open method in pbWindow.
The open method had been changed so that it will wait for the page to load so that we do not have it added in the tests. But I forgot to check the existing tests where this method was already added.
I have removed it now from the remaining test. Reports are below:
MAC: mozmill-crowd.blargon7.com/#/functional/report/14f8bc4e22e61353662cded4c21cc7f4
Linux: http://mozmill-crowd.blargon7.com/#/functional/report/14f8bc4e22e61353662cded4c21b7654
Windows: http://mozmill-crowd.blargon7.com/#/functional/report/14f8bc4e22e61353662cded4c21d078c
Attachment #749264 -
Flags: review?(andreea.matei)
Comment 17•12 years ago
|
||
Comment on attachment 749264 [details] [diff] [review]
follow-up patch v1.0
Review of attachment 749264 [details] [diff] [review]:
-----------------------------------------------------------------
So the second waitForPageLoad() call in the test itself is not necessary? Means it will still work with Mozmill 1.5? Why do you comment it out instead of removing it?
Attachment #749264 -
Flags: review?(andreea.matei) → review-
Assignee | ||
Comment 18•12 years ago
|
||
> So the second waitForPageLoad() call in the test itself is not necessary?
> Means it will still work with Mozmill 1.5?
Yes, it will still work in Mozmill 1.5 without it. It was not necessary.
> Why do you comment it out instead of removing it?
Sorry about that. I have attached the correct patch now.
Attachment #749264 -
Attachment is obsolete: true
Assignee | ||
Updated•12 years ago
|
Attachment #749277 -
Flags: review?(andreea.matei)
Comment 19•12 years ago
|
||
Comment on attachment 749277 [details] [diff] [review]
follow-up patch v1.1
Review of attachment 749277 [details] [diff] [review]:
-----------------------------------------------------------------
http://hg.mozilla.org/qa/mozmill-tests/rev/235e25d5118d (default)
It will need backport for all except esr17.
Attachment #749277 -
Flags: review?(andreea.matei) → review+
Updated•12 years ago
|
status-firefox23:
--- → affected
status-firefox24:
--- → fixed
Assignee | ||
Comment 20•12 years ago
|
||
The patch for default applies cleanly on Aurora. Reports are below:
- Windows: http://mozmill-crowd.blargon7.com/#/functional/report/14f8bc4e22e61353662cded4c23455ce
- MAC: http://mozmill-crowd.blargon7.com/#/functional/report/14f8bc4e22e61353662cded4c2343d5f
- Linux: http://mozmill-crowd.blargon7.com/#/functional/report/14f8bc4e22e61353662cded4c231dc67
The patch for default does not apply cleanly on Beta due to the fact that the const TEST_DATA is called TEST_URL. The patch for Beta applies cleanly on Release.
Beta runs:
- Linux: http://mozmill-crowd.blargon7.com/#/functional/report/14f8bc4e22e61353662cded4c23457f7
- MAC: http://mozmill-crowd.blargon7.com/#/functional/report/14f8bc4e22e61353662cded4c234e818
- Windows: http://mozmill-crowd.blargon7.com/#/functional/report/14f8bc4e22e61353662cded4c234f3a9
Release:
- Linux: http://mozmill-crowd.blargon7.com/#/functional/report/14f8bc4e22e61353662cded4c234dd77
- MAC: http://mozmill-crowd.blargon7.com/#/functional/report/14f8bc4e22e61353662cded4c235b164
- Windows: http://mozmill-crowd.blargon7.com/#/functional/report/14f8bc4e22e61353662cded4c235aad8
Attachment #749841 -
Flags: review?(andreea.matei)
Comment 21•12 years ago
|
||
Comment on attachment 749841 [details] [diff] [review]
follow up patch v1.0 for Beta and Release
Review of attachment 749841 [details] [diff] [review]:
-----------------------------------------------------------------
Landed:
http://hg.mozilla.org/qa/mozmill-tests/rev/f0f82ed507d6 (aurora)
http://hg.mozilla.org/qa/mozmill-tests/rev/08b5794a2bff (beta)
http://hg.mozilla.org/qa/mozmill-tests/rev/590db92913fd (release)
Now we should fix bug 872484 for 2.0.
Attachment #749841 -
Flags: review?(andreea.matei) → review+
Updated•12 years ago
|
Comment 22•12 years ago
|
||
Andreea, can we close this bug as resolved fixed now?
Comment 23•12 years ago
|
||
We could close it for now as we will receive a notification email when the dependency is solved (bug 847991).
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Updated•6 years ago
|
Product: Mozilla QA → Mozilla QA Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•