Closed Bug 369179 Opened 18 years ago Closed 8 years ago

Bogus assertion "cannot remove the scheme from an url"

Categories

(Core :: Networking, defect)

x86
macOS
defect
Not set
minor

Tracking

()

RESOLVED FIXED

People

(Reporter: jruderman, Unassigned)

Details

(Keywords: assertion, testcase)

javascript:location.protocol = null; void 0

and

javascript:j = document.createElement("a"); j.href = "http://mozilla.org/"; j.protocol = null; void 0

each trigger

###!!! ASSERTION: cannot remove the scheme from an url: 'Error', file /Users/jruderman/trunk/mozilla/netwerk/base/src/nsStandardURL.cpp, line 1170
The first one also reloads the page, which seems strange -- I'd expect it to throw instead.
I still see the assertion on trunk.  The "reloading the page" behavior is gone, though.
Still happens on trunk.
warning now
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.