Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / Source / devtools / scripts / jsdoc-validator / tests / document.js
blob07c19faf78a61284bbf8a236a29a23aceaf334ed
1 document.bar();
2 window.document.bar();
3 bar.document();
4 bar.window.document();
5 document();
6 var x = window.document;
8 function a(document) {
9 document.bar();
10 document();
12 function inner() {
13 var y = document;
17 function b(bar) {
18 document.bar();
19 document();
20 var document = bar;
23 function c(bar) {
24 document.bar();
25 document();
26 var inner = document + bar;
29 function d(window) {
30 window.document();
31 window.document.bar = 2;
34 /**
35 * @suppressGlobalPropertiesCheck
36 * @param {string} param
38 function e(param) {
39 document;
40 window.document;
43 /**
44 * @param {string} param
46 function f(param) {
47 document;
48 window.document;
51 var y = x.document;
52 window.x.document();
53 var z = document.document;
54 var bar = window + window.document;
56 self.document = bar;
57 self.addEventListener();
58 self.removeEventListener();
59 self.requestAnimationFrame();
60 window.cancelAnimationFrame();
61 getSelection();
63 function g() {
64 var self = this;
65 self.document;
68 function h() { var a = { document: true }; }