- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for firefox (0.1 sec)
-
src/test/java/org/codelibs/fess/helper/UserAgentHelperTest.java
} public void test_getUserAgentType_FireFox() { getMockRequest().addHeader("user-agent", "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:42.0) Gecko/20100101 Firefox/42.0"); assertEquals(UserAgentType.FIREFOX, userAgentHelper.getUserAgentType()); } public void test_getUserAgentType_Safari() { getMockRequest().addHeader("user-agent",
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 10 13:41:04 UTC 2025 - 7.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/UserAgentHelper.java
if (userAgent.indexOf("MSIE") >= 0 || userAgent.indexOf("Trident") >= 0) { uaType = UserAgentType.IE; } else if (userAgent.indexOf("Firefox") >= 0) { uaType = UserAgentType.FIREFOX; } else if (userAgent.indexOf("Chrome") >= 0) { uaType = UserAgentType.CHROME; } else if (userAgent.indexOf("Safari") >= 0) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 3.5K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlTest.kt
"Invalid URL host: \"[0.0.0.0:0:0:0:0:0:1]\"", ) } @Test fun hostIpv6WithIncompleteIpv4Suffix() { // To Chrome & Safari these are well-formed; Firefox disagrees. (We're consistent with Firefox). assertInvalid( "http://[0:0:0:0:0:1:255.255.255.]/", "Invalid URL host: \"[0:0:0:0:0:1:255.255.255.]\"", ) assertInvalid( "http://[0:0:0:0:0:1:255.255.255]/",
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Aug 04 07:38:48 UTC 2025 - 69.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/ViewHelper.java
} break; case FIREFOX: if (isLocalFile) { url = url.replaceFirst("file:/+", systemProperties.getProperty("file.protocol.winlocal.firefox", "file://")); } else { url = url.replaceFirst("file:/+", systemProperties.getProperty("file.protocol.firefox", "file://///")); } break; case CHROME:
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 52.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/ViewHelperTest.java
userAgentHelper = new UserAgentHelper() { public UserAgentType getUserAgentType() { return UserAgentType.FIREFOX; } }; ComponentUtil.register(userAgentHelper, "userAgentHelper"); assertEquals("file://///test.txt", viewHelper.updateFileProtocol("file:///test.txt"));
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 27.3K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt
assertThat(redirectRequest.url.encodedPath).isEqualTo("/b") } @Test fun response300MultipleChoiceWithPost() { // Chrome doesn't follow the redirect, but Firefox and the RI both do testResponseRedirectedWithPost(HttpURLConnection.HTTP_MULT_CHOICE, TransferKind.END_OF_STREAM) } @Test fun response301MovedPermanentlyWithPost() {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Jun 21 20:36:35 UTC 2025 - 133.2K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt
.isEqualTo(lastModifiedDate) } @Test fun maxAgeInThePastWithDateHeaderButNoLastModifiedHeader() { // Chrome interprets max-age relative to the local clock. Both our cache // and Firefox both use the earlier of the local and server's clock. assertNotCached( MockResponse .Builder() .addHeader("Date: " + formatDate(-120, TimeUnit.SECONDS))
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 16 09:39:51 UTC 2025 - 113.6K bytes - Viewed (0)