diff options
author | ddh <dianehosfelt@gmail.com> | 2017-06-15 23:27:37 +0100 |
---|---|---|
committer | ddh <dianehosfelt@gmail.com> | 2017-06-15 23:27:37 +0100 |
commit | ff8d2cdbbfc7a9dc7f38b7dd47cb350fde39388f (patch) | |
tree | c42601d017440871ce531af3c2007b83eea26a4d | |
parent | 234642065411b73009b0577cc129a14a71b9ce3a (diff) | |
download | servo-ff8d2cdbbfc7a9dc7f38b7dd47cb350fde39388f.tar.gz servo-ff8d2cdbbfc7a9dc7f38b7dd47cb350fde39388f.zip |
enumerate should work. but is a dirty hack
-rw-r--r-- | tests/wpt/web-platform-tests/html/browsers/origin/cross-origin-objects/cross-origin-objects.html | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/tests/wpt/web-platform-tests/html/browsers/origin/cross-origin-objects/cross-origin-objects.html b/tests/wpt/web-platform-tests/html/browsers/origin/cross-origin-objects/cross-origin-objects.html index 7316b281a2a..1a188200224 100644 --- a/tests/wpt/web-platform-tests/html/browsers/origin/cross-origin-objects/cross-origin-objects.html +++ b/tests/wpt/web-platform-tests/html/browsers/origin/cross-origin-objects/cross-origin-objects.html @@ -286,21 +286,12 @@ addTest(function() { */ //FIXME fails addTest(function() { - console.log("absurd"); - // try { for (var prop in C) { - // //console.log("this is nonsense"); - // console.log(prop); assert_unreached("Shouldn't have been able to enumerate " + prop + " on cross-origin Window"); } - // } catch (err) { - // console.log(err); - // } - // works - // for (var prop in C.location) { - // assert_unreached("Shouldn't have been able to enumerate " + prop + " on cross-origin Location"); - // } - console.log("finish") + for (var prop in C.location) { + assert_unreached("Shouldn't have been able to enumerate " + prop + " on cross-origin Location"); + } }, "[[Enumerate]] should return an empty iterator"); |