|
|
Chromium Code Reviews
DescriptionImage Capture: enable content_browsertests in Linux/CrOs,
This CL updates getUserMedia() constraint syntax, which
I suspect is part of the reason why sometimes these tests
have timed out (if the video resolution is too large, it
may very well jam the bot).
With that small update this CL enables the tests for
CrOs/Linux.
BUG=656810
Committed: https://crrev.com/92ebdcde2bc82bd548cce2222e2902b2d4ce6cd4
Cr-Commit-Position: refs/heads/master@{#428433}
Patch Set 1 #
Total comments: 4
Patch Set 2 : xianglu@ comments #
Messages
Total messages: 23 (14 generated)
Description was changed from ========== Image Capture: enable content_browsertests in Linux/CrOs, update getUserMedia() constraint syntax BUG=656810 ========== to ========== Image Capture: enable content_browsertests in Linux/CrOs, This CL updates getUserMedia() constraint syntax, which I suspect is part of the reason why sometimes these tests have timed out (if the video resolution is too large, it may very well jam the bot). With that small update this CL enables the tests for CrOs/Linux. BUG=656810 ==========
mcasas@chromium.org changed reviewers: + xianglu@chromium.org
xianglu@ PTAL
The CQ bit was checked by mcasas@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_androi...)
https://codereview.chromium.org/2456193004/diff/1/content/browser/webrtc/webr... File content/browser/webrtc/webrtc_image_capture_browsertest.cc (right): https://codereview.chromium.org/2456193004/diff/1/content/browser/webrtc/webr... content/browser/webrtc/webrtc_image_capture_browsertest.cc:49: }; Consider: { {true}, #if !defined(OS_LINUX) #else {false}, #endif } I think with the comma, if we need to modify this list in the future we only need to change one line. https://codereview.chromium.org/2456193004/diff/1/content/test/data/media/ima... File content/test/data/media/image_capture_test.html (right): https://codereview.chromium.org/2456193004/diff/1/content/test/data/media/ima... content/test/data/media/image_capture_test.html:10: const constraints = { width: { max : WIDTH } }; /** @const */ var constraints = { width: { max : WIDTH } }? (I might be wrong though.)
The CQ bit was checked by mcasas@chromium.org to run a CQ dry run
ptal https://codereview.chromium.org/2456193004/diff/1/content/browser/webrtc/webr... File content/browser/webrtc/webrtc_image_capture_browsertest.cc (right): https://codereview.chromium.org/2456193004/diff/1/content/browser/webrtc/webr... content/browser/webrtc/webrtc_image_capture_browsertest.cc:49: }; On 2016/10/28 16:33:54, xianglu wrote: > Consider: > { > {true}, > #if !defined(OS_LINUX) > #else > {false}, > #endif > } > I think with the comma, if we need to modify this list in the future we only > need to change one line. I'm always wondering if some compilers would not have issues with trailing commas after the last element of an initializer lists, we'll see the bots, otherwise done. https://codereview.chromium.org/2456193004/diff/1/content/test/data/media/ima... File content/test/data/media/image_capture_test.html (right): https://codereview.chromium.org/2456193004/diff/1/content/test/data/media/ima... content/test/data/media/image_capture_test.html:10: const constraints = { width: { max : WIDTH } }; On 2016/10/28 16:33:55, xianglu wrote: > /** @const */ var constraints = { width: { max : WIDTH } }? (I might be wrong > though.) Done.
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
lgtm.
mcasas@chromium.org changed reviewers: + avi@chromium.org
avi@ plz RS the content browsertest change, thx!
lgtm stampity stamp
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
The CQ bit was checked by mcasas@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Message was sent while issue was closed.
Description was changed from ========== Image Capture: enable content_browsertests in Linux/CrOs, This CL updates getUserMedia() constraint syntax, which I suspect is part of the reason why sometimes these tests have timed out (if the video resolution is too large, it may very well jam the bot). With that small update this CL enables the tests for CrOs/Linux. BUG=656810 ========== to ========== Image Capture: enable content_browsertests in Linux/CrOs, This CL updates getUserMedia() constraint syntax, which I suspect is part of the reason why sometimes these tests have timed out (if the video resolution is too large, it may very well jam the bot). With that small update this CL enables the tests for CrOs/Linux. BUG=656810 ==========
Message was sent while issue was closed.
Committed patchset #2 (id:20001)
Message was sent while issue was closed.
Description was changed from ========== Image Capture: enable content_browsertests in Linux/CrOs, This CL updates getUserMedia() constraint syntax, which I suspect is part of the reason why sometimes these tests have timed out (if the video resolution is too large, it may very well jam the bot). With that small update this CL enables the tests for CrOs/Linux. BUG=656810 ========== to ========== Image Capture: enable content_browsertests in Linux/CrOs, This CL updates getUserMedia() constraint syntax, which I suspect is part of the reason why sometimes these tests have timed out (if the video resolution is too large, it may very well jam the bot). With that small update this CL enables the tests for CrOs/Linux. BUG=656810 Committed: https://crrev.com/92ebdcde2bc82bd548cce2222e2902b2d4ce6cd4 Cr-Commit-Position: refs/heads/master@{#428433} ==========
Message was sent while issue was closed.
Patchset 2 (id:??) landed as https://crrev.com/92ebdcde2bc82bd548cce2222e2902b2d4ce6cd4 Cr-Commit-Position: refs/heads/master@{#428433} |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
