Home | History | Annotate | Download | only in js

Lines Matching refs:function

48 TestSuite = function()
59 TestSuite.prototype.fail = function(message)
74 TestSuite.prototype.assertEquals = function(expected, actual, opt_message)
89 TestSuite.prototype.assertTrue = function(value, opt_message)
100 TestSuite.prototype.assertContains = function(string, substring)
110 TestSuite.prototype.takeControl = function()
115 this.timerId_ = setTimeout(function() {
124 TestSuite.prototype.releaseControl = function()
137 TestSuite.prototype.reportOk_ = function()
146 TestSuite.prototype.reportFailure_ = function(error)
159 TestSuite.prototype.runTest = function(testName)
174 TestSuite.prototype.showPanel = function(panelName)
188 * @param {Function} override A function that should be called right after the
193 TestSuite.prototype.addSniffer = function(receiver, methodName, override, opt_sticky)
196 if (typeof orig !== "function")
199 receiver[methodName] = function(var_args) {
217 TestSuite.prototype.testEnableResourcesTab = function()
222 TestSuite.prototype.testCompletionOnPause = function()
233 TestSuite.prototype.testProfilerTab = function()
240 function findDisplayedNode() {
248 // Iterate over displayed functions and search for a function
260 function findVisibleView() {
276 TestSuite.prototype.testHeapProfiler = function()
283 function findDisplayedNode() {
304 function findVisibleView() {
321 TestSuite.prototype.testShowScriptsTab = function()
327 function() {
340 TestSuite.prototype.testScriptsTabIsPopulatedOnInspectedPageRefresh = function()
350 function(resultText) {});
352 function waitUntilScriptIsParsed() {
355 function() {
368 TestSuite.prototype.testContentScriptIsPresent = function()
375 function() {
387 TestSuite.prototype.testNoScriptDuplicatesOnPanelSwitch = function()
400 function switchToElementsTab() {
405 function switchToScriptsTab() {
410 function checkScriptsPanel() {
417 function checkNoDuplicates() {
429 function() {
442 TestSuite.prototype.testPauseWhenLoadingDevTools = function()
459 this._checkSourceFrameWhenLoaded(expectations, function() {
476 function() {
485 TestSuite.prototype.testPauseWhenScriptIsRunning = function()
492 function(resultText) {
499 function testScriptPauseAfterDelay() {
503 function testScriptPause() {
514 function() {
526 TestSuite.prototype.testNetworkSize = function()
530 function finishResource(resource, finishTime)
540 test.evaluateInConsole_("window.location.reload(true);", function(resultText) {});
549 TestSuite.prototype.testNetworkSyncSize = function()
553 function finishResource(resource, finishTime)
563 test.evaluateInConsole_("var xhr = new XMLHttpRequest(); xhr.open(\"GET\", \"chunked\", false); xhr.send(null);", function() {});
572 TestSuite.prototype.testNetworkRawHeadersText = function()
576 function finishResource(resource, finishTime)
588 test.evaluateInConsole_("window.location.reload(true);", function(resultText) {});
597 TestSuite.prototype.testNetworkTiming = function()
601 function finishResource(resource, finishTime)
616 test.evaluateInConsole_("window.location.reload(true);", function(resultText) {});
627 TestSuite.prototype.optionsToString_ = function(options)
640 * @param {function(WebInspector.SourceView,string)} callback
642 TestSuite.prototype.showMainPageScriptSource_ = function(scriptName, callback)
682 test.addSniffer(view, "_sourceFrameSetupFinished", function(event) {
694 * @param {function(string)} callback
696 TestSuite.prototype.evaluateInConsole_ = function(code, callback)
703 function(commandResult) {
715 TestSuite.prototype._checkExecutionLine = function(sourceFrame, lineNumber, lineContent)
730 TestSuite.prototype._scriptsAreParsed = function(expected)
752 * @param {function():void} callback
754 TestSuite.prototype._waitForScriptPause = function(expectations, callback)
761 function(details) {
780 * @param {function():void} callback
782 TestSuite.prototype._checkSourceFrameWhenLoaded = function(expectations, callback)
791 setTimeout(function() {
795 function checkExecLine() {
806 TestSuite.prototype._executeCodeWhenScriptsAreParsed = function(code, expectedScripts)
810 function executeFunctionInInspectedPage() {
811 // Since breakpoints are ignored in evals' calculate() function is
815 function(resultText) {
827 TestSuite.prototype._waitUntilScriptsAreParsed = function(expectedScripts, callback)
831 function waitForAllScripts() {
845 TestSuite.createKeyEvent = function(keyIdentifier)
862 uiTests.runAllTests = function()
866 if (name.substring(0, 4) === "test" && typeof TestSuite.prototype[name] === "function")
876 uiTests.runTest = function(name)
884 (function() {
886 function runTests()
896 WebInspector.showElementsPanel = function()
903 WebInspector.showPanel = function(name)