Page 1 of 1

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

Posted: Sun Jun 19, 2011 2:18 am
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

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

Posted: Sun Jun 19, 2011 7:12 am
by Giorgio Maone
The "alert" file does not exist.