#12270 closed defect (fixed)
dojox.html.ellipsis fails loading on FF4
Reported by: | talisto | Owned by: | Adam Peller |
---|---|---|---|
Priority: | high | Milestone: | 1.5.2 |
Component: | Dojox | Version: | 1.6.0b1 |
Keywords: | Cc: | Tom Trenka, Nathan Toone, Bryan Forbes | |
Blocked By: | Blocking: |
Description
dojox.html.ellipsis fails to load on the latest Firefox 4 beta, resulting in this error:
failed loading dojo/../dojox/html/ellipsis.js with error: [Exception... "Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsIDOMHTMLDocument.createElementNS]" nsresult: "0x80040111 (NS_ERROR_NOT_AVAILABLE)" location: "JS frame :: http://sandbox.local/dojo.git/dojo/_base/_loader/bootstrap.js :: <TOP_LEVEL> :: line 495" data: no] http://sandbox.local/dojo.git/dojo/_base/_loader/loader.js Line 146
I'm not sure if bug reports for beta versions of Firefox are desired, but Firefox 4 is almost at RC, so I thought it might be worth mentioning.
I've attached a simple test-case. I've tested this on Firefox 3 and it works fine. I've also tested that this error occurs on Firefox 4 with both Dojo 1.5 and Dojo 1.6b2.
This is the only component that I have experienced an error loading in Firefox 4 (so far).
Attachments (2)
Change History (18)
Changed 10 years ago by
Attachment: | loadtest.html added |
---|
comment:1 Changed 10 years ago by
Component: | General → Dojox |
---|---|
Owner: | changed from anonymous to Adam Peller |
comment:2 Changed 10 years ago by
comment:3 Changed 10 years ago by
Milestone: | tbd → 1.6 |
---|---|
Priority: | normal → high |
https://developer.mozilla.org/En/Firefox_4_for_developers#Remote_XUL_support_removed Means we'd better at least catch the exception going forward. Not sure if there's any other workable solution for ellipses on FF.
comment:5 Changed 10 years ago by
Cc: | Tom Trenka Nathan Toone added |
---|
This feature is presently broken for FF4+ so the code is useless going forward, unfortunately. How do we handle this?
comment:6 Changed 10 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:10 Changed 10 years ago by
Cc: | Bryan Forbes added |
---|---|
Resolution: | fixed |
Status: | closed → reopened |
I may have been too hasty. There's a non-XUL branch in there.
comment:11 Changed 10 years ago by
Milestone: | 1.6 → 1.6.1 |
---|
comment:12 Changed 10 years ago by
I have attached a patch against the 1.6 branch that only wraps the XUL portion of the branch for Firefox in a try/catch. This allows the non-XUL function to run in FF4.
comment:14 Changed 10 years ago by
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
comment:15 Changed 10 years ago by
Summary: | dojox.html.ellipsis fails loading on Firefox 4 beta (10) → dojox.html.ellipsis fails loading on FF4 |
---|
(just changing summary so searches for FF4 find this ticket in addition to the others)
comment:16 Changed 9 years ago by
Milestone: | 1.6.1 → 1.5.2 |
---|
this code fails from the firebug console: