diff options
author | yvt <i@yvt.jp> | 2021-07-17 12:09:31 +0900 |
---|---|---|
committer | yvt <i@yvt.jp> | 2021-07-17 15:26:15 +0900 |
commit | 80cda12a87aecdcdfd7e1fca3e7f172933e710e9 (patch) | |
tree | 3195889f72244fe3a636aea0dc4e824212b44cff /components/script/dom/bindings/codegen/CodegenRust.py | |
parent | bdd20f0139e39992aecd251285c9702823f2dc03 (diff) | |
download | servo-80cda12a87aecdcdfd7e1fca3e7f172933e710e9.tar.gz servo-80cda12a87aecdcdfd7e1fca3e7f172933e710e9.zip |
test: update expectations
No improvements are seen in `/html/browsers/origin/cross-origin-
objects/cross-origin-objects.html` because each included test case
tests both `Location` and `WindowProxy`, the latter of which isn't
implemented correctly yet. In fact, the first test case "Basic sanity-
checking" passes if it's reduced to only check `Location` as follows:
addTest(function(win) {
assert_equals(B.location.pathname, path, "location.href works same-origin");
assert_throws("SecurityError", function() { win.location.pathname; }, "location.pathname throws cross-origin");
}, "Basic sanity-checking");
Diffstat (limited to 'components/script/dom/bindings/codegen/CodegenRust.py')
0 files changed, 0 insertions, 0 deletions