OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "base/command_line.h" | 5 #include "base/command_line.h" |
6 #include "base/files/file_util.h" | 6 #include "base/files/file_util.h" |
7 #include "base/strings/stringprintf.h" | 7 #include "base/strings/stringprintf.h" |
8 #include "base/threading/platform_thread.h" | 8 #include "base/threading/platform_thread.h" |
9 #include "content/browser/web_contents/web_contents_impl.h" | 9 #include "content/browser/web_contents/web_contents_impl.h" |
10 #include "content/public/common/content_switches.h" | 10 #include "content/public/common/content_switches.h" |
(...skipping 16 matching lines...) Expand all Loading... |
27 #endif | 27 #endif |
28 | 28 |
29 } // namespace | 29 } // namespace |
30 | 30 |
31 namespace content { | 31 namespace content { |
32 | 32 |
33 #if defined(OS_ANDROID) && defined(ADDRESS_SANITIZER) | 33 #if defined(OS_ANDROID) && defined(ADDRESS_SANITIZER) |
34 // Renderer crashes under Android ASAN: https://crbug.com/408496. | 34 // Renderer crashes under Android ASAN: https://crbug.com/408496. |
35 #define MAYBE_WebRtcBrowserTest DISABLED_WebRtcBrowserTest | 35 #define MAYBE_WebRtcBrowserTest DISABLED_WebRtcBrowserTest |
36 #else | 36 #else |
37 #define MAYBE_WebRtcBrowserTest WebRtcBrowserTest | 37 // Test is flaky on all platforms. http://crbug.com/470013. |
| 38 #define MAYBE_WebRtcBrowserTest DISABLED_WebRtcBrowserTest |
38 #endif | 39 #endif |
39 | 40 |
40 class MAYBE_WebRtcBrowserTest : public WebRtcContentBrowserTest { | 41 class MAYBE_WebRtcBrowserTest : public WebRtcContentBrowserTest { |
41 public: | 42 public: |
42 MAYBE_WebRtcBrowserTest() {} | 43 MAYBE_WebRtcBrowserTest() {} |
43 ~MAYBE_WebRtcBrowserTest() override {} | 44 ~MAYBE_WebRtcBrowserTest() override {} |
44 | 45 |
45 // Convenience function since most peerconnection-call.html tests just load | 46 // Convenience function since most peerconnection-call.html tests just load |
46 // the page, kick off some javascript and wait for the title to change to OK. | 47 // the page, kick off some javascript and wait for the title to change to OK. |
47 void MakeTypicalPeerConnectionCall(const std::string& javascript) { | 48 void MakeTypicalPeerConnectionCall(const std::string& javascript) { |
(...skipping 390 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
438 | 439 |
439 IN_PROC_BROWSER_TEST_F(MAYBE_WebRtcBrowserTest, CallAndVerifyVideoMutingWorks) { | 440 IN_PROC_BROWSER_TEST_F(MAYBE_WebRtcBrowserTest, CallAndVerifyVideoMutingWorks) { |
440 MakeTypicalPeerConnectionCall("callAndEnsureVideoTrackMutingWorks();"); | 441 MakeTypicalPeerConnectionCall("callAndEnsureVideoTrackMutingWorks();"); |
441 } | 442 } |
442 | 443 |
443 IN_PROC_BROWSER_TEST_F(MAYBE_WebRtcBrowserTest, CreateOfferWithOfferOptions) { | 444 IN_PROC_BROWSER_TEST_F(MAYBE_WebRtcBrowserTest, CreateOfferWithOfferOptions) { |
444 MakeTypicalPeerConnectionCall("testCreateOfferOptions();"); | 445 MakeTypicalPeerConnectionCall("testCreateOfferOptions();"); |
445 } | 446 } |
446 | 447 |
447 } // namespace content | 448 } // namespace content |
OLD | NEW |