Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[orion-dev] Orion editor in Chrome devtools in Orion web page

Using Susan's orion.page.content extension point I was able to load my
web page inside of an Orion page:

https://bugs.eclipse.org/bugs/attachment.cgi?id=213033

The key bug was my misspelling of the contentType value. I used
text/html like a MIME type, but it needed to be text.html. I think we
could have an error here.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=375008

I also had to experiment with the URITemplate values but once I got
the openWith extension to fire that was straight forward.

The screen shot also shows the Orion editor inside of the Chrome
Devtools running in a web app.  This works over the crx2app chrome
extension RPC gizmo I wrote around the first of the year. Once the
editor instance is wired up, this gives Orion a debugger, at least on
Chrome.  (Most of the panels already work, just not the JS debugging).

You can also see the black streaks in the number column I mentioned on
another thread; the editor itself only shows text.

Finally, the bottom of the turducken screen shot is another instance
of Chrome devtools, the built-in Chrome instance I am using to debug
the stuff above.

Seems encouraging even though there is some ways to go before it is useful.

jjb


Back to the top