Handled some edge cases with target and iframes.
Removed hardcoded protocols. Now it handles different ports correctly.
Replaced jsdom-global with my-own-stuff because jsdom fails to resolve some relative links on about:blank and jsdom-global does not provide a way to set url. jsdom-assign provides valid and real-world-like urls, cookies etc. And it works on require, w/o closure.
Resolves https://github.com/chaplinjs/chaplin/issues/878.
Handled some edge cases with
target
and iframes. Removed hardcoded protocols. Now it handles different ports correctly. Replacedjsdom-global
with my-own-stuff becausejsdom
fails to resolve some relative links onabout:blank
andjsdom-global
does not provide a way to set url.jsdom-assign
provides valid and real-world-like urls, cookies etc. And it works onrequire
, w/o closure.