| Index: third_party/WebKit/LayoutTests/fast/dom/Window/window-methods-construct.html
|
| diff --git a/third_party/WebKit/LayoutTests/fast/css/variables/shorthand-var-animation-crash.html b/third_party/WebKit/LayoutTests/fast/dom/Window/window-methods-construct.html
|
| similarity index 55%
|
| copy from third_party/WebKit/LayoutTests/fast/css/variables/shorthand-var-animation-crash.html
|
| copy to third_party/WebKit/LayoutTests/fast/dom/Window/window-methods-construct.html
|
| index e9dc0b46b9d5e2695078e4074e069b4bb1e96e19..64e6705d1ec39b26eb5d20e738573acc7d779575 100644
|
| --- a/third_party/WebKit/LayoutTests/fast/css/variables/shorthand-var-animation-crash.html
|
| +++ b/third_party/WebKit/LayoutTests/fast/dom/Window/window-methods-construct.html
|
| @@ -1,9 +1,8 @@
|
| <!DOCTYPE html>
|
| <script src="../../../resources/testharness.js"></script>
|
| <script src="../../../resources/testharnessreport.js"></script>
|
| -<div id="target"></div>
|
| <script>
|
| -test(() => {
|
| - target.animate({background: 'var(--x)'});
|
| -}, 'This test passes if it does not crash');
|
| + test(t => {
|
| + assert_throws(null, function() { new window.blur(); });
|
| + }, "Construct call to window methods throws.");
|
| </script>
|
|
|