Closed Bug 156776 Opened 23 years ago Closed 23 years ago

javascript:URLS cause nsIChannel.asyncOpen errors in Venkman

Categories

(Other Applications Graveyard :: Venkman JS Debugger, defect)

x86
All
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: pschwartau, Assigned: rginda)

References

()

Details

(Whiteboard: [FOB])

Reported by jmooney@llbean.com in bug 156520 at the site http://www.cnn.com/2002/US/07/09/texas.floods/index.html: -------------------------------------------------------------------------------- "When a newWindow is opened via a click, and a focus method is applied to the new window object, the behavior works correctly on the initial load - the newWindow takes focus. If the user goes back to the parent page, and clicks again on the windowOpen link (ending in a focus method), the window focus fails (ie, it does not come forward). Script performs multiple subsequent focus methods correctly in IE. In Mozilla 1.0, the new window does not take focus on subsequent clicks. As sample, this URL produces the following messages in JS Debugger: http://www.landsend.com/cd/fp/prod/0,,1_2_1931_33_57364_40455_5%3Aview=-1,00.htm l?sid=4295034746332101730 Error loading URL <javascript:LE_popup('/swatchpopup.cgi?styleNum=76431AK4&selectedColor=DFI')>: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIChannel.asyncOpen]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: chrome://venkman/content/venkman-url-loader.js :: loadURLAsync :: line 67" data: no] function (null)() in <javascript:LE_popup('/swatchpopup.cgi?styleNum=76431AK4&selectedColor=DFI')> line 1 Error loading URL <javascript:LE_popup('/swatchpopup.cgi?styleNum=76431AK4&selectedColor=DFI')>: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIChannel.asyncOpen]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: chrome://venkman/content/venkman-url-loader.js :: loadURLAsync :: line 67" data: no] ****** Similarly constructed javascript at this URL provides a similar error display in the Mozilla JS Debugger: http://www.cnn.com/2002/US/07/09/texas.floods/index.html ( see the "Images of the flooding in Texas" Gallery popup link) Error loading URL <javascript:openWindow('/interactive/weather/0207/gallery.texas.floods/frameset. exclude.html','620x430','toolbar=no,location=no,directories=no,status=no,menubar =no,scrollbars=no,resizable=no,width=620,height=430')>: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIChannel.asyncOpen]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: chrome://venkman/content/venkman-url-loader.js :: loadURLAsync :: line 67" data: no] function (null)() in <javascript:openWindow('/interactive/weather/0207/gallery.texas.floods/frameset. exclude.html','620x430','toolbar=no,location=no,directories=no,status=no,menubar =no,scrollbars=no,resizable=no,width=620,height=430')> line 1 Error loading URL <javascript:openWindow('/interactive/weather/0207/gallery.texas.floods/frameset. exclude.html','620x430','toolbar=no,location=no,directories=no,status=no,menubar =no,scrollbars=no,resizable=no,width=620,height=430')>: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIChannel.asyncOpen]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: chrome://venkman/content/venkman-url-loader.js :: loadURLAsync :: line 67" data: no] Are these errors in JS Debugger or a broken focus method in the Mozilla JS implementation?" --------------------------------------------------------------------------------
Blocks: 141097
this should be fixed on the branch, see <http://www.hacksrus.com/~ginda/venkman/>.
Whiteboard: [FOB]
Downloaded the latest Venkman from http://www.hacksrus.com/~ginda/venkman/ and no longer see the nsIChannel.asyncOpen errors at the given site. Using a trunk Mozilla build 20020715 on WinNT -
Status: NEW → ASSIGNED
Mass marking bugs that were Fixed On Branch as fixed, because the branch has landed. If you believe this bug is not fixed, please reopen it.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Product: Core → Other Applications
Product: Other Applications → Other Applications Graveyard
You need to log in before you can comment on or make changes to this bug.