blob: 0be85ecd4452c6be8f2d0e55004f910f5bda479a [file] [log] [blame]
// Copyright 2021 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/vr/test/webxr_vr_browser_test.h"
#include "content/public/test/browser_test.h"
namespace vr {
// TODO(https://crbug.com/381000093): Fix tests on Android
#if !BUILDFLAG(IS_ANDROID)
// Tests that WebXR does not return any devices if all runtime support is
// disabled.
IN_PROC_BROWSER_TEST_F(WebXrVrRuntimelessBrowserTest,
TestWebXrNoDevicesWithoutRuntime) {
LoadFileAndAwaitInitialization("test_webxr_does_not_return_device");
WaitOnJavaScriptStep();
EndTest();
}
#endif // if !BUILDFLAG(IS_ANDROID)
} // namespace vr