| Index: Source/core/inspector/InjectedScriptSource.js
|
| diff --git a/Source/core/inspector/InjectedScriptSource.js b/Source/core/inspector/InjectedScriptSource.js
|
| index 2d831832586021d5c6abc50ad7fed88285ea7ab7..146a4fc2a5bb475f5a561fb897a5f00ee9431c04 100644
|
| --- a/Source/core/inspector/InjectedScriptSource.js
|
| +++ b/Source/core/inspector/InjectedScriptSource.js
|
| @@ -1785,8 +1785,8 @@ CommandLineAPIImpl.prototype = {
|
| $$: function (selector, opt_startNode)
|
| {
|
| if (this._canQuerySelectorOnNode(opt_startNode))
|
| - return opt_startNode.querySelectorAll(selector);
|
| - return inspectedGlobalObject.document.querySelectorAll(selector);
|
| + return slice(opt_startNode.querySelectorAll(selector));
|
| + return slice(inspectedGlobalObject.document.querySelectorAll(selector));
|
| },
|
|
|
| /**
|
|
|