summaryrefslogtreecommitdiff
path: root/browser/devtools/debugger/test/browser_dbg_breakpoint-new-script.html
diff options
context:
space:
mode:
Diffstat (limited to 'browser/devtools/debugger/test/browser_dbg_breakpoint-new-script.html')
-rw-r--r--browser/devtools/debugger/test/browser_dbg_breakpoint-new-script.html20
1 files changed, 20 insertions, 0 deletions
diff --git a/browser/devtools/debugger/test/browser_dbg_breakpoint-new-script.html b/browser/devtools/debugger/test/browser_dbg_breakpoint-new-script.html
new file mode 100644
index 000000000..547afd9d8
--- /dev/null
+++ b/browser/devtools/debugger/test/browser_dbg_breakpoint-new-script.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset='utf-8'/>
+<script type="text/javascript">
+function runDebuggerStatement() {
+ debugger;
+}
+function myFunction() {
+ var a = 1;
+ debugger;
+}
+</script>
+</head>
+<body>
+
+<button type="button" onclick="myFunction()">Run</button>
+
+</body>
+</html>