Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(519)

Unified Diff: third_party/WebKit/LayoutTests/storage/indexeddb/observer-workers.html

Issue 2449563002: [IndexedDB] Add Observer Tests (Closed)
Patch Set: Fixed errors in other tests, and marked observer tests as long Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/storage/indexeddb/observer-workers.html
diff --git a/third_party/WebKit/LayoutTests/storage/indexeddb/observer-workers.html b/third_party/WebKit/LayoutTests/storage/indexeddb/observer-workers.html
new file mode 100644
index 0000000000000000000000000000000000000000..3e66fe4a903142c86fdabaffbd25fe7174e908a5
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/storage/indexeddb/observer-workers.html
@@ -0,0 +1,17 @@
+<html>
+<title>IndexedDB: Observer Constructor Tests</title>
+<meta name=timeout content=long>
+<script src="../../resources/testharness.js"></script>
+<script src="../../resources/testharnessreport.js"></script>
+<script>
+
+var worker = new Worker('resources/observer-tests.js');
+worker.addEventListener('message', function(event) {
+ if (event.data.hasOwnProperty('start_worker_url')) {
+ new Worker(event.data.start_worker_url);
+ }
+});
+fetch_tests_from_worker(worker);
+
+</script>
+</html>

Powered by Google App Engine
This is Rietveld 408576698