103 lines
3.3 KiB
JSON
103 lines
3.3 KiB
JSON
{
|
|
"schemaVersion": 1,
|
|
"task": "M13-01E",
|
|
"operation": "SCRIPT_TEXT_SAVE_REOPEN",
|
|
"source": {
|
|
"fixtureSha256": "2b8fbdb05419e1e61d64777998d6a3b2562f726c17f548cd1852efc723e1a037",
|
|
"fixtureBytes": 490191
|
|
},
|
|
"before": {
|
|
"schemaVersion": 1,
|
|
"sources": [
|
|
{
|
|
"byteLength": 29,
|
|
"errorCode": "SCRIPT_SANDBOX_UNAVAILABLE",
|
|
"executionStatus": "BLOCKED",
|
|
"id": "text:ExternalProject.py",
|
|
"internal": false,
|
|
"lineCount": 2,
|
|
"moduleAutorunRequested": false,
|
|
"name": "ExternalProject.py",
|
|
"readOnly": true,
|
|
"source": "message = 'project relative'\n",
|
|
"sourcePath": "//scripts/external_project.py",
|
|
"sourceSha256": "1332a556fa4a8c0d55c6661931bcc7c3cd79a193bab5e34c8b060cf97fec6a96"
|
|
},
|
|
{
|
|
"byteLength": 23,
|
|
"errorCode": "SCRIPT_SANDBOX_UNAVAILABLE",
|
|
"executionStatus": "BLOCKED",
|
|
"id": "text:InternalSafe.py",
|
|
"internal": true,
|
|
"lineCount": 3,
|
|
"moduleAutorunRequested": false,
|
|
"name": "InternalSafe.py",
|
|
"readOnly": true,
|
|
"source": "value = 7\nprint(value)\n",
|
|
"sourceSha256": "1676bea86b7d12f595d531c32286e26ad0ac7a249d1bd40744b01634977ae582"
|
|
},
|
|
{
|
|
"byteLength": 37,
|
|
"errorCode": "SCRIPT_POLICY_DENIED",
|
|
"executionStatus": "BLOCKED",
|
|
"id": "text:ModuleAutorun.py",
|
|
"internal": true,
|
|
"lineCount": 3,
|
|
"moduleAutorunRequested": true,
|
|
"name": "ModuleAutorun.py",
|
|
"readOnly": true,
|
|
"source": "def register():\n return 'blocked'\n",
|
|
"sourceSha256": "4b1d1ffa97bf18cd834d1a2472cab16f24f1439143964d09d283b6cc043e17bd"
|
|
}
|
|
]
|
|
},
|
|
"after": {
|
|
"schemaVersion": 1,
|
|
"sources": [
|
|
{
|
|
"byteLength": 29,
|
|
"errorCode": "SCRIPT_SANDBOX_UNAVAILABLE",
|
|
"executionStatus": "BLOCKED",
|
|
"id": "text:ExternalProject.py",
|
|
"internal": false,
|
|
"lineCount": 2,
|
|
"moduleAutorunRequested": false,
|
|
"name": "ExternalProject.py",
|
|
"readOnly": true,
|
|
"source": "message = 'project relative'\n",
|
|
"sourcePath": "//scripts/external_project.py",
|
|
"sourceSha256": "1332a556fa4a8c0d55c6661931bcc7c3cd79a193bab5e34c8b060cf97fec6a96"
|
|
},
|
|
{
|
|
"byteLength": 23,
|
|
"errorCode": "SCRIPT_SANDBOX_UNAVAILABLE",
|
|
"executionStatus": "BLOCKED",
|
|
"id": "text:InternalSafe.py",
|
|
"internal": true,
|
|
"lineCount": 3,
|
|
"moduleAutorunRequested": false,
|
|
"name": "InternalSafe.py",
|
|
"readOnly": true,
|
|
"source": "value = 7\nprint(value)\n",
|
|
"sourceSha256": "1676bea86b7d12f595d531c32286e26ad0ac7a249d1bd40744b01634977ae582"
|
|
},
|
|
{
|
|
"byteLength": 37,
|
|
"errorCode": "SCRIPT_POLICY_DENIED",
|
|
"executionStatus": "BLOCKED",
|
|
"id": "text:ModuleAutorun.py",
|
|
"internal": true,
|
|
"lineCount": 3,
|
|
"moduleAutorunRequested": true,
|
|
"name": "ModuleAutorun.py",
|
|
"readOnly": true,
|
|
"source": "def register():\n return 'blocked'\n",
|
|
"sourceSha256": "4b1d1ffa97bf18cd834d1a2472cab16f24f1439143964d09d283b6cc043e17bd"
|
|
}
|
|
]
|
|
},
|
|
"savedBytes": 490191,
|
|
"exact": true,
|
|
"nextTask": "M13-01F"
|
|
}
|