Closed Bug 1220305 Opened 9 years ago Closed 9 years ago

moz-extension URIs containing : fail to load

Categories

(WebExtensions :: Untriaged, defect)

45 Branch
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 719905

People

(Reporter: kuza55, Unassigned)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.27 Safari/537.36

Steps to reproduce:

I attempted to port a chrome extension I have to WebExtensions and ran into an issue with tabs not opening properly when I appended JSON objects to the URLs after a #, I made a reduced test case which I attached and describe below:

In Firefox Nightly I called:

    chrome.tabs.create({
      "url": chrome.extension.getURL("my-page.html") + '#blah:'
    }); 


Actual results:

A new tab should have opened showing my page with the hash containing "blah:"


Expected results:

A tab opened which said "The address isn't valid"
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
Product: Toolkit → WebExtensions
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: