Skip to content
This repository has been archived by the owner on Jun 6, 2019. It is now read-only.

Feature check broken Webkit setters #11

Merged
merged 1 commit into from
Jan 9, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion url.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
if (!scope.forceJURL) {
try {
var u = new URL('b', 'http://a');
hasWorkingUrl = u.href === 'http://a/b';
u.pathname = 'c%20d';
hasWorkingUrl = u.href === 'http://a/c%20d';
} catch(e) {}
}

Expand Down