Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(423)

Unified Diff: LayoutTests/inspector/domdebugger/domdebugger-getEventListeners.html

Issue 1319613002: [DevTools] Refactor WebInspector.EventListener (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | LayoutTests/inspector/domdebugger/domdebugger-getEventListeners-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/inspector/domdebugger/domdebugger-getEventListeners.html
diff --git a/LayoutTests/inspector/domdebugger/domdebugger-getEventListeners.html b/LayoutTests/inspector/domdebugger/domdebugger-getEventListeners.html
index d8e0ac47ad0350f60a4aaf60c1e712b8c3bb6406..4a6a1c65c9336c9be53ac61b93a8351fc02dad5f 100644
--- a/LayoutTests/inspector/domdebugger/domdebugger-getEventListeners.html
+++ b/LayoutTests/inspector/domdebugger/domdebugger-getEventListeners.html
@@ -12,15 +12,15 @@ function test()
{
for (var i = 0; i < listeners.length; ++i) {
delete listeners[i]._location.scriptId;
- var sourceName = listeners[i]._sourceName;
- sourceName = sourceName.substr(sourceName.lastIndexOf('/') + 1);
- listeners[i]._sourceName = sourceName;
+ var sourceURL = listeners[i]._sourceURL;
+ sourceURL = sourceURL.substr(sourceURL.lastIndexOf('/') + 1);
+ listeners[i]._sourceURL = sourceURL;
InspectorTest.addResult("type: " + listeners[i].type());
InspectorTest.addResult("useCapture: " + listeners[i].useCapture());
InspectorTest.addResult("location: " + listeners[i].location().columnNumber + ", " + listeners[i].location().lineNumber);
InspectorTest.addResult("handler: " + listeners[i].handler().description);
- InspectorTest.addResult("sourceName: " + listeners[i].sourceName());
+ InspectorTest.addResult("sourceURL: " + listeners[i].sourceURL());
InspectorTest.addResult("");
}
next();
« no previous file with comments | « no previous file | LayoutTests/inspector/domdebugger/domdebugger-getEventListeners-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698