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
Currently in server.js, any html file gets injected with the framework patch scripts. This approach causes issues when loading other html files, most likely as iframes.
I've worked around this by only applying the patching to files called index.html. A proper solution should compare the filename to the one given in config.test_path. I'm not sure how to do that properly since test_path can be an array. Probably compare to each?
The text was updated successfully, but these errors were encountered:
Currently in
server.js
, any html file gets injected with the framework patch scripts. This approach causes issues when loading other html files, most likely as iframes.This gist, running against the sizzle test suite, shows what happens in that case: https://gist.github.com/jzaefferer/401dd88e83443143d351 - its kind of obscure, but the lack of the
window
object led me to my conclusion above.I've worked around this by only applying the patching to files called
index.html
. A proper solution should compare the filename to the one given inconfig.test_path
. I'm not sure how to do that properly sincetest_path
can be an array. Probably compare to each?The text was updated successfully, but these errors were encountered: