| Index: third_party/WebKit/LayoutTests/http/tests/inspector/console-test.js
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/console-test.js b/third_party/WebKit/LayoutTests/http/tests/inspector/console-test.js
|
| index 294f51c5beb4d40164ce7cc8013fc8abc2522d31..4ae0984b4cf3bd54c220e032535ba1dacd7eced3 100644
|
| --- a/third_party/WebKit/LayoutTests/http/tests/inspector/console-test.js
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/inspector/console-test.js
|
| @@ -380,6 +380,35 @@ InspectorTest.waitUntilNthMessageReceived = function(count, callback)
|
| InspectorTest.addSniffer(InspectorTest.consoleModel, "addMessage", override, false);
|
| }
|
|
|
| +// /**
|
| +// * @param {Function} callback
|
| +// * @param {Number} timeout
|
| +// */
|
| +// InspectorTest.waitForUserScrollDelay = function(callback, timeout)
|
| +// {
|
| +// timeout = timeout || 400;
|
| +// setTimeout(afterDelay, timeout);
|
| +// InspectorTest.addSniffer(WebInspector.ConsoleView.prototype, "_scrollUpdatedByUserForTest", onUserScroll);
|
| +// var scrollReceivedOrTimeout = false;
|
| +
|
| +// function onUserScroll()
|
| +// {
|
| +// if (!scrollReceivedOrTimeout) {
|
| +// scrollReceivedOrTimeout = true;
|
| +// callback(true);
|
| +// }
|
| +// }
|
| +
|
| +// function afterDelay()
|
| +// {
|
| +// if (!scrollReceivedOrTimeout) {
|
| +// scrollReceivedOrTimeout = false;
|
| +// callback(false);
|
| +// }
|
| +
|
| +// }
|
| +// }
|
| +
|
| InspectorTest.changeExecutionContext = function(namePrefix)
|
| {
|
| var selector = WebInspector.ConsoleView.instance()._executionContextModel._selectElement;
|
|
|