Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation: using iframe may not avoid DoS #9

Closed
natevw opened this issue Jul 17, 2013 · 1 comment
Closed

Documentation: using iframe may not avoid DoS #9

natevw opened this issue Jul 17, 2013 · 1 comment

Comments

@natevw
Copy link
Owner

natevw commented Jul 17, 2013

"Readme says you could beat while(true) with an iframe, but I think iframes share the thread." — https://twitter.com/pfrazee/status/357566263893037056

Haven't fully researched/tested but this looks like it might be the case. E.g. https://github.com/timdream/simworker uses iframes to simulate webworkers, and documentation states "The script doesn't do the magic of taking the task background. Executions still block UI…"

@dominictarr
Copy link

I just tested this, and I can confirm that in chrome iframe is the same thread.
I am now unable to open localhost:8000 because the cached script has a infinite loop in it.

@natevw natevw closed this as completed in 465f6a4 Feb 3, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants