Index: chrome/test/data/extensions/hangout_services_test.html |
diff --git a/chrome/test/data/extensions/hangout_services_test.html b/chrome/test/data/extensions/hangout_services_test.html |
index 8b9b9a73d6f9b3d6d13e382ac37066838f540bc3..d414e4dc7e6eef436400c8657f1253c34dab2789 100644 |
--- a/chrome/test/data/extensions/hangout_services_test.html |
+++ b/chrome/test/data/extensions/hangout_services_test.html |
@@ -23,8 +23,7 @@ function populate() { |
navigator.mediaDevices.enumerateDevices().then(populateSources); |
} |
-// Populates the select box with information on all sinks and the |
-// currently selected sink. |
+// Populates the select box with information on all sinks. |
function populateSinks() { |
var select = document.getElementById('select'); |
while (select.length > 0) |
@@ -36,9 +35,6 @@ function populateSinks() { |
option.text = sinks[i].sinkLabel + ' (' + sinks[i].sinkId + ')'; |
select.add(option); |
} |
- getActiveSink(function(sinkId) { |
- select.value = sinkId; |
- }); |
}); |
} |
@@ -55,15 +51,6 @@ function populateSources(devices) { |
} |
} |
-// Sets the currently active sink to the one selected in the select |
-// box. |
-function setActiveSinkFromSelection() { |
- var select = document.getElementById('select'); |
- setActiveSink(select.value, function() { |
- populateSinks(); |
- }); |
-} |
- |
function getAssociatedDeviceFromSelection() { |
var select = document.getElementById('selectSource'); |
getAssociatedSink(select.value, function(sinkId) { |
@@ -109,9 +96,8 @@ function browsertestRunAllTests() { |
<audio id="audio" src="long_audio.ogg" controls autoplay></audio> |
<br/> |
-Audio output devices, along with currently selected device. Click to change:<br/> |
-<select style="width:100%" id="select" size=10 |
- onClick="setActiveSinkFromSelection()"></select> |
+Audio output devices<br/> |
+<select style="width:100%" id="select" size=10></select> |
<br/> |
Audio input devices. Click to get associated output device ID:<br/> |