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

Unified Diff: third_party/WebKit/LayoutTests/presentation/presentation-reconnect.html

Issue 2643473002: [Presentation API] Allow PresentationConnection state change to "Connecting" (Closed)
Patch Set: Address Mark and Bin's comments Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/presentation/presentation-reconnect.html
diff --git a/third_party/WebKit/LayoutTests/presentation/presentation-reconnect.html b/third_party/WebKit/LayoutTests/presentation/presentation-reconnect.html
index 6d70f892fce8c86ee70f0a1c924f1b5d39cf1a54..cf5699b99ba014b44afcec2427fd5217295449a8 100644
--- a/third_party/WebKit/LayoutTests/presentation/presentation-reconnect.html
+++ b/third_party/WebKit/LayoutTests/presentation/presentation-reconnect.html
@@ -3,7 +3,6 @@
<body>
<script src="../resources/testharness.js"></script>
<script src="../resources/testharnessreport.js"></script>
-<script src="../resources/gc.js"></script>
<script src="../resources/mojo-helpers.js"></script>
<script src="resources/presentation-service-mock.js"></script>
<button>click me</button>
@@ -11,9 +10,9 @@
async_test(t => {
presentationServiceMock.then(mockService => {
- var button = document.querySelector('button');
- var connection = null;
- var request = new PresentationRequest('https://example.com');
+ const button = document.querySelector('button');
+ let connection = null;
+ const request = new PresentationRequest('https://example.com');
waitForClick(_ => {
request.start().then(conn => {

Powered by Google App Engine
This is Rietveld 408576698