Commit 1fbbcc1d authored by Raphael Kubo da Costa's avatar Raphael Kubo da Costa Committed by Commit Bot

Use the right test names for camera/microphone permission descriptor tests.

They were referring to geolocation due to some copy-pasting, which leads to
testharness errors like

    Harness Error. harness_status.status = 1 , harness_status.message = 1 duplicate test name: "Test geolocation permission in DedicatedWorker scope."

Bug: 648553
Change-Id: Idf92966019af27ce6062d8cf04b1e0e257a47323
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1864991
Auto-Submit: Raphael Kubo da Costa <raphael.kubo.da.costa@intel.com>
Commit-Queue: Dominick Ng <dominickn@chromium.org>
Reviewed-by: default avatarDominick Ng <dominickn@chromium.org>
Cr-Commit-Position: refs/heads/master@{#707260}
parent f29003dd
...@@ -82,7 +82,7 @@ async_test(function(test) { ...@@ -82,7 +82,7 @@ async_test(function(test) {
}).catch(function() { }).catch(function() {
assert_unreached('querying camera permission should not fail.') assert_unreached('querying camera permission should not fail.')
}); });
}, 'Test geolocation permission in ' + get_current_scope() + ' scope.'); }, 'Test camera permission in ' + get_current_scope() + ' scope.');
async_test(function(test) { async_test(function(test) {
navigator.permissions.query({name:'microphone'}).then(function(result) { navigator.permissions.query({name:'microphone'}).then(function(result) {
...@@ -92,7 +92,7 @@ async_test(function(test) { ...@@ -92,7 +92,7 @@ async_test(function(test) {
}).catch(function() { }).catch(function() {
assert_unreached('querying microphone permission should not fail.') assert_unreached('querying microphone permission should not fail.')
}); });
}, 'Test geolocation permission in ' + get_current_scope() + ' scope.'); }, 'Test microphone permission in ' + get_current_scope() + ' scope.');
async_test(function(test) { async_test(function(test) {
navigator.permissions.query({name:'midi'}).then(function(result) { navigator.permissions.query({name:'midi'}).then(function(result) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment