Closed Bug 764782 Opened 13 years ago Closed 12 years ago

Update closeAllTabs to use about:newtab instead of about:blank

Categories

(Mozilla QA Graveyard :: Mozmill Tests, defect, P3)

defect

Tracking

(firefox21 fixed, firefox22 fixed, firefox23 fixed, firefox24 fixed, firefox-esr10 unaffected, firefox-esr17 fixed)

RESOLVED FIXED
Tracking Status
firefox21 --- fixed
firefox22 --- fixed
firefox23 --- fixed
firefox24 --- fixed
firefox-esr10 --- unaffected
firefox-esr17 --- fixed

People

(Reporter: remus.pop, Assigned: daniela.p98911)

References

Details

(Whiteboard: [lib])

Attachments

(3 files, 3 obsolete files)

When opening a new tab, about:newtab is opened, so we should have about:newtab when closeAllTabs is used.
Depends on: 764807
Comment on attachment 634845 [details] [diff] [review] patch v1 (all branches) >- this._controller.open("about:blank"); >+ this._controller.open("about:newtab"); While thinking more about it, we should not hard-code this page but read the URI from the browser.newtab.url preference.
Attachment #634845 - Flags: review?(hskupin) → review-
Attached patch patch v2 (all branches) (obsolete) — Splinter Review
Added the reading of the pref.
Attachment #634845 - Attachment is obsolete: true
Attachment #635735 - Flags: review?(hskupin)
Comment on attachment 635735 [details] [diff] [review] patch v2 (all branches) >- this._controller.open("about:blank"); >+ var newTabUrl = prefs.preferences.getPref(PREF_NEW_TAB_URL, ''); Can we please fallback to 'about:blank' if the pref is not set? Similar to the behavior of the browser: http://mxr.mozilla.org/mozilla-central/source/browser/base/content/utilityOverlay.js#11 It would be even great if we could simply use that constant as Mochitests can do: http://mxr.mozilla.org/mozilla-central/source/browser/components/tabview/test/browser_tabview_bug626455.js#83
Attachment #635735 - Flags: review?(hskupin) → review-
Depends on: 767945
Attached patch patch v3 (all branches) (obsolete) — Splinter Review
Didn't think the fix would be so easy. If the pref is not set, the constant will fallback to about:blank.
Attachment #635735 - Attachment is obsolete: true
Attachment #636625 - Flags: review?(hskupin)
Comment on attachment 636625 [details] [diff] [review] patch v3 (all branches) That's what I wanted to see. It's great that you have discovered that!
Attachment #636625 - Flags: review?(hskupin) → review+
Remus, please care about the commit message. You forgot to set it this time. Pushed: http://hg.mozilla.org/qa/mozmill-tests/rev/da91de35420f If everything is green today we can backport to all the older branches.
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
To bypass the failures we currently having due to bug 799433 I will go ahead and backout this change for aurora and default. That way we are not affected by the waitForgPageLoad failures as covered on bug 790191. http://hg.mozilla.org/qa/mozmill-tests/rev/7c0df6d68bbe (default) http://hg.mozilla.org/qa/mozmill-tests/rev/906c279a57a6 (aurora)
Assignee: remus.pop → nobody
Blocks: 790191
Status: RESOLVED → REOPENED
Depends on: 799433
Resolution: FIXED → ---
Whiteboard: [lib] → [lib][mozmill-test-skipped]
Daniela, can you please test this across platforms? It looks like the underlying issue has been fixed somewhere and we can now do that change. It doesn't fail anymore on Linux.
Status: REOPENED → NEW
Flags: needinfo?(dpetrovici)
Priority: -- → P3
Attached patch patch v3_1Splinter Review
The previous patch does not apply cleanly anymore. The change works now and this patch applies cleanly on default, Aurora and Beta. Tested across platforms and locales: Linux: Nightly en-US: http://mozmill-crowd.blargon7.com/#/functional/report/8aa237803fd4b0e7348adc8bbe9161dd http://mozmill-crowd.blargon7.com/#/functional/report/8aa237803fd4b0e7348adc8bbe91e9cb Nightly fr: http://mozmill-crowd.blargon7.com/#/functional/report/8aa237803fd4b0e7348adc8bbe96bed4 http://mozmill-crowd.blargon7.com/#/functional/report/8aa237803fd4b0e7348adc8bbe97c49d Nightly de: http://mozmill-crowd.blargon7.com/#/functional/report/8aa237803fd4b0e7348adc8bbe9237b3 http://mozmill-crowd.blargon7.com/#/functional/report/8aa237803fd4b0e7348adc8bbe934269 Nightly it: http://mozmill-crowd.blargon7.com/#/functional/report/8aa237803fd4b0e7348adc8bbe9a364c http://mozmill-crowd.blargon7.com/#/functional/report/8aa237803fd4b0e7348adc8bbe98defe Aurora en-US: http://mozmill-crowd.blargon7.com/#/functional/report/8aa237803fd4b0e7348adc8bbe9d8e0d http://mozmill-crowd.blargon7.com/#/functional/report/8aa237803fd4b0e7348adc8bbe9beb3c Aurora fr: http://mozmill-crowd.blargon7.com/#/functional/report/8aa237803fd4b0e7348adc8bbea2f652 http://mozmill-crowd.blargon7.com/#/functional/report/8aa237803fd4b0e7348adc8bbea316cb Aurora de: http://mozmill-crowd.blargon7.com/#/functional/report/8aa237803fd4b0e7348adc8bbea1f51c http://mozmill-crowd.blargon7.com/#/functional/report/8aa237803fd4b0e7348adc8bbea1f89d Aurora it: http://mozmill-crowd.blargon7.com/#/functional/report/8aa237803fd4b0e7348adc8bbea1faa0 http://mozmill-crowd.blargon7.com/#/functional/report/8aa237803fd4b0e7348adc8bbea22619 Beta en-US: http://mozmill-crowd.blargon7.com/#/functional/report/8aa237803fd4b0e7348adc8bbea4a6cd http://mozmill-crowd.blargon7.com/#/functional/report/8aa237803fd4b0e7348adc8bbea4e7b5 Beta fr: http://mozmill-crowd.blargon7.com/#/functional/report/8aa237803fd4b0e7348adc8bbea5230c http://mozmill-crowd.blargon7.com/#/functional/report/8aa237803fd4b0e7348adc8bbea56128 Beta de: http://mozmill-crowd.blargon7.com/#/functional/report/8aa237803fd4b0e7348adc8bbea3da02 http://mozmill-crowd.blargon7.com/#/functional/report/8aa237803fd4b0e7348adc8bbea458c3 Beta it: http://mozmill-crowd.blargon7.com/#/functional/report/8aa237803fd4b0e7348adc8bbea58e5f http://mozmill-crowd.blargon7.com/#/functional/report/8aa237803fd4b0e7348adc8bbea602b9 MAC: Nightly en-US: http://mozmill-crowd.blargon7.com/#/functional/report/8aa237803fd4b0e7348adc8bbe91665d http://mozmill-crowd.blargon7.com/#/functional/report/8aa237803fd4b0e7348adc8bbe91f896 Nightly fr: http://mozmill-crowd.blargon7.com/#/functional/report/8aa237803fd4b0e7348adc8bbe96f8d7 http://mozmill-crowd.blargon7.com/#/functional/report/8aa237803fd4b0e7348adc8bbe97ce75 Nightly de: http://mozmill-crowd.blargon7.com/#/functional/report/8aa237803fd4b0e7348adc8bbe93339e http://mozmill-crowd.blargon7.com/#/functional/report/8aa237803fd4b0e7348adc8bbe94911d Nightly it: http://mozmill-crowd.blargon7.com/#/functional/report/8aa237803fd4b0e7348adc8bbe98cf67 http://mozmill-crowd.blargon7.com/#/functional/report/8aa237803fd4b0e7348adc8bbe9a266d Aurora en-US: http://mozmill-crowd.blargon7.com/#/functional/report/8aa237803fd4b0e7348adc8bbe9e1a32 http://mozmill-crowd.blargon7.com/#/functional/report/8aa237803fd4b0e7348adc8bbe9c86ee Aurora fr: http://mozmill-crowd.blargon7.com/#/functional/report/8aa237803fd4b0e7348adc8bbea1185b http://mozmill-crowd.blargon7.com/#/functional/report/8aa237803fd4b0e7348adc8bbea1259d Aurora de: http://mozmill-crowd.blargon7.com/#/functional/report/8aa237803fd4b0e7348adc8bbe9f8883 http://mozmill-crowd.blargon7.com/#/functional/report/8aa237803fd4b0e7348adc8bbea09e8b Aurora it: http://mozmill-crowd.blargon7.com/#/functional/report/8aa237803fd4b0e7348adc8bbea1b28b http://mozmill-crowd.blargon7.com/#/functional/report/8aa237803fd4b0e7348adc8bbea171be Beta en-US: http://mozmill-crowd.blargon7.com/#/functional/report/8aa237803fd4b0e7348adc8bbea22651 http://mozmill-crowd.blargon7.com/#/functional/report/8aa237803fd4b0e7348adc8bbea23f65 Beta fr: http://mozmill-crowd.blargon7.com/#/functional/report/8aa237803fd4b0e7348adc8bbea2e916 http://mozmill-crowd.blargon7.com/#/functional/report/8aa237803fd4b0e7348adc8bbea30d90 Beta de: http://mozmill-crowd.blargon7.com/#/functional/report/8aa237803fd4b0e7348adc8bbea280be http://mozmill-crowd.blargon7.com/#/functional/report/8aa237803fd4b0e7348adc8bbea2b41d Beta it: http://mozmill-crowd.blargon7.com/#/functional/report/8aa237803fd4b0e7348adc8bbea33073 http://mozmill-crowd.blargon7.com/#/functional/report/8aa237803fd4b0e7348adc8bbea342d3 Windows: Nightly en-US: http://mozmill-crowd.blargon7.com/#/functional/report/8aa237803fd4b0e7348adc8bbe9783a6 http://mozmill-crowd.blargon7.com/#/functional/report/8aa237803fd4b0e7348adc8bbe96799f Nightly fr: http://mozmill-crowd.blargon7.com/#/functional/report/8aa237803fd4b0e7348adc8bbe9afa69 http://mozmill-crowd.blargon7.com/#/functional/report/8aa237803fd4b0e7348adc8bbe9c3582 Nightly de: http://mozmill-crowd.blargon7.com/#/functional/report/8aa237803fd4b0e7348adc8bbe990b63 http://mozmill-crowd.blargon7.com/#/functional/report/8aa237803fd4b0e7348adc8bbe9a2b99 Nightly it: http://mozmill-crowd.blargon7.com/#/functional/report/8aa237803fd4b0e7348adc8bbe9e2df3 http://mozmill-crowd.blargon7.com/#/functional/report/8aa237803fd4b0e7348adc8bbe9f9716 Aurora en-US: http://mozmill-crowd.blargon7.com/#/functional/report/8aa237803fd4b0e7348adc8bbea22bef http://mozmill-crowd.blargon7.com/#/functional/report/8aa237803fd4b0e7348adc8bbea205c4 Aurora fr: http://mozmill-crowd.blargon7.com/#/functional/report/8aa237803fd4b0e7348adc8bbea1c380 http://mozmill-crowd.blargon7.com/#/functional/report/8aa237803fd4b0e7348adc8bbea1f061 Aurora de: http://mozmill-crowd.blargon7.com/#/functional/report/8aa237803fd4b0e7348adc8bbea1ab2f http://mozmill-crowd.blargon7.com/#/functional/report/8aa237803fd4b0e7348adc8bbea16d55 Aurora it: http://mozmill-crowd.blargon7.com/#/functional/report/8aa237803fd4b0e7348adc8bbea29df1 http://mozmill-crowd.blargon7.com/#/functional/report/8aa237803fd4b0e7348adc8bbea25afb Beta en-US: http://mozmill-crowd.blargon7.com/#/functional/report/8aa237803fd4b0e7348adc8bbea783b7 http://mozmill-crowd.blargon7.com/#/functional/report/8aa237803fd4b0e7348adc8bbea7915d Beta fr: http://mozmill-crowd.blargon7.com/#/functional/report/8aa237803fd4b0e7348adc8bbea38dd3 http://mozmill-crowd.blargon7.com/#/functional/report/8aa237803fd4b0e7348adc8bbea360af Beta de: http://mozmill-crowd.blargon7.com/#/functional/report/8aa237803fd4b0e7348adc8bbea32411 http://mozmill-crowd.blargon7.com/#/functional/report/8aa237803fd4b0e7348adc8bbea2fe48 Beta it: http://mozmill-crowd.blargon7.com/#/functional/report/8aa237803fd4b0e7348adc8bbea4bfa0 http://mozmill-crowd.blargon7.com/#/functional/report/8aa237803fd4b0e7348adc8bbea51aed
Assignee: nobody → dpetrovici
Attachment #636625 - Attachment is obsolete: true
Status: NEW → ASSIGNED
Attachment #760778 - Flags: review?(andreea.matei)
Flags: needinfo?(dpetrovici)
This is the patch for release branch that applies cleanly on ESR17. I will add the reports in a txt file in a moment.
Attachment #760874 - Flags: review?(andreea.matei)
Pushed on default, I'll wait for tomorrow before backporting: http://hg.mozilla.org/qa/mozmill-tests/rev/8eeee19afcb9 (default)
Attachment #760778 - Flags: review?(andreea.matei) → review+
Attachment #760874 - Flags: review?(andreea.matei) → review+
Status: ASSIGNED → RESOLVED
Closed: 13 years ago12 years ago
Resolution: --- → FIXED
Whiteboard: [lib][mozmill-test-skipped] → [lib]
This change here caused a lot of new failures in our tests when you run them via Mozmill 2.0. Especially the ones under tabbed browsing. Can someone please get this investigated? We would need a new bug for that, or is there already one open?
(In reply to Henrik Skupin (:whimboo) from comment #16) > This change here caused a lot of new failures in our tests when you run them > via Mozmill 2.0. Especially the ones under tabbed browsing. Can someone > please get this investigated? We would need a new bug for that, or is there > already one open? Logged bug 885221 for this issue
Product: Mozilla QA → Mozilla QA Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: