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

Side by Side 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 unified diff | Download patch
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <script src="../../../resources/testharness.js"></script> 2 <script src="../../../resources/testharness.js"></script>
3 <script src="../../../resources/testharnessreport.js"></script> 3 <script src="../../../resources/testharnessreport.js"></script>
4 <div id="target"></div>
5 <script> 4 <script>
6 test(() => { 5 test(t => {
7 target.animate({background: 'var(--x)'}); 6 assert_throws(null, function() { new window.blur(); });
8 }, 'This test passes if it does not crash'); 7 }, "Construct call to window methods throws.");
9 </script> 8 </script>
OLDNEW
« 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