blob: d38d5475f9f09da14329ec3fcbeb873044a63026 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<script src="../../../http/tests/inspector/resources/inspector-test.js"></script>
<script src="resources/remote-object-utilities.js"></script>
<script>
function test()
{
let steps = [
// Regexp
{expression: `/ /`},
{expression: `/(?:)/`},
{expression: `/^r(e)g[e]{1,}x+/`},
{expression: `/^r(e)g[e]{1,}x+/ig`},
{expression: `new RegExp("")`},
{expression: `new RegExp("test", "i")`},
];
if (!window.WI) {
window.steps = steps;
return;
}
runSteps(steps);
}
</script>
</head>
<body onload="runTest(); runInBrowserTest();"></body>
</html>