Handle iframe.src with a javascript protocol URL.

This change prevents us from crashing on Amazon and other pages with
iframe.src="javascript:foo".
This commit is contained in:
Jack Moffitt 2014-09-11 21:03:43 -06:00
parent 00150b8c71
commit b605929134
5 changed files with 152 additions and 56 deletions

View file

@ -1,3 +1,5 @@
[open-url-javascript-window.htm]
type: testharness
expected: TIMEOUT
[XMLHttpRequest: open() - resolving URLs (javascript: ]
expected: TIMEOUT