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

Unified Diff: third_party/WebKit/Source/modules/webusb/USBConnectionEvent.idl

Issue 2348703003: Update USBConnectionEvent.idl to match the spec. (Closed)
Patch Set: Add tests. Created 4 years, 3 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/Source/modules/webusb/USBConnectionEvent.idl
diff --git a/third_party/WebKit/Source/modules/webusb/USBConnectionEvent.idl b/third_party/WebKit/Source/modules/webusb/USBConnectionEvent.idl
index be53425731829b437800aa331626afa4c0de591d..f17c79fd10bc839da86ecf398bebad9dfc20b823 100644
--- a/third_party/WebKit/Source/modules/webusb/USBConnectionEvent.idl
+++ b/third_party/WebKit/Source/modules/webusb/USBConnectionEvent.idl
@@ -5,8 +5,8 @@
// http://wicg.github.io/webusb/#events
[
- Constructor(DOMString type, optional USBConnectionEventInit eventInitDict),
+ Constructor(DOMString type, USBConnectionEventInit eventInitDict),
OriginTrialEnabled=WebUSB,
] interface USBConnectionEvent : Event {
- readonly attribute USBDevice device;
+ [SameObject] readonly attribute USBDevice device;
};

Powered by Google App Engine
This is Rietveld 408576698