| Index: third_party/WebKit/Source/devtools/front_end/Tests.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/Tests.js b/third_party/WebKit/Source/devtools/front_end/Tests.js
|
| index b0c51b9ef39a1d739d8faec5e8a17fc1041d306e..1177154b43da3fe37bb6282f7a9beac90b973615 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/Tests.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/Tests.js
|
| @@ -847,10 +847,10 @@
|
|
|
| function onExecutionContexts() {
|
| var consoleView = Console.ConsoleView.instance();
|
| - var options = consoleView._consoleContextSelector._selectElement.options;
|
| + var items = consoleView._consoleContextSelector._list._items;
|
| var values = [];
|
| - for (var i = 0; i < options.length; ++i)
|
| - values.push(options[i].value.trim());
|
| + for (var i = 0; i < items.length; ++i)
|
| + values.push(consoleView._consoleContextSelector._titleFor(items[i]));
|
| test.assertEquals('top', values[0]);
|
| test.assertEquals('Simple content script', values[1]);
|
| test.releaseControl();
|
|
|