-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding sources of Opera 51.0.2830.61
- Loading branch information
Łukasz Bendig
committed
Mar 13, 2018
1 parent
aea5ef7
commit e4ac8c3
Showing
11,325 changed files
with
667,431 additions
and
210,672 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
Binary file added
BIN
+73.6 KB
lgpl/sources/chromium/src/chrome/test/data/android/UiCapture/bench.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+150 KB
lgpl/sources/chromium/src/chrome/test/data/android/UiCapture/freelancer.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+84.3 KB
lgpl/sources/chromium/src/chrome/test/data/android/UiCapture/soldiers.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+42 KB
lgpl/sources/chromium/src/chrome/test/data/android/UiCapture/violin.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 17 additions & 0 deletions
17
lgpl/sources/chromium/src/chrome/test/data/android/hello.mhtml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
From: <Saved by UnMHT> | ||
Subject: Hello | ||
Date: Mon, Nov 21 2011 10:59:06 GMT-0800 | ||
MIME-Version: 1.0 | ||
Content-Type: multipart/related; | ||
boundary="----=_NextPart_000_0000_0324C3DC.A3C79392"; | ||
type="text/html" | ||
|
||
------=_NextPart_000_0000_0324C3DC.A3C79392 | ||
Content-Type: text/html; charset="UTF-8" | ||
Content-Transfer-Encoding: quoted-printable | ||
Content-Location: http://www.example.com | ||
|
||
<html> | ||
Hello, World! | ||
</html> | ||
------=_NextPart_000_0000_0324C3DC.A3C79392-- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+137 KB
...me/test/data/android/render_tests/AllDismissedItemTest.afternoon.Nexus_5-19.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+135 KB
...rome/test/data/android/render_tests/AllDismissedItemTest.evening.Nexus_5-19.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+103 KB
...hrome/test/data/android/render_tests/AllDismissedItemTest.modern.Nexus_5-19.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+135 KB
...rome/test/data/android/render_tests/AllDismissedItemTest.morning.Nexus_5-19.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+25.1 KB
...r_tests/ArticleSnippetsTest.cold_state_personalized_signin_promo.Nexus_5-19.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-168 Bytes
(99%)
...id/render_tests/ArticleSnippetsTest.download_snippet_placeholder.Nexus_5-19.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+58 Bytes
(100%)
...roid/render_tests/ArticleSnippetsTest.download_snippet_thumbnail.Nexus_5-19.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+34.1 KB
...er_tests/ArticleSnippetsTest.hot_state_personalized_signin_promo.Nexus_5-19.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+591 Bytes
(100%)
...oid/render_tests/ArticleSnippetsTest.long_minimal_snippet_narrow.Nexus_5-19.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+702 Bytes
(100%)
.../test/data/android/render_tests/ArticleSnippetsTest.long_snippet.Nexus_5-19.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+628 Bytes
(100%)
...ata/android/render_tests/ArticleSnippetsTest.long_snippet_narrow.Nexus_5-19.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+601 Bytes
(100%)
...st/data/android/render_tests/ArticleSnippetsTest.minimal_snippet.Nexus_5-19.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+32.6 KB
.../ArticleSnippetsTest.modern-cold_state_personalized_signin_promo.Nexus_5-19.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+20.3 KB
...er_tests/ArticleSnippetsTest.modern-download_snippet_placeholder.Nexus_5-19.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+332 KB
...nder_tests/ArticleSnippetsTest.modern-download_snippet_thumbnail.Nexus_5-19.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+39.8 KB
...s/ArticleSnippetsTest.modern-hot_state_personalized_signin_promo.Nexus_5-19.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-685 Bytes
(97%)
...der_tests/ArticleSnippetsTest.modern-long_minimal_snippet_narrow.Nexus_5-19.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-1.48 KB
(94%)
...ata/android/render_tests/ArticleSnippetsTest.modern-long_snippet.Nexus_5-19.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-913 Bytes
(96%)
...roid/render_tests/ArticleSnippetsTest.modern-long_snippet_narrow.Nexus_5-19.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-746 Bytes
(97%)
.../android/render_tests/ArticleSnippetsTest.modern-minimal_snippet.Nexus_5-19.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+110 Bytes
(100%)
...er_tests/ArticleSnippetsTest.modern-short_minimal_snippet_narrow.Nexus_5-19.png
Oops, something went wrong.
Binary file modified
BIN
-19.2 KB
(89%)
...ta/android/render_tests/ArticleSnippetsTest.modern-short_snippet.Nexus_5-19.png
Oops, something went wrong.
Binary file modified
BIN
-19 KB
(89%)
...oid/render_tests/ArticleSnippetsTest.modern-short_snippet_narrow.Nexus_5-19.png
Oops, something went wrong.
Binary file modified
BIN
-1.24 KB
(96%)
...ata/android/render_tests/ArticleSnippetsTest.modern-signin_promo.Nexus_5-19.png
Oops, something went wrong.
Binary file added
BIN
+16.9 KB
...cleSnippetsTest.modern-video_suggestion_with_dark_dominant_color.Nexus_5-19.png
Oops, something went wrong.
Binary file added
BIN
+329 KB
.../ArticleSnippetsTest.modern-video_suggestion_with_dark_thumbnail.Nexus_5-19.png
Oops, something went wrong.
Binary file added
BIN
+16.5 KB
...leSnippetsTest.modern-video_suggestion_with_light_dominant_color.Nexus_5-19.png
Oops, something went wrong.
Binary file added
BIN
+155 KB
...ArticleSnippetsTest.modern-video_suggestion_with_light_thumbnail.Nexus_5-19.png
Oops, something went wrong.
Binary file modified
BIN
+481 Bytes
(100%)
...id/render_tests/ArticleSnippetsTest.short_minimal_snippet_narrow.Nexus_5-19.png
Oops, something went wrong.
Binary file modified
BIN
+769 Bytes
(100%)
...test/data/android/render_tests/ArticleSnippetsTest.short_snippet.Nexus_5-19.png
Oops, something went wrong.
Binary file modified
BIN
+778 Bytes
(100%)
...ta/android/render_tests/ArticleSnippetsTest.short_snippet_narrow.Nexus_5-19.png
Oops, something went wrong.
Binary file modified
BIN
-90 Bytes
(100%)
.../test/data/android/render_tests/ArticleSnippetsTest.signin_promo.Nexus_5-19.png
Oops, something went wrong.
Binary file added
BIN
+17.3 KB
...ts/ArticleSnippetsTest.video_suggestion_with_dark_dominant_color.Nexus_5-19.png
Oops, something went wrong.
Binary file added
BIN
+387 KB
...r_tests/ArticleSnippetsTest.video_suggestion_with_dark_thumbnail.Nexus_5-19.png
Oops, something went wrong.
Binary file added
BIN
+17.3 KB
...s/ArticleSnippetsTest.video_suggestion_with_light_dominant_color.Nexus_5-19.png
Oops, something went wrong.
Binary file added
BIN
+177 KB
..._tests/ArticleSnippetsTest.video_suggestion_with_light_thumbnail.Nexus_5-19.png
Oops, something went wrong.
Binary file added
BIN
+25.5 KB
...droid/render_tests/BookmarkTest.bookmark_manager_folder_selected.Nexus_5-19.png
Oops, something went wrong.
Binary file added
BIN
+27.8 KB
...ta/android/render_tests/BookmarkTest.bookmark_manager_one_folder.Nexus_5-19.png
Oops, something went wrong.
Binary file added
BIN
+174 KB
...nder_tests/ContextualSuggestionsTest.contextual_suggestions_card.Nexus_5-19.png
Oops, something went wrong.
Binary file modified
BIN
-11 Bytes
(100%)
...src/chrome/test/data/android/render_tests/NewTabPageTest.fakebox.Nexus_5-19.png
Oops, something went wrong.
Binary file modified
BIN
+8.39 KB
(250%)
...hrome/test/data/android/render_tests/NewTabPageTest.most_visited.Nexus_5-19.png
Oops, something went wrong.
Binary file modified
BIN
+18.7 KB
(140%)
...hrome/test/data/android/render_tests/NewTabPageTest.new_tab_page.Nexus_5-19.png
Oops, something went wrong.
Binary file modified
BIN
+11 KB
(120%)
...t/data/android/render_tests/NewTabPageTest.new_tab_page_scrolled.Nexus_5-19.png
Oops, something went wrong.
Binary file added
BIN
+12.4 KB
...data/android/render_tests/TileGridLayoutTest.full_grid_landscape.Nexus_5-19.png
Oops, something went wrong.
Binary file added
BIN
+11.2 KB
.../data/android/render_tests/TileGridLayoutTest.full_grid_portrait.Nexus_5-19.png
Oops, something went wrong.
Binary file added
BIN
+24 KB
...droid/render_tests/TileGridLayoutTest.modern_full_grid_landscape.Nexus_5-19.png
Oops, something went wrong.
Binary file added
BIN
+21.6 KB
...ndroid/render_tests/TileGridLayoutTest.modern_full_grid_portrait.Nexus_5-19.png
Oops, something went wrong.
Binary file added
BIN
+9.31 KB
.../render_tests/TileGridLayoutTest.modern_two_tiles_grid_landscape.Nexus_5-19.png
Oops, something went wrong.
Binary file added
BIN
+8.45 KB
...d/render_tests/TileGridLayoutTest.modern_two_tiles_grid_portrait.Nexus_5-19.png
Oops, something went wrong.
Binary file modified
BIN
+18 Bytes
(100%)
...ata/android/render_tests/TileGridLayoutTest.ntp_tile_grid_layout.Nexus_5-19.png
Oops, something went wrong.
Binary file added
BIN
+2.68 KB
...e/test/data/android/render_tests/TileGridLayoutTest.tile_classic.Nexus_5-19.png
Oops, something went wrong.
Binary file added
BIN
+4.89 KB
...ata/android/render_tests/TileGridLayoutTest.tile_classic_offline.Nexus_5-19.png
Oops, something went wrong.
Binary file added
BIN
+5.73 KB
...me/test/data/android/render_tests/TileGridLayoutTest.tile_modern.Nexus_5-19.png
Oops, something went wrong.
Binary file added
BIN
+6.1 KB
...data/android/render_tests/TileGridLayoutTest.tile_modern_offline.Nexus_5-19.png
Oops, something went wrong.
Binary file added
BIN
+4.94 KB
...android/render_tests/TileGridLayoutTest.two_tiles_grid_landscape.Nexus_5-19.png
Oops, something went wrong.
Binary file added
BIN
+4.38 KB
.../android/render_tests/TileGridLayoutTest.two_tiles_grid_portrait.Nexus_5-19.png
Oops, something went wrong.
8 changes: 8 additions & 0 deletions
8
lgpl/sources/chromium/src/chrome/test/data/android/share/link_share_http_canonical.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<html> | ||
<head> | ||
<link rel="canonical" href="http://examplehttp.com/" /> | ||
</head> | ||
<body> | ||
<div>Test page with HTTP canonical URL.</div> | ||
</body> | ||
</html> |
8 changes: 8 additions & 0 deletions
8
lgpl/sources/chromium/src/chrome/test/data/android/share/link_share_https_canonical.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<html> | ||
<head> | ||
<link rel="canonical" href="https://examplehttps.com/" /> | ||
</head> | ||
<body> | ||
<div>Test page with HTTPS canonical URL.</div> | ||
</body> | ||
</html> |
6 changes: 6 additions & 0 deletions
6
lgpl/sources/chromium/src/chrome/test/data/android/share/link_share_no_canonical.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<html> | ||
<head></head> | ||
<body> | ||
<div>Test page with no canonical URL.</div> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
lgpl/sources/chromium/src/chrome/test/data/banners/manifest_too_small_icon.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"name": "Manifest test app", | ||
"icons": [ | ||
{ | ||
"src": "launcher-icon-1x.png", | ||
"sizes": "48x48", | ||
"type": "image/png", | ||
"purpose": "any badge" | ||
} | ||
], | ||
"start_url": "manifest_test_page.html", | ||
"display": "standalone", | ||
"orientation": "landscape" | ||
} |
28 changes: 28 additions & 0 deletions
28
lgpl/sources/chromium/src/chrome/test/data/chromeos/app_mode/virtual_keyboard/key.pem
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
-----BEGIN PRIVATE KEY----- | ||
MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQC+GEsI8mDjBCNS | ||
LonR4nrVuKMoj6DdikcQo2NK1Bt9sVS9AYGleCJ9pkcAX4XDzUPeUPc9nseA3uz9 | ||
00hXkq0devyW+sWN8cTqzDOEIhQ9U+lQrjD8jM6Nfzj73gdS3WsDWh7C5N+p7Mtp | ||
6uUOoDiYHSVrrzcbGG89q2InxOBGTS4QE9rt5j7p4dUsknQFDik/lcE9rqulAdIx | ||
Bl9xC6qd16kqC2he7OCUM/g7O7yRE8G4TDVc+tbAcQd65TtoWkWKvnu1s7nd4DvE | ||
y+bH/41NBsNCVp943qYbcW5ByQdVsPxWzy9Q1Fx0ovUM52mKpTOdpAtv4Thj9kg/ | ||
e//KHHBxAgMBAAECggEACvRp8JJNOI/uvCfv688+Lm5VQrtiNRoopcIQsQl/qxLq | ||
0/iQANnnPO/15ATdN88us9NdKCksDJZsOGVyZA+RF+OURlwdweQWqcRKTLlNCsq4 | ||
5ZwgORGhPqDABy3ApMsbRWZuYuNfK1L41voBKMJdeJCnbSj8Bzz1fiuP/MQ4+3wS | ||
LkIs3pSK4Ppdnn2Hl9razBHUTHCGzTphZilG6YM/rvqzUAgWsrYDoPf4m5hh9+ij | ||
UV+NH5AMJeEzlbBVo1LjWwudqVoBvxRcnMJUOHwd1as3hV3RlM5hLM2w3720RoVd | ||
opBHkM+kZOR7jx+pHbRSfU6WgVDKU5JqhWDueERM8QKBgQDpKue9uzMI2OQs+UF7 | ||
/APK06/kLMa80eMbx8uJ8z9KA+WJ6bHqyVdoHYkQfe+MXBFMff8j+xj8mzsw+M0n | ||
GaF/eCuauO4OBkpOmLSKfGXoIt7Uc5pzsnmC1RJFIsz2Sxmi4Nvxy8KZqutyd9nf | ||
mZyLAJLChDLwWgvidhE61T7B6QKBgQDQtaHYPsnR1KWzqmJd1iOOkdBinVBNd3Kn | ||
QjnC6odPWh5uthzPH8Mq0bGPS32Htll+OaYm8lVfzTzsdd1bYmThQhMgo1IlKwlM | ||
HHz4BdQWI8w+RxP0JoOkOEyCG6QZkRjoB8qYdjGfO7yHgZnmx5sF8TK29McQPt8n | ||
/9mjk6ndSQKBgQCi4hwdiKZwKcPMPxul1zl2+UZIaZcz1JOIlpvzdH/j3rD9FMn7 | ||
MEflLazQXol3TeGvw9z2b7TW0kIZRdVa2Sbeez5KyaFTHsXN/hMxIxG1hpaPZ2qg | ||
JC+KW/p1XYg9Dd2M0PQVB7ibzLDJuDv1XcPjvrTHOb6z9NOUkdIbfVhn8QKBgQC9 | ||
nIYRA9ou+9YeyCjdv3JGUErVjL4r4t0S/6OiZZfQi7siMekyc1TITgHWgWrmJNBh | ||
UNaWg4r0om07FkmogFfOHk1qVXaHtfWYZDlUy1bHVnZ0Dfce1O67/zni6mHHqH7M | ||
Lmfs41Rpqce6BBBiDe3VFDBS70b6h2QN3u9HIRwtoQKBgAS4ny7Qs860FK4lp+DX | ||
/PqqNkd7jLWR9sJTsm68YZzG+11PcHXN7z8qJOzLt2TncqGb0JLSLPRqno3RCw0t | ||
65cnWIYd9jKls9wpqgGPL4fxhO+c5aSG23yXKDyQA4RMEWLtHhprVcMoh6JRkzDW | ||
v6QkZrlC+emRlRhUfDDJjmaO | ||
-----END PRIVATE KEY----- |
137 changes: 137 additions & 0 deletions
137
...ources/chromium/src/chrome/test/data/chromeos/app_mode/virtual_keyboard/src/background.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,137 @@ | ||
// Copyright 2017 The Chromium Authors. All rights reserved. | ||
// Use of this source code is governed by a BSD-style license that can be | ||
// found in the LICENSE file. | ||
|
||
/** | ||
* The packed extension resides in | ||
* ../webstore/downloads/fmmbbdiapbcicajbpkpkdbcgidgppada.crx . | ||
* Update it too whenever this file is updated. | ||
* See https://developer.chrome.com/extensions/packaging#packaging for how to | ||
* package. | ||
*/ | ||
|
||
chrome.test.runTests([ | ||
function virtualKeyboardAllRestrict() { | ||
chrome.virtualKeyboard.restrictFeatures( | ||
{ | ||
autoCompleteEnabled: false, | ||
autoCorrectEnabled: false, | ||
spellCheckEnabled: false, | ||
voiceInputEnabled: false, | ||
handwritingEnabled: false | ||
}, | ||
chrome.test.callbackPass(function(update) { | ||
chrome.test.assertEq( | ||
{ | ||
autoCompleteEnabled: false, | ||
autoCorrectEnabled: false, | ||
spellCheckEnabled: false, | ||
voiceInputEnabled: false, | ||
handwritingEnabled: false | ||
}, | ||
update); | ||
|
||
chrome.virtualKeyboardPrivate.getKeyboardConfig( | ||
chrome.test.callbackPass(function(config) { | ||
chrome.test.assertTrue( | ||
config.features.includes('autocomplete-disabled')); | ||
chrome.test.assertTrue( | ||
config.features.includes('autocorrect-disabled')); | ||
chrome.test.assertTrue( | ||
config.features.includes('spellcheck-disabled')); | ||
chrome.test.assertTrue( | ||
config.features.includes('voiceinput-disabled')); | ||
chrome.test.assertTrue( | ||
config.features.includes('handwriting-disabled')); | ||
})); | ||
})); | ||
}, | ||
function virtualKeyboardAllEnable() { | ||
chrome.virtualKeyboard.restrictFeatures( | ||
{ | ||
autoCompleteEnabled: true, | ||
autoCorrectEnabled: true, | ||
spellCheckEnabled: true, | ||
voiceInputEnabled: true, | ||
handwritingEnabled: true | ||
}, | ||
chrome.test.callbackPass(function(update) { | ||
chrome.test.assertEq( | ||
{ | ||
autoCompleteEnabled: true, | ||
autoCorrectEnabled: true, | ||
spellCheckEnabled: true, | ||
voiceInputEnabled: true, | ||
handwritingEnabled: true | ||
}, | ||
update); | ||
chrome.virtualKeyboardPrivate.getKeyboardConfig( | ||
chrome.test.callbackPass(function(config) { | ||
chrome.test.assertTrue( | ||
config.features.includes('autocomplete-enabled')); | ||
chrome.test.assertTrue( | ||
config.features.includes('autocorrect-enabled')); | ||
chrome.test.assertTrue( | ||
config.features.includes('spellcheck-enabled')); | ||
chrome.test.assertTrue( | ||
config.features.includes('voiceinput-enabled')); | ||
chrome.test.assertTrue( | ||
config.features.includes('handwriting-enabled')); | ||
})); | ||
})); | ||
}, | ||
function virtualKeyboardPartialRestrict() { | ||
chrome.virtualKeyboard.restrictFeatures( | ||
{ | ||
autoCompleteEnabled: false, | ||
autoCorrectEnabled: true, | ||
spellCheckEnabled: false, | ||
voiceInputEnabled: true, | ||
// handwritingEnabled is omitted; the current config should be used. | ||
}, | ||
chrome.test.callbackPass(function(update) { | ||
chrome.test.assertEq( | ||
{ | ||
autoCompleteEnabled: false, | ||
spellCheckEnabled: false, | ||
}, | ||
update); | ||
chrome.virtualKeyboardPrivate.getKeyboardConfig( | ||
chrome.test.callbackPass(function(config) { | ||
chrome.test.assertTrue( | ||
config.features.includes('autocomplete-disabled')); | ||
chrome.test.assertTrue( | ||
config.features.includes('autocorrect-enabled')); | ||
chrome.test.assertTrue( | ||
config.features.includes('spellcheck-disabled')); | ||
chrome.test.assertTrue( | ||
config.features.includes('voiceinput-enabled')); | ||
chrome.test.assertTrue( | ||
config.features.includes('handwriting-enabled')); | ||
})); | ||
})); | ||
}, | ||
function virtualKeyboardOnConfigChanged() { | ||
chrome.test.listenOnce( | ||
chrome.virtualKeyboardPrivate.onKeyboardConfigChanged, | ||
function(config) { | ||
chrome.test.assertTrue(!!config); | ||
// The callback parameter should be the same as the return value of | ||
// |getKeyboardConfig| | ||
chrome.virtualKeyboardPrivate.getKeyboardConfig( | ||
chrome.test.callbackPass(function(config2) { | ||
chrome.test.assertEq(config, config2); | ||
})); | ||
}); | ||
|
||
chrome.virtualKeyboard.restrictFeatures( | ||
{ | ||
autoCompleteEnabled: true, | ||
autoCorrectEnabled: true, | ||
spellCheckEnabled: false, | ||
voiceInputEnabled: true, | ||
handwritingEnabled: false | ||
}, | ||
chrome.test.callbackPass()); | ||
}, | ||
]); |
Oops, something went wrong.