Closed Bug 234212 Opened 22 years ago Closed 22 years ago

relative link in input type=button attempts to use chrome:// instead of http://

Categories

(Firefox :: General, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: chuck, Assigned: bugzilla)

Details

User-Agent: Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6) Gecko/20040206 Firefox/0.8 Attempting to use salesforce.com, clicking on any of the bottons causes a javascript exception because it's trying to access chrome instead of http. I realize that perhaps salesforce isn't exhibiting 100% compliant behavior, but I can't imagine that anyone coding a button served from any doctype that isn't XUL or XBL is targeting anything but a resource from the webserver. Salesforce is basically unusable in firefox until I can work around this (perhaps with CSS, but I'm not really sure how. More likely I'll write a javascript bookmarklet in the meantime that merely rewrites buttons into links.) I had to snip the URLs somewhat for privacy reasons... <input type="button" name="email" value="Send An Email" class="button" onclick="window.location='/email/author/emailauthor.jsp?retURL=[SNIPPED]'"> Security Error: Content at https://na1.salesforce.com/[SNIPPED] may not load or link to chrome://browser/email/author/emailauthor.jsp?retURL=[SNIPPED] Error: Access to 'chrome://browser/email/author/emailauthor.jsp?retURL=[SNIPPED[' from script denied Error: uncaught exception: [Exception... "Access to restricted URI denied" code: "1012" nsresult: "0x805303f4 (NS_ERROR_DOM_BAD_URI)" location: "<unknown>"] Reproducible: Always Steps to Reproduce: Attempt to use salesforce in firefox. Click on one of the buttons. Actual Results: Appears to do nothing. Errors are in the javascript console, above Expected Results: Used <current-protocol>://<current-host>/<path> instead of chrome://<path>
I've seen some vague hints that this may be a problem with the tab browser extensions and javascript opening relative URL's, and the problem may not manifest with a clean firefox install. However, I can't really go without the extension (nor could many people), and it could be that the undesired behavior is a bug being tickled by tabbrowser and not actually fixable by the extension. Anyway, to reproduce the problem, you may have to install the tabbrowser extension. Any hackish interim workaround is peachy too, like a XBL control that I turn on with CSS ala the flash button hack (I don't care if it's not pretty), but I don't know enough about XBL to go writing my own buttons like that :-/
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7) Gecko/20040626 Firefox/0.9.1 I tried most of the buttons at salesforce.com, but i encountered no major problems... Anyone else seeing this?
This was a problem with TBE, and recent versions of it have fixed this problem. Sorry for not coming back to this ticket sooner. Go ahead and close.
(In reply to comment #3) > This was a problem with TBE, and recent versions of it have fixed this problem. > Sorry for not coming back to this ticket sooner. Go ahead and close. I don't think that all the Salesforce issues are cleared. When I try to perform a spellcheck, all seems normal until I actually have a misspelled word that the spellchecker finds, while selecting the correct word, Firefox indicates an error 404 and indicates that the URL has expired. In order to complete the process, I have to cancel the opperation and spellcheck manually.
This isn't even close to being related to the original issue. Open your own bug, I don't want any more mail on it.
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.