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
crawl doesn't work on certain older browsers and throws TypeError: matcher is not a function.
The problem seems to be caused by the returned promise from createCrawlTuplesPromise that resolves to incorrect data types. The resolved value is expected to be an array where the items is a tuple containing one function and one object, but is rather one string and one object.
Here is an example where the promise resolves incorrectly (on Chromium v 65.0.3325). Notice the string type in the first item of the result, starting from index 13:
Here's an example where the promise resolves correctly (latest Chromium):
Here is the result of the paths-variable within the createCrawlTuplesPromise. I suspect the problem is within this function.
redirect matchers are resolved correctly but withView and mount matchers do not. I've debugged and went through the code but I'm having a hard time understanding the data flow and generators. Any idea what may be the cause?
The text was updated successfully, but these errors were encountered:
kmkr
changed the title
Crawl fails for non-redirect matchers (i is not a function)
Crawl fails for non-redirect matchers (matcher is not a function)
Aug 12, 2019
crawl
doesn't work on certain older browsers and throwsTypeError: matcher is not a function
.The problem seems to be caused by the returned promise from
createCrawlTuplesPromise
that resolves to incorrect data types. The resolved value is expected to be an array where the items is a tuple containing one function and one object, but is rather one string and one object.Here is an example where the promise resolves incorrectly (on Chromium v 65.0.3325). Notice the string type in the first item of the result, starting from index 13:
Here's an example where the promise resolves correctly (latest Chromium):
Here is the result of the paths-variable within the
createCrawlTuplesPromise
. I suspect the problem is within this function.redirect
matchers are resolved correctly butwithView
andmount
matchers do not. I've debugged and went through the code but I'm having a hard time understanding the data flow and generators. Any idea what may be the cause?The text was updated successfully, but these errors were encountered: