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

Unified Diff: Source/devtools/scripts/jsdoc-validator/tests/document.js

Issue 727823002: [DevTools] Ban getSelection, requestAnimationFrame, cancelAnimationFrame global functions. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 1 month 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: Source/devtools/scripts/jsdoc-validator/tests/document.js
diff --git a/Source/devtools/scripts/jsdoc-validator/tests/document.js b/Source/devtools/scripts/jsdoc-validator/tests/document.js
index a6fcf6399bf8bcf3e019b459d3fc499ec0cc8781..07c19faf78a61284bbf8a236a29a23aceaf334ed 100644
--- a/Source/devtools/scripts/jsdoc-validator/tests/document.js
+++ b/Source/devtools/scripts/jsdoc-validator/tests/document.js
@@ -56,6 +56,9 @@ var bar = window + window.document;
self.document = bar;
self.addEventListener();
self.removeEventListener();
+self.requestAnimationFrame();
+window.cancelAnimationFrame();
+getSelection();
function g() {
var self = this;

Powered by Google App Engine
This is Rietveld 408576698