devtools-samples icon indicating copy to clipboard operation
devtools-samples copied to clipboard

Will the script run in devtools blocked page scripts

Open lichenhao opened this issue 7 years ago • 2 comments

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?

lichenhao avatar Oct 25 '17 03:10 lichenhao

@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.

itzsaga avatar May 03 '18 00:05 itzsaga

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

lichenhao avatar May 03 '18 08:05 lichenhao