OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:isAcceptedScheme
(Results
1 - 2
of
2
) sorted by null
/external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/
UrlUtilitiesTest.java
18
assertTrue(UrlUtilities.
isAcceptedScheme
("about:awesome"));
19
assertTrue(UrlUtilities.
isAcceptedScheme
("data:data"));
20
assertTrue(UrlUtilities.
isAcceptedScheme
(
22
assertTrue(UrlUtilities.
isAcceptedScheme
("http://awesome.example.com/"));
23
assertTrue(UrlUtilities.
isAcceptedScheme
("file://awesome.example.com/"));
24
assertTrue(UrlUtilities.
isAcceptedScheme
("inline:skates.co.uk"));
25
assertTrue(UrlUtilities.
isAcceptedScheme
("javascript:alert(1)"));
27
assertFalse(UrlUtilities.
isAcceptedScheme
("super:awesome"));
28
assertFalse(UrlUtilities.
isAcceptedScheme
(
30
assertFalse(UrlUtilities.
isAcceptedScheme
(
[
all
...]
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/
UrlUtilities.java
38
public static boolean
isAcceptedScheme
(URI uri) {
47
public static boolean
isAcceptedScheme
(String uri) {
49
return
isAcceptedScheme
(new URI(uri));
Completed in 48 milliseconds