Skip to content
This repository has been archived by the owner on Jan 10, 2023. It is now read-only.

Will the script run in devtools blocked page scripts #2

Open
lichenhao opened this issue Oct 25, 2017 · 2 comments
Open

Will the script run in devtools blocked page scripts #2

lichenhao opened this issue Oct 25, 2017 · 2 comments

Comments

@lichenhao
Copy link

RT,
If I wrote some error code like

while(true) {
 console.log('what ever')
}

will this code run in devtools break the page when it opened?

@itzsaga
Copy link

itzsaga commented May 3, 2018

@lichenhao randomly came across your question. It won't "break" the page but eventually it'll crash the tab because you've created an endless loop.

@lichenhao
Copy link
Author

So, the widgets for Chrome is very dangerous. How about use different vm for the third part codes?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants