mirror of
https://github.com/servo/servo
synced 2026-04-30 11:27:28 +02:00
8 lines
173 B
JavaScript
8 lines
173 B
JavaScript
var fn = function() {
|
|
postMessage('Function() function blocked');
|
|
}
|
|
try {
|
|
fn = new Function("", "postMessage('Function() function allowed');");
|
|
} catch (e) {}
|
|
fn();
|