@ai-ecoverse/slicc-browsers 1.50.0 → 1.52.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -8
- package/catalog.json +10 -2
- package/engine/builtins.mjs +34 -0
- package/engine/engine-js.mjs +1 -0
- package/engine/engine-wasm.mjs +1 -1
- package/engine/engine.wasm +0 -0
- package/engine/runtime.mjs +12 -0
- package/engine-vectors.json +12 -7
- package/engine.mjs +52 -35
- package/guard-vectors.json +10 -10
- package/package.json +12 -6
- package/protected-js.mjs +1 -0
- package/protected-worker.mjs +10 -0
- package/protected.json +429 -40
- package/protected.mjs +1 -1
- package/schema/catalog.schema.json +7 -1
- package/schema/protected.schema.json +29 -1
|
@@ -307,7 +307,7 @@
|
|
|
307
307
|
"required": ["url", "target", "redact"],
|
|
308
308
|
"properties": {
|
|
309
309
|
"url": { "const": "chrome-error://chromewebdata/" },
|
|
310
|
-
"target": { "
|
|
310
|
+
"target": { "enum": ["previous", "ownOrigin"] },
|
|
311
311
|
"redact": { "const": "origin" }
|
|
312
312
|
}
|
|
313
313
|
},
|
|
@@ -315,6 +315,12 @@
|
|
|
315
315
|
"unparseableRefusal": {
|
|
316
316
|
"const": "slicc: refused: slicc can't parse this URL, so it could be a protected page"
|
|
317
317
|
},
|
|
318
|
+
"extensionWorlds": {
|
|
319
|
+
"type": "object",
|
|
320
|
+
"additionalProperties": false,
|
|
321
|
+
"required": ["schemes"],
|
|
322
|
+
"properties": { "schemes": { "$ref": "#/$defs/schemes" } }
|
|
323
|
+
},
|
|
318
324
|
"extensionFrames": {
|
|
319
325
|
"type": "object",
|
|
320
326
|
"additionalProperties": false,
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"required": ["url", "target", "redact"],
|
|
23
23
|
"properties": {
|
|
24
24
|
"url": { "const": "chrome-error://chromewebdata/" },
|
|
25
|
-
"target": { "
|
|
25
|
+
"target": { "enum": ["previous", "ownOrigin"] },
|
|
26
26
|
"redact": { "const": "origin" }
|
|
27
27
|
}
|
|
28
28
|
},
|
|
@@ -40,11 +40,13 @@
|
|
|
40
40
|
"properties": {
|
|
41
41
|
"url": { "type": "string" },
|
|
42
42
|
"readOnly": { "type": "boolean" },
|
|
43
|
+
"unparseable": { "const": true },
|
|
43
44
|
"note": { "type": "string", "minLength": 1 },
|
|
44
45
|
"protected": { "type": "boolean" }
|
|
45
46
|
}
|
|
46
47
|
}
|
|
47
48
|
},
|
|
49
|
+
"frames": { "$ref": "#/properties/targets" },
|
|
48
50
|
"targets": {
|
|
49
51
|
"type": "array",
|
|
50
52
|
"items": {
|
|
@@ -60,10 +62,36 @@
|
|
|
60
62
|
"navigating": { "type": "boolean" },
|
|
61
63
|
"opener": { "enum": ["protected", "unprotected", "unknown"] },
|
|
62
64
|
"contextOrigin": { "type": "string" },
|
|
65
|
+
"securityOrigin": { "type": "string" },
|
|
66
|
+
"role": {
|
|
67
|
+
"enum": [
|
|
68
|
+
"ordinary",
|
|
69
|
+
"seven",
|
|
70
|
+
"slicc",
|
|
71
|
+
"extra",
|
|
72
|
+
"browser",
|
|
73
|
+
"extension",
|
|
74
|
+
"file",
|
|
75
|
+
"unparseable"
|
|
76
|
+
]
|
|
77
|
+
},
|
|
63
78
|
"protected": { "type": "boolean" }
|
|
64
79
|
}
|
|
65
80
|
}
|
|
66
81
|
},
|
|
82
|
+
"foreignWorlds": {
|
|
83
|
+
"type": "array",
|
|
84
|
+
"items": {
|
|
85
|
+
"type": "object",
|
|
86
|
+
"additionalProperties": false,
|
|
87
|
+
"required": ["origin", "foreign", "extensionFrame"],
|
|
88
|
+
"properties": {
|
|
89
|
+
"origin": { "type": "string" },
|
|
90
|
+
"foreign": { "type": "boolean" },
|
|
91
|
+
"extensionFrame": { "type": "boolean" }
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
},
|
|
67
95
|
"zoneHosts": {
|
|
68
96
|
"type": "array",
|
|
69
97
|
"items": {
|