Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/Window/window-methods-construct.html

Issue 2126763002: Remove the prototype from all V8 functions that aren't constructors (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: updates Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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>
« no previous file with comments | « net/proxy/proxy_resolver_v8.cc ('k') | third_party/WebKit/Source/bindings/core/v8/DocumentWriteEvaluator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698