Skip to content

Commit

Permalink
demos description
Browse files Browse the repository at this point in the history
  • Loading branch information
asvd committed Oct 15, 2014
1 parent 1ce7c82 commit 182de35
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 15 deletions.
14 changes: 7 additions & 7 deletions demos/web/banner/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ <h3>banner</h3>
advertising banner managed by a "3rd party code" loaded as a
secure Plugin created with
the <a href="https://github.com/asvd/jailed">Jailed</a>
library. The Plugin runs in a Worker and cannot access the
main document, with except for the two methods explicitily
exported by the application: for changing the url the banner
is pointing to, and for changing the banner image. Even if
the Plugin performs an attempt to set too big image, it will
be cropped by the application. The Plugin Worker is fully
controlled by the application and may be connected or
library. The Plugin runs in a sandboxed Worker and cannot
access the main document, with except for the two methods
explicitily exported by the application: for changing the
url the banner is pointing to, and for changing the banner
image. Even if the Plugin performs an attempt to set too big
image, it will be cropped by the application. The Plugin is
fully controlled by the application and may be connected or
disconnected anytime (operated with the two buttons in this
demo).
</div>
Expand Down
15 changes: 7 additions & 8 deletions demos/web/console/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,13 @@ <h3>console</h3>

User-submitted code is evaluated in a&nbsp;Plugin created
with the <a href="https://github.com/asvd/jailed">Jailed</a>
library. The code is sandboxed within a Worker scope in
order to prevent accessing the main application. The Worker
is executed in a separate thread and does not slowdown the
application in case of heavy loads. Too long evaluation
times and infinite loops are prevented with a timeout. To
reproduce, execute something
like <span class=code>while(true);</span> and see what
happens.
library. The code is executed in a sandboxed worker in order
to prevent accessing the main application. The worker runs
in a separate thread and does not slowdown the application
in case of heavy loads. Too long evaluation times and
infinite loops are prevented with a timeout. To reproduce,
execute something like <span class=code>while(true);</span>
and see what happens.
</div>

<div class=links>
Expand Down

0 comments on commit 182de35

Please sign in to comment.