Support for Internet Explorer #21

Open
ivmarkov opened this Issue Feb 23, 2014 · 2 comments

Comments

Projects
None yet
1 participant
@ivmarkov
Contributor

ivmarkov commented Feb 23, 2014

This is not impossible, but quite some work, as IE is of course not using the WIP protocol. (I'm actually not even sure what it is using.) Probably not so important, as if we are lucky, this (http://remotedebug.org/) may take off in the meantime, and then IE support will come for free.

@ivmarkov

This comment has been minimized.

Show comment
Hide comment
@ivmarkov

ivmarkov Mar 22, 2014

Contributor

It seems for debugging, ye olde Internet Explorer still relies on the ActiveX Scripting Host Debugging! This tech dates back to 1998. Brings some memories...

Anyway, some useful links:

I think the work boils down to us being capable of binding to and then calling arbitrary COM objects from Java. Also, we should be able to implement a couple of COM interfaces in Java. The most promising approaches seem to be:

  • Using the COM/OLE support in SWT/Win32 (but I think it only has late binding i.e. IDispatch?)
  • JNA. JNA 4+ has support for accessing COM objects. However I don't see any way to implement COM interfaces in Java. This should be possible to overcome though, with the existing JNA infrastructure, e.g. the "Callback" interface. We just need to be careful in reconstructing the COM object layout (essentially one or more vtables): http://blogs.msdn.com/b/oldnewthing/archive/2004/02/05/68017.aspx
Contributor

ivmarkov commented Mar 22, 2014

It seems for debugging, ye olde Internet Explorer still relies on the ActiveX Scripting Host Debugging! This tech dates back to 1998. Brings some memories...

Anyway, some useful links:

I think the work boils down to us being capable of binding to and then calling arbitrary COM objects from Java. Also, we should be able to implement a couple of COM interfaces in Java. The most promising approaches seem to be:

  • Using the COM/OLE support in SWT/Win32 (but I think it only has late binding i.e. IDispatch?)
  • JNA. JNA 4+ has support for accessing COM objects. However I don't see any way to implement COM interfaces in Java. This should be possible to overcome though, with the existing JNA infrastructure, e.g. the "Callback" interface. We just need to be careful in reconstructing the COM object layout (essentially one or more vtables): http://blogs.msdn.com/b/oldnewthing/archive/2004/02/05/68017.aspx
@ivmarkov

This comment has been minimized.

Show comment
Hide comment
@ivmarkov

ivmarkov Jan 18, 2017

Contributor

It seems the world is slowly uniting around the Chrome debugging protocol, Microsoft being no exception:
https://compatibility.remotedebug.org/

They now support this:
https://github.com/Microsoft/edge-diagnostics-adapter

so in theory if one runs this adapter, SDBG should be able to debug Edge. To be checked...

Contributor

ivmarkov commented Jan 18, 2017

It seems the world is slowly uniting around the Chrome debugging protocol, Microsoft being no exception:
https://compatibility.remotedebug.org/

They now support this:
https://github.com/Microsoft/edge-diagnostics-adapter

so in theory if one runs this adapter, SDBG should be able to debug Edge. To be checked...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment