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

Unified Diff: sdk/lib/html/dart2js/html_dart2js.dart

Issue 2879763002: Prevent ExtendableMessageEvent.data from thwarting DOM tree-shaking (Closed)
Patch Set: Created 3 years, 7 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:
Download patch
« no previous file with comments | « no previous file | tools/dom/scripts/dartmetadata.py » ('j') | tools/dom/scripts/dartmetadata.py » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/html/dart2js/html_dart2js.dart
diff --git a/sdk/lib/html/dart2js/html_dart2js.dart b/sdk/lib/html/dart2js/html_dart2js.dart
index 398149392a04ff9537dafb01898508c1482c01b9..4332c75d70fafa916e441367ef3778cd80a96b55 100644
--- a/sdk/lib/html/dart2js/html_dart2js.dart
+++ b/sdk/lib/html/dart2js/html_dart2js.dart
@@ -16928,6 +16928,8 @@ class ExtendableMessageEvent extends ExtendableEvent {
@DomName('ExtendableMessageEvent.data')
@DocsEditable()
@Experimental() // untriaged
+ @annotation_Creates_SerializedScriptValue
+ @annotation_Returns_SerializedScriptValue
final Object data;
@DomName('ExtendableMessageEvent.lastEventId')
@@ -16948,6 +16950,8 @@ class ExtendableMessageEvent extends ExtendableEvent {
@DomName('ExtendableMessageEvent.source')
@DocsEditable()
@Experimental() // untriaged
+ @Creates('Client|_ServiceWorker|MessagePort')
+ @Returns('Client|_ServiceWorker|MessagePort|Null')
final Object source;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
« no previous file with comments | « no previous file | tools/dom/scripts/dartmetadata.py » ('j') | tools/dom/scripts/dartmetadata.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698