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

Unified Diff: chrome/test/data/devtools/extensions/simple_content_script/simple_content_script.js

Issue 295020: DevTools: test that content scripts are visible in the debugger scripts list (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 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
Index: chrome/test/data/devtools/extensions/simple_content_script/simple_content_script.js
===================================================================
--- chrome/test/data/devtools/extensions/simple_content_script/simple_content_script.js (revision 0)
+++ chrome/test/data/devtools/extensions/simple_content_script/simple_content_script.js (revision 0)
@@ -0,0 +1,10 @@
+function buttonClickListener(e) {
+ var localVar = e + 'a';
+ debugger;
+}
+
+
+var button = document.getElementById('btn');
+if (button) {
+ button.addEventListener('click', buttonClickListener, false);
+}
Property changes on: chrome\test\data\devtools\extensions\simple_content_script\simple_content_script.js
___________________________________________________________________
Added: svn:eol-style
+ LF
« no previous file with comments | « chrome/test/data/devtools/extensions/simple_content_script/manifest.json ('k') | webkit/glue/devtools/js/tests.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698