Index: telemetry/telemetry/internal/testing/crash_extension/window.js |
diff --git a/telemetry/telemetry/internal/testing/crash_extension/window.js b/telemetry/telemetry/internal/testing/crash_extension/window.js |
new file mode 100644 |
index 0000000000000000000000000000000000000000..0df15daf68113970970b8484a61a58daf4834db1 |
--- /dev/null |
+++ b/telemetry/telemetry/internal/testing/crash_extension/window.js |
@@ -0,0 +1,10 @@ |
+// Copyright 2016 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+'use strict'; |
+ |
+console.log('hello window'); |
+document.querySelector('button').addEventListener('click', function() { |
+ var w = new Worker('worker.js'); |
+}); |