Bogus assertion "cannot remove the scheme from an url"

RESOLVED FIXED

Status

()

--
minor
RESOLVED FIXED
12 years ago
3 years ago

People

(Reporter: jruderman, Unassigned)

Tracking

(Blocks: 1 bug, {assertion, testcase})

Trunk
x86
Mac OS X
assertion, testcase
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

12 years ago
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
(Reporter)

Comment 1

12 years ago
The first one also reloads the page, which seems strange -- I'd expect it to throw instead.
(Reporter)

Comment 2

11 years ago
I still see the assertion on trunk.  The "reloading the page" behavior is gone, though.
(Reporter)

Comment 3

9 years ago
Still happens on trunk.
warning now
Status: NEW → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.