Sync web-platform-tests up to revision a5b95cb31914507088a4eda16f7674bbc6f3313f
[WebKit-https.git] / LayoutTests / imported / w3c / web-platform-tests / lint.whitelist
1 # File containing whiteslist for lint errors
2 # Format is:
3 # ERROR TYPE:file/name/pattern[:line number]
4 # e.g.
5 # TRAILING WHITESPACE:example/file.html:128
6 # to allow trailing whitespace on example/file.html line 128
7
8 ## Whitespace rules that we can't enforce yet ##
9
10 CR AT EOL: svg/import/*
11
12 INDENT TABS: .gitmodules
13 INDENT TABS: app-uri/*
14 INDENT TABS: conformance-checkers/*
15 INDENT TABS: content-security-policy/*
16 INDENT TABS: custom-elements/*
17 INDENT TABS: html/editing/dnd/*
18 INDENT TABS: old-tests/*
19 INDENT TABS: pointerlock/*
20 INDENT TABS: shadow-dom/*
21 INDENT TABS: svg/import/*
22 INDENT TABS: tools/*
23 INDENT TABS: touch-events/*
24 INDENT TABS: web-animations/*
25 INDENT TABS: webaudio/*
26 INDENT TABS: webvtt/*
27 INDENT TABS: XMLHttpRequest/*
28 INDENT TABS: encoding/legacy*/*
29 INDENT TABS: encrypted-media/polyfill/Makefile
30
31 TRAILING WHITESPACE: app-uri/*
32 TRAILING WHITESPACE: battery-status/*
33 TRAILING WHITESPACE: conformance-checkers/*
34 TRAILING WHITESPACE: content-security-policy/*
35 TRAILING WHITESPACE: custom-elements/*
36 TRAILING WHITESPACE: html-longdesc/*
37 TRAILING WHITESPACE: microdata/*
38 TRAILING WHITESPACE: old-tests/*
39 TRAILING WHITESPACE: pointerevents/*
40 TRAILING WHITESPACE: progress-events/*
41 TRAILING WHITESPACE: shadow-dom/*
42 TRAILING WHITESPACE: svg/import/*
43 TRAILING WHITESPACE: tools/*
44 TRAILING WHITESPACE: webaudio/*
45 TRAILING WHITESPACE: WebIDL/*
46 TRAILING WHITESPACE: webvtt/*
47 TRAILING WHITESPACE: XMLHttpRequest/*
48 TRAILING WHITESPACE: encoding/legacy*/*
49
50 ## File types that should never be checked ##
51
52 *:*.pdf
53 *:*.jpg
54 *:*.png
55 *:*.gif
56 *:*.pdf
57 *:*.wav
58 *:*.mp3
59 *:*.m4a
60 *:*.oga
61 *:*.ogv
62 *:*.webm
63 *:*.mp4
64 *:*.m4v
65 *:*.ttf
66 *:*.woff
67 *:*.eot
68 *:*.sfd
69 *:*.swf
70
71 ## Documentation ##
72
73 W3C-TEST.ORG:README.md
74 W3C-TEST.ORG:*/README.md
75 W3C-TEST.ORG:docs/*
76 SET TIMEOUT: docs/*
77
78 ## Helper scripts ##
79
80 W3C-TEST.ORG:tools/*
81 PRINT STATEMENT:tools/*
82 W3C-TEST.ORG:*/tools/*
83 PRINT STATEMENT:*/tools/*
84
85 ### Test exclusions ##
86
87 CR AT EOL:WebIDL/valid/idl/documentation-dos.widl
88 CR AT EOL:cors/resources/cors-headers.asis
89 CR AT EOL:html/semantics/embedded-content/the-canvas-element/size.attributes.parse.whitespace.html
90 INDENT TABS:html/semantics/embedded-content/the-canvas-element/size.attributes.parse.whitespace.html
91 CR AT EOL:webvtt/parsing/file-parsing/tests/support/newlines.vtt
92 PARSE-FAILED:dom/nodes/Document-createElement-namespace-tests/empty.svg
93 PARSE-FAILED:dom/nodes/Document-createElement-namespace-tests/empty.xhtml
94 PARSE-FAILED:dom/nodes/Document-createElement-namespace-tests/minimal_html.svg
95 PARSE-FAILED:dom/nodes/Document-createElement-namespace-tests/minimal_html.xhtml
96
97 # These have undefined entities; should probably find a way to define them
98 PARSE-FAILED:ext-xhtml-pubid/the-xhtml-syntax/parsing-xhtml-documents/xhtml-pubid-1.xhtml
99 PARSE-FAILED:ext-xhtml-pubid/the-xhtml-syntax/parsing-xhtml-documents/xhtml-pubid-2.xhtml
100 PARSE-FAILED:ext-xhtml-pubid/the-xhtml-syntax/parsing-xhtml-documents/xhtml-pubid-3.xhtml
101
102 # Test generation files containing print statements
103 PRINT STATEMENT:dom/nodes/Document-createElement-namespace-tests/generate.py
104 PRINT STATEMENT:encrypted-media/polyfill/make-polyfill-tests.py
105
106 # Should probably be fixed.
107 W3C-TEST.ORG:subresource-integrity/refresh-header.js.headers
108
109 # semi-legitimate use of console.*
110 CONSOLE:console/*
111 CONSOLE:streams/resources/test-utils.js
112 CONSOLE:service-workers/service-worker/resources/navigation-redirect-other-origin.html
113 CONSOLE:service-workers/service-worker/navigation-redirect.https.html
114 CONSOLE:service-workers/service-worker/resources/clients-get-other-origin.html
115
116 # use of console in a public library - annotation-model ensures
117 # it is not actually used
118 CONSOLE:annotation-model/scripts/ajv.min.js
119 CONSOLE:annotation-model/scripts/showdown.min.js
120 CR AT EOL: annotation-model/scripts/showdown.min.js
121
122 # use of console in a public library - annotation-protocol ensures
123 # it is not actually used
124 CONSOLE:annotation-protocol/scripts/uuid.js
125
126 # Lint doesn't know about sub.svg I guess
127 PARSE-FAILED:content-security-policy/svg/including.sub.svg
128
129 #Helper files that aren't valid XML
130 PARSE-FAILED:dom/nodes/Document-createElement-namespace-tests/empty.xml
131 PARSE-FAILED:dom/nodes/Document-createElement-namespace-tests/minimal_html.xml
132
133 # The patches may have trailing whitespace
134 TRAILING WHITESPACE:webgl/tools/*.patch
135 # The tests under this directory are not done by us
136 *:webgl/conformance-1.0.3/*
137
138 # setTimeout usage (should probably mostly be fixed)
139 SET TIMEOUT: *-manual.*
140 SET TIMEOUT: 2dcontext/*
141 SET TIMEOUT: annotation-model/scripts/ajv.min.js
142 SET TIMEOUT: cookies/resources/testharness-helpers.js
143 SET TIMEOUT: common/reftest-wait.js
144 SET TIMEOUT: conformance-checkers/*
145 SET TIMEOUT: content-security-policy/*
146 SET TIMEOUT: encrypted-media/Google/migrated_to_root_disabled/encrypted-media-utils.js
147 SET TIMEOUT: encrypted-media/polyfill/chrome-polyfill.js
148 SET TIMEOUT: encrypted-media/polyfill/clearkey-polyfill.js
149 SET TIMEOUT: encrypted-media/scripts/playback-temporary-events.js
150 SET TIMEOUT: eventsource/eventsource-close.htm
151 SET TIMEOUT: eventsource/eventsource-request-cancellation.htm
152 SET TIMEOUT: html/*
153 SET TIMEOUT: IndexedDB/*
154 SET TIMEOUT: media-source/mediasource-util.js
155 SET TIMEOUT: media-source/URL-createObjectURL-revoke.html
156 SET TIMEOUT: mixed-content/generic/sanity-checker.js
157 SET TIMEOUT: navigation-timing/*
158 SET TIMEOUT: offscreen-canvas/the-offscreen-canvas/*
159 SET TIMEOUT: old-tests/submission/Microsoft/history/history_000.htm
160 SET TIMEOUT: old-tests/submission/Microsoft/sandbox/*
161 SET TIMEOUT: old-tests/submission/Microsoft/structuredclone/structuredclone_0.html
162 SET TIMEOUT: old-tests/submission/Opera/script_scheduling/*
163 SET TIMEOUT: old-tests/webdriver/timeouts/res/implicit_waits_tests.html
164 SET TIMEOUT: page-visibility/resources/pagevistestharness.js
165 SET TIMEOUT: payment-request/allowpaymentrequest/setting-allowpaymentrequest-timing.https.sub.html
166 SET TIMEOUT: pointerevents/pointerevent_support.js
167 SET TIMEOUT: preload/single-download-preload.html
168 SET TIMEOUT: resource-timing/resource-timing.js
169 SET TIMEOUT: screen-orientation/lock-bad-argument.html
170 SET TIMEOUT: screen-orientation/onchange-event.html
171 SET TIMEOUT: screen-orientation/resources/sandboxed-iframe-locking.html
172 SET TIMEOUT: secure-contexts/basic-popup-and-iframe-tests.https.js
173 SET TIMEOUT: service-workers/service-worker/activation.https.html
174 SET TIMEOUT: service-workers/service-worker/fetch-frame-resource.https.html
175 SET TIMEOUT: service-workers/service-worker/fetch-request-redirect.https.html
176 SET TIMEOUT: service-workers/service-worker/fetch-waits-for-activate.https.html
177 SET TIMEOUT: service-workers/service-worker/update-recovery.https.html
178 SET TIMEOUT: service-workers/service-worker/resources/extendable-event-async-waituntil.js
179 SET TIMEOUT: service-workers/service-worker/resources/fetch-event-async-respond-with-worker.js
180 SET TIMEOUT: service-workers/service-worker/resources/fetch-event-test-worker.js
181 SET TIMEOUT: service-workers/service-worker/resources/performance-timeline-worker.js
182 SET TIMEOUT: shadow-dom/Document-prototype-currentScript.html
183 SET TIMEOUT: shadow-dom/scroll-to-the-fragment-in-shadow-tree.html
184 SET TIMEOUT: shadow-dom/slotchange-event.html
185 SET TIMEOUT: shadow-dom/untriaged/html-elements-in-shadow-trees/html-forms/test-003.html
186 SET TIMEOUT: shadow-dom/untriaged/html-elements-in-shadow-trees/inert-html-elements/test-001.html
187 SET TIMEOUT: streams/piping/close-propagation-forward.js
188 SET TIMEOUT: streams/piping/error-propagation-backward.js
189 SET TIMEOUT: streams/piping/error-propagation-forward.js
190 SET TIMEOUT: streams/piping/general.js
191 SET TIMEOUT: streams/readable-streams/cancel.js
192 SET TIMEOUT: streams/resources/rs-utils.js
193 SET TIMEOUT: streams/writable-streams/byte-length-queuing-strategy.js
194 SET TIMEOUT: user-timing/*
195 SET TIMEOUT: webaudio/js/lodash.js
196 SET TIMEOUT: webaudio/the-audio-api/the-mediaelementaudiosourcenode-interface/mediaElementAudioSourceToScriptProcessorTest.html
197 SET TIMEOUT: webdriver/*
198 SET TIMEOUT: webmessaging/*
199 SET TIMEOUT: websockets/*
200 SET TIMEOUT: webstorage/eventTestHarness.js
201 SET TIMEOUT: webvtt/*
202 SET TIMEOUT: workers/*
203 SET TIMEOUT: XMLHttpRequest/open-url-multi-window-6.htm
204 SET TIMEOUT: XMLHttpRequest/xmlhttprequest-timeout-reused.html
205 SET TIMEOUT: XMLHttpRequest/resources/init.htm
206 SET TIMEOUT: XMLHttpRequest/resources/xmlhttprequest-timeout.js
207
208 # CI scripts
209 PRINT STATEMENT:check_stability.py
210 W3C-TEST.ORG:check_stability.py
211
212 # Travis
213 W3C-TEST.ORG:.travis.yml
214
215 # Git submodules are not currently scanned
216 *:tools/*
217 *:resources/*