Fix 'xss-DENIED-cross-origin-stack-overflow.html'

The test incorrectly expected an error from poking at a cross-origin
'window.location' object. That object itself doesn't generate an error
upon getting, but its properties do. Adjusting the test accordingly.

Bug: 634264
Change-Id: I44afbd7f19716ffe814e10d125407fc5d9312740
Reviewed-on: https://chromium-review.googlesource.com/539397
Reviewed-by: Kentaro Hara <haraken@chromium.org>
Commit-Queue: Mike West <mkwst@chromium.org>
Cr-Commit-Position: refs/heads/master@{#480435}
2 files changed