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

Issue 2024533002: Convert csp-*, event-* and invalid-* tests to testharness.js (Closed)

Created:
4 years, 6 months ago by Srirama
Modified:
4 years, 6 months ago
Reviewers:
fs, foolip
CC:
blink-reviews, chromium-reviews, eric.carlson_apple.com, feature-media-reviews_chromium.org, mlamouri+watch-blink_chromium.org, posciak+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Convert csp-*, event-* and invalid-* tests to testharness.js Cleaning up csp-*, event-* and invalid-* tests in media/ to use testharness.js instead of video-test.js. This will enable to upstream these tests to web-platform-tests. BUG=588956 Committed: https://crrev.com/2403d8e3ac2673941329a1942091409e4b21bb64 Cr-Commit-Position: refs/heads/master@{#396827}

Patch Set 1 #

Total comments: 8

Patch Set 2 : address comments #

Total comments: 20

Patch Set 3 : address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+117 lines, -211 lines) Patch
M third_party/WebKit/LayoutTests/media/csp-blocks-video.html View 1 2 1 chunk +12 lines, -14 lines 0 comments Download
D third_party/WebKit/LayoutTests/media/csp-blocks-video-expected.txt View 1 chunk +0 lines, -4 lines 0 comments Download
M third_party/WebKit/LayoutTests/media/event-attributes.html View 1 2 1 chunk +87 lines, -106 lines 0 comments Download
D third_party/WebKit/LayoutTests/media/event-attributes-expected.txt View 1 chunk +0 lines, -47 lines 0 comments Download
M third_party/WebKit/LayoutTests/media/invalid-media-url-crash.html View 1 2 1 chunk +18 lines, -32 lines 0 comments Download
D third_party/WebKit/LayoutTests/media/invalid-media-url-crash-expected.txt View 1 chunk +0 lines, -8 lines 0 comments Download

Messages

Total messages: 16 (6 generated)
Srirama
PTAL
4 years, 6 months ago (2016-05-29 16:17:07 UTC) #3
fs
https://codereview.chromium.org/2024533002/diff/1/third_party/WebKit/LayoutTests/media/csp-blocks-video.html File third_party/WebKit/LayoutTests/media/csp-blocks-video.html (right): https://codereview.chromium.org/2024533002/diff/1/third_party/WebKit/LayoutTests/media/csp-blocks-video.html#newcode15 third_party/WebKit/LayoutTests/media/csp-blocks-video.html:15: setTimeout(t.step_func_done(), 500); window.onload = ...; ? https://codereview.chromium.org/2024533002/diff/1/third_party/WebKit/LayoutTests/media/event-attributes.html File third_party/WebKit/LayoutTests/media/event-attributes.html ...
4 years, 6 months ago (2016-05-30 09:11:39 UTC) #4
Srirama
https://codereview.chromium.org/2024533002/diff/1/third_party/WebKit/LayoutTests/media/csp-blocks-video.html File third_party/WebKit/LayoutTests/media/csp-blocks-video.html (right): https://codereview.chromium.org/2024533002/diff/1/third_party/WebKit/LayoutTests/media/csp-blocks-video.html#newcode15 third_party/WebKit/LayoutTests/media/csp-blocks-video.html:15: setTimeout(t.step_func_done(), 500); On 2016/05/30 09:11:39, fs wrote: > window.onload ...
4 years, 6 months ago (2016-05-31 07:04:23 UTC) #5
fs
lgtm https://codereview.chromium.org/2024533002/diff/20001/third_party/WebKit/LayoutTests/media/event-attributes.html File third_party/WebKit/LayoutTests/media/event-attributes.html (right): https://codereview.chromium.org/2024533002/diff/20001/third_party/WebKit/LayoutTests/media/event-attributes.html#newcode81 third_party/WebKit/LayoutTests/media/event-attributes.html:81: video.onabort = t.step_func(function() { Arguably, these that don't ...
4 years, 6 months ago (2016-05-31 08:53:06 UTC) #6
foolip
lgtm % nits https://codereview.chromium.org/2024533002/diff/20001/third_party/WebKit/LayoutTests/media/csp-blocks-video.html File third_party/WebKit/LayoutTests/media/csp-blocks-video.html (right): https://codereview.chromium.org/2024533002/diff/20001/third_party/WebKit/LayoutTests/media/csp-blocks-video.html#newcode14 third_party/WebKit/LayoutTests/media/csp-blocks-video.html:14: video.load(); This shouldn't be needed, just ...
4 years, 6 months ago (2016-05-31 10:50:18 UTC) #7
Srirama
https://codereview.chromium.org/2024533002/diff/20001/third_party/WebKit/LayoutTests/media/csp-blocks-video.html File third_party/WebKit/LayoutTests/media/csp-blocks-video.html (right): https://codereview.chromium.org/2024533002/diff/20001/third_party/WebKit/LayoutTests/media/csp-blocks-video.html#newcode14 third_party/WebKit/LayoutTests/media/csp-blocks-video.html:14: video.load(); On 2016/05/31 10:50:18, Philip Jägenstedt wrote: > This ...
4 years, 6 months ago (2016-05-31 13:23:28 UTC) #8
foolip
Thanks, PS3 LGTM
4 years, 6 months ago (2016-05-31 13:57:05 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2024533002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2024533002/40001
4 years, 6 months ago (2016-05-31 14:00:32 UTC) #12
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 6 months ago (2016-05-31 15:03:24 UTC) #14
commit-bot: I haz the power
4 years, 6 months ago (2016-05-31 15:05:02 UTC) #16
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/2403d8e3ac2673941329a1942091409e4b21bb64
Cr-Commit-Position: refs/heads/master@{#396827}

Powered by Google App Engine
This is Rietveld 408576698