Closed
Bug 1126744
Opened 10 years ago
Closed 10 years ago
Test failure 'tab.getNode(...) is null' in testAddons/testPluginDisableAffectsAboutPlugins.js
Categories
(Mozilla QA Graveyard :: Mozmill Tests, defect)
Tracking
(firefox35 fixed, firefox36 fixed, firefox37 fixed, firefox38 fixed, firefox-esr31 wontfix)
People
(Reporter: daniela.domnici, Assigned: teodruta)
References
()
Details
(Whiteboard: [mozmill-test-failure])
Attachments
(6 files, 6 obsolete files)
|
1.14 KB,
patch
|
AndreeaMatei
:
review+
|
Details | Diff | Splinter Review |
|
1.25 KB,
patch
|
AndreeaMatei
:
review+
mihaelav
:
review+
|
Details | Diff | Splinter Review |
|
1.32 KB,
patch
|
mihaelav
:
review+
|
Details | Diff | Splinter Review |
|
2.21 KB,
patch
|
AndreeaMatei
:
review+
|
Details | Diff | Splinter Review |
|
2.30 KB,
patch
|
AndreeaMatei
:
review+
|
Details | Diff | Splinter Review |
|
1.45 KB,
patch
|
AndreeaMatei
:
review+
|
Details | Diff | Splinter Review |
Module: testDisableEnablePlugin
Test: /testAddons/testPluginDisableAffectsAboutPlugins.js
Errors: tab.getNode(...) is null
aIndex is not defined
Branches:Nightly(38.0a1), Aurora(37.0a2),esr31(31.4.0esrpre)
Platforms: All
Reports: http://mozmill-daily.blargon7.com/#/functional/failure?app=Firefox&branch=All&platform=All&from=2015-01-27&to=2015-01-28&test=%2FtestAddons%2FtestPluginDisableAffectsAboutPlugins.js&func=testDisableEnablePlugin
| Reporter | ||
Updated•10 years ago
|
status-firefox37:
--- → affected
status-firefox38:
--- → affected
status-firefox-esr31:
--- → affected
Whiteboard: [mozmill-test-failure]
| Reporter | ||
Comment 1•10 years ago
|
||
created skip patch for the nightly branch
Attachment #8555802 -
Flags: review?(mihaela.velimiroviciu)
Attachment #8555802 -
Flags: review?(andreea.matei)
Comment 2•10 years ago
|
||
Comment on attachment 8555802 [details] [diff] [review]
patch_V1
Review of attachment 8555802 [details] [diff] [review]:
-----------------------------------------------------------------
::: firefox/tests/functional/testAddons/manifest.ini
@@ +8,5 @@
> [testInstallUninstallSoftBlocklistedExtension.js]
> [testInstallUninstallTheme.js]
> [testManagerKeyboardShortcut.js]
> [testPluginDisableAffectsAboutPlugins.js]
> +disabled = Bug 1126744 -Bug 1126744 - Test failure 'tab.getNode(...) is null'
Please remove one bug no.
Attachment #8555802 -
Flags: review?(mihaela.velimiroviciu)
Attachment #8555802 -
Flags: review?(andreea.matei)
Attachment #8555802 -
Flags: review-
| Reporter | ||
Comment 3•10 years ago
|
||
Updated patch.Also, the patch applies to aurora branch.
Attachment #8555802 -
Attachment is obsolete: true
Attachment #8555804 -
Flags: review?(mihaela.velimiroviciu)
Attachment #8555804 -
Flags: review?(andreea.matei)
Comment 4•10 years ago
|
||
Comment on attachment 8555804 [details] [diff] [review]
patch_V2
Review of attachment 8555804 [details] [diff] [review]:
-----------------------------------------------------------------
https://hg.mozilla.org/qa/mozmill-tests/rev/5220ed19cea0 (default)
https://hg.mozilla.org/qa/mozmill-tests/rev/5808a4355e88 (aurora)
Attachment #8555804 -
Flags: review?(mihaela.velimiroviciu)
Attachment #8555804 -
Flags: review?(andreea.matei)
Attachment #8555804 -
Flags: review+
Comment 5•10 years ago
|
||
Teodor is looking into this, might be related to his changes in tabs.js
Assignee: nobody → teodor.druta
Status: NEW → ASSIGNED
| Assignee | ||
Updated•10 years ago
|
Blocks: 1122516
status-firefox35:
--- → affected
status-firefox36:
--- → affected
OS: Linux → All
Hardware: x86_64 → All
Summary: Test failure 'tab.getNode(...) is null' , 'aIndex is not defined' in testAddons/testPluginDisableAffectsAboutPlugins.js → Test failure 'tab.getNode(...) is null' in testAddons/testPluginDisableAffectsAboutPlugins.js
| Assignee | ||
Comment 6•10 years ago
|
||
:( As Cosmin pointed out the Addons Manager (about:addons) will open differently in two cases:
* If the active tab is a 'clean' about:newtab, about:home or about:blank page with no history, it will open in the active tab directly.
* If the active tab is any another page or either an about:* page with history it will open a new tab.
So, the closeAllTabs() method now works differently in the way that it opens a new clean tab with no history and then closes all the other tabs. The old method closed all tabs besides one and then just opened 'about:newtab' in the last remaining tab, resulting in a 'dirty' with history 'about'newtab' page.
No other tests seem to be affected by this change.
Attachment #8555834 -
Flags: review?(andreea.matei)
Comment 7•10 years ago
|
||
Comment on attachment 8555834 [details] [diff] [review]
fixtestplugindisabled.patch
Review of attachment 8555834 [details] [diff] [review]:
-----------------------------------------------------------------
This should really be handled in the addon manager class. It's just a workaround here for this specific test.
Attachment #8555834 -
Flags: review?(andreea.matei) → review-
Comment 8•10 years ago
|
||
Well, disregard my last comment. I did a quick check on this test and it assumes that about:addons is handled in a second tab, right? We should kill this assumption, given that we have a clean state at the beginning. In any case if we want to flip back to about:newtab, the situation will be different again.
So lets open about:blank explicitly before opening the addon manager, and adding a comment why we have to do that. This will be cleaner and more stable.
| Assignee | ||
Comment 9•10 years ago
|
||
(In reply to Henrik Skupin (:whimboo) from comment #8)
> So lets open about:blank explicitly before opening the addon manager, and
> adding a comment why we have to do that. This will be cleaner and more
> stable.
Actually opening about:blank in a clean about:newtab page will leave the page history empty, so I decided to open about:home instead, before opening the addon manager.
Attachment #8555834 -
Attachment is obsolete: true
Attachment #8556392 -
Flags: review?(mihaela.velimiroviciu)
Attachment #8556392 -
Flags: review?(andreea.matei)
Attachment #8556392 -
Flags: feedback?(hskupin)
| Assignee | ||
Comment 10•10 years ago
|
||
sorry, forgot to save the file in my text editor after a change.
Attachment #8556392 -
Attachment is obsolete: true
Attachment #8556392 -
Flags: review?(mihaela.velimiroviciu)
Attachment #8556392 -
Flags: review?(andreea.matei)
Attachment #8556392 -
Flags: feedback?(hskupin)
Attachment #8556394 -
Flags: review?(mihaela.velimiroviciu)
Attachment #8556394 -
Flags: review?(andreea.matei)
Attachment #8556394 -
Flags: feedback?(hskupin)
Comment 11•10 years ago
|
||
Comment on attachment 8556394 [details] [diff] [review]
fixtestplugindisabledv2.patch
Review of attachment 8556394 [details] [diff] [review]:
-----------------------------------------------------------------
LGTM
Attachment #8556394 -
Flags: review?(mihaela.velimiroviciu) → review+
| Assignee | ||
Comment 12•10 years ago
|
||
Please either land the fix patch or skip this test on mozilla-release and mozilla-beta ASAP.
Comment 13•10 years ago
|
||
Comment on attachment 8556394 [details] [diff] [review]
fixtestplugindisabledv2.patch
Review of attachment 8556394 [details] [diff] [review]:
-----------------------------------------------------------------
::: firefox/tests/functional/testAddons/testPluginDisableAffectsAboutPlugins.js
@@ +63,1 @@
> addonsManager.open();
I think you misunderstood my last review comments. The AOM does not need any kind of history. Loading about:blank was meant that the AOM opens in the exact same tab, but no new tabs gets opened.
Attachment #8556394 -
Flags: review?(andreea.matei)
Attachment #8556394 -
Flags: review-
Attachment #8556394 -
Flags: feedback?(hskupin)
| Assignee | ||
Comment 14•10 years ago
|
||
(In reply to Henrik Skupin (:whimboo) from comment #13)
> Comment on attachment 8556394 [details] [diff] [review]
> fixtestplugindisabledv2.patch
>
> Review of attachment 8556394 [details] [diff] [review]:
> -----------------------------------------------------------------
>
> :::
> firefox/tests/functional/testAddons/testPluginDisableAffectsAboutPlugins.js
> @@ +63,1 @@
> > addonsManager.open();
>
> I think you misunderstood my last review comments. The AOM does not need any
> kind of history. Loading about:blank was meant that the AOM opens in the
> exact same tab, but no new tabs gets opened.
In that case I don't think we need to open about:blank here, we can just open directly the AOM in the about:newtab tab, that remains from calling the closeAllTabs() method.
| Reporter | ||
Comment 15•10 years ago
|
||
Created the skip patch for the beta branch to avoid the multiple failures for the beta day.
Attachment #8556483 -
Flags: review?(mihaela.velimiroviciu)
Attachment #8556483 -
Flags: review?(andreea.matei)
Updated•10 years ago
|
Attachment #8556483 -
Flags: review?(mihaela.velimiroviciu) → review+
Comment 16•10 years ago
|
||
Comment on attachment 8556483 [details] [diff] [review]
patch_V1_beta
Review of attachment 8556483 [details] [diff] [review]:
-----------------------------------------------------------------
https://hg.mozilla.org/qa/mozmill-tests/rev/d058bbfd87b1 (beta)
Attachment #8556483 -
Flags: review?(andreea.matei) → review+
Updated•10 years ago
|
| Reporter | ||
Comment 17•10 years ago
|
||
Created the skip patcch for the release branch.
Attachment #8556506 -
Flags: review?(mihaela.velimiroviciu)
Attachment #8556506 -
Flags: review?(andreea.matei)
Comment 18•10 years ago
|
||
(In reply to Teodor Druta from comment #14)
> In that case I don't think we need to open about:blank here, we can just
> open directly the AOM in the about:newtab tab, that remains from calling the
> closeAllTabs() method.
This does not work, because a new tab will be opened in case of about:newtab. But with about:blank no new tab will be opened. Exactly this is the problem I'm trying to tell three times now. We won't hit this problem right now, but if there is a case when we have to disable about:newtab, this test will start to fail because of wrong tab indexes.
Updated•10 years ago
|
Attachment #8556506 -
Flags: review?(mihaela.velimiroviciu) → review+
| Assignee | ||
Comment 19•10 years ago
|
||
(In reply to Henrik Skupin (:whimboo) from comment #18)
> This does not work, because a new tab will be opened in case of
> about:newtab. But with about:blank no new tab will be opened.
A new (AMO) tab will not open for 'about:newtab' (CLEAN) as well, their functionality is the same on this matter.
Steps:
1. Open firefox
2. Open a new tab (At this point we have about:newtab open with no history at all)
3. Open the Addons Manager (Using shortcut or menu entry)
- The addons manager will open in the current active tab
1. -/-
2. Open a new tab
3. Navigate to any remote/local resource in the same tab
4. Open about:newtab in the same tab
5. Open the Addons Manager
- The addons manager will open in a different new tab
1. -/-
2. Open a new tab
3. Open 'about:blank' in the same tab
4. Open the Addons Manager
- The addons manager will open in the same tab
1. -/-
2. Open a new tab
3. Navigate to any remote/local resource in the same tab
4. Open 'about:blank' in the same tab
5. Open the Addons Manager
- The addons manager will open in a different new tab
Comment 20•10 years ago
|
||
Very interesting. Something might have been changed here. Thanks for the information.
| Assignee | ||
Comment 21•10 years ago
|
||
Comment on attachment 8555834 [details] [diff] [review]
fixtestplugindisabled.patch
After looking more into this problem, I think that this is the best solution so far, we will open a new tab, and will use it for the AMO page, this tab will have index 1, while the 'about:plugins' page will be handled in the tab with index 0.
Attachment #8555834 -
Flags: review?(mihaela.velimiroviciu)
Attachment #8555834 -
Flags: review?(andreea.matei)
| Assignee | ||
Updated•10 years ago
|
Attachment #8555834 -
Attachment is obsolete: false
| Assignee | ||
Updated•10 years ago
|
Attachment #8556394 -
Attachment is obsolete: true
Comment 22•10 years ago
|
||
Comment on attachment 8556506 [details] [diff] [review]
patch_V1_release
Review of attachment 8556506 [details] [diff] [review]:
-----------------------------------------------------------------
Don't need it in release, will be merged.
Attachment #8556506 -
Flags: review?(andreea.matei)
Comment 23•10 years ago
|
||
Comment on attachment 8555834 [details] [diff] [review]
fixtestplugindisabled.patch
Review of attachment 8555834 [details] [diff] [review]:
-----------------------------------------------------------------
lgtm. Henrik, do you agree?
Attachment #8555834 -
Flags: review?(mihaela.velimiroviciu)
Attachment #8555834 -
Flags: review?(andreea.matei)
Attachment #8555834 -
Flags: review+
Attachment #8555834 -
Flags: feedback?(hskupin)
Comment 24•10 years ago
|
||
Comment on attachment 8555834 [details] [diff] [review]
fixtestplugindisabled.patch
Review of attachment 8555834 [details] [diff] [review]:
-----------------------------------------------------------------
Looks good to me, yes. Lets just add a comment why we have to open a new tab here.
Attachment #8555834 -
Flags: feedback?(hskupin) → feedback+
| Assignee | ||
Comment 25•10 years ago
|
||
Added an explanatory comment to the openTab line.
Attachment #8555834 -
Attachment is obsolete: true
Attachment #8559089 -
Flags: review?(mihaela.velimiroviciu)
Attachment #8559089 -
Flags: review?(andreea.matei)
Updated•10 years ago
|
Attachment #8559089 -
Flags: review?(mihaela.velimiroviciu)
Attachment #8559089 -
Flags: review?(andreea.matei)
Attachment #8559089 -
Flags: review+
Comment 26•10 years ago
|
||
Actually, please add the unskip also in this patch, so we don't land 2 sets (fix and unskip) for each branch. Thanks.
| Assignee | ||
Comment 27•10 years ago
|
||
(In reply to Andreea Matei [:AndreeaMatei] from comment #26)
> Actually, please add the unskip also in this patch, so we don't land 2 sets
> (fix and unskip) for each branch. Thanks.
Done.
Attachment #8559089 -
Attachment is obsolete: true
Attachment #8559102 -
Flags: review?(andreea.matei)
| Assignee | ||
Comment 28•10 years ago
|
||
...
Attachment #8559102 -
Attachment is obsolete: true
Attachment #8559102 -
Flags: review?(andreea.matei)
Attachment #8559103 -
Flags: review?(andreea.matei)
Comment 29•10 years ago
|
||
Comment on attachment 8559103 [details] [diff] [review]
fixtestplugindisabled.patch
Review of attachment 8559103 [details] [diff] [review]:
-----------------------------------------------------------------
https://hg.mozilla.org/qa/mozmill-tests/rev/3f0391299059 (default)
Attachment #8559103 -
Flags: review?(andreea.matei) → review+
Updated•10 years ago
|
| Assignee | ||
Comment 30•10 years ago
|
||
I think we should backport. The patch applies cleanly and runs well on aurora.
Attached is the patch for beta.
Attachment #8559183 -
Flags: review?(andreea.matei)
| Assignee | ||
Comment 31•10 years ago
|
||
This will be the patch for the release branch.
Attachment #8559701 -
Flags: review?(andreea.matei)
Comment 32•10 years ago
|
||
Comment 33•10 years ago
|
||
Comment on attachment 8559183 [details] [diff] [review]
fixtestplugindisabled_beta.patch
Review of attachment 8559183 [details] [diff] [review]:
-----------------------------------------------------------------
https://hg.mozilla.org/qa/mozmill-tests/rev/d8c4e6c54b8e (beta)
Attachment #8559183 -
Flags: review?(andreea.matei) → review+
Updated•10 years ago
|
Comment 34•10 years ago
|
||
Comment on attachment 8559701 [details] [diff] [review]
fixtestplugindisabled_release.patch
Review of attachment 8559701 [details] [diff] [review]:
-----------------------------------------------------------------
https://hg.mozilla.org/qa/mozmill-tests/rev/6a9d5f025ae5 (release)
Attachment #8559701 -
Flags: review?(andreea.matei) → review+
Updated•10 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 10 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
•