You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Firefox >45
Have a nested path of 'watch' or 'unwatch'
Use router.push() to navigate to them.
Expected Behavior
Routes to the watch route.
Actual Behavior
Blows up.
Firefox apparently has a watch and unwatch function on every object. Because of this, when PatternUtils.compilePattern() is hit when pattern = 'watch' it returns the watch function. Then when trying to call paramNames.some() in computeChangesRoutes.js it blows up since some() can't be called on a function.
The text was updated successfully, but these errors were encountered:
Version
2.6.0
Test Case
http://jsbin.com/yibililodo/edit?html,js,output
Steps to reproduce
Firefox >45
Have a nested path of 'watch' or 'unwatch'
Use router.push() to navigate to them.
Expected Behavior
Routes to the watch route.
Actual Behavior
Blows up.
Firefox apparently has a
watch
andunwatch
function on every object. Because of this, whenPatternUtils.compilePattern()
is hit when pattern = 'watch' it returns the watch function. Then when trying to callparamNames.some()
in computeChangesRoutes.js it blows up sincesome()
can't be called on a function.The text was updated successfully, but these errors were encountered: