blob: a0a1bfd683e8eea426e2972d9f6f2421a966c489 [file] [log] [blame]
Test DebuggerAgent.searchInContent to search script content.
SCRIPT: LayoutTests/http/tests/inspector/resources/inspector-test.js
RESULTS: 0
SCRIPT: LayoutTests/inspector/debugger/search-scripts.html
RESULTS: 2
LINE: 1
CONTENT: // SEARCHTEST: Comment in inline <script>.
LINE: 28
CONTENT: DebuggerAgent.searchInContent(script.id, "SEARCHTEST", false, false, function(error, results) {
SCRIPT: LayoutTests/inspector/debugger/search-scripts.html
RESULTS: 1
LINE: 1
CONTENT: runTest(); // SEARCHTEST: onload attribute string
SCRIPT: eval1.js
RESULTS: 1
LINE: 0
CONTENT: // SEARCHTEST: Eval 1
SCRIPT: eval2.js
RESULTS: 1
LINE: 0
CONTENT: var SEARCHTEST = "SEARCHTEST";