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

Issue 353983003: Making it possible to import mediastream tests. (Closed)

Created:
6 years, 6 months ago by phoglund_chromium
Modified:
6 years, 5 months ago
Reviewers:
Dirk Pranke
CC:
blink-reviews
Project:
blink
Visibility:
Public.

Description

Making it possible to import mediastream tests. Since the W3C WebRTC tests involve permission prompts, I introduce a new mechanism whereby the test can specify class="instructions" for all elements that contain instructions to manual testers. These elements will be hidden by the importer upon import so they don't cause the test runner to be confused (it only wants to see pure testharness.js output). Furthermore, since these tests depend on vendor-prefix.js to handle vendor prefixes, I add a slightly modified copy of that which is always on (i.e. doesn't need ?usePrefixes=1 in the URL to the test page), and logic to rewrite the paths so it points to our copy. Note: must make the --use-fake-device-for-media-stream and --use-fake-ui-for-media-stream flags always be on for layout tests before landing this patch. BUG=389134 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=177477

Patch Set 1 #

Total comments: 3

Patch Set 2 : Removed print and W3CImportExpectations #

Total comments: 1

Patch Set 3 : Adding license header to vendor-prefix.js #

Patch Set 4 : Setting execute bits on importer scripts. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+187 lines, -17 lines) Patch
A LayoutTests/resources/vendor-prefix.js View 1 2 1 chunk +100 lines, -0 lines 0 comments Download
M Tools/Scripts/webkitpy/w3c/test_converter.py View 1 2 3 3 chunks +22 lines, -14 lines 0 comments Download
M Tools/Scripts/webkitpy/w3c/test_converter_unittest.py View 1 2 3 2 chunks +58 lines, -0 lines 0 comments Download
M Tools/Scripts/webkitpy/w3c/test_importer.py View 2 chunks +7 lines, -3 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
phoglund_chromium
6 years, 6 months ago (2014-06-26 14:09:50 UTC) #1
phoglund_chromium
On 2014/06/26 14:09:50, phoglund wrote: Hm, when I think of it I should probably land ...
6 years, 6 months ago (2014-06-26 14:14:53 UTC) #2
Dirk Pranke
Also, as you noted, probably better to leave the actual changes to W3CImportExpectations to a ...
6 years, 6 months ago (2014-06-26 21:16:47 UTC) #3
phoglund_chromium
On 2014/06/26 21:16:47, Dirk Pranke wrote: > Also, as you noted, probably better to leave ...
6 years, 6 months ago (2014-06-27 08:33:45 UTC) #4
Dirk Pranke
Thanks for the reply. I need to ponder what you've written and will have a ...
6 years, 5 months ago (2014-06-28 00:18:15 UTC) #5
Dirk Pranke
On 2014/06/28 00:18:15, Dirk Pranke wrote: > Thanks for the reply. I need to ponder ...
6 years, 5 months ago (2014-06-30 21:59:53 UTC) #6
phoglund_chromium
On 2014/06/30 21:59:53, Dirk Pranke wrote: > On 2014/06/28 00:18:15, Dirk Pranke wrote: > > ...
6 years, 5 months ago (2014-07-01 09:33:37 UTC) #7
phoglund_chromium
Meanwhile, I've checked that layout tests indeed bypass the getusermedia permission prompt and always assume ...
6 years, 5 months ago (2014-07-02 16:02:11 UTC) #8
Dirk Pranke
lgtm. Sorry for the delay -- again! -- it totally slipped my mind yesterday :(. ...
6 years, 5 months ago (2014-07-02 16:09:02 UTC) #9
phoglund_chromium
On 2014/07/02 16:09:02, Dirk Pranke wrote: > lgtm. Sorry for the delay -- again! -- ...
6 years, 5 months ago (2014-07-03 08:39:40 UTC) #10
phoglund_chromium
The CQ bit was checked by phoglund@chromium.org
6 years, 5 months ago (2014-07-03 08:39:47 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/phoglund@chromium.org/353983003/40001
6 years, 5 months ago (2014-07-03 08:40:37 UTC) #12
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: blink_presubmit on tryserver.blink ...
6 years, 5 months ago (2014-07-03 09:47:53 UTC) #13
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-07-03 09:50:13 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: blink_presubmit on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/blink_presubmit/builds/9239)
6 years, 5 months ago (2014-07-03 09:50:14 UTC) #15
phoglund_chromium
The CQ bit was checked by phoglund@chromium.org
6 years, 5 months ago (2014-07-03 12:41:21 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/phoglund@chromium.org/353983003/60001
6 years, 5 months ago (2014-07-03 12:42:00 UTC) #17
commit-bot: I haz the power
6 years, 5 months ago (2014-07-03 13:48:13 UTC) #18
Message was sent while issue was closed.
Change committed as 177477

Powered by Google App Engine
This is Rietveld 408576698