https://github.com/web-platform-tests/wpt
Raw File
Tip revision: a1e68e5293b35e1290471a60337cc02f7a6902ab authored by Mike West on 07 April 2017, 15:54:58 UTC
fixup drop flaky bit of the test.
Tip revision: a1e68e5
lint.whitelist
# File containing whiteslist for lint errors
# Format is:
# ERROR TYPE:file/name/pattern[:line number]
# e.g.
# TRAILING WHITESPACE:example/file.html:128
# to allow trailing whitespace on example/file.html line 128

## Whitespace rules that we can't enforce yet ##

CR AT EOL: svg/import/*

INDENT TABS: .gitmodules
INDENT TABS: app-uri/*
INDENT TABS: conformance-checkers/*
INDENT TABS: content-security-policy/*
INDENT TABS: custom-elements/*
INDENT TABS: html/editing/dnd/*
INDENT TABS: old-tests/*
INDENT TABS: pointerlock/*
INDENT TABS: shadow-dom/*
INDENT TABS: svg/import/*
INDENT TABS: tools/*
INDENT TABS: touch-events/*
INDENT TABS: web-animations/*
INDENT TABS: webaudio/*
INDENT TABS: webvtt/*
INDENT TABS: XMLHttpRequest/*
INDENT TABS: encoding/legacy*/*
INDENT TABS: encrypted-media/polyfill/Makefile

TRAILING WHITESPACE: app-uri/*
TRAILING WHITESPACE: battery-status/*
TRAILING WHITESPACE: conformance-checkers/*
TRAILING WHITESPACE: content-security-policy/*
TRAILING WHITESPACE: custom-elements/*
TRAILING WHITESPACE: html-longdesc/*
TRAILING WHITESPACE: microdata/*
TRAILING WHITESPACE: old-tests/*
TRAILING WHITESPACE: pointerevents/*
TRAILING WHITESPACE: progress-events/*
TRAILING WHITESPACE: shadow-dom/*
TRAILING WHITESPACE: svg/import/*
TRAILING WHITESPACE: tools/*
TRAILING WHITESPACE: webaudio/*
TRAILING WHITESPACE: WebIDL/*
TRAILING WHITESPACE: webvtt/*
TRAILING WHITESPACE: XMLHttpRequest/*
TRAILING WHITESPACE: encoding/legacy*/*

## File types that should never be checked ##

*:*.pdf
*:*.jpg
*:*.png
*:*.gif
*:*.pdf
*:*.wav
*:*.mp3
*:*.m4a
*:*.oga
*:*.ogv
*:*.webm
*:*.mp4
*:*.m4v
*:*.ttf
*:*.woff
*:*.eot
*:*.sfd
*:*.swf

## Documentation ##

W3C-TEST.ORG:README.md
W3C-TEST.ORG:*/README.md
W3C-TEST.ORG:docs/*
SET TIMEOUT: docs/*

## Helper scripts ##

W3C-TEST.ORG:tools/*
PRINT STATEMENT:tools/*
W3C-TEST.ORG:*/tools/*
PRINT STATEMENT:*/tools/*

### Test exclusions ##

CR AT EOL:WebIDL/valid/idl/documentation-dos.widl
CR AT EOL:cors/resources/cors-headers.asis
CR AT EOL:html/semantics/embedded-content/the-canvas-element/size.attributes.parse.whitespace.html
INDENT TABS:html/semantics/embedded-content/the-canvas-element/size.attributes.parse.whitespace.html
CR AT EOL:webvtt/parsing/file-parsing/tests/support/newlines.vtt
PARSE-FAILED:dom/nodes/Document-createElement-namespace-tests/empty.svg
PARSE-FAILED:dom/nodes/Document-createElement-namespace-tests/empty.xhtml
PARSE-FAILED:dom/nodes/Document-createElement-namespace-tests/minimal_html.svg
PARSE-FAILED:dom/nodes/Document-createElement-namespace-tests/minimal_html.xhtml

# These have undefined entities; should probably find a way to define them
PARSE-FAILED:ext-xhtml-pubid/the-xhtml-syntax/parsing-xhtml-documents/xhtml-pubid-1.xhtml
PARSE-FAILED:ext-xhtml-pubid/the-xhtml-syntax/parsing-xhtml-documents/xhtml-pubid-2.xhtml
PARSE-FAILED:ext-xhtml-pubid/the-xhtml-syntax/parsing-xhtml-documents/xhtml-pubid-3.xhtml

# Test generation files containing print statements
PRINT STATEMENT:dom/nodes/Document-createElement-namespace-tests/generate.py
PRINT STATEMENT:encrypted-media/polyfill/make-polyfill-tests.py

# Should probably be fixed.
W3C-TEST.ORG:subresource-integrity/refresh-header.js.headers

# semi-legitimate use of console.*
CONSOLE:console/*
CONSOLE:streams/resources/test-utils.js
CONSOLE:service-workers/service-worker/resources/navigation-redirect-other-origin.html
CONSOLE:service-workers/service-worker/navigation-redirect.https.html
CONSOLE:service-workers/service-worker/resources/clients-get-other-origin.html

# use of console in a public library - annotation-model ensures
# it is not actually used
CONSOLE:annotation-model/scripts/ajv.min.js
CONSOLE:annotation-model/scripts/showdown.min.js
CR AT EOL: annotation-model/scripts/showdown.min.js

# use of console in a public library - annotation-protocol ensures
# it is not actually used
CONSOLE:annotation-protocol/scripts/uuid.js

# Lint doesn't know about sub.svg I guess
PARSE-FAILED:content-security-policy/svg/including.sub.svg

#Helper files that aren't valid XML
PARSE-FAILED:dom/nodes/Document-createElement-namespace-tests/empty.xml
PARSE-FAILED:dom/nodes/Document-createElement-namespace-tests/minimal_html.xml

# The patches may have trailing whitespace
TRAILING WHITESPACE:webgl/tools/*.patch
# The tests under this directory are not done by us
*:webgl/conformance-1.0.3/*

# setTimeout usage (should probably mostly be fixed)
SET TIMEOUT: *-manual.*
SET TIMEOUT: 2dcontext/*
SET TIMEOUT: annotation-model/scripts/ajv.min.js
SET TIMEOUT: cookies/resources/testharness-helpers.js
SET TIMEOUT: common/reftest-wait.js
SET TIMEOUT: conformance-checkers/*
SET TIMEOUT: content-security-policy/*
SET TIMEOUT: encrypted-media/Google/migrated_to_root_disabled/encrypted-media-utils.js
SET TIMEOUT: encrypted-media/polyfill/chrome-polyfill.js
SET TIMEOUT: encrypted-media/polyfill/clearkey-polyfill.js
SET TIMEOUT: encrypted-media/scripts/playback-temporary-events.js
SET TIMEOUT: eventsource/eventsource-close.htm
SET TIMEOUT: eventsource/eventsource-request-cancellation.htm
SET TIMEOUT: html/*
SET TIMEOUT: IndexedDB/*
SET TIMEOUT: longtask-timing/longtask-in-parentiframe.html
SET TIMEOUT: infrastructure/*
SET TIMEOUT: media-source/mediasource-util.js
SET TIMEOUT: media-source/URL-createObjectURL-revoke.html
SET TIMEOUT: mixed-content/generic/sanity-checker.js
SET TIMEOUT: navigation-timing/*
SET TIMEOUT: offscreen-canvas/the-offscreen-canvas/*
SET TIMEOUT: old-tests/submission/Microsoft/history/history_000.htm
SET TIMEOUT: old-tests/submission/Microsoft/sandbox/*
SET TIMEOUT: old-tests/submission/Microsoft/structuredclone/structuredclone_0.html
SET TIMEOUT: old-tests/submission/Opera/script_scheduling/*
SET TIMEOUT: old-tests/webdriver/timeouts/res/implicit_waits_tests.html
SET TIMEOUT: page-visibility/resources/pagevistestharness.js
SET TIMEOUT: payment-request/allowpaymentrequest/setting-allowpaymentrequest-timing.https.sub.html
SET TIMEOUT: pointerevents/pointerevent_support.js
SET TIMEOUT: preload/single-download-preload.html
SET TIMEOUT: resource-timing/resource-timing.js
SET TIMEOUT: screen-orientation/lock-bad-argument.html
SET TIMEOUT: screen-orientation/onchange-event.html
SET TIMEOUT: screen-orientation/resources/sandboxed-iframe-locking.html
SET TIMEOUT: secure-contexts/basic-popup-and-iframe-tests.https.js
SET TIMEOUT: service-workers/service-worker/activation.https.html
SET TIMEOUT: service-workers/service-worker/fetch-frame-resource.https.html
SET TIMEOUT: service-workers/service-worker/fetch-request-redirect.https.html
SET TIMEOUT: service-workers/service-worker/fetch-waits-for-activate.https.html
SET TIMEOUT: service-workers/service-worker/update-recovery.https.html
SET TIMEOUT: service-workers/service-worker/resources/extendable-event-async-waituntil.js
SET TIMEOUT: service-workers/service-worker/resources/fetch-event-async-respond-with-worker.js
SET TIMEOUT: service-workers/service-worker/resources/fetch-event-test-worker.js
SET TIMEOUT: service-workers/service-worker/resources/performance-timeline-worker.js
SET TIMEOUT: shadow-dom/Document-prototype-currentScript.html
SET TIMEOUT: shadow-dom/scroll-to-the-fragment-in-shadow-tree.html
SET TIMEOUT: shadow-dom/slotchange-event.html
SET TIMEOUT: shadow-dom/untriaged/html-elements-in-shadow-trees/html-forms/test-003.html
SET TIMEOUT: shadow-dom/untriaged/html-elements-in-shadow-trees/inert-html-elements/test-001.html
SET TIMEOUT: streams/piping/close-propagation-forward.js
SET TIMEOUT: streams/piping/error-propagation-backward.js
SET TIMEOUT: streams/piping/error-propagation-forward.js
SET TIMEOUT: streams/piping/general.js
SET TIMEOUT: streams/readable-streams/cancel.js
SET TIMEOUT: streams/resources/rs-utils.js
SET TIMEOUT: streams/writable-streams/byte-length-queuing-strategy.js
SET TIMEOUT: user-timing/*
SET TIMEOUT: webaudio/js/lodash.js
SET TIMEOUT: webaudio/the-audio-api/the-mediaelementaudiosourcenode-interface/mediaElementAudioSourceToScriptProcessorTest.html
SET TIMEOUT: webdriver/*
SET TIMEOUT: webmessaging/*
SET TIMEOUT: websockets/*
SET TIMEOUT: webstorage/eventTestHarness.js
SET TIMEOUT: webvtt/*
SET TIMEOUT: workers/*
SET TIMEOUT: XMLHttpRequest/open-url-multi-window-6.htm
SET TIMEOUT: XMLHttpRequest/xmlhttprequest-timeout-reused.html
SET TIMEOUT: XMLHttpRequest/resources/init.htm
SET TIMEOUT: XMLHttpRequest/resources/xmlhttprequest-timeout.js

# CI scripts
PRINT STATEMENT:check_stability.py
W3C-TEST.ORG:check_stability.py

# Travis
W3C-TEST.ORG:.travis.yml

# Git submodules are not currently scanned
*:tools/*
*:resources/*
back to top