Closed
Bug 718411
Opened 12 years ago
Closed 12 years ago
test_playback.html | an unexpected uncaught JS exception reported through window.onerror - Utils is not defined at chrome://global/content/bindings/videocontrols.xml
Categories
(Toolkit :: Video/Audio Controls, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: smaug, Unassigned)
References
Details
(Keywords: intermittent-failure)
Attachments
(1 file, 1 obsolete file)
285 bytes,
text/html
|
Details |
No description provided.
Reporter | ||
Comment 1•12 years ago
|
||
See https://bugzilla.mozilla.org/show_bug.cgi?id=699719#c20
Reporter | ||
Comment 2•12 years ago
|
||
Bug 718340 may have caused this. investigating.
Reporter | ||
Comment 3•12 years ago
|
||
If I read the XBL code (C++ and videocontrols.xml) correctly, this is a valid bug. Utils field can be deleted from the js object, yet some timeout function tries to use it.
Reporter | ||
Comment 4•12 years ago
|
||
This could hopefully fix the problem.
Attachment #588976 -
Flags: review?(jwein)
Reporter | ||
Comment 5•12 years ago
|
||
https://tbpl.mozilla.org/?tree=Try&rev=a0529e923603
Comment 6•12 years ago
|
||
Comment on attachment 588976 [details] [diff] [review] patch Review of attachment 588976 [details] [diff] [review]: ----------------------------------------------------------------- This looks fine to me. I tested this out on my Windows build by causing the timeout to be set and then closing the tab or navigating away from the page. I couldn't reproduce the exception with or without the patch though (but that's probably expected due to its randomness). I'd grant an r+ but I'm not a toolkit peer, so I've passed this review on to Dolske. Thanks for fixing this!
Attachment #588976 -
Flags: review?(jwein)
Attachment #588976 -
Flags: review?(dolske)
Attachment #588976 -
Flags: feedback+
Comment 7•12 years ago
|
||
Comment on attachment 588976 [details] [diff] [review] patch Review of attachment 588976 [details] [diff] [review]: ----------------------------------------------------------------- ::: toolkit/content/widgets/videocontrols.xml @@ +306,5 @@ > <![CDATA[ > this.Utils.init(this); > ]]> > </constructor> > + Nit: Please remove this extra whitespace.
Reporter | ||
Comment 8•12 years ago
|
||
I was told this happened even without the patch for Bug 718340.
Comment 9•12 years ago
|
||
(In reply to Olli Pettay [:smaug] from comment #8) > I was told this happened even without the patch for Bug 718340. It might only happen on opt builds, of which I'm running a debug build.
Updated•12 years ago
|
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Reporter | ||
Comment 14•12 years ago
|
||
Comment on attachment 588976 [details] [diff] [review] patch Based on tryserver, this doesn't fix the problem :(
Attachment #588976 -
Attachment is obsolete: true
Attachment #588976 -
Flags: review?(dolske)
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment 19•12 years ago
|
||
Comment 18 was from the merge of the merge from fx-team, a perhaps more likely place for it to start, since it brought over the patch for bug 689387, and in fact there is an unstarred instance of this on the fx-team push of that.
Blocks: 689387
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment 30•12 years ago
|
||
This problem is verified in version 13. I can reproduce it 100% of the time. I get 2 exceptions in rapid succession when I navigate away from a playing video: chrome://global/content/bindings/videocontrols.xml(639): event.item is undefined chrome://global/content/bindings/videocontrols.xml(816): Utils is not defined
Comment 31•12 years ago
|
||
No sign of this for many months.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•12 years ago
|
Keywords: intermittent-failure
Assignee | ||
Updated•12 years ago
|
Whiteboard: [orange]
You need to log in
before you can comment on or make changes to this bug.
Description
•