Moved test fixtures to dedicated folder

This commit is contained in:
Fredrik Wollsén 2018-11-26 16:34:31 +02:00
Родитель 972dd29dda
Коммит 8157746329
6 изменённых файлов: 1355 добавлений и 1351 удалений

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Просмотреть файл

@ -0,0 +1,744 @@
import { OpenWPMType } from "../StudyPayloadPreprocessor";
export const exampleDotComVisitFollowedByMoreInformationLinkClickQueue = [
{
type: "http_requests" as OpenWPMType,
httpRequest: {
incognito: 0,
crawl_id: 0,
extension_session_uuid: "ec32bcbd-7fee-4aaf-b36d-0ef56557e4fd",
event_ordinal: 1,
window_id: 3,
tab_id: 1,
frame_id: 0,
request_id: "20",
url: "http://example.com/",
method: "GET",
time_stamp: "2018-11-23T01:34:40.487Z",
referrer: "",
headers:
'[["Host","example.com"],["User-Agent","Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:65.0) Gecko/20100101 Firefox/65.0"],["Accept","text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8"],["Accept-Language","en-US,en;q=0.5"],["Accept-Encoding","gzip, deflate"],["Connection","keep-alive"],["Upgrade-Insecure-Requests","1"]]',
is_XHR: 0,
is_full_page: 1,
is_frame_load: 0,
triggering_origin: "undefined",
loading_origin: "undefined",
loading_href: "undefined",
resource_type: "main_frame",
top_level_url: "about:blank",
parent_frame_id: -1,
frame_ancestors: "[]",
},
tabActiveDwellTime: 7750,
},
{
type: "navigations" as OpenWPMType,
navigation: {
crawl_id: 0,
incognito: 0,
extension_session_uuid: "ec32bcbd-7fee-4aaf-b36d-0ef56557e4fd",
window_id: 3,
tab_id: 1,
frame_id: 0,
window_width: 1280,
window_height: 946,
window_type: "normal",
tab_width: 1280,
tab_height: 872,
tab_cookie_store_id: "firefox-default",
uuid: "290cb5b2-828c-4eec-9626-69463b7b4d05",
url: "http://example.com/",
transition_qualifiers: '["from_address_bar"]',
transition_type: "typed",
committed_event_ordinal: 2,
committed_time_stamp: "2018-11-23T01:34:40.769Z",
parent_frame_id: -1,
before_navigate_event_ordinal: 0,
before_navigate_time_stamp: "2018-11-23T01:34:40.475Z",
},
tabActiveDwellTime: 8250,
},
{
type: "http_responses" as OpenWPMType,
httpResponse: {
incognito: 0,
crawl_id: 0,
extension_session_uuid: "ec32bcbd-7fee-4aaf-b36d-0ef56557e4fd",
event_ordinal: 3,
window_id: 3,
tab_id: 1,
frame_id: 0,
request_id: "20",
is_cached: 0,
url: "http://example.com/",
method: "GET",
response_status: 200,
response_status_text: "HTTP/1.1 200 OK",
time_stamp: "2018-11-23T01:34:40.765Z",
headers:
'[["Content-Encoding","gzip"],["Accept-Ranges","bytes"],["Cache-Control","max-age=604800"],["Content-Type","text/html; charset=UTF-8"],["Date","Fri, 23 Nov 2018 01:34:40 GMT"],["Etag","\\"1541025663\\""],["Expires","Fri, 30 Nov 2018 01:34:40 GMT"],["Last-Modified","Fri, 09 Aug 2013 23:54:35 GMT"],["Server","ECS (lga/1390)"],["Vary","Accept-Encoding"],["X-Cache","HIT"],["Content-Length","606"]]',
location: "",
},
tabActiveDwellTime: 8250,
},
{
type: "http_requests" as OpenWPMType,
httpRequest: {
incognito: 0,
crawl_id: 0,
extension_session_uuid: "ec32bcbd-7fee-4aaf-b36d-0ef56557e4fd",
event_ordinal: 4,
window_id: 3,
tab_id: 1,
frame_id: 0,
request_id: "21",
url: "http://example.com/favicon.ico",
method: "GET",
time_stamp: "2018-11-23T01:34:40.846Z",
referrer: "",
headers:
'[["Host","example.com"],["User-Agent","Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:65.0) Gecko/20100101 Firefox/65.0"],["Accept","text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8"],["Accept-Language","en-US,en;q=0.5"],["Accept-Encoding","gzip, deflate"],["Connection","keep-alive"]]',
is_XHR: 0,
is_full_page: 1,
is_frame_load: 0,
triggering_origin: "http://example.com",
loading_origin: "http://example.com",
loading_href: "http://example.com/",
resource_type: "image",
top_level_url: "http://example.com/",
parent_frame_id: -1,
frame_ancestors: "[]",
},
tabActiveDwellTime: 8250,
},
{
type: "http_responses" as OpenWPMType,
httpResponse: {
incognito: 0,
crawl_id: 0,
extension_session_uuid: "ec32bcbd-7fee-4aaf-b36d-0ef56557e4fd",
event_ordinal: 5,
window_id: 3,
tab_id: 1,
frame_id: 0,
request_id: "21",
is_cached: 0,
url: "http://example.com/favicon.ico",
method: "GET",
response_status: 404,
response_status_text: "HTTP/1.1 404 Not Found",
time_stamp: "2018-11-23T01:34:40.982Z",
headers:
'[["Content-Encoding","gzip"],["Accept-Ranges","bytes"],["Cache-Control","max-age=604800"],["Content-Type","text/html; charset=UTF-8"],["Date","Fri, 23 Nov 2018 01:34:40 GMT"],["Expires","Fri, 30 Nov 2018 01:34:40 GMT"],["Last-Modified","Fri, 16 Nov 2018 21:05:05 GMT"],["Server","ECS (lga/1391)"],["Vary","Accept-Encoding"],["X-Cache","404-HIT"],["Content-Length","606"]]',
location: "",
},
tabActiveDwellTime: 8250,
},
{
type: "http_requests" as OpenWPMType,
httpRequest: {
incognito: 0,
crawl_id: 0,
extension_session_uuid: "ec32bcbd-7fee-4aaf-b36d-0ef56557e4fd",
event_ordinal: 7,
window_id: 3,
tab_id: 1,
frame_id: 0,
request_id: "22",
url: "http://www.iana.org/domains/example",
method: "GET",
time_stamp: "2018-11-23T01:34:45.493Z",
referrer: "http://example.com/",
headers:
'[["Host","www.iana.org"],["User-Agent","Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:65.0) Gecko/20100101 Firefox/65.0"],["Accept","text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8"],["Accept-Language","en-US,en;q=0.5"],["Accept-Encoding","gzip, deflate"],["Referer","http://example.com/"],["Connection","keep-alive"],["Upgrade-Insecure-Requests","1"]]',
is_XHR: 0,
is_full_page: 1,
is_frame_load: 0,
triggering_origin: "http://example.com",
loading_origin: "undefined",
loading_href: "undefined",
resource_type: "main_frame",
top_level_url: "http://example.com/",
parent_frame_id: -1,
frame_ancestors: "[]",
},
tabActiveDwellTime: 12750,
},
{
type: "http_redirects" as OpenWPMType,
httpRedirect: {
incognito: 0,
crawl_id: 0,
old_request_url: "http://www.iana.org/domains/example",
old_request_id: "22",
new_request_url: "https://www.iana.org/domains/reserved",
new_request_id: null,
extension_session_uuid: "ec32bcbd-7fee-4aaf-b36d-0ef56557e4fd",
event_ordinal: 8,
window_id: 3,
tab_id: 1,
frame_id: 0,
response_status: 302,
response_status_text: "HTTP/1.1 302 Found",
time_stamp: "2018-11-23T01:34:45.870Z",
},
tabActiveDwellTime: 13250,
},
{
type: "http_requests" as OpenWPMType,
httpRequest: {
incognito: 0,
crawl_id: 0,
extension_session_uuid: "ec32bcbd-7fee-4aaf-b36d-0ef56557e4fd",
event_ordinal: 9,
window_id: 3,
tab_id: 1,
frame_id: 0,
request_id: "22",
url: "https://www.iana.org/domains/reserved",
method: "GET",
time_stamp: "2018-11-23T01:34:45.874Z",
referrer: "http://example.com/",
headers:
'[["Host","www.iana.org"],["User-Agent","Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:65.0) Gecko/20100101 Firefox/65.0"],["Accept","text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8"],["Accept-Language","en-US,en;q=0.5"],["Accept-Encoding","gzip, deflate, br"],["Referer","http://example.com/"],["Connection","keep-alive"],["Upgrade-Insecure-Requests","1"]]',
is_XHR: 0,
is_full_page: 1,
is_frame_load: 0,
triggering_origin: "http://example.com",
loading_origin: "undefined",
loading_href: "undefined",
resource_type: "main_frame",
top_level_url: "http://example.com/",
parent_frame_id: -1,
frame_ancestors: "[]",
},
tabActiveDwellTime: 13250,
},
{
type: "navigations" as OpenWPMType,
navigation: {
crawl_id: 0,
incognito: 0,
extension_session_uuid: "ec32bcbd-7fee-4aaf-b36d-0ef56557e4fd",
window_id: 3,
tab_id: 1,
frame_id: 0,
window_width: 1280,
window_height: 946,
window_type: "normal",
tab_width: 1280,
tab_height: 872,
tab_cookie_store_id: "firefox-default",
uuid: "bd1e0e8e-6c72-4a93-983b-d59c336b4472",
url: "https://www.iana.org/domains/reserved",
transition_qualifiers: '["server_redirect"]',
transition_type: "link",
committed_event_ordinal: 10,
committed_time_stamp: "2018-11-23T01:34:46.962Z",
parent_frame_id: -1,
before_navigate_event_ordinal: 6,
before_navigate_time_stamp: "2018-11-23T01:34:45.488Z",
},
tabActiveDwellTime: 14250,
},
{
type: "http_requests" as OpenWPMType,
httpRequest: {
incognito: 0,
crawl_id: 0,
extension_session_uuid: "ec32bcbd-7fee-4aaf-b36d-0ef56557e4fd",
event_ordinal: 11,
window_id: 3,
tab_id: 1,
frame_id: 0,
request_id: "24",
url: "https://www.iana.org/_css/2015.1/screen.css",
method: "GET",
time_stamp: "2018-11-23T01:34:46.984Z",
referrer: "https://www.iana.org/domains/reserved",
headers:
'[["Host","www.iana.org"],["User-Agent","Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:65.0) Gecko/20100101 Firefox/65.0"],["Accept","text/css,*/*;q=0.1"],["Accept-Language","en-US,en;q=0.5"],["Accept-Encoding","gzip, deflate, br"],["Referer","https://www.iana.org/domains/reserved"],["Connection","keep-alive"]]',
is_XHR: 0,
is_full_page: 1,
is_frame_load: 0,
triggering_origin: "https://www.iana.org",
loading_origin: "https://www.iana.org",
loading_href: "https://www.iana.org/domains/reserved",
resource_type: "stylesheet",
top_level_url: "https://www.iana.org/domains/reserved",
parent_frame_id: -1,
frame_ancestors: "[]",
},
tabActiveDwellTime: 14250,
},
{
type: "http_requests" as OpenWPMType,
httpRequest: {
incognito: 0,
crawl_id: 0,
extension_session_uuid: "ec32bcbd-7fee-4aaf-b36d-0ef56557e4fd",
event_ordinal: 12,
window_id: 3,
tab_id: 1,
frame_id: 0,
request_id: "25",
url: "https://www.iana.org/_css/2015.1/print.css",
method: "GET",
time_stamp: "2018-11-23T01:34:46.985Z",
referrer: "https://www.iana.org/domains/reserved",
headers:
'[["Host","www.iana.org"],["User-Agent","Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:65.0) Gecko/20100101 Firefox/65.0"],["Accept","text/css,*/*;q=0.1"],["Accept-Language","en-US,en;q=0.5"],["Accept-Encoding","gzip, deflate, br"],["Referer","https://www.iana.org/domains/reserved"],["Connection","keep-alive"]]',
is_XHR: 0,
is_full_page: 1,
is_frame_load: 0,
triggering_origin: "https://www.iana.org",
loading_origin: "https://www.iana.org",
loading_href: "https://www.iana.org/domains/reserved",
resource_type: "stylesheet",
top_level_url: "https://www.iana.org/domains/reserved",
parent_frame_id: -1,
frame_ancestors: "[]",
},
tabActiveDwellTime: 14250,
},
{
type: "http_requests" as OpenWPMType,
httpRequest: {
incognito: 0,
crawl_id: 0,
extension_session_uuid: "ec32bcbd-7fee-4aaf-b36d-0ef56557e4fd",
event_ordinal: 13,
window_id: 3,
tab_id: 1,
frame_id: 0,
request_id: "26",
url: "https://www.iana.org/_js/2013.1/jquery.js",
method: "GET",
time_stamp: "2018-11-23T01:34:46.986Z",
referrer: "https://www.iana.org/domains/reserved",
headers:
'[["Host","www.iana.org"],["User-Agent","Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:65.0) Gecko/20100101 Firefox/65.0"],["Accept","*/*"],["Accept-Language","en-US,en;q=0.5"],["Accept-Encoding","gzip, deflate, br"],["Referer","https://www.iana.org/domains/reserved"],["Connection","keep-alive"]]',
is_XHR: 0,
is_full_page: 1,
is_frame_load: 0,
triggering_origin: "https://www.iana.org",
loading_origin: "https://www.iana.org",
loading_href: "https://www.iana.org/domains/reserved",
resource_type: "script",
top_level_url: "https://www.iana.org/domains/reserved",
parent_frame_id: -1,
frame_ancestors: "[]",
},
tabActiveDwellTime: 14250,
},
{
type: "http_requests" as OpenWPMType,
httpRequest: {
incognito: 0,
crawl_id: 0,
extension_session_uuid: "ec32bcbd-7fee-4aaf-b36d-0ef56557e4fd",
event_ordinal: 14,
window_id: 3,
tab_id: 1,
frame_id: 0,
request_id: "27",
url: "https://www.iana.org/_js/2013.1/iana.js",
method: "GET",
time_stamp: "2018-11-23T01:34:46.987Z",
referrer: "https://www.iana.org/domains/reserved",
headers:
'[["Host","www.iana.org"],["User-Agent","Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:65.0) Gecko/20100101 Firefox/65.0"],["Accept","*/*"],["Accept-Language","en-US,en;q=0.5"],["Accept-Encoding","gzip, deflate, br"],["Referer","https://www.iana.org/domains/reserved"],["Connection","keep-alive"]]',
is_XHR: 0,
is_full_page: 1,
is_frame_load: 0,
triggering_origin: "https://www.iana.org",
loading_origin: "https://www.iana.org",
loading_href: "https://www.iana.org/domains/reserved",
resource_type: "script",
top_level_url: "https://www.iana.org/domains/reserved",
parent_frame_id: -1,
frame_ancestors: "[]",
},
tabActiveDwellTime: 14250,
},
{
type: "http_requests" as OpenWPMType,
httpRequest: {
incognito: 0,
crawl_id: 0,
extension_session_uuid: "ec32bcbd-7fee-4aaf-b36d-0ef56557e4fd",
event_ordinal: 15,
window_id: 3,
tab_id: 1,
frame_id: 0,
request_id: "28",
url: "https://www.iana.org/_img/2013.1/iana-logo-header.svg",
method: "GET",
time_stamp: "2018-11-23T01:34:47.001Z",
referrer: "https://www.iana.org/domains/reserved",
headers:
'[["Host","www.iana.org"],["User-Agent","Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:65.0) Gecko/20100101 Firefox/65.0"],["Accept","image/webp,*/*"],["Accept-Language","en-US,en;q=0.5"],["Accept-Encoding","gzip, deflate, br"],["Referer","https://www.iana.org/domains/reserved"],["Connection","keep-alive"]]',
is_XHR: 0,
is_full_page: 1,
is_frame_load: 0,
triggering_origin: "https://www.iana.org",
loading_origin: "https://www.iana.org",
loading_href: "https://www.iana.org/domains/reserved",
resource_type: "image",
top_level_url: "https://www.iana.org/domains/reserved",
parent_frame_id: -1,
frame_ancestors: "[]",
},
tabActiveDwellTime: 14250,
},
{
type: "http_responses" as OpenWPMType,
httpResponse: {
incognito: 0,
crawl_id: 0,
extension_session_uuid: "ec32bcbd-7fee-4aaf-b36d-0ef56557e4fd",
event_ordinal: 16,
window_id: 3,
tab_id: 1,
frame_id: 0,
request_id: "22",
is_cached: 0,
url: "https://www.iana.org/domains/reserved",
method: "GET",
response_status: 200,
response_status_text: "HTTP/1.1 200 OK",
time_stamp: "2018-11-23T01:34:47.127Z",
headers:
'[["Date","Fri, 23 Nov 2018 01:19:53 GMT"],["X-Frame-Options","SAMEORIGIN"],["Referrer-Policy","origin-when-cross-origin"],["Content-Security-Policy","upgrade-insecure-requests"],["Vary","Accept-Encoding"],["Content-Length","3155"],["Content-Encoding","gzip"],["Last-Modified","Tue, 21 Jul 2015 00:49:48 GMT"],["Cache-control","public, s-maxage=900, max-age=7202"],["Expires","Fri, 23 Nov 2018 03:19:53 GMT"],["Content-Type","text/html; charset=UTF-8"],["Server","Apache"],["Strict-Transport-Security","max-age=48211200; preload"],["X-Cache-Hits","131"],["Accept-Ranges","bytes"],["Connection","keep-alive"]]',
location: "",
},
tabActiveDwellTime: 14500,
},
{
type: "http_responses" as OpenWPMType,
httpResponse: {
incognito: 0,
crawl_id: 0,
extension_session_uuid: "ec32bcbd-7fee-4aaf-b36d-0ef56557e4fd",
event_ordinal: 17,
window_id: 3,
tab_id: 1,
frame_id: 0,
request_id: "24",
is_cached: 0,
url: "https://www.iana.org/_css/2015.1/screen.css",
method: "GET",
response_status: 200,
response_status_text: "HTTP/1.1 200 OK",
time_stamp: "2018-11-23T01:34:47.305Z",
headers:
'[["Date","Fri, 23 Nov 2018 01:15:57 GMT"],["X-Frame-Options","SAMEORIGIN"],["Referrer-Policy","origin-when-cross-origin"],["Content-Security-Policy","upgrade-insecure-requests"],["Vary","Accept-Encoding"],["Content-Length","9189"],["Content-Encoding","gzip"],["Last-Modified","Thu, 24 May 2018 19:40:12 GMT"],["Cache-control","public, s-maxage=1800, max-age=7205"],["Expires","Fri, 30 Nov 2018 01:15:57 GMT"],["Content-Type","text/css"],["Server","Apache"],["Strict-Transport-Security","max-age=48211200; preload"],["X-Cache-Hits","169"],["Accept-Ranges","bytes"],["Connection","keep-alive"]]',
location: "",
},
tabActiveDwellTime: 14500,
},
{
type: "http_responses" as OpenWPMType,
httpResponse: {
incognito: 0,
crawl_id: 0,
extension_session_uuid: "ec32bcbd-7fee-4aaf-b36d-0ef56557e4fd",
event_ordinal: 18,
window_id: 3,
tab_id: 1,
frame_id: 0,
request_id: "25",
is_cached: 0,
url: "https://www.iana.org/_css/2015.1/print.css",
method: "GET",
response_status: 200,
response_status_text: "HTTP/1.1 200 OK",
time_stamp: "2018-11-23T01:34:47.554Z",
headers:
'[["Date","Fri, 23 Nov 2018 01:13:22 GMT"],["X-Frame-Options","SAMEORIGIN"],["Referrer-Policy","origin-when-cross-origin"],["Content-Security-Policy","upgrade-insecure-requests"],["Vary","Accept-Encoding"],["Content-Length","7661"],["Content-Encoding","gzip"],["Last-Modified","Sat, 01 Oct 2016 16:44:02 GMT"],["Cache-control","public, s-maxage=1800, max-age=7205"],["Expires","Fri, 30 Nov 2018 01:13:22 GMT"],["Content-Type","text/css"],["Server","Apache"],["Strict-Transport-Security","max-age=48211200; preload"],["X-Cache-Hits","173"],["Accept-Ranges","bytes"],["Connection","keep-alive"]]',
location: "",
},
tabActiveDwellTime: 14750,
},
{
type: "http_responses" as OpenWPMType,
httpResponse: {
incognito: 0,
crawl_id: 0,
extension_session_uuid: "ec32bcbd-7fee-4aaf-b36d-0ef56557e4fd",
event_ordinal: 19,
window_id: 3,
tab_id: 1,
frame_id: 0,
request_id: "27",
is_cached: 0,
url: "https://www.iana.org/_js/2013.1/iana.js",
method: "GET",
response_status: 200,
response_status_text: "HTTP/1.1 200 OK",
time_stamp: "2018-11-23T01:34:47.576Z",
headers:
'[["Date","Thu, 22 Nov 2018 09:27:09 GMT"],["Expires","Thu, 29 Nov 2018 09:27:09 GMT"],["Vary","Accept-Encoding"],["X-Frame-Options","SAMEORIGIN"],["Referrer-Policy","origin-when-cross-origin"],["Content-Security-Policy","upgrade-insecure-requests"],["Last-Modified","Mon, 08 Aug 2016 18:14:43 GMT"],["Cache-control","public, s-maxage=1800, max-age=7205"],["Content-Encoding","gzip"],["Content-Type","application/javascript"],["Server","Apache"],["Strict-Transport-Security","max-age=48211200; preload"],["X-Cache-Hits","13770"],["Accept-Ranges","bytes"],["Content-Length","81"],["Connection","keep-alive"]]',
location: "",
},
tabActiveDwellTime: 14750,
},
{
type: "http_responses" as OpenWPMType,
httpResponse: {
incognito: 0,
crawl_id: 0,
extension_session_uuid: "ec32bcbd-7fee-4aaf-b36d-0ef56557e4fd",
event_ordinal: 20,
window_id: 3,
tab_id: 1,
frame_id: 0,
request_id: "26",
is_cached: 0,
url: "https://www.iana.org/_js/2013.1/jquery.js",
method: "GET",
response_status: 200,
response_status_text: "HTTP/1.1 200 OK",
time_stamp: "2018-11-23T01:34:47.726Z",
headers:
'[["Date","Fri, 23 Nov 2018 01:17:14 GMT"],["X-Frame-Options","SAMEORIGIN"],["Referrer-Policy","origin-when-cross-origin"],["Content-Security-Policy","upgrade-insecure-requests"],["Vary","Accept-Encoding"],["Content-Length","32980"],["Content-Encoding","gzip"],["Last-Modified","Mon, 22 Apr 2013 18:18:55 GMT"],["Cache-control","public, s-maxage=1800, max-age=7205"],["Expires","Fri, 30 Nov 2018 01:17:14 GMT"],["Content-Type","application/javascript"],["Server","Apache"],["Strict-Transport-Security","max-age=48211200; preload"],["X-Cache-Hits","176"],["Accept-Ranges","bytes"],["Connection","keep-alive"]]',
location: "",
},
tabActiveDwellTime: 15000,
},
{
type: "http_requests" as OpenWPMType,
httpRequest: {
incognito: 0,
crawl_id: 0,
extension_session_uuid: "ec32bcbd-7fee-4aaf-b36d-0ef56557e4fd",
event_ordinal: 21,
window_id: 3,
tab_id: 1,
frame_id: 0,
request_id: "29",
url: "https://www.iana.org/_img/2015.1/fonts/NotoSans-Regular.woff",
method: "GET",
time_stamp: "2018-11-23T01:34:47.779Z",
referrer: "https://www.iana.org/_css/2015.1/screen.css",
headers:
'[["Host","www.iana.org"],["User-Agent","Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:65.0) Gecko/20100101 Firefox/65.0"],["Accept","application/font-woff2;q=1.0,application/font-woff;q=0.9,*/*;q=0.8"],["Accept-Language","en-US,en;q=0.5"],["Accept-Encoding","gzip, deflate, br"],["Referer","https://www.iana.org/_css/2015.1/screen.css"],["Connection","keep-alive"]]',
is_XHR: 0,
is_full_page: 1,
is_frame_load: 0,
triggering_origin: "https://www.iana.org",
loading_origin: "https://www.iana.org",
loading_href: "https://www.iana.org/domains/reserved",
resource_type: "font",
top_level_url: "https://www.iana.org/domains/reserved",
parent_frame_id: -1,
frame_ancestors: "[]",
},
tabActiveDwellTime: 15000,
},
{
type: "http_requests" as OpenWPMType,
httpRequest: {
incognito: 0,
crawl_id: 0,
extension_session_uuid: "ec32bcbd-7fee-4aaf-b36d-0ef56557e4fd",
event_ordinal: 22,
window_id: 3,
tab_id: 1,
frame_id: 0,
request_id: "30",
url: "https://www.iana.org/_img/2015.1/fonts/NotoSans-Bold.woff",
method: "GET",
time_stamp: "2018-11-23T01:34:47.789Z",
referrer: "https://www.iana.org/_css/2015.1/screen.css",
headers:
'[["Host","www.iana.org"],["User-Agent","Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:65.0) Gecko/20100101 Firefox/65.0"],["Accept","application/font-woff2;q=1.0,application/font-woff;q=0.9,*/*;q=0.8"],["Accept-Language","en-US,en;q=0.5"],["Accept-Encoding","gzip, deflate, br"],["Referer","https://www.iana.org/_css/2015.1/screen.css"],["Connection","keep-alive"]]',
is_XHR: 0,
is_full_page: 1,
is_frame_load: 0,
triggering_origin: "https://www.iana.org",
loading_origin: "https://www.iana.org",
loading_href: "https://www.iana.org/domains/reserved",
resource_type: "font",
top_level_url: "https://www.iana.org/domains/reserved",
parent_frame_id: -1,
frame_ancestors: "[]",
},
tabActiveDwellTime: 15000,
},
{
type: "http_requests" as OpenWPMType,
httpRequest: {
incognito: 0,
crawl_id: 0,
extension_session_uuid: "ec32bcbd-7fee-4aaf-b36d-0ef56557e4fd",
event_ordinal: 23,
window_id: 3,
tab_id: 1,
frame_id: 0,
request_id: "31",
url: "https://www.iana.org/_img/2015.1/fonts/SourceCodePro-Regular.woff",
method: "GET",
time_stamp: "2018-11-23T01:34:47.794Z",
referrer: "https://www.iana.org/_css/2015.1/screen.css",
headers:
'[["Host","www.iana.org"],["User-Agent","Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:65.0) Gecko/20100101 Firefox/65.0"],["Accept","application/font-woff2;q=1.0,application/font-woff;q=0.9,*/*;q=0.8"],["Accept-Language","en-US,en;q=0.5"],["Accept-Encoding","gzip, deflate, br"],["Referer","https://www.iana.org/_css/2015.1/screen.css"],["Connection","keep-alive"]]',
is_XHR: 0,
is_full_page: 1,
is_frame_load: 0,
triggering_origin: "https://www.iana.org",
loading_origin: "https://www.iana.org",
loading_href: "https://www.iana.org/domains/reserved",
resource_type: "font",
top_level_url: "https://www.iana.org/domains/reserved",
parent_frame_id: -1,
frame_ancestors: "[]",
},
tabActiveDwellTime: 15000,
},
{
type: "http_responses" as OpenWPMType,
httpResponse: {
incognito: 0,
crawl_id: 0,
extension_session_uuid: "ec32bcbd-7fee-4aaf-b36d-0ef56557e4fd",
event_ordinal: 24,
window_id: 3,
tab_id: 1,
frame_id: 0,
request_id: "28",
is_cached: 0,
url: "https://www.iana.org/_img/2013.1/iana-logo-header.svg",
method: "GET",
response_status: 200,
response_status_text: "HTTP/1.1 200 OK",
time_stamp: "2018-11-23T01:34:48.073Z",
headers:
'[["Date","Thu, 22 Nov 2018 10:12:40 GMT"],["Last-Modified","Fri, 04 Jan 2013 01:17:14 GMT"],["Vary","Accept-Encoding"],["Expires","Thu, 29 Nov 2018 10:12:40 GMT"],["X-Frame-Options","SAMEORIGIN"],["Referrer-Policy","origin-when-cross-origin"],["Content-Security-Policy","upgrade-insecure-requests"],["Content-Length","32870"],["Content-Type","image/svg+xml"],["Server","Apache"],["Strict-Transport-Security","max-age=48211200; preload"],["X-Cache-Hits","10380"],["Accept-Ranges","bytes"],["Connection","keep-alive"]]',
location: "",
},
tabActiveDwellTime: 15250,
},
{
type: "http_requests" as OpenWPMType,
httpRequest: {
incognito: 0,
crawl_id: 0,
extension_session_uuid: "ec32bcbd-7fee-4aaf-b36d-0ef56557e4fd",
event_ordinal: 25,
window_id: 3,
tab_id: 1,
frame_id: 0,
request_id: "32",
url: "https://www.iana.org/_img/bookmark_icon.ico",
method: "GET",
time_stamp: "2018-11-23T01:34:48.375Z",
referrer: "",
headers:
'[["Host","www.iana.org"],["User-Agent","Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:65.0) Gecko/20100101 Firefox/65.0"],["Accept","text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8"],["Accept-Language","en-US,en;q=0.5"],["Accept-Encoding","gzip, deflate, br"],["Connection","keep-alive"]]',
is_XHR: 0,
is_full_page: 1,
is_frame_load: 0,
triggering_origin: "https://www.iana.org",
loading_origin: "https://www.iana.org",
loading_href: "https://www.iana.org/domains/reserved",
resource_type: "image",
top_level_url: "https://www.iana.org/domains/reserved",
parent_frame_id: -1,
frame_ancestors: "[]",
},
tabActiveDwellTime: 15500,
},
{
type: "http_responses" as OpenWPMType,
httpResponse: {
incognito: 0,
crawl_id: 0,
extension_session_uuid: "ec32bcbd-7fee-4aaf-b36d-0ef56557e4fd",
event_ordinal: 26,
window_id: 3,
tab_id: 1,
frame_id: 0,
request_id: "31",
is_cached: 0,
url: "https://www.iana.org/_img/2015.1/fonts/SourceCodePro-Regular.woff",
method: "GET",
response_status: 200,
response_status_text: "HTTP/1.1 200 OK",
time_stamp: "2018-11-23T01:34:48.500Z",
headers:
'[["Date","Thu, 22 Nov 2018 16:29:13 GMT"],["Last-Modified","Wed, 26 Aug 2015 00:25:13 GMT"],["Vary","Accept-Encoding"],["Expires","Thu, 29 Nov 2018 16:29:13 GMT"],["X-Frame-Options","SAMEORIGIN"],["Referrer-Policy","origin-when-cross-origin"],["Content-Security-Policy","upgrade-insecure-requests"],["Content-Length","89024"],["Content-Type","application/font-woff"],["Server","Apache"],["Strict-Transport-Security","max-age=48211200; preload"],["X-Cache-Hits","6467"],["Accept-Ranges","bytes"],["Connection","keep-alive"]]',
location: "",
},
tabActiveDwellTime: 15750,
},
{
type: "http_responses" as OpenWPMType,
httpResponse: {
incognito: 0,
crawl_id: 0,
extension_session_uuid: "ec32bcbd-7fee-4aaf-b36d-0ef56557e4fd",
event_ordinal: 27,
window_id: 3,
tab_id: 1,
frame_id: 0,
request_id: "29",
is_cached: 0,
url: "https://www.iana.org/_img/2015.1/fonts/NotoSans-Regular.woff",
method: "GET",
response_status: 200,
response_status_text: "HTTP/1.1 200 OK",
time_stamp: "2018-11-23T01:34:48.657Z",
headers:
'[["Date","Thu, 22 Nov 2018 10:12:51 GMT"],["Last-Modified","Wed, 26 Aug 2015 00:25:13 GMT"],["Vary","Accept-Encoding"],["Expires","Thu, 29 Nov 2018 10:12:51 GMT"],["X-Frame-Options","SAMEORIGIN"],["Referrer-Policy","origin-when-cross-origin"],["Content-Security-Policy","upgrade-insecure-requests"],["Content-Length","157504"],["Content-Type","application/font-woff"],["Server","Apache"],["Strict-Transport-Security","max-age=48211200; preload"],["X-Cache-Hits","9494"],["Accept-Ranges","bytes"],["Connection","keep-alive"]]',
location: "",
},
tabActiveDwellTime: 16000,
},
{
type: "http_responses" as OpenWPMType,
httpResponse: {
incognito: 0,
crawl_id: 0,
extension_session_uuid: "ec32bcbd-7fee-4aaf-b36d-0ef56557e4fd",
event_ordinal: 28,
window_id: 3,
tab_id: 1,
frame_id: 0,
request_id: "30",
is_cached: 0,
url: "https://www.iana.org/_img/2015.1/fonts/NotoSans-Bold.woff",
method: "GET",
response_status: 200,
response_status_text: "HTTP/1.1 200 OK",
time_stamp: "2018-11-23T01:34:48.670Z",
headers:
'[["Date","Thu, 22 Nov 2018 18:11:54 GMT"],["Expires","Thu, 29 Nov 2018 18:11:54 GMT"],["Vary","Accept-Encoding"],["X-Frame-Options","SAMEORIGIN"],["Referrer-Policy","origin-when-cross-origin"],["Content-Security-Policy","upgrade-insecure-requests"],["Last-Modified","Wed, 26 Aug 2015 00:25:13 GMT"],["Cache-control","public, s-maxage=1800, max-age=7205"],["Content-Type","application/font-woff"],["Server","Apache"],["Strict-Transport-Security","max-age=48211200; preload"],["X-Cache-Hits","5123"],["Accept-Ranges","bytes"],["Content-Length","156596"],["Connection","keep-alive"]]',
location: "",
},
tabActiveDwellTime: 16000,
},
{
type: "http_responses" as OpenWPMType,
httpResponse: {
incognito: 0,
crawl_id: 0,
extension_session_uuid: "ec32bcbd-7fee-4aaf-b36d-0ef56557e4fd",
event_ordinal: 29,
window_id: 3,
tab_id: 1,
frame_id: 0,
request_id: "32",
is_cached: 0,
url: "https://www.iana.org/_img/bookmark_icon.ico",
method: "GET",
response_status: 200,
response_status_text: "HTTP/1.1 200 OK",
time_stamp: "2018-11-23T01:34:48.729Z",
headers:
'[["Date","Fri, 23 Nov 2018 01:17:38 GMT"],["X-Frame-Options","SAMEORIGIN"],["Referrer-Policy","origin-when-cross-origin"],["Content-Security-Policy","upgrade-insecure-requests"],["Vary","Accept-Encoding"],["Content-Length","4426"],["Content-Encoding","gzip"],["Last-Modified","Fri, 04 Jan 2013 01:17:14 GMT"],["Cache-control","public, s-maxage=1800, max-age=7205"],["Expires","Fri, 30 Nov 2018 01:17:38 GMT"],["Content-Type","image/vnd.microsoft.icon"],["Server","Apache"],["Strict-Transport-Security","max-age=48211200; preload"],["X-Cache-Hits","108"],["Accept-Ranges","bytes"],["Connection","keep-alive"]]',
location: "",
},
tabActiveDwellTime: 16000,
},
];

Просмотреть файл

@ -0,0 +1,137 @@
import { OpenWPMType, StudyPayloadEnvelope } from "../StudyPayloadPreprocessor";
export const exampleDotComVisitQueue: StudyPayloadEnvelope[] = [
{
type: "http_requests" as OpenWPMType,
httpRequest: {
incognito: 0,
crawl_id: 0,
extension_session_uuid: "ec32bcbd-7fee-4aaf-b36d-0ef56557e4fd",
event_ordinal: 1,
window_id: 3,
tab_id: 1,
frame_id: 0,
request_id: "20",
url: "http://example.com/",
method: "GET",
time_stamp: "2018-11-23T01:34:40.487Z",
referrer: "",
headers:
'[["Host","example.com"],["User-Agent","Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:65.0) Gecko/20100101 Firefox/65.0"],["Accept","text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8"],["Accept-Language","en-US,en;q=0.5"],["Accept-Encoding","gzip, deflate"],["Connection","keep-alive"],["Upgrade-Insecure-Requests","1"]]',
is_XHR: 0,
is_full_page: 1,
is_frame_load: 0,
triggering_origin: "undefined",
loading_origin: "undefined",
loading_href: "undefined",
resource_type: "main_frame",
top_level_url: "about:blank",
parent_frame_id: -1,
frame_ancestors: "[]",
},
tabActiveDwellTime: 7750,
},
{
type: "navigations" as OpenWPMType,
navigation: {
crawl_id: 0,
incognito: 0,
extension_session_uuid: "ec32bcbd-7fee-4aaf-b36d-0ef56557e4fd",
window_id: 3,
tab_id: 1,
frame_id: 0,
window_width: 1280,
window_height: 946,
window_type: "normal",
tab_width: 1280,
tab_height: 872,
tab_cookie_store_id: "firefox-default",
uuid: "290cb5b2-828c-4eec-9626-69463b7b4d05",
url: "http://example.com/",
transition_qualifiers: '["from_address_bar"]',
transition_type: "typed",
committed_event_ordinal: 2,
committed_time_stamp: "2018-11-23T01:34:40.769Z",
parent_frame_id: -1,
before_navigate_event_ordinal: 0,
before_navigate_time_stamp: "2018-11-23T01:34:40.475Z",
},
tabActiveDwellTime: 8250,
},
{
type: "http_responses" as OpenWPMType,
httpResponse: {
incognito: 0,
crawl_id: 0,
extension_session_uuid: "ec32bcbd-7fee-4aaf-b36d-0ef56557e4fd",
event_ordinal: 3,
window_id: 3,
tab_id: 1,
frame_id: 0,
request_id: "20",
is_cached: 0,
url: "http://example.com/",
method: "GET",
response_status: 200,
response_status_text: "HTTP/1.1 200 OK",
time_stamp: "2018-11-23T01:34:40.765Z",
headers:
'[["Content-Encoding","gzip"],["Accept-Ranges","bytes"],["Cache-Control","max-age=604800"],["Content-Type","text/html; charset=UTF-8"],["Date","Fri, 23 Nov 2018 01:34:40 GMT"],["Etag","\\"1541025663\\""],["Expires","Fri, 30 Nov 2018 01:34:40 GMT"],["Last-Modified","Fri, 09 Aug 2013 23:54:35 GMT"],["Server","ECS (lga/1390)"],["Vary","Accept-Encoding"],["X-Cache","HIT"],["Content-Length","606"]]',
location: "",
},
tabActiveDwellTime: 8250,
},
{
type: "http_requests" as OpenWPMType,
httpRequest: {
incognito: 0,
crawl_id: 0,
extension_session_uuid: "ec32bcbd-7fee-4aaf-b36d-0ef56557e4fd",
event_ordinal: 4,
window_id: 3,
tab_id: 1,
frame_id: 0,
request_id: "21",
url: "http://example.com/favicon.ico",
method: "GET",
time_stamp: "2018-11-23T01:34:40.846Z",
referrer: "",
headers:
'[["Host","example.com"],["User-Agent","Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:65.0) Gecko/20100101 Firefox/65.0"],["Accept","text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8"],["Accept-Language","en-US,en;q=0.5"],["Accept-Encoding","gzip, deflate"],["Connection","keep-alive"]]',
is_XHR: 0,
is_full_page: 1,
is_frame_load: 0,
triggering_origin: "http://example.com",
loading_origin: "http://example.com",
loading_href: "http://example.com/",
resource_type: "image",
top_level_url: "http://example.com/",
parent_frame_id: -1,
frame_ancestors: "[]",
},
tabActiveDwellTime: 8250,
},
{
type: "http_responses" as OpenWPMType,
httpResponse: {
incognito: 0,
crawl_id: 0,
extension_session_uuid: "ec32bcbd-7fee-4aaf-b36d-0ef56557e4fd",
event_ordinal: 5,
window_id: 3,
tab_id: 1,
frame_id: 0,
request_id: "21",
is_cached: 0,
url: "http://example.com/favicon.ico",
method: "GET",
response_status: 404,
response_status_text: "HTTP/1.1 404 Not Found",
time_stamp: "2018-11-23T01:34:40.982Z",
headers:
'[["Content-Encoding","gzip"],["Accept-Ranges","bytes"],["Cache-Control","max-age=604800"],["Content-Type","text/html; charset=UTF-8"],["Date","Fri, 23 Nov 2018 01:34:40 GMT"],["Expires","Fri, 30 Nov 2018 01:34:40 GMT"],["Last-Modified","Fri, 16 Nov 2018 21:05:05 GMT"],["Server","ECS (lga/1391)"],["Vary","Accept-Encoding"],["X-Cache","404-HIT"],["Content-Length","606"]]',
location: "",
},
tabActiveDwellTime: 8250,
},
];

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Просмотреть файл

@ -0,0 +1,463 @@
import { StudyPayloadEnvelope } from "../StudyPayloadPreprocessor";
export const openwpmTestPagesCanvasFingerprintingQueue: StudyPayloadEnvelope[] = [
{
type: "navigations",
navigation: {
crawl_id: 0,
incognito: 0,
extension_session_uuid: "d727c793-9e31-49ab-a228-0adcbdb51e91",
window_id: 3,
tab_id: 1,
frame_id: 0,
window_width: 840,
window_height: 1027,
window_type: "normal",
tab_width: 840,
tab_height: 953,
tab_cookie_store_id: "firefox-default",
uuid: "48346996-68f2-449c-be85-2202f957e75b",
url: "http://localtest.me:8000/test_pages/canvas_fingerprinting.html",
transition_qualifiers: '["from_address_bar"]',
transition_type: "typed",
committed_event_ordinal: 1,
committed_time_stamp: "2018-11-26T14:11:51.781Z",
parent_frame_id: -1,
before_navigate_event_ordinal: 0,
before_navigate_time_stamp: "2018-11-26T14:11:51.759Z",
},
tabActiveDwellTime: 14000,
},
{
type: "http_requests",
httpRequest: {
incognito: 0,
crawl_id: 0,
extension_session_uuid: "d727c793-9e31-49ab-a228-0adcbdb51e91",
event_ordinal: 2,
window_id: 3,
tab_id: 1,
frame_id: 0,
request_id: "19",
url: "http://localtest.me:8000/test_pages/canvas_fingerprinting.html",
method: "GET",
time_stamp: "2018-11-26T14:11:51.768Z",
referrer: "",
headers:
'[["Host","localtest.me:8000"],["User-Agent","Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:65.0) Gecko/20100101 Firefox/65.0"],["Accept","text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8"],["Accept-Language","en-US,en;q=0.5"],["Accept-Encoding","gzip, deflate"],["Connection","keep-alive"],["Upgrade-Insecure-Requests","1"]]',
is_XHR: 0,
is_full_page: 1,
is_frame_load: 0,
triggering_origin: "undefined",
loading_origin: "undefined",
loading_href: "undefined",
resource_type: "main_frame",
top_level_url:
"http://localtest.me:8000/test_pages/canvas_fingerprinting.html",
parent_frame_id: -1,
frame_ancestors: "[]",
},
tabActiveDwellTime: 14000,
},
{
type: "http_responses",
httpResponse: {
incognito: 0,
crawl_id: 0,
extension_session_uuid: "d727c793-9e31-49ab-a228-0adcbdb51e91",
event_ordinal: 3,
window_id: 3,
tab_id: 1,
frame_id: 0,
request_id: "19",
is_cached: 0,
url: "http://localtest.me:8000/test_pages/canvas_fingerprinting.html",
method: "GET",
response_status: 200,
response_status_text: "HTTP/1.0 200 OK",
time_stamp: "2018-11-26T14:11:51.776Z",
headers:
'[["Server","SimpleHTTP/0.6 Python/2.7.10"],["Date","Mon, 26 Nov 2018 14:11:51 GMT"],["Content-type","text/html"],["Content-Length","995"],["Last-Modified","Mon, 26 Nov 2018 13:58:31 GMT"]]',
location: "",
},
tabActiveDwellTime: 14000,
},
{
type: "javascript",
javascriptOperation: {
crawl_id: 0,
extension_session_uuid: "d727c793-9e31-49ab-a228-0adcbdb51e91",
event_ordinal: 4,
page_scoped_event_ordinal: 0,
window_id: 3,
tab_id: 1,
frame_id: 0,
script_url:
"http://localtest.me:8000/test_pages/canvas_fingerprinting.html",
script_line: "16",
script_col: "11",
func_name: "",
script_loc_eval: "",
call_stack: "",
symbol: "HTMLCanvasElement.getContext",
operation: "call",
value: "",
time_stamp: "2018-11-26T14:11:51.919Z",
incognito: 0,
document_url:
"http://localtest.me:8000/test_pages/canvas_fingerprinting.html",
top_level_url:
"http://localtest.me:8000/test_pages/canvas_fingerprinting.html",
arguments: '["2d"]',
},
tabActiveDwellTime: 14250,
},
{
type: "javascript",
javascriptOperation: {
crawl_id: 0,
extension_session_uuid: "d727c793-9e31-49ab-a228-0adcbdb51e91",
event_ordinal: 5,
page_scoped_event_ordinal: 1,
window_id: 3,
tab_id: 1,
frame_id: 0,
script_url:
"http://localtest.me:8000/test_pages/canvas_fingerprinting.html",
script_line: "17",
script_col: "1",
func_name: "",
script_loc_eval: "",
call_stack: "",
symbol: "CanvasRenderingContext2D.textBaseline",
operation: "set",
value: "top",
time_stamp: "2018-11-26T14:11:51.923Z",
incognito: 0,
document_url:
"http://localtest.me:8000/test_pages/canvas_fingerprinting.html",
top_level_url:
"http://localtest.me:8000/test_pages/canvas_fingerprinting.html",
},
tabActiveDwellTime: 14250,
},
{
type: "javascript",
javascriptOperation: {
crawl_id: 0,
extension_session_uuid: "d727c793-9e31-49ab-a228-0adcbdb51e91",
event_ordinal: 6,
page_scoped_event_ordinal: 2,
window_id: 3,
tab_id: 1,
frame_id: 0,
script_url:
"http://localtest.me:8000/test_pages/canvas_fingerprinting.html",
script_line: "19",
script_col: "1",
func_name: "",
script_loc_eval: "",
call_stack: "",
symbol: "CanvasRenderingContext2D.font",
operation: "set",
value: "14px 'Arial'",
time_stamp: "2018-11-26T14:11:51.923Z",
incognito: 0,
document_url:
"http://localtest.me:8000/test_pages/canvas_fingerprinting.html",
top_level_url:
"http://localtest.me:8000/test_pages/canvas_fingerprinting.html",
},
tabActiveDwellTime: 14250,
},
{
type: "javascript",
javascriptOperation: {
crawl_id: 0,
extension_session_uuid: "d727c793-9e31-49ab-a228-0adcbdb51e91",
event_ordinal: 7,
page_scoped_event_ordinal: 3,
window_id: 3,
tab_id: 1,
frame_id: 0,
script_url:
"http://localtest.me:8000/test_pages/canvas_fingerprinting.html",
script_line: "20",
script_col: "1",
func_name: "",
script_loc_eval: "",
call_stack: "",
symbol: "CanvasRenderingContext2D.textBaseline",
operation: "set",
value: "alphabetic",
time_stamp: "2018-11-26T14:11:51.924Z",
incognito: 0,
document_url:
"http://localtest.me:8000/test_pages/canvas_fingerprinting.html",
top_level_url:
"http://localtest.me:8000/test_pages/canvas_fingerprinting.html",
},
tabActiveDwellTime: 14250,
},
{
type: "javascript",
javascriptOperation: {
crawl_id: 0,
extension_session_uuid: "d727c793-9e31-49ab-a228-0adcbdb51e91",
event_ordinal: 8,
page_scoped_event_ordinal: 4,
window_id: 3,
tab_id: 1,
frame_id: 0,
script_url:
"http://localtest.me:8000/test_pages/canvas_fingerprinting.html",
script_line: "21",
script_col: "1",
func_name: "",
script_loc_eval: "",
call_stack: "",
symbol: "CanvasRenderingContext2D.fillStyle",
operation: "set",
value: "#f60",
time_stamp: "2018-11-26T14:11:51.924Z",
incognito: 0,
document_url:
"http://localtest.me:8000/test_pages/canvas_fingerprinting.html",
top_level_url:
"http://localtest.me:8000/test_pages/canvas_fingerprinting.html",
},
tabActiveDwellTime: 14250,
},
{
type: "javascript",
javascriptOperation: {
crawl_id: 0,
extension_session_uuid: "d727c793-9e31-49ab-a228-0adcbdb51e91",
event_ordinal: 9,
page_scoped_event_ordinal: 5,
window_id: 3,
tab_id: 1,
frame_id: 0,
script_url:
"http://localtest.me:8000/test_pages/canvas_fingerprinting.html",
script_line: "22",
script_col: "1",
func_name: "",
script_loc_eval: "",
call_stack: "",
symbol: "CanvasRenderingContext2D.fillRect",
operation: "call",
value: "",
time_stamp: "2018-11-26T14:11:51.924Z",
incognito: 0,
document_url:
"http://localtest.me:8000/test_pages/canvas_fingerprinting.html",
top_level_url:
"http://localtest.me:8000/test_pages/canvas_fingerprinting.html",
arguments: "[125,1,62,20]",
},
tabActiveDwellTime: 14250,
},
{
type: "javascript",
javascriptOperation: {
crawl_id: 0,
extension_session_uuid: "d727c793-9e31-49ab-a228-0adcbdb51e91",
event_ordinal: 10,
page_scoped_event_ordinal: 6,
window_id: 3,
tab_id: 1,
frame_id: 0,
script_url:
"http://localtest.me:8000/test_pages/canvas_fingerprinting.html",
script_line: "24",
script_col: "1",
func_name: "",
script_loc_eval: "",
call_stack: "",
symbol: "CanvasRenderingContext2D.fillStyle",
operation: "set",
value: "#069",
time_stamp: "2018-11-26T14:11:51.925Z",
incognito: 0,
document_url:
"http://localtest.me:8000/test_pages/canvas_fingerprinting.html",
top_level_url:
"http://localtest.me:8000/test_pages/canvas_fingerprinting.html",
},
tabActiveDwellTime: 14250,
},
{
type: "javascript",
javascriptOperation: {
crawl_id: 0,
extension_session_uuid: "d727c793-9e31-49ab-a228-0adcbdb51e91",
event_ordinal: 11,
page_scoped_event_ordinal: 7,
window_id: 3,
tab_id: 1,
frame_id: 0,
script_url:
"http://localtest.me:8000/test_pages/canvas_fingerprinting.html",
script_line: "25",
script_col: "1",
func_name: "",
script_loc_eval: "",
call_stack: "",
symbol: "CanvasRenderingContext2D.fillText",
operation: "call",
value: "",
time_stamp: "2018-11-26T14:11:51.925Z",
incognito: 0,
document_url:
"http://localtest.me:8000/test_pages/canvas_fingerprinting.html",
top_level_url:
"http://localtest.me:8000/test_pages/canvas_fingerprinting.html",
arguments: '["BrowserLeaks,com <canvas> 1.0",2,15]',
},
tabActiveDwellTime: 14250,
},
{
type: "javascript",
javascriptOperation: {
crawl_id: 0,
extension_session_uuid: "d727c793-9e31-49ab-a228-0adcbdb51e91",
event_ordinal: 12,
page_scoped_event_ordinal: 8,
window_id: 3,
tab_id: 1,
frame_id: 0,
script_url:
"http://localtest.me:8000/test_pages/canvas_fingerprinting.html",
script_line: "26",
script_col: "1",
func_name: "",
script_loc_eval: "",
call_stack: "",
symbol: "CanvasRenderingContext2D.fillStyle",
operation: "set",
value: "rgba(102, 204, 0, 0.7)",
time_stamp: "2018-11-26T14:11:51.925Z",
incognito: 0,
document_url:
"http://localtest.me:8000/test_pages/canvas_fingerprinting.html",
top_level_url:
"http://localtest.me:8000/test_pages/canvas_fingerprinting.html",
},
tabActiveDwellTime: 14250,
},
{
type: "javascript",
javascriptOperation: {
crawl_id: 0,
extension_session_uuid: "d727c793-9e31-49ab-a228-0adcbdb51e91",
event_ordinal: 13,
page_scoped_event_ordinal: 9,
window_id: 3,
tab_id: 1,
frame_id: 0,
script_url:
"http://localtest.me:8000/test_pages/canvas_fingerprinting.html",
script_line: "27",
script_col: "1",
func_name: "",
script_loc_eval: "",
call_stack: "",
symbol: "CanvasRenderingContext2D.fillText",
operation: "call",
value: "",
time_stamp: "2018-11-26T14:11:51.925Z",
incognito: 0,
document_url:
"http://localtest.me:8000/test_pages/canvas_fingerprinting.html",
top_level_url:
"http://localtest.me:8000/test_pages/canvas_fingerprinting.html",
arguments: '["BrowserLeaks,com <canvas> 1.0",4,17]',
},
tabActiveDwellTime: 14250,
},
{
type: "javascript",
javascriptOperation: {
crawl_id: 0,
extension_session_uuid: "d727c793-9e31-49ab-a228-0adcbdb51e91",
event_ordinal: 14,
page_scoped_event_ordinal: 10,
window_id: 3,
tab_id: 1,
frame_id: 0,
script_url:
"http://localtest.me:8000/test_pages/canvas_fingerprinting.html",
script_line: "29",
script_col: "17",
func_name: "",
script_loc_eval: "",
call_stack: "",
symbol: "HTMLCanvasElement.toDataURL",
operation: "call",
value: "",
time_stamp: "2018-11-26T14:11:51.927Z",
incognito: 0,
document_url:
"http://localtest.me:8000/test_pages/canvas_fingerprinting.html",
top_level_url:
"http://localtest.me:8000/test_pages/canvas_fingerprinting.html",
},
tabActiveDwellTime: 14250,
},
{
type: "http_requests",
httpRequest: {
incognito: 0,
crawl_id: 0,
extension_session_uuid: "d727c793-9e31-49ab-a228-0adcbdb51e91",
event_ordinal: 15,
window_id: 3,
tab_id: 1,
frame_id: 0,
request_id: "20",
url: "http://localtest.me:8000/favicon.ico",
method: "GET",
time_stamp: "2018-11-26T14:11:51.911Z",
referrer: "",
headers:
'[["Host","localtest.me:8000"],["User-Agent","Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:65.0) Gecko/20100101 Firefox/65.0"],["Accept","text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8"],["Accept-Language","en-US,en;q=0.5"],["Accept-Encoding","gzip, deflate"],["Connection","keep-alive"]]',
is_XHR: 0,
is_full_page: 1,
is_frame_load: 0,
triggering_origin: "http://localtest.me:8000",
loading_origin: "http://localtest.me:8000",
loading_href:
"http://localtest.me:8000/test_pages/canvas_fingerprinting.html",
resource_type: "image",
top_level_url:
"http://localtest.me:8000/test_pages/canvas_fingerprinting.html",
parent_frame_id: -1,
frame_ancestors: "[]",
},
tabActiveDwellTime: 14250,
},
{
type: "http_responses",
httpResponse: {
incognito: 0,
crawl_id: 0,
extension_session_uuid: "d727c793-9e31-49ab-a228-0adcbdb51e91",
event_ordinal: 16,
window_id: 3,
tab_id: 1,
frame_id: 0,
request_id: "20",
is_cached: 0,
url: "http://localtest.me:8000/favicon.ico",
method: "GET",
response_status: 404,
response_status_text: "HTTP/1.0 404 File not found",
time_stamp: "2018-11-26T14:11:51.949Z",
headers:
'[["Server","SimpleHTTP/0.6 Python/2.7.10"],["Date","Mon, 26 Nov 2018 14:11:51 GMT"],["Content-Type","text/html"],["Connection","close"]]',
location: "",
},
tabActiveDwellTime: 14250,
},
];

Различия файлов скрыты, потому что одна или несколько строк слишком длинны