webRequest experimental API and java

21 views
Skip to first unread message

Paolo Casaschi

unread,
May 9, 2011, 10:03:12 AM5/9/11
to Chromium-extensions
I'm playing with the webRequest experimental API and it seem working
nicely.

One comment though, it seems that web requests coming from java
applets on the page do not trigger the webRequest listener events (I
tested only with webRequest.onBeforeRequest.addListener to be
honest).
webRequests coming from the HTML page, javascript, Flash applets or
SilverLight applets are captured correctly.

Why is java left out?
It's by design or just a bug / missing feature that will be eventually
fixed?

Thanks.

PhistucK

unread,
May 9, 2011, 12:38:21 PM5/9/11
to Paolo Casaschi, Chromium-extensions
Perhaps Java is not reporting its network activity to Chrome.
Can you see its network activity within the Network panel of the Developer Tools?
Can you see its network activity within the Net panel of Firebug (with FireFox)?

If the answer to these question is "no", then that explains it - Java probably has its own network stack and it does not notify the browser about its network operations or does not use the browser for network operations.

PhistucK




--
You received this message because you are subscribed to the Google Groups "Chromium-extensions" group.
To post to this group, send email to chromium-...@chromium.org.
To unsubscribe from this group, send email to chromium-extens...@chromium.org.
For more options, visit this group at http://groups.google.com/a/chromium.org/group/chromium-extensions/?hl=en.


Paolo Casaschi

unread,
May 9, 2011, 4:22:02 PM5/9/11
to Chromium-extensions
> Perhaps Java is not reporting its network activity to Chrome.
> Can you see its network activity within the Network panel of the Developer
> Tools?
> Can you see its network activity within the Net panel of Firebug (with
> FireFox)?
>
> If the answer to these question is "no", then that explains it - Java
> probably has its own network stack and it does not notify the browser about
> its network operations or does not use the browser for network operations.

The java related network activity is not reported by chrome developers
tools and by firebug on firefox.

Still, I would place this on the wish list, being able to monitor also
files requested/downloaded by java applets :-)

The API reference page invites to post feedback here, this is mine...

PhistucK

unread,
May 10, 2011, 2:00:44 AM5/10/11
to Paolo Casaschi, Chromium-extensions
I believe the problem lies with the plugin - and not with the browser, in this case, unfortunately.
NPAPI/PPAPI, as it seems, have a way of reporting/using the browser for network operations.
If Java does not use it... there is nothing Chrome can do (except for actually sniffing the network activity of Java, which is really not within the scope of the browser).

So I would not expect that to be resolved... ever. By Chrome, at least.
It is something that Java needs to change within its plugin.

However, generally, for feature requests, you can search crbug.com for an existing issue for this feature request and star it. If you cannot find one, you can file a new issue at new.crbug.com.
Just mentioning them in the group will probably not make the developers remember them and implement them (unless they happen to read your message and think it is a super great, awesome and useful idea ;)). It is good to mention it here to get early feedback, of course, but for anything more than that, make sure the request is also filed.
PhistucK




--
Reply all
Reply to author
Forward
0 new messages