Index: third_party/WebKit/LayoutTests/imported/web-platform-tests/mediacapture-streams/GUM-optional-constraint.html |
diff --git a/third_party/WebKit/LayoutTests/imported/web-platform-tests/mediacapture-streams/obtaining-local-multimedia-content/navigatorusermedia/getusermedia-optional-constraint.html b/third_party/WebKit/LayoutTests/imported/web-platform-tests/mediacapture-streams/GUM-optional-constraint.html |
similarity index 79% |
rename from third_party/WebKit/LayoutTests/imported/web-platform-tests/mediacapture-streams/obtaining-local-multimedia-content/navigatorusermedia/getusermedia-optional-constraint.html |
rename to third_party/WebKit/LayoutTests/imported/web-platform-tests/mediacapture-streams/GUM-optional-constraint.html |
index 2a69f90a93d9ccedb081bf55737a42c53c08a0cb..cc240c59df3e14300e22c10b3162a1a7aab93a68 100644 |
--- a/third_party/WebKit/LayoutTests/imported/web-platform-tests/mediacapture-streams/obtaining-local-multimedia-content/navigatorusermedia/getusermedia-optional-constraint.html |
+++ b/third_party/WebKit/LayoutTests/imported/web-platform-tests/mediacapture-streams/GUM-optional-constraint.html |
@@ -4,7 +4,6 @@ |
<title>Optional constraint recognized as optional in getUserMedia</title> |
<link rel="author" title="Dominique Hazael-Massieux" href="mailto:dom@w3.org"/> |
<link rel="help" href="http://dev.w3.org/2011/webrtc/editor/getusermedia.html#widl-NavigatorUserMedia-getUserMedia-void-MediaStreamConstraints-constraints-NavigatorUserMediaSuccessCallback-successCallback-NavigatorUserMediaErrorCallback-errorCallback"> |
-<link rel='stylesheet' href='../../../../../resources/testharness.css' media='all'/> |
</head> |
<body> |
<p class="instructions" style="display:none">When prompted, accept to share your video stream.</p> |
@@ -13,9 +12,9 @@ |
getUserMedia is handled as optional</p> |
<div id='log'></div> |
-<script src=../../../../../resources/testharness.js></script> |
-<script src=../../../../../resources/testharnessreport.js></script> |
-<script src="../../../../../resources/vendor-prefix.js" data-prefixed-objects='[{"ancestors":["navigator"], "name":"getUserMedia"}]'></script> |
+<script src=../../../resources/testharness.js></script> |
+<script src=../../../resources/testharnessreport.js></script> |
+<script src="../../../resources/vendor-prefix.js" data-prefixed-objects='[{"ancestors":["navigator"], "name":"getUserMedia"}]'></script> |
<script> |
var t = async_test("Tests that setting an optional constraint in getUserMedia is handled as optional", {timeout:10000}); |
t.step(function() { |