var testCase = {};
testCase.tickOffset = '1337911098446';
testCase.logCreationTime = 1338864634013;
+ testCase.loadFlags = LoadFlag.MAIN_FRAME | LoadFlag.MAYBE_USER_GESTURE |
+ LoadFlag.VERIFY_EV_CERT;
testCase.logEntries = [
{
},
{
'params': {
- 'load_flags': 68222976,
+ 'load_flags': testCase.loadFlags,
'method': 'GET',
'priority': 4,
'url': 'http://www.google.com/'
},
{
'params': {
- 'load_flags': 68222976,
+ 'load_flags': testCase.loadFlags,
'method': 'GET',
'priority': 4,
'url': 'http://www.google.com/'
testCase.expectedText =
't=1338864633224 [st= 0] +REQUEST_ALIVE [dt=789]\n' +
't=1338864633238 [st= 14] URL_REQUEST_START_JOB [dt=8]\n' +
-' --> load_flags = 68222976 ' +
- '(MAIN_FRAME | MAYBE_USER_GESTURE ' +
+' --> load_flags = ' +
+ testCase.loadFlags.toString() +
+ ' (MAIN_FRAME | MAYBE_USER_GESTURE ' +
'| VERIFY_EV_CERT)\n' +
' --> method = "GET"\n' +
' --> priority = 4\n' +
' --> url = "http://www.google.com/"\n' +
't=1338864633248 [st= 24] +URL_REQUEST_START_JOB [dt=279]\n' +
-' --> load_flags = 68222976 ' +
- '(MAIN_FRAME | MAYBE_USER_GESTURE ' +
+' --> load_flags = ' +
+ testCase.loadFlags.toString() +
+ ' (MAIN_FRAME | MAYBE_USER_GESTURE ' +
'| VERIFY_EV_CERT)\n' +
' --> method = "GET"\n' +
' --> priority = 4\n' +
function painterTestNetError() {
var testCase = {};
testCase.tickOffset = '1337911098446';
+ testCase.loadFlags = LoadFlag.MAIN_FRAME | LoadFlag.MAYBE_USER_GESTURE |
+ LoadFlag.VERIFY_EV_CERT;
testCase.logEntries = [
{
},
{
'params': {
- 'load_flags': 68222976,
+ 'load_flags': testCase.loadFlags,
'method': 'GET',
'priority': 4,
'url': 'http://www.doesnotexistdomain.com/'
},
{
'params': {
- 'load_flags': 68222976,
+ 'load_flags': testCase.loadFlags,
'method': 'GET',
'priority': 4,
'url': 'http://www.doesnotexistdomain.com/'
testCase.expectedText =
't=1338864773894 [st= 0] +REQUEST_ALIVE [dt=475]\n' +
't=1338864773901 [st= 7] URL_REQUEST_START_JOB [dt=5]\n' +
-' --> load_flags = 68222976 (' +
- 'MAIN_FRAME | MAYBE_USER_GESTURE ' +
+' --> load_flags = ' +
+ testCase.loadFlags.toString() +
+ ' (MAIN_FRAME | MAYBE_USER_GESTURE ' +
'| VERIFY_EV_CERT)\n' +
' --> method = "GET"\n' +
' --> priority = 4\n' +
' --> url = "http://www.doesnotexistdomain.com/"\n' +
't=1338864773906 [st= 12] +URL_REQUEST_START_JOB [dt=245]\n' +
-' --> load_flags = 68222976 (' +
- 'MAIN_FRAME | MAYBE_USER_GESTURE ' +
+' --> load_flags = ' +
+ testCase.loadFlags.toString() +
+ ' (MAIN_FRAME | MAYBE_USER_GESTURE ' +
'| VERIFY_EV_CERT)\n' +
' --> method = "GET"\n' +
' --> priority = 4\n' +
function painterTestInProgressURLRequest() {
var testCase = {};
testCase.tickOffset = '1337911098446';
+ testCase.loadFlags = LoadFlag.MAIN_FRAME | LoadFlag.MAYBE_USER_GESTURE |
+ LoadFlag.VERIFY_EV_CERT;
testCase.logEntries = [
{
'params': {
- 'load_flags': 68222976,
+ 'load_flags': testCase.loadFlags,
'load_state': LoadState.READING_RESPONSE,
'method': 'GET',
'url': 'http://www.MagicPonyShopper.com'
testCase.expectedText =
't=1338864773994 [st= 0] +REQUEST_ALIVE [dt=375]\n' +
-' --> load_flags = 68222976 ' +
- '(MAIN_FRAME | MAYBE_USER_GESTURE ' +
+' --> load_flags = ' +
+ testCase.loadFlags.toString() +
+ ' (MAIN_FRAME | MAYBE_USER_GESTURE ' +
'| VERIFY_EV_CERT)\n' +
' --> load_state = ' + LoadState.READING_RESPONSE +
' (READING_RESPONSE)\n' +