fixLinks causes strange error on a button click in a file://

Bug reports and enhancement requests
Post Reply
al_9x
Master Bug Buster
Posts: 931
Joined: Thu Mar 19, 2009 4:52 pm

fixLinks causes strange error on a button click in a file://

Post by al_9x »

Fx 4.0.1, NS 2.1.1.2rc4, new profile

1) load the following as file://

Code: Select all

<button onclick="alert('alert')">alert</button>
2) click alert

Code: Select all

Error: [Exception... "Component returned failure code: 0x80520012 (NS_ERROR_FILE_NOT_FOUND)"  nsresult: "0x80520012 (NS_ERROR_FILE_NOT_FOUND)"  location: "JS frame :: chrome://noscript/content/Main.js :: <TOP_LEVEL> :: line 4939"  data: no]
Source File: chrome://noscript/content/Main.js
Line: 4939
Mozilla/5.0 (Windows NT 5.1; rv:2.0.1) Gecko/20100101 Firefox/4.0.1
User avatar
Giorgio Maone
Site Admin
Posts: 9527
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: fixLinks causes strange error on a button click in a fil

Post by Giorgio Maone »

The "alert" file does not exist.
Mozilla/5.0 (Windows NT 5.2; WOW64; rv:2.0.1) Gecko/20100101 Firefox/4.0.1
Post Reply