Files
sdk/tests/corelib
Lasse R.H. Nielsen dd561d513b Add Uri.isScheme test function.
Allows checking the scheme of a URI against a known value.
Example: `uri.isScheme("http")`.
Has two advantages over `uri.scheme == "http"`:
* It's case insensitive, so you can do `uri.isScheme("HTTP")` as well, and
* for simple URIs, it doesn't need to allocate a new string.

R=floitsch@google.com

Review-Url: https://codereview.chromium.org/2664453003 .
2017-01-30 13:26:39 +01:00
..
2015-03-25 07:01:46 +00:00
2016-08-17 10:54:24 +02:00
2013-05-03 12:12:17 +00:00
2013-11-01 17:02:27 +00:00
2013-11-01 17:02:27 +00:00
2013-11-01 17:02:27 +00:00
2013-10-24 08:44:32 +00:00
2014-06-26 11:49:11 +00:00
2017-01-30 13:26:39 +01:00