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

Unified Diff: third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerMessageEvent.idl

Issue 2466513002: Deprecate ServiceWorkerMessageEvent in favor of MessageEvent (Closed)
Patch Set: Remove ServiceWorkerMessageEvent codes; update layout tests Created 4 years, 1 month 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/Source/modules/serviceworkers/ServiceWorkerMessageEvent.idl
diff --git a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerMessageEvent.idl b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerMessageEvent.idl
deleted file mode 100644
index c30e94b75c68f4d993fc77bf26e109bf827ccb55..0000000000000000000000000000000000000000
--- a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerMessageEvent.idl
+++ /dev/null
@@ -1,20 +0,0 @@
-// Copyright 2015 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.
-
-// https://slightlyoff.github.io/ServiceWorker/spec/service_worker/#serviceworkermessage-event-interface
-
-[
- // TODO(bashi): Stop using CustomConstructor once we solve reference
- // circulation between Blink and V8. http://crbug.com/501866
- // Constructor should be:
- // Constructor(DOMString type, optional ServiceWorkerMessageEventInit eventInitDict),
- CustomConstructor,
- Exposed=(Window, Worker),
-] interface ServiceWorkerMessageEvent : Event {
- [Custom=Getter] readonly attribute any data;
- readonly attribute DOMString origin;
- readonly attribute DOMString lastEventId;
- readonly attribute (ServiceWorker or MessagePort)? source;
- readonly attribute FrozenArray<MessagePort>? ports;
-};

Powered by Google App Engine
This is Rietveld 408576698