| Index: third_party/WebKit/LayoutTests/presentation/presentation-navigation.html
|
| diff --git a/third_party/WebKit/LayoutTests/presentation/presentation-navigation.html b/third_party/WebKit/LayoutTests/presentation/presentation-navigation.html
|
| index ba5e23032f5272691586c6b3ca584ae15466442c..cc921ff8d9f6502989d1c3ec30451b2686188969 100644
|
| --- a/third_party/WebKit/LayoutTests/presentation/presentation-navigation.html
|
| +++ b/third_party/WebKit/LayoutTests/presentation/presentation-navigation.html
|
| @@ -6,16 +6,17 @@
|
| <iframe></iframe>
|
| <script>
|
|
|
| -var iframe = document.querySelector('iframe');
|
| +const iframe = document.querySelector('iframe');
|
|
|
| async_test(t => {
|
| iframe.onload = t.step_func(() => {
|
| - var presentation = iframe.contentWindow.navigator.presentation;
|
| + const presentation = iframe.contentWindow.navigator.presentation;
|
| if (iframe.src.endsWith('#after-reload')) {
|
| assert_equals(presentation.defaultRequest, null);
|
| t.done();
|
| } else {
|
| - presentation.defaultRequest = new PresentationRequest("https://example.org");
|
| + presentation.defaultRequest =
|
| + new PresentationRequest("https://example.org");
|
| assert_not_equals(presentation.defaultRequest, null);
|
|
|
| iframe.src += '#after-reload';
|
|
|