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

Commit 51a71e7

Browse files
committed
Merge pull request #11 from josh/feature-check-setter-encoding
Feature check broken Webkit setters
2 parents cf5d82e + 8f73d3f commit 51a71e7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

url.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
if (!scope.forceJURL) {
1010
try {
1111
var u = new URL('b', 'http://a');
12-
hasWorkingUrl = u.href === 'http://a/b';
12+
u.pathname = 'c%20d';
13+
hasWorkingUrl = u.href === 'http://a/c%20d';
1314
} catch(e) {}
1415
}
1516

0 commit comments

Comments
 (0)