-
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 56.0.3051.44
- Loading branch information
Lukasz Bendig
committed
Oct 10, 2018
1 parent
ec2ba61
commit 1ee5113
Showing
1,329 changed files
with
109,547 additions
and
8,875 deletions.
There are no files selected for viewing
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
21 changes: 21 additions & 0 deletions
21
lgpl/sources/chromium/src/chrome/test/data/ad_tagging/ad_script.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,21 @@ | ||
'use strict'; | ||
|
||
function createAdFrame(url, name) { | ||
let frame = document.createElement('iframe'); | ||
frame.name = name; | ||
frame.src = url; | ||
document.body.appendChild(frame); | ||
} | ||
|
||
async function createDocWrittenAdFrame(name, base_url) { | ||
let doc_body = await fetch('frame_factory.html'); | ||
let doc_text = await doc_body.text(); | ||
|
||
let frame = document.createElement('iframe'); | ||
frame.name = name; | ||
document.body.appendChild(frame); | ||
|
||
frame.contentDocument.open(); | ||
frame.contentDocument.write(doc_text); | ||
frame.contentDocument.close(); | ||
} |
21 changes: 21 additions & 0 deletions
21
lgpl/sources/chromium/src/chrome/test/data/ad_tagging/create_frame.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,21 @@ | ||
'use strict'; | ||
|
||
function createFrame(url, name) { | ||
let frame = document.createElement('iframe'); | ||
frame.name = name; | ||
frame.src = url; | ||
document.body.appendChild(frame); | ||
} | ||
|
||
async function createDocWrittenFrame(name, base_url) { | ||
let doc_body = await fetch('frame_factory.html'); | ||
let doc_text = await doc_body.text(); | ||
|
||
let frame = document.createElement('iframe'); | ||
frame.name = name; | ||
document.body.appendChild(frame); | ||
|
||
frame.contentDocument.open(); | ||
frame.contentDocument.write(doc_text); | ||
frame.contentDocument.close(); | ||
} |
3 changes: 3 additions & 0 deletions
3
lgpl/sources/chromium/src/chrome/test/data/ad_tagging/frame_factory.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,3 @@ | ||
<!DOCTYPE HTML> | ||
<script src="create_frame.js"></script> | ||
<script src="ad_script.js"></script> |
18 changes: 18 additions & 0 deletions
18
lgpl/sources/chromium/src/chrome/test/data/android/display_cutout/shared.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,18 @@ | ||
// Copyright 2018 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. | ||
|
||
function fromPx(pxValue) { | ||
return parseInt(pxValue.replace('px', ''), 10); | ||
} | ||
|
||
function getSafeAreas() { | ||
const e = document.getElementById('target'); | ||
const style = window.getComputedStyle(e, null); | ||
return { | ||
top: fromPx(style.getPropertyValue('margin-top')), | ||
left: fromPx(style.getPropertyValue('margin-left')), | ||
right: fromPx(style.getPropertyValue('margin-right')), | ||
bottom: fromPx(style.getPropertyValue('margin-bottom')) | ||
}; | ||
} |
12 changes: 12 additions & 0 deletions
12
lgpl/sources/chromium/src/chrome/test/data/android/display_cutout/subframe.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,12 @@ | ||
<!DOCTYPE html> | ||
<meta name="viewport" content="width=device-width initial-scale=1.0 viewport-fit=cover" /> | ||
<script src="shared.js"></script> | ||
<style> | ||
#target { | ||
margin-top: env(safe-area-inset-top); | ||
margin-left: env(safe-area-inset-left); | ||
margin-bottom: env(safe-area-inset-bottom); | ||
margin-right: env(safe-area-inset-right); | ||
} | ||
</style> | ||
<div id=target></div> |
38 changes: 38 additions & 0 deletions
38
lgpl/sources/chromium/src/chrome/test/data/android/display_cutout/test_page.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,38 @@ | ||
<!DOCTYPE html> | ||
<meta name="viewport" content="width=device-width initial-scale=1.0" /> | ||
<script src="shared.js"></script> | ||
<style> | ||
#target { | ||
margin-top: env(safe-area-inset-top); | ||
margin-left: env(safe-area-inset-left); | ||
margin-bottom: env(safe-area-inset-bottom); | ||
margin-right: env(safe-area-inset-right); | ||
} | ||
|
||
iframe { | ||
width: 500px; | ||
height: 500px; | ||
} | ||
</style> | ||
<div id=target></div> | ||
<button id=fullscreen>go fullscreen</button> | ||
<button id=subframefull>fullscreen subframe</button> | ||
<iframe src=subframe.html id=frame allow=fullscreen></iframe> | ||
<script> | ||
const frameWindow = document.getElementById('frame').contentWindow; | ||
|
||
document.querySelector('#fullscreen').addEventListener('click', () => { | ||
document.body.webkitRequestFullscreen(); | ||
}, { once: true }); | ||
|
||
document.querySelector('#subframefull').addEventListener('click', () => { | ||
frameWindow.document.body.webkitRequestFullscreen(); | ||
}, { once: true }); | ||
|
||
const viewportTag = document.getElementsByTagName('meta')[0]; | ||
const defaultViewportContent = viewportTag.getAttribute('content'); | ||
|
||
function setViewportFit(value) { | ||
viewportTag.setAttribute('content', defaultViewportContent + ', viewport-fit=' + value); | ||
} | ||
</script> |
Binary file modified
BIN
-36 Bytes
(100%)
...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 modified
BIN
-35 Bytes
(100%)
...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 modified
BIN
+16 Bytes
(100%)
.../data/android/render_tests/AllDismissedItemTest.modern-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 modified
BIN
+13 Bytes
(100%)
...st/data/android/render_tests/AllDismissedItemTest.modern-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 modified
BIN
+13 Bytes
(100%)
...st/data/android/render_tests/AllDismissedItemTest.modern-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 modified
BIN
-32 Bytes
(100%)
...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 modified
BIN
+234 Bytes
(100%)
...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
+51 Bytes
(100%)
...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
+296 Bytes
(100%)
...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
+255 Bytes
(100%)
.../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 modified
BIN
+75 Bytes
(100%)
...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 modified
BIN
+1.46 KB
(100%)
...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
+393 Bytes
(100%)
...droid/render_tests/BookmarkTest.bookmark_manager_folder_selected.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
+127 Bytes
(100%)
...est/data/android/render_tests/NewTabPageTest.modern-new_tab_page.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
+238 Bytes
(100%)
...android/render_tests/NewTabPageTest.modern-new_tab_page_scrolled.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
+323 Bytes
(100%)
...t/data/android/render_tests/NewTabPageTest.new_tab_page_scrolled.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.92 KB
(85%)
...ata/android/render_tests/TileGridLayoutTest.ntp_tile_grid_layout.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
+114 Bytes
(100%)
...ata/android/render_tests/TileGridLayoutTest.tile_classic_offline.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
+78 Bytes
(100%)
...data/android/render_tests/TileGridLayoutTest.tile_modern_offline.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.
1 change: 1 addition & 0 deletions
1
lgpl/sources/chromium/src/chrome/test/data/autofill/captured_sites/amazon.sha1
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 @@ | ||
61e535c75e11548909b662d8cea3ea450121ea74 |
119 changes: 119 additions & 0 deletions
119
lgpl/sources/chromium/src/chrome/test/data/autofill/captured_sites/amazon.test
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,119 @@ | ||
{ | ||
"name": "Amazon.com: The Path to Power (The Years of Lyndon Johnson, Volume 1) (9780679729457): Robert A. Caro: Books", | ||
"startingURL": "https://www.amazon.com/Path-Power-Years-Lyndon-Johnson/dp/0679729453/ref=sr_1_1?_encoding=UTF8&ref_=nav_ya_signin&", | ||
"actions": [ | ||
{ | ||
"selectorType": "xpath", | ||
"selector": "//*[@id=\"add-to-cart-button\"]", | ||
"context": [], | ||
"type": "click" | ||
}, | ||
{ | ||
"selectorType": "xpath", | ||
"selector": "//*[@id=\"hlb-ptc-btn-native\"]", | ||
"context": [], | ||
"type": "click" | ||
}, | ||
{ | ||
"selectorType": "xpath", | ||
"selector": "//*[@id=\"enterAddressFullName\"]", | ||
"context": [], | ||
"type": "autofill", | ||
"fields" : [ | ||
{ | ||
"selector": "//*[@id=\"enterAddressFullName\"]", | ||
"context": [], | ||
"expectedAutofillType": "NAME_FULL", | ||
"expectedValue": "Milton C. Waddams" | ||
}, | ||
{ | ||
"selector": "//*[@id=\"enterAddressAddressLine1\"]", | ||
"context": [], | ||
"expectedAutofillType": "ADDRESS_HOME_LINE1", | ||
"expectedValue": "4120 Freidrich Lane" | ||
}, | ||
{ | ||
"selector": "//*[@id=\"enterAddressAddressLine2\"]", | ||
"context": [], | ||
"expectedAutofillType": "ADDRESS_HOME_LINE2", | ||
"expectedValue": "Apt 8" | ||
}, | ||
{ | ||
"selector": "//*[@id=\"enterAddressCity\"]", | ||
"context": [], | ||
"expectedAutofillType": "ADDRESS_HOME_CITY", | ||
"expectedValue": "Austin" | ||
}, | ||
{ | ||
"selector": "//*[@id=\"enterAddressStateOrRegion\"]", | ||
"context": [], | ||
"expectedAutofillType": "ADDRESS_HOME_STATE", | ||
"expectedValue": "Texas" | ||
}, | ||
{ | ||
"selector": "//*[@id=\"enterAddressPostalCode\"]", | ||
"context": [], | ||
"expectedAutofillType": "ADDRESS_HOME_ZIP", | ||
"expectedValue": "78744" | ||
}, | ||
{ | ||
"selector": "//*[@id=\"enterAddressPhoneNumber\"]", | ||
"context": [], | ||
"expectedAutofillType": "PHONE_HOME_CITY_AND_NUMBER", | ||
"expectedValue": "5125551234" | ||
} | ||
] | ||
}, | ||
{ | ||
"selectorType": "xpath", | ||
"selector": "//input[@type='submit' and @value='Deliver to this address']", | ||
"context": [], | ||
"type": "click" | ||
}, | ||
{ | ||
"context": [], | ||
"type": "waitFor", | ||
"assertions": [ | ||
"return document.querySelector(`#spinner-anchor`).style.display === 'none';" | ||
] | ||
}, | ||
{ | ||
"selectorType": "xpath", | ||
"selector": "//*[@id=\"shippingOptionFormId\"]/div[1]/div[2]/div/span[contains(., '')]/span[contains(., '')]/input[@type='submit' and @value='Continue']", | ||
"context": [], | ||
"type": "click" | ||
}, | ||
{ | ||
"selectorType": "xpath", | ||
"selector": "//*[@id=\"ccName\"]", | ||
"context": [], | ||
"type": "autofill", | ||
"fields" : [ | ||
{ | ||
"selector": "//*[@id=\"addCreditCardNumber\"]", | ||
"context": [], | ||
"expectedAutofillType": "CREDIT_CARD_NUMBER", | ||
"expectedValue": "9621327911759602" | ||
}, | ||
{ | ||
"selector": "//*[@id=\"ccName\"]", | ||
"context": [], | ||
"expectedAutofillType": "CREDIT_CARD_NAME_FULL", | ||
"expectedValue": "Milton Waddams" | ||
}, | ||
{ | ||
"selector": "//*[@id=\"ccMonth\"]", | ||
"context": [], | ||
"expectedAutofillType": "CREDIT_CARD_EXP_MONTH", | ||
"expectedValue": "5" | ||
}, | ||
{ | ||
"selector": "//*[@id=\"ccYear\"]", | ||
"context": [], | ||
"expectedAutofillType": "CREDIT_CARD_EXP_4_DIGIT_YEAR", | ||
"expectedValue": "2027" | ||
} | ||
] | ||
} | ||
] | ||
} |
1 change: 1 addition & 0 deletions
1
lgpl/sources/chromium/src/chrome/test/data/autofill/captured_sites/apple.sha1
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 @@ | ||
e55aa2211a7911d890efd16fd44de605c70f0022 |
Oops, something went wrong.