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

Unified Diff: mojo/public/js/core.js

Issue 795593004: Update mojo sdk to rev cc531b32182099a5a034a99daff35ed5d38a61c8 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: More surfaces fixes + one fix for HTMLDocument Created 6 years 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: mojo/public/js/core.js
diff --git a/mojo/public/js/core.js b/mojo/public/js/core.js
index 4a675670f7642b354b3b9a1a500095652a006c17..6eb6ae6a74b2f242b4f4e22892a35c0c1b277d3c 100644
--- a/mojo/public/js/core.js
+++ b/mojo/public/js/core.js
@@ -229,3 +229,11 @@ function writeData(handle, buffer, flags) { [native code] }
* }
*/
function readData(handle, flags) { [native code] }
+
+/**
+ * True if the argument is a message or data pipe handle.
+ *
+ * @param {value} an arbitrary JS value.
+ * @return true or false
+ */
+function isHandle(value) { [native code] }

Powered by Google App Engine
This is Rietveld 408576698