Closed Bug 766917 Opened 12 years ago Closed 12 years ago

error: TEST FAILED: test-widget.testPanelWidget1 (timed out)

Categories

(Add-on SDK Graveyard :: General, defect, P1)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: ochameau, Assigned: ochameau)

References

Details

Attachments

(1 file)

We are facing permanent failure on:
https://tbpl.mozilla.org/php/getParsedLog.php?id=12855856&tree=Firefox#error0
info: executing 'test-widget.testPanelWidget1'
error: An exception occurred.
Traceback (most recent call last):
  File "resource://1b658e06-2ace-4746-8c3a-96cb6a2540a4-at-jetpack/addon-kit/lib/panel.js", line 290, in _onShow
    let textColor = win.getComputedStyle(node).getPropertyValue("color");
[Exception... "Operation is not supported"  code: "9" nsresult: "0x80530009 (NotSupportedError)"  location: "resource://1b658e06-2ace-4746-8c3a-96cb6a2540a4-at-jetpack/api-utils/lib/loader.js -> resource://1b658e06-2ace-4746-8c3a-96cb6a2540a4-at-jetpack/addon-kit/lib/panel.js Line: 290"]
error: TEST FAILED: test-widget.testPanelWidget1 (timed out)

This exception is due to bug 764755, which changes panel anonymous XBL content.
So that the code that try to grab text color of panel fails.
Attached file Pull request 471
This patch modify our code based on platform modification:
  http://hg.mozilla.org/mozilla-central/diff/e983572af03f/toolkit/content/widgets/popup.xml
And avoid breaking panel completely in case of issue during this action.
Assignee: nobody → poirot.alex
Attachment #635268 - Flags: review?(rFobic)
Attachment #635268 - Flags: review?(rFobic) → review+
Commits pushed to master at https://github.com/mozilla/addon-sdk

https://github.com/mozilla/addon-sdk/commit/24b8ab3fb6b6067074d0577df1ca67fe75212e2c
Bug 766917: Fix application of panel style to its document.

https://github.com/mozilla/addon-sdk/commit/cd13decd45fe6c6c409f8408281e192d76b28bba
Merge pull request #471 from ochameau/bug/766917-fix-widget-test

Bug 766917: Fix application of panel style to its document. r=@gozala
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Blocks: 768584
Does this require rebuilding add-ons that were built against older SDKs?
Yes. Note that we are working on repackaging AMO addons.
I already built a repacker script which is working quite well:
  https://github.com/ochameau/jetpack-repacker
(Still missing some features)
But now, we mostly need to setup a plan to reach addons authors.
Hum this appear to be missing in 1.9b2.
Why isn't it in stabilization branch as it landed before the merge from master to stab? Landed on 06/21 altought merge should have been done on 06/26.
Am I misunderstanding our branches workflow, is there something wrong in 
  https://wiki.mozilla.org/Jetpack/SDK_2012_Release_Schedule
?

This change should definitely be pulled in next 1.9 version!
Target Milestone: --- → 1.9
Blocks: 774088
(In reply to Alexandre Poirot (:ochameau) from comment #6)
> Hum this appear to be missing in 1.9b2.
> Why isn't it in stabilization branch as it landed before the merge from
> master to stab? Landed on 06/21 altought merge should have been done on
> 06/26.
> Am I misunderstanding our branches workflow, is there something wrong in 
>   https://wiki.mozilla.org/Jetpack/SDK_2012_Release_Schedule
> ?
> 
> This change should definitely be pulled in next 1.9 version!

Is this not what's on stabilization right now? https://github.com/mozilla/addon-sdk/blob/stabilization/packages/addon-kit/lib/panel.js#L274
Oh right nevermind I was completely misreading panel.js ... everything is fine!
This change is already part of 1.9b1.
Commit pushed to release at https://github.com/mozilla/addon-sdk

https://github.com/mozilla/addon-sdk/commit/c64ad82e81db8933cef4246b366f5926d7a8e764
Merge pull request #471 from ochameau/bug/766917-fix-widget-test

Bug 766917: Fix application of panel style to its document. r=@gozala(cherry picked from commit cd13decd45fe6c6c409f8408281e192d76b28bba)
Commit pushed to stabilization at https://github.com/mozilla/addon-sdk

https://github.com/mozilla/addon-sdk/commit/c64ad82e81db8933cef4246b366f5926d7a8e764
Merge pull request #471 from ochameau/bug/766917-fix-widget-test
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: