Closed
Bug 1273205
Opened 9 years ago
Closed 9 years ago
Calls to window.location.replace sometimes throw an error in symcBFPerformOnDOMChangedHandler
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: dthompson91, Unassigned)
Details
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.47 Safari/537.36
Steps to reproduce:
Periodically our single page webapp breaks due to an uncaught error when trying to change the URL using window.location.replace, we have yet to reproduce it locally after much effort.
Actual results:
Call to window.location.replace throws this error:
Error: Error calling method on NPObject!
symcBFPerformOnDOMChangedHandler@<inline>:1:1044
setHash@https://<ourURL>/bundle.js?e33c9e590872babe9364:3:11339
Where setHash is a function with this definition:
function setHash(value) {
window.location.replace(
window.location.pathname + window.location.search + '#' + value
);
}
This does not trigger all the time, but we have logged a few cases of it in production, and each case has been on OSX and Firefox 46.0
Expected results:
The window hash should have changed without throwing an error.
Reporter | ||
Updated•9 years ago
|
OS: Unspecified → Mac OS X
Hardware: Unspecified → x86_64
Reporter | ||
Comment 1•9 years ago
|
||
Disregard, further research shows it was related to a user's browser extension.
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•