[RFC][icedtea-web] reprucer for loading resources from various urls by unsigned javaws application

Jiri Vanek jvanek at redhat.com
Tue Jun 21 06:03:48 PDT 2011


This reproducer is trying to load resources from specified url. Reproducer itself just reads text resource and print it to stdout. Or throw exception if It overcomes its privileges.
  Testcase is trying this:

lunches http://localhost:portA/ReadResourcesFromURL.jnlp and try to load resource  http://localhost:portA/ReadResourcesFromURL.jnlp - should succeed, and is succeeding => test pass
lunches http://localhost:portA/ReadResourcesFromURL.jnlp and try to load resource  http://127.0.0.1:portA/ReadResourcesFromURL.jnlp - should succeed(?), and is succeeding => test pass
lunches http://localhost:portA/ReadResourcesFromURL.jnlp and try to load resource  http://localhost:portBBBBB/ReadResourcesFromURL.jnlp - should not succeed(?), but is succeeding => test fail
lunches http://localhost:portA/ReadResourcesFromURL.jnlp and try to load resource  http://127.0.0.1:portBBBBB/ReadResourcesFromURL.jnlp - should not succeed(?), but is succeeding => test fail

Is that correct?

Regard J.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: added_12Reps_addedMiorChangesInEngine_added_readResourcesFromURL-deleted12reproducers-deletedMinorFixes.diff
Type: text/x-patch
Size: 14720 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20110621/ba7f7710/added_12Reps_addedMiorChangesInEngine_added_readResourcesFromURL-deleted12reproducers-deletedMinorFixes.diff 


More information about the distro-pkg-dev mailing list