[Webkit-unassigned] [Bug 40425] Web Inspector: provide API for content scripts to interact with the inspector
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Oct 31 14:21:21 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=40425
--- Comment #42 from Steven Roussey <sroussey at gmail.com> 2010-10-31 14:21:19 PST ---
I only need help getting to "hello world". After that, I understand I am on my own until docs are made and that won't happen until the API is stable, and that is a ways away...
So I created a chrome extension and run chrome with the specified command line switch. I used the files below, but nothing happens. No iframe gets added (I checked with the inspector on the inspector). Using Chrom dev channel.
I could just get to step one...
manifest.json:
{
"name": "test",
"version": "1.0.0",
"description": "test...",
"permissions": ["experimental", "tabs", "http://*/*", "https://*/*"],
"devtools_page": "illumination_devtools.html"
}
devtools.html:
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<script>
webInspector.panels.create("Test Panel", "extension-panel.html", "extension-panel.png", function(){});
webInspector.panels.scripts.createSidebarPane("Test Sidebar", "extension-sidebar.html", function(){});
console.log("hello");
</script>
</body>
</html>
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list