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

Unified Diff: Source/modules/bluetooth/BluetoothUUID.idl

Issue 1210173011: Enforce that BluetoothUUID.canonicalUUID() takes approximately an in-range integer. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@pinned
Patch Set: Created 5 years, 6 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
« no previous file with comments | « LayoutTests/bluetooth/idl-BluetoothUUID.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/bluetooth/BluetoothUUID.idl
diff --git a/Source/modules/bluetooth/BluetoothUUID.idl b/Source/modules/bluetooth/BluetoothUUID.idl
index 2df55a3cd7a1a046688c0c06f019cdd2f861eaa1..a4c46d1a7e295a42752813b091b828d7240e9db4 100644
--- a/Source/modules/bluetooth/BluetoothUUID.idl
+++ b/Source/modules/bluetooth/BluetoothUUID.idl
@@ -15,7 +15,7 @@
[RaisesException] static UUID getCharacteristic((DOMString or unsigned long) name);
[RaisesException] static UUID getDescriptor((DOMString or unsigned long) name);
- static UUID canonicalUUID(unsigned long alias);
+ static UUID canonicalUUID([EnforceRange] unsigned long alias);
};
typedef DOMString UUID;
« no previous file with comments | « LayoutTests/bluetooth/idl-BluetoothUUID.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698