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

Commit

Permalink
Merge pull request #11 from josh/feature-check-setter-encoding
Browse files Browse the repository at this point in the history
Feature check broken Webkit setters
  • Loading branch information
dfreedm committed Jan 9, 2015
2 parents cf5d82e + 8f73d3f commit 51a71e7
Showing 1 changed file with 2 additions and 1 deletion.
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

0 comments on commit 51a71e7

Please sign in to comment.