Permalink
Browse files

Added test for registerProtocolHandler

  • Loading branch information...
1 parent d9e8ced commit 6453c156c9ce1a7ff27a4cf5cf40327cacc9ffcc @benschwarz benschwarz committed Jul 17, 2011
Showing with 10 additions and 0 deletions.
  1. +10 −0 feature-detects/custom-protocol-handler.js
@@ -0,0 +1,10 @@
+/*
+ Custom protocol handler support
+ http://developers.whatwg.org/timers.html#custom-handlers
+
+ Added by @benschwarz
+*/
+
+Modernizr.addTest('customprotocolhandler', function () {
+ return !!navigator.registerProtocolHandler;
+});

0 comments on commit 6453c15

Please sign in to comment.