testharnessreport.js should sanitize the results before printing them
authorcdumez@apple.com <cdumez@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 27 Oct 2016 18:48:14 +0000 (18:48 +0000)
committercdumez@apple.com <cdumez@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 27 Oct 2016 18:48:14 +0000 (18:48 +0000)
commit156add80ededb9eb7a7542316d2b5e5952612e52
tree8df727d3c221347976aab15a8ba6b94f85c99b61
parent0534c5cb5fee7bf96eed37e9e4dd7cc5830e0e0a
testharnessreport.js should sanitize the results before printing them
https://bugs.webkit.org/show_bug.cgi?id=164064

Reviewed by Youenn Fablet.

testharnessreport.js should sanitize the results before printing them. We
currently have 3 copies of this script and only 1 does the sanitization.
Short term, let do the sanitization in all of them. Longer term, we should
merge these and have a way to keep them in sync.

LayoutTests/imported/w3c:

* web-platform-tests/dom/nodes/Element-matches-expected.txt:
* web-platform-tests/dom/nodes/ParentNode-querySelector-All-expected.txt:
* web-platform-tests/dom/nodes/ParentNode-querySelector-All-xht-expected.txt:
* web-platform-tests/url/a-element-expected.txt:
* web-platform-tests/url/a-element-xhtml-expected.txt:
* web-platform-tests/url/url-constructor-expected.txt:
* web-platform-tests/url/url-setters-expected.txt:

LayoutTests:

* fast/media/w3c/test_media_queries-expected.txt:
* fetch/fetch-url-serialization-expected.txt:
* http/tests/w3c/resources/testharnessreport.js:
(add_completion_callback.sanitize):
(add_completion_callback):
* resources/testharnessreport.js:
(self.testRunner.add_completion_callback.):
(self.testRunner.add_completion_callback):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@207995 268f45cc-cd09-0410-ab3c-d52691b4dbfc
13 files changed:
LayoutTests/ChangeLog
LayoutTests/fast/media/w3c/test_media_queries-expected.txt
LayoutTests/fetch/fetch-url-serialization-expected.txt
LayoutTests/http/tests/w3c/resources/testharnessreport.js
LayoutTests/imported/w3c/ChangeLog
LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-matches-expected.txt
LayoutTests/imported/w3c/web-platform-tests/dom/nodes/ParentNode-querySelector-All-expected.txt
LayoutTests/imported/w3c/web-platform-tests/dom/nodes/ParentNode-querySelector-All-xht-expected.txt
LayoutTests/imported/w3c/web-platform-tests/url/a-element-expected.txt
LayoutTests/imported/w3c/web-platform-tests/url/a-element-xhtml-expected.txt
LayoutTests/imported/w3c/web-platform-tests/url/url-constructor-expected.txt
LayoutTests/imported/w3c/web-platform-tests/url/url-setters-expected.txt
LayoutTests/resources/testharnessreport.js