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

Side by Side Diff: chrome/test/data/notifications/android_test_worker.js

Issue 960923004: Add two instrumentation tests for Web Notifications on Android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 var messagePort = null;
6
7 addEventListener('message', function(event) {
8 messagePort = event.data;
9 messagePort.postMessage('ready');
10 });
11
12 addEventListener('notificationclick', function(event) {
Michael van Ouwerkerk 2015/02/26 17:24:23 This doesn't do anything. Why is it included?
Peter Beverloo 2015/02/26 18:22:38 Took it out. Future tests will need it.
13
14 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698