Closed
Bug 1425815
Opened 7 years ago
Closed 7 years ago
Library object added in Content Script gets reset on DOM Content Loaded
Categories
(WebExtensions :: Untriaged, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1408996
People
(Reporter: arun.ganesan.symc, Unassigned)
Details
Attachments
(1 file)
(deleted),
application/zip
|
Details |
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.84 Safari/537.36
Steps to reproduce:
1. Create a basic Firefox Web Extension
2. Update manifest to inject Fast-Levenshtein Library (https://github.com/hiddentao/fast-levenshtein) to all URLs
3. Check for library availability during Script Load and DOM Content Load
Attached a zip containing the above changes.
Actual results:
4. Levenshtein object available during Script Load, but undefined during DOM Content Load for the many URLs like,
- https://www.facebook.com
- http://www.cnn.com/
- https://s-usweb.dotomi.com/renderer/ubr/13.0.2/ubr-wrapper.html
Expected results:
4. Levenshtein object should be available in global window object both during/after Script Load and DOM Content Load in all URLs
Component: Untriaged → WebExtensions: Untriaged
Product: Firefox → Toolkit
Updated•7 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
Updated•6 years ago
|
Product: Toolkit → WebExtensions
You need to log in
before you can comment on or make changes to this bug.
Description
•