Closed Bug 1328866 Opened 7 years ago Closed 7 years ago

Firefox WebExtension angular routes hash links not working

Categories

(Toolkit :: General, defect)

53 Branch
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1328865

People

(Reporter: anthony.brodskyi, Unassigned)

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.98 Safari/537.36

Steps to reproduce:

My extension is a single web-page application created with angular js.

The problem is that i've got "404 File not found" error when i'm using link with angular route

for example i'll get an error if I will use this link

moz-extension://76322ca6-cae1-c54b-8484-d69fea2c788f/index.html#!/dashboard
but it works if i'll use it without route

moz-extension://76322ca6-cae1-c54b-8484-d69fea2c788f/index.html

This problem takes place only with packed extension. 
Unpacked extension works fine.




Actual results:

i'll get an "404 File not found" error if I will use hash link in packed extension

example:

moz-extension://76322ca6-cae1-c54b-8484-d69fea2c788f/index.html#!/dashboard

Reproduced in FF Developer Edition 52.0a2  and FF Nightly 53.0a1 (2017-01-05) 



Expected results:

links similar to "index.html#!/dashboard" should work in packed extension
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.