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
var t = window.document.createElement("form");
t.action = "foo"; /put a relative url or a path absolute url/
console.log(t.action)
(outputs foo)
In browsers (chrome and FF), action is resolved with baseURI, leading to http://whateverdomain/path/foo as output.
Looking at lib/jsdom/living/nodes/HTMLLinkElement-impl.js, i see
get href() {
return resourceLoader.resolveResourceUrl(this._ownerDocument, this.getAttribute("href"));
}
I guess something is missing in jsdom/lib/jsdom/living/nodes/HTMLFormElement-impl.js.
The text was updated successfully, but these errors were encountered:
var t = window.document.createElement("form");
t.action = "foo"; /put a relative url or a path absolute url/
console.log(t.action)
(outputs foo)
In browsers (chrome and FF), action is resolved with baseURI, leading to http://whateverdomain/path/foo as output.
Looking at lib/jsdom/living/nodes/HTMLLinkElement-impl.js, i see
I guess something is missing in jsdom/lib/jsdom/living/nodes/HTMLFormElement-impl.js.
The text was updated successfully, but these errors were encountered: