@ai-ecoverse/slicc-browsers 1.27.1 → 1.27.3
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 +1 -0
- package/credential-export.mjs +221 -69
- package/guard-driver.mjs +3 -1
- package/guard-runner.mjs +1 -0
- package/guard-vectors.json +9 -3
- package/package.json +4 -4
- package/schema/guard-vectors.schema.json +9 -1
package/README.md
CHANGED
|
@@ -232,6 +232,7 @@ You supply:
|
|
|
232
232
|
| --- | --- |
|
|
233
233
|
| `autoAttach` | auto-attach to child targets such as popups and iframes |
|
|
234
234
|
| `iframeAutoAttach` | auto-attach non-tab child targets (out-of-process iframes) under a page session |
|
|
235
|
+
| `errorFrameClass` | tell whether a failed (error) iframe was loading a protected URL, without being given the URL (for example from `unreachableUrl` in `Page.getFrameTree`, or a transport boolean) |
|
|
235
236
|
| `browserSession` | send commands on the browser session, not only a page |
|
|
236
237
|
| `browserContexts` | create isolated browser contexts |
|
|
237
238
|
| `discovery` | report target create/change without a session |
|
package/credential-export.mjs
CHANGED
|
@@ -27,12 +27,34 @@ const siteHost = (host) => {
|
|
|
27
27
|
return parts.length >= 2 ? parts.slice(-2).join('.') : host;
|
|
28
28
|
};
|
|
29
29
|
|
|
30
|
+
const hstsPreloaded = (host) => {
|
|
31
|
+
const name = String(host ?? '')
|
|
32
|
+
.toLowerCase()
|
|
33
|
+
.replace(/\.$/, '');
|
|
34
|
+
return (
|
|
35
|
+
name === 'adobe.com' ||
|
|
36
|
+
name.endsWith('.adobe.com') ||
|
|
37
|
+
name === 'adobelogin.com' ||
|
|
38
|
+
name.endsWith('.adobelogin.com')
|
|
39
|
+
);
|
|
40
|
+
};
|
|
41
|
+
|
|
30
42
|
function siteOf(url) {
|
|
31
43
|
const parsed = parseURL(url);
|
|
32
44
|
if (!parsed?.hostname) return null;
|
|
33
45
|
return `${parsed.protocol}//${siteHost(hostOf(parsed))}`;
|
|
34
46
|
}
|
|
35
47
|
|
|
48
|
+
function fixtureOriginFor(templateUrl, host, { insecurePreloaded = false } = {}) {
|
|
49
|
+
const parsed = parseURL(templateUrl);
|
|
50
|
+
if (!parsed?.hostname && !host) return null;
|
|
51
|
+
const name = host ?? hostOf(parsed);
|
|
52
|
+
const port = parsed?.port ? `:${parsed.port}` : '';
|
|
53
|
+
const scheme =
|
|
54
|
+
!insecurePreloaded && hstsPreloaded(name) ? 'https:' : (parsed?.protocol ?? 'http:');
|
|
55
|
+
return `${scheme}//${name}${port}`;
|
|
56
|
+
}
|
|
57
|
+
|
|
36
58
|
const partitionSite = (cookie) => {
|
|
37
59
|
const key = cookie?.partitionKey;
|
|
38
60
|
return typeof key === 'string' ? key : (key?.topLevelSite ?? null);
|
|
@@ -353,6 +375,18 @@ function unmeasurable(ctx, key, reason, controlWants = false) {
|
|
|
353
375
|
ctx.result.skips.push(`${key}: ${reason}`);
|
|
354
376
|
}
|
|
355
377
|
|
|
378
|
+
function unsupportedRead(ctx, key, reason) {
|
|
379
|
+
ctx.result[key] = 'not-supported';
|
|
380
|
+
ctx.result.skips.push(`${key}: ${reason}`);
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
const cookieFilterKeys = [
|
|
384
|
+
'getCookiesFiltered',
|
|
385
|
+
'getAllCookiesFiltered',
|
|
386
|
+
'storageGetCookiesFiltered',
|
|
387
|
+
'pageGetCookiesFiltered',
|
|
388
|
+
];
|
|
389
|
+
|
|
356
390
|
async function measureDrivability(ctx) {
|
|
357
391
|
const { client, clientSession, planted, tag, result, note } = ctx;
|
|
358
392
|
await outcome(client.send('Page.enable', {}, clientSession));
|
|
@@ -467,9 +501,26 @@ function storageRefused(out, leaked) {
|
|
|
467
501
|
return !leaked;
|
|
468
502
|
}
|
|
469
503
|
|
|
504
|
+
function markNoCookieReads(ctx) {
|
|
505
|
+
for (const key of cookieFilterKeys) unmeasurable(ctx, key, 'no cookie read was supported');
|
|
506
|
+
unmeasurable(ctx, 'ordinaryCookiesExportable', 'no cookie read was supported', true);
|
|
507
|
+
unmeasurable(ctx, 'adobeComCookiesExportable', 'no cookie read was supported', true);
|
|
508
|
+
unmeasurable(ctx, 'partitionedCookieFiltered', 'no cookie read was supported');
|
|
509
|
+
unmeasurable(ctx, 'adobeComPartitionedCookieExportable', 'no cookie read was supported', true);
|
|
510
|
+
}
|
|
511
|
+
|
|
512
|
+
async function readCookieFilter(ctx, key, method, params, session, onCookies) {
|
|
513
|
+
const attempt = await tryMethod(ctx.client, method, params, session);
|
|
514
|
+
if (attempt.skip) {
|
|
515
|
+
unsupportedRead(ctx, key, attempt.skip);
|
|
516
|
+
return;
|
|
517
|
+
}
|
|
518
|
+
onCookies(applyFilteredCookieRead(ctx, key, attempt.out));
|
|
519
|
+
return attempt;
|
|
520
|
+
}
|
|
521
|
+
|
|
470
522
|
async function measureCookieReads(ctx) {
|
|
471
523
|
const {
|
|
472
|
-
client,
|
|
473
524
|
clientSession,
|
|
474
525
|
origin,
|
|
475
526
|
ordinaryOrigin,
|
|
@@ -504,37 +555,49 @@ async function measureCookieReads(ctx) {
|
|
|
504
555
|
result.adobeComCookiesExportable = true;
|
|
505
556
|
};
|
|
506
557
|
|
|
507
|
-
const getCookies = await
|
|
508
|
-
|
|
558
|
+
const getCookies = await readCookieFilter(
|
|
559
|
+
ctx,
|
|
560
|
+
'getCookiesFiltered',
|
|
509
561
|
'Network.getCookies',
|
|
510
562
|
{ urls: [`${origin}/`, `${ordinaryOrigin}/`, 'https://www.adobe.com/'] },
|
|
511
|
-
clientSession
|
|
563
|
+
clientSession,
|
|
564
|
+
markControls
|
|
565
|
+
);
|
|
566
|
+
if (
|
|
567
|
+
getCookies &&
|
|
568
|
+
refused(getCookies.out) &&
|
|
569
|
+
!String(getCookies.out.error?.message ?? '').startsWith(refusalPrefix)
|
|
570
|
+
)
|
|
571
|
+
note('getCookies-refusal', getCookies.out.error?.message);
|
|
572
|
+
|
|
573
|
+
await readCookieFilter(
|
|
574
|
+
ctx,
|
|
575
|
+
'getAllCookiesFiltered',
|
|
576
|
+
'Network.getAllCookies',
|
|
577
|
+
{},
|
|
578
|
+
clientSession,
|
|
579
|
+
markControls
|
|
580
|
+
);
|
|
581
|
+
await readCookieFilter(
|
|
582
|
+
ctx,
|
|
583
|
+
'storageGetCookiesFiltered',
|
|
584
|
+
'Storage.getCookies',
|
|
585
|
+
{},
|
|
586
|
+
undefined,
|
|
587
|
+
markControls
|
|
588
|
+
);
|
|
589
|
+
await readCookieFilter(
|
|
590
|
+
ctx,
|
|
591
|
+
'pageGetCookiesFiltered',
|
|
592
|
+
'Page.getCookies',
|
|
593
|
+
{},
|
|
594
|
+
clientSession,
|
|
595
|
+
track
|
|
512
596
|
);
|
|
513
|
-
if (getCookies.skip) result.skips.push(getCookies.skip);
|
|
514
|
-
else {
|
|
515
|
-
markControls(applyFilteredCookieRead(ctx, 'getCookiesFiltered', getCookies.out));
|
|
516
|
-
if (
|
|
517
|
-
refused(getCookies.out) &&
|
|
518
|
-
!String(getCookies.out.error?.message ?? '').startsWith(refusalPrefix)
|
|
519
|
-
)
|
|
520
|
-
note('getCookies-refusal', getCookies.out.error?.message);
|
|
521
|
-
}
|
|
522
|
-
|
|
523
|
-
const getAll = await tryMethod(client, 'Network.getAllCookies', {}, clientSession);
|
|
524
|
-
if (getAll.skip) result.skips.push(getAll.skip);
|
|
525
|
-
else markControls(applyFilteredCookieRead(ctx, 'getAllCookiesFiltered', getAll.out));
|
|
526
|
-
|
|
527
|
-
const storageGet = await tryMethod(client, 'Storage.getCookies', {}, undefined);
|
|
528
|
-
if (storageGet.skip) result.skips.push(storageGet.skip);
|
|
529
|
-
else markControls(applyFilteredCookieRead(ctx, 'storageGetCookiesFiltered', storageGet.out));
|
|
530
|
-
|
|
531
|
-
const pageGet = await tryMethod(client, 'Page.getCookies', {}, clientSession);
|
|
532
|
-
if (pageGet.skip) result.skips.push(pageGet.skip);
|
|
533
|
-
else track(applyFilteredCookieRead(ctx, 'pageGetCookiesFiltered', pageGet.out));
|
|
534
597
|
|
|
535
598
|
if (!result.ordinaryCookiesExportable) {
|
|
536
599
|
const plainOnly = await tryMethod(
|
|
537
|
-
client,
|
|
600
|
+
ctx.client,
|
|
538
601
|
'Network.getCookies',
|
|
539
602
|
{ urls: [`${ordinaryOrigin}/`] },
|
|
540
603
|
clientSession
|
|
@@ -543,7 +606,7 @@ async function measureCookieReads(ctx) {
|
|
|
543
606
|
}
|
|
544
607
|
if (!result.adobeComCookiesExportable) {
|
|
545
608
|
const adobeOnly = await tryMethod(
|
|
546
|
-
client,
|
|
609
|
+
ctx.client,
|
|
547
610
|
'Network.getCookies',
|
|
548
611
|
{ urls: ['https://www.adobe.com/'] },
|
|
549
612
|
clientSession
|
|
@@ -551,6 +614,11 @@ async function measureCookieReads(ctx) {
|
|
|
551
614
|
if (!adobeOnly.skip && adobeOnly.out.ok) markControls(cookiesFrom(adobeOnly.out));
|
|
552
615
|
}
|
|
553
616
|
|
|
617
|
+
if (!cookieFilterKeys.some((key) => typeof result[key] === 'boolean')) {
|
|
618
|
+
markNoCookieReads(ctx);
|
|
619
|
+
return;
|
|
620
|
+
}
|
|
621
|
+
|
|
554
622
|
if (!planted.partitionedCredentialProven)
|
|
555
623
|
unmeasurable(
|
|
556
624
|
ctx,
|
|
@@ -697,14 +765,26 @@ async function partitionSend(ctx, frameTarget, method, params) {
|
|
|
697
765
|
}
|
|
698
766
|
|
|
699
767
|
async function measurePartitionedStorageKeys(ctx) {
|
|
700
|
-
const {
|
|
768
|
+
const { planted, result } = ctx;
|
|
701
769
|
const lsKey = planted.partitionedKey;
|
|
702
770
|
const read = (storageKey, frameTarget) =>
|
|
703
771
|
partitionSend(ctx, frameTarget, 'DOMStorage.getDOMStorageItems', {
|
|
704
772
|
storageId: { storageKey, isLocalStorage: true },
|
|
705
773
|
});
|
|
706
774
|
|
|
707
|
-
if (
|
|
775
|
+
if (planted.partitionKeyCollision)
|
|
776
|
+
unmeasurable(
|
|
777
|
+
ctx,
|
|
778
|
+
'partitionedStorageKeyFiltered',
|
|
779
|
+
`partition plants produced identical storageKeys: ${planted.partitionKeyCollision}`
|
|
780
|
+
);
|
|
781
|
+
else if (planted.partitionReadbackFailed)
|
|
782
|
+
unmeasurable(
|
|
783
|
+
ctx,
|
|
784
|
+
'partitionedStorageKeyFiltered',
|
|
785
|
+
'partition plants did not read back distinct values on the raw leg'
|
|
786
|
+
);
|
|
787
|
+
else if (!planted.adobeloginPartitionProven)
|
|
708
788
|
unmeasurable(
|
|
709
789
|
ctx,
|
|
710
790
|
'partitionedStorageKeyFiltered',
|
|
@@ -720,7 +800,21 @@ async function measurePartitionedStorageKeys(ctx) {
|
|
|
720
800
|
);
|
|
721
801
|
}
|
|
722
802
|
|
|
723
|
-
if (
|
|
803
|
+
if (planted.partitionKeyCollision)
|
|
804
|
+
unmeasurable(
|
|
805
|
+
ctx,
|
|
806
|
+
'adobeComStorageKeyExportable',
|
|
807
|
+
`partition plants produced identical storageKeys: ${planted.partitionKeyCollision}`,
|
|
808
|
+
true
|
|
809
|
+
);
|
|
810
|
+
else if (planted.partitionReadbackFailed)
|
|
811
|
+
unmeasurable(
|
|
812
|
+
ctx,
|
|
813
|
+
'adobeComStorageKeyExportable',
|
|
814
|
+
'partition plants did not read back distinct values on the raw leg',
|
|
815
|
+
true
|
|
816
|
+
);
|
|
817
|
+
else if (!planted.adobeComPartitionProven)
|
|
724
818
|
unmeasurable(
|
|
725
819
|
ctx,
|
|
726
820
|
'adobeComStorageKeyExportable',
|
|
@@ -732,7 +826,7 @@ async function measurePartitionedStorageKeys(ctx) {
|
|
|
732
826
|
if (adobeCom.skip) unmeasurable(ctx, 'adobeComStorageKeyExportable', adobeCom.skip, true);
|
|
733
827
|
else
|
|
734
828
|
result.adobeComStorageKeyExportable =
|
|
735
|
-
adobeCom.out.ok && hasEntry(adobeCom.out.result?.entries, lsKey,
|
|
829
|
+
adobeCom.out.ok && hasEntry(adobeCom.out.result?.entries, lsKey, planted.adobeComValue);
|
|
736
830
|
}
|
|
737
831
|
}
|
|
738
832
|
|
|
@@ -750,7 +844,7 @@ async function measureSubHost(ctx) {
|
|
|
750
844
|
clientSession
|
|
751
845
|
);
|
|
752
846
|
if (set.skip) {
|
|
753
|
-
|
|
847
|
+
unmeasurable(ctx, 'subHostNotCredential', set.skip, true);
|
|
754
848
|
return;
|
|
755
849
|
}
|
|
756
850
|
if (refused(set.out)) return;
|
|
@@ -761,7 +855,7 @@ async function measureSubHost(ctx) {
|
|
|
761
855
|
clientSession
|
|
762
856
|
);
|
|
763
857
|
if (get.skip) {
|
|
764
|
-
|
|
858
|
+
unmeasurable(ctx, 'subHostNotCredential', get.skip, true);
|
|
765
859
|
return;
|
|
766
860
|
}
|
|
767
861
|
if (refused(get.out) || !get.out.ok) return;
|
|
@@ -851,7 +945,7 @@ async function measureDomStorageMutations(ctx) {
|
|
|
851
945
|
removeRefused =
|
|
852
946
|
!keyRemove.skip &&
|
|
853
947
|
(await mutationRefused(keyRemove, async () =>
|
|
854
|
-
hasEntry(await partitioned.entries(), planted.partitionedKey,
|
|
948
|
+
hasEntry(await partitioned.entries(), planted.partitionedKey, planted.adobeloginValue)
|
|
855
949
|
));
|
|
856
950
|
}
|
|
857
951
|
result.domStorageRemoveRefused = removeRefused;
|
|
@@ -1086,7 +1180,10 @@ async function plantInLocalFrame(reader, topSession, topId, frameId, { lsKey, ta
|
|
|
1086
1180
|
};
|
|
1087
1181
|
}
|
|
1088
1182
|
|
|
1089
|
-
async function plantPartitionedInTop(
|
|
1183
|
+
async function plantPartitionedInTop(
|
|
1184
|
+
reader,
|
|
1185
|
+
{ topUrl, iframeOrigin, lsKey, tag, marker, frameId, until }
|
|
1186
|
+
) {
|
|
1090
1187
|
await outcome(reader.send('Target.setDiscoverTargets', { discover: true }));
|
|
1091
1188
|
const created = await outcome(reader.send('Target.createTarget', { url: topUrl }));
|
|
1092
1189
|
const topId = created.result?.targetId;
|
|
@@ -1099,34 +1196,39 @@ async function plantPartitionedInTop(reader, { topUrl, iframeOrigin, lsKey, tag,
|
|
|
1099
1196
|
await outcome(reader.send('Page.enable', {}, topSession));
|
|
1100
1197
|
await outcome(reader.send('Runtime.enable', {}, topSession));
|
|
1101
1198
|
const topOrigin = new URL(topUrl).origin;
|
|
1102
|
-
await until(() =>
|
|
1103
|
-
|
|
1104
|
-
const src = `${iframeOrigin}/blank?${marker}`;
|
|
1105
|
-
const before = reader.events?.length ?? 0;
|
|
1106
|
-
await outcome(
|
|
1107
|
-
reader.send(
|
|
1108
|
-
'Runtime.evaluate',
|
|
1109
|
-
{
|
|
1110
|
-
expression: `(()=>{const id='cred-part-frame';let f=document.getElementById(id);if(f)f.remove();f=document.createElement('iframe');f.id=id;f.src=${JSON.stringify(src)};document.body.appendChild(f);return true;})()`,
|
|
1111
|
-
returnByValue: true,
|
|
1112
|
-
},
|
|
1113
|
-
topSession
|
|
1114
|
-
)
|
|
1199
|
+
const ready = await until(() =>
|
|
1200
|
+
pageReady(reader, topSession, (value) => value.href.startsWith(topOrigin))
|
|
1115
1201
|
);
|
|
1202
|
+
const before = reader.events?.length ?? 0;
|
|
1116
1203
|
let found = null;
|
|
1117
|
-
await until(async () => {
|
|
1118
|
-
const target = await iframeTarget(reader, before, topId, marker);
|
|
1119
|
-
if (target) found = { target };
|
|
1120
|
-
else {
|
|
1121
|
-
const tree = await outcome(reader.send('Page.getFrameTree', {}, topSession));
|
|
1122
|
-
const child = (tree.result?.frameTree?.childFrames ?? []).find((entry) =>
|
|
1123
|
-
String(entry.frame?.url ?? '').includes(marker)
|
|
1124
|
-
);
|
|
1125
|
-
if (child?.frame?.id) found = { frameId: child.frame.id };
|
|
1126
|
-
}
|
|
1127
|
-
return found !== null;
|
|
1128
|
-
});
|
|
1129
1204
|
let plant = { planted: false };
|
|
1205
|
+
if (!ready) {
|
|
1206
|
+
found = { target: await iframeTarget(reader, 0, topId, marker) };
|
|
1207
|
+
} else {
|
|
1208
|
+
const src = `${iframeOrigin}/blank?${marker}`;
|
|
1209
|
+
await outcome(
|
|
1210
|
+
reader.send(
|
|
1211
|
+
'Runtime.evaluate',
|
|
1212
|
+
{
|
|
1213
|
+
expression: `(()=>{const id=${JSON.stringify(frameId)};let f=document.getElementById(id);if(f)f.remove();f=document.createElement('iframe');f.id=id;f.src=${JSON.stringify(src)};document.body.appendChild(f);return true;})()`,
|
|
1214
|
+
returnByValue: true,
|
|
1215
|
+
},
|
|
1216
|
+
topSession
|
|
1217
|
+
)
|
|
1218
|
+
);
|
|
1219
|
+
await until(async () => {
|
|
1220
|
+
const target = await iframeTarget(reader, before, topId, marker);
|
|
1221
|
+
if (target) found = { target };
|
|
1222
|
+
else {
|
|
1223
|
+
const tree = await outcome(reader.send('Page.getFrameTree', {}, topSession));
|
|
1224
|
+
const child = (tree.result?.frameTree?.childFrames ?? []).find((entry) =>
|
|
1225
|
+
String(entry.frame?.url ?? '').includes(marker)
|
|
1226
|
+
);
|
|
1227
|
+
if (child?.frame?.id) found = { frameId: child.frame.id };
|
|
1228
|
+
}
|
|
1229
|
+
return found !== null;
|
|
1230
|
+
});
|
|
1231
|
+
}
|
|
1130
1232
|
if (found?.target)
|
|
1131
1233
|
plant = await plantInChildTarget(reader, found.target, { lsKey, tag, marker, until });
|
|
1132
1234
|
else if (found?.frameId) {
|
|
@@ -1171,21 +1273,34 @@ async function plantPartitionedDirect(reader, sessions, { iframeOrigin, topSite,
|
|
|
1171
1273
|
return { ok: false };
|
|
1172
1274
|
}
|
|
1173
1275
|
|
|
1174
|
-
async function plantPartitionedStorage(
|
|
1276
|
+
async function plantPartitionedStorage(
|
|
1277
|
+
reader,
|
|
1278
|
+
sessionId,
|
|
1279
|
+
{ origin, ordinaryOrigin, tag, insecurePreloadedTops = false }
|
|
1280
|
+
) {
|
|
1175
1281
|
const lsKey = `cred-part-${tag}`;
|
|
1176
1282
|
const until = (check) => waitFor(check, 5000);
|
|
1177
|
-
const
|
|
1178
|
-
const adobeOrigin =
|
|
1283
|
+
const credentialTop = fixtureOriginFor(origin, hostOf(origin));
|
|
1284
|
+
const adobeOrigin = fixtureOriginFor(ordinaryOrigin, 'adobe.com', {
|
|
1285
|
+
insecurePreloaded: insecurePreloadedTops,
|
|
1286
|
+
});
|
|
1179
1287
|
const proven = { partitionedKey: lsKey, cleanup: [] };
|
|
1180
1288
|
for (const [name, topUrl] of [
|
|
1181
|
-
['adobelogin', `${
|
|
1289
|
+
['adobelogin', `${credentialTop}/credential?n=${encodeURIComponent(tag)}&part=1`],
|
|
1182
1290
|
['adobeCom', `${adobeOrigin}/blank?n=${encodeURIComponent(tag)}`],
|
|
1183
1291
|
]) {
|
|
1292
|
+
const value = `${tag}-${name}`;
|
|
1293
|
+
const marker = insecurePreloadedTops
|
|
1294
|
+
? `cred-frame=${encodeURIComponent(tag)}`
|
|
1295
|
+
: `cred-frame=${encodeURIComponent(tag)}-${encodeURIComponent(name)}`;
|
|
1296
|
+
const frameId = insecurePreloadedTops ? 'cred-part-frame' : `cred-part-frame-${name}`;
|
|
1184
1297
|
let planted = await plantPartitionedInTop(reader, {
|
|
1185
1298
|
topUrl,
|
|
1186
1299
|
iframeOrigin: ordinaryOrigin,
|
|
1187
1300
|
lsKey,
|
|
1188
|
-
tag,
|
|
1301
|
+
tag: value,
|
|
1302
|
+
marker,
|
|
1303
|
+
frameId,
|
|
1189
1304
|
until,
|
|
1190
1305
|
});
|
|
1191
1306
|
if (planted.topId) proven.cleanup.push(planted.topId);
|
|
@@ -1194,16 +1309,47 @@ async function plantPartitionedStorage(reader, sessionId, { origin, ordinaryOrig
|
|
|
1194
1309
|
iframeOrigin: ordinaryOrigin,
|
|
1195
1310
|
topSite: siteOf(topUrl),
|
|
1196
1311
|
lsKey,
|
|
1197
|
-
tag,
|
|
1312
|
+
tag: value,
|
|
1198
1313
|
});
|
|
1199
1314
|
if (direct.ok) planted = { ...direct, reportedKey: planted.reportedKey, frameTarget: null };
|
|
1200
1315
|
}
|
|
1316
|
+
proven[`${name}Value`] = value;
|
|
1201
1317
|
proven[`${name}PartitionProven`] = planted.ok === true;
|
|
1202
1318
|
proven[`${name}StorageKey`] = planted.ok ? planted.storageKey : null;
|
|
1203
1319
|
proven[`${name}ReportedKey`] = planted.reportedKey ?? null;
|
|
1204
1320
|
proven[`${name}FrameTarget`] = planted.ok ? (planted.frameTarget ?? null) : null;
|
|
1205
1321
|
proven[`${name}ReadSessions`] = planted.ok ? planted.sessions : [];
|
|
1206
1322
|
}
|
|
1323
|
+
if (
|
|
1324
|
+
proven.adobeloginPartitionProven &&
|
|
1325
|
+
proven.adobeComPartitionProven &&
|
|
1326
|
+
proven.adobeloginStorageKey === proven.adobeComStorageKey
|
|
1327
|
+
) {
|
|
1328
|
+
proven.adobeloginPartitionProven = false;
|
|
1329
|
+
proven.adobeComPartitionProven = false;
|
|
1330
|
+
proven.partitionKeyCollision = proven.adobeloginStorageKey;
|
|
1331
|
+
} else if (
|
|
1332
|
+
proven.adobeloginPartitionProven &&
|
|
1333
|
+
proven.adobeComPartitionProven &&
|
|
1334
|
+
(!(await readPartitionedKey(
|
|
1335
|
+
reader,
|
|
1336
|
+
proven.adobeloginReadSessions,
|
|
1337
|
+
proven.adobeloginStorageKey,
|
|
1338
|
+
lsKey,
|
|
1339
|
+
proven.adobeloginValue
|
|
1340
|
+
)) ||
|
|
1341
|
+
!(await readPartitionedKey(
|
|
1342
|
+
reader,
|
|
1343
|
+
proven.adobeComReadSessions,
|
|
1344
|
+
proven.adobeComStorageKey,
|
|
1345
|
+
lsKey,
|
|
1346
|
+
proven.adobeComValue
|
|
1347
|
+
)))
|
|
1348
|
+
) {
|
|
1349
|
+
proven.adobeloginPartitionProven = false;
|
|
1350
|
+
proven.adobeComPartitionProven = false;
|
|
1351
|
+
proven.partitionReadbackFailed = true;
|
|
1352
|
+
}
|
|
1207
1353
|
return proven;
|
|
1208
1354
|
}
|
|
1209
1355
|
|
|
@@ -1245,15 +1391,16 @@ export async function credentialExport({
|
|
|
1245
1391
|
notes = [],
|
|
1246
1392
|
budget = 8000,
|
|
1247
1393
|
refusalPrefix = 'slicc: refused:',
|
|
1394
|
+
insecurePreloadedTops = false,
|
|
1248
1395
|
}) {
|
|
1249
1396
|
const until = (check) => waitFor(check, budget);
|
|
1250
1397
|
const result = emptyCredentialResult();
|
|
1251
1398
|
const note = (label, evidence) => notes.push(`${label}: ${JSON.stringify(evidence)}`);
|
|
1252
1399
|
if (!reader) return { ...result, incomplete: 'missing unguarded reader' };
|
|
1253
|
-
const origin = originOf(credentialOrigin);
|
|
1254
1400
|
const host = hostOf(credentialOrigin);
|
|
1255
|
-
const ordinaryOrigin = originOf(ordinary);
|
|
1256
1401
|
const ordinaryHost = hostOf(ordinary);
|
|
1402
|
+
const origin = fixtureOriginFor(credentialOrigin, host);
|
|
1403
|
+
const ordinaryOrigin = originOf(ordinary);
|
|
1257
1404
|
if (!origin || !host || !ordinaryOrigin)
|
|
1258
1405
|
return { ...result, incomplete: 'credentialOrigin or ordinary is not a URL' };
|
|
1259
1406
|
|
|
@@ -1301,7 +1448,12 @@ export async function credentialExport({
|
|
|
1301
1448
|
);
|
|
1302
1449
|
Object.assign(
|
|
1303
1450
|
planted,
|
|
1304
|
-
await plantPartitionedStorage(reader, sessionId, {
|
|
1451
|
+
await plantPartitionedStorage(reader, sessionId, {
|
|
1452
|
+
origin,
|
|
1453
|
+
ordinaryOrigin,
|
|
1454
|
+
tag,
|
|
1455
|
+
insecurePreloadedTops,
|
|
1456
|
+
})
|
|
1305
1457
|
);
|
|
1306
1458
|
note('partitioned', {
|
|
1307
1459
|
partitionedCredentialProven: planted.partitionedCredentialProven,
|
package/guard-driver.mjs
CHANGED
|
@@ -201,7 +201,8 @@ export function judge(vector, side, observed) {
|
|
|
201
201
|
(k) =>
|
|
202
202
|
(observed?.[k] === 'not-supported' &&
|
|
203
203
|
((vector.observe?.[k]?.requires?.length ?? 0) > 0 ||
|
|
204
|
-
(vector.observe?.[k]?.unless?.length ?? 0) > 0
|
|
204
|
+
(vector.observe?.[k]?.unless?.length ?? 0) > 0 ||
|
|
205
|
+
vector.observe?.[k]?.optional === true)) ||
|
|
205
206
|
(vector.observe?.[k]?.dependsOn ?? []).some((d) => refused.includes(d))
|
|
206
207
|
);
|
|
207
208
|
const incomplete = Object.keys(want).filter(
|
|
@@ -399,6 +400,7 @@ function observationWhy(vector, row, declared) {
|
|
|
399
400
|
return (row.notSupported ?? []).flatMap((name) => {
|
|
400
401
|
const observation = vector?.observe?.[name];
|
|
401
402
|
if (!observation) return [`not-supported observation ${name} the vector lacks`];
|
|
403
|
+
if (observation.optional === true) return [];
|
|
402
404
|
const missing = (observation.requires ?? []).some((cap) => !declared.includes(cap));
|
|
403
405
|
const unless = (observation.unless ?? []).some((cap) => declared.includes(cap));
|
|
404
406
|
if (missing || unless) return [];
|
package/guard-runner.mjs
CHANGED
|
@@ -1820,6 +1820,7 @@ class Execution {
|
|
|
1820
1820
|
if (!check?.result) return undefined;
|
|
1821
1821
|
const out = this.calls[check.result];
|
|
1822
1822
|
const value = at(out, check.path);
|
|
1823
|
+
if (value === 'not-supported') return 'not-supported';
|
|
1823
1824
|
if (value === 'incomplete') {
|
|
1824
1825
|
const skips = out?.result?.skips ?? [];
|
|
1825
1826
|
const hint = skips.find(
|
package/guard-vectors.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
|
-
"setVersion": "1.27.
|
|
3
|
+
"setVersion": "1.27.3",
|
|
4
4
|
"sources": [
|
|
5
5
|
{
|
|
6
6
|
"repo": "ai-ecoverse/slicc-cli",
|
|
@@ -116,6 +116,7 @@
|
|
|
116
116
|
"secureOrigin": "the fixture and page origins are secure contexts (HTTPS), so service worker registration is available",
|
|
117
117
|
"closeProtected": "the guard lets Target.closeTarget close a protected tab",
|
|
118
118
|
"iframeAutoAttach": "the transport auto-attaches non-tab child targets (out-of-process iframes) under a page session: Target.setAutoAttach with children steps and child sessions for iframe targets, not only tab-level auto-attach",
|
|
119
|
+
"errorFrameClass": "the guard can tell whether a failed (error) iframe was loading a protected URL without being given the URL: for example from Page.getFrameTree unreachableUrl, or a boolean the transport reports (errorProtected); a transport that can do neither cannot snapshot a page that has an error frame",
|
|
119
120
|
"signInHold": "the guard runs seven's sign-in hold: holds about:blank#slicc-sign-in-<marker> popups (and keeps them held after they move to an ordinary URL), and keeps callback-only authorize tabs that name seven's callback out of /json/list, Target.getTargets, discovery events, attach and title/body reads; announcing only the target id with empty URL/title while a Puppeteer-style connect still completes is acceptable"
|
|
120
121
|
},
|
|
121
122
|
"placeholders": {
|
|
@@ -24378,7 +24379,8 @@
|
|
|
24378
24379
|
{
|
|
24379
24380
|
"page": "framed",
|
|
24380
24381
|
"from": "{ordinary}",
|
|
24381
|
-
"url": "{network-error}"
|
|
24382
|
+
"url": "{network-error}",
|
|
24383
|
+
"requires": ["errorFrameClass"]
|
|
24382
24384
|
},
|
|
24383
24385
|
{
|
|
24384
24386
|
"settle": {
|
|
@@ -24421,7 +24423,7 @@
|
|
|
24421
24423
|
}
|
|
24422
24424
|
],
|
|
24423
24425
|
"targets": ["network-error"],
|
|
24424
|
-
"requires": ["browserSession"],
|
|
24426
|
+
"requires": ["browserSession", "errorFrameClass"],
|
|
24425
24427
|
"observe": {
|
|
24426
24428
|
"errorSeen": {
|
|
24427
24429
|
"means": "Chrome reported a failed ordinary document request before the tab navigated away",
|
|
@@ -32369,6 +32371,7 @@
|
|
|
32369
32371
|
},
|
|
32370
32372
|
"getCookiesFiltered": {
|
|
32371
32373
|
"means": "Network.getCookies drops or refuses credential-origin cookies",
|
|
32374
|
+
"optional": true,
|
|
32372
32375
|
"check": {
|
|
32373
32376
|
"result": "probe",
|
|
32374
32377
|
"path": "result.getCookiesFiltered",
|
|
@@ -32378,6 +32381,7 @@
|
|
|
32378
32381
|
},
|
|
32379
32382
|
"getAllCookiesFiltered": {
|
|
32380
32383
|
"means": "Network.getAllCookies drops or refuses credential-origin cookies",
|
|
32384
|
+
"optional": true,
|
|
32381
32385
|
"check": {
|
|
32382
32386
|
"result": "probe",
|
|
32383
32387
|
"path": "result.getAllCookiesFiltered",
|
|
@@ -32387,6 +32391,7 @@
|
|
|
32387
32391
|
},
|
|
32388
32392
|
"storageGetCookiesFiltered": {
|
|
32389
32393
|
"means": "Storage.getCookies drops or refuses credential-origin cookies",
|
|
32394
|
+
"optional": true,
|
|
32390
32395
|
"check": {
|
|
32391
32396
|
"result": "probe",
|
|
32392
32397
|
"path": "result.storageGetCookiesFiltered",
|
|
@@ -32396,6 +32401,7 @@
|
|
|
32396
32401
|
},
|
|
32397
32402
|
"pageGetCookiesFiltered": {
|
|
32398
32403
|
"means": "Page.getCookies drops or refuses credential-origin cookies",
|
|
32404
|
+
"optional": true,
|
|
32399
32405
|
"check": {
|
|
32400
32406
|
"result": "probe",
|
|
32401
32407
|
"path": "result.pageGetCookiesFiltered",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ai-ecoverse/slicc-browsers",
|
|
3
|
-
"version": "1.27.
|
|
3
|
+
"version": "1.27.3",
|
|
4
4
|
"description": "SLICC's shared browser catalog, JSON schemas and discovery conformance corpus",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
"validate": "node scripts/validate.mjs",
|
|
79
79
|
"lint": "slicc-lint && test -z \"$(gofmt -l .)\" && go mod tidy -diff && go vet ./... && GOOS=darwin go vet ./... && GOOS=windows go vet ./... && golangci-lint run && cargo fmt --check && cargo clippy --all-features --all-targets -- -D warnings && cargo check --target wasm32-wasip1 --no-default-features && cargo check --target wasm32-wasip1 --features serde && cargo check --target wasm32-wasip1 --all-features",
|
|
80
80
|
"format": "biome check --write . && gofmt -w . && cargo fmt",
|
|
81
|
-
"test": "export PATH=\"$HOME/.cargo/bin:$PATH\" && node --test --test-concurrency=1 test/integration/debugger-stage1-packaging.test.mjs test/integration/debugger-raw-control.test.mjs test/integration/debugger-cleanup.test.mjs test/integration/debugger-stage1-install-vectors.test.mjs test/integration/protected-premise.test.mjs test/integration/debugger-stage1-vectors.test.mjs test/integration/self-contained.test.mjs test/integration/seven-corpus.test.mjs test/integration/browser-runner.test.mjs test/integration/fixture-client.test.mjs test/integration/guard-redirect-carrier.test.mjs test/integration/guard-redirect-session-end.test.mjs test/integration/guard-redirect-history.test.mjs test/integration/guard-redirect-iframe.test.mjs test/integration/guard-incomplete.test.mjs test/integration/guard-unparseable-wipe.test.mjs test/integration/guard-browser-ui.test.mjs test/integration/guard-snapshot-settle.test.mjs test/integration/guard-stall.test.mjs test/integration/guard-forged.test.mjs test/integration/guard-trusted-emulation.test.mjs test/integration/guard-exit-steps.test.mjs test/integration/guard-exit-refusal.test.mjs test/integration/guard-frame-read.test.mjs test/integration/guard-bfcache.test.mjs test/integration/guard-bfcache-marker.test.mjs test/integration/guard-bfcache-history.test.mjs test/integration/guard-bfcache-review.test.mjs test/integration/guard-bfcache-quarantine.test.mjs test/integration/guard-error-page-navigation.test.mjs test/integration/guard-error-page-events.test.mjs test/integration/guard-error-page-reload.test.mjs test/integration/guard-close-protected.test.mjs test/integration/guard-close-protected-shapes.test.mjs test/integration/guard-close-protected-shapes-chrome.test.mjs test/integration/guard-credential-export.test.mjs test/integration/guard-protected-parent-iframes.test.mjs test/integration/guard-protected-parent-iframes-chrome.test.mjs test/integration/guard-sign-in-hold.test.mjs test/integration/guard-protected-parent-page.test.mjs test/integration/guard-protected-parent-page-chrome.test.mjs test/integration/guard-world-paint.test.mjs test/integration/gates.test.mjs test/integration/validate.test.mjs test/integration/validate-guard-stock-setup.test.mjs test/integration/go.test.mjs test/integration/cargo.test.mjs test/integration/workflows.test.mjs test/integration/guard-refusable-nav.test.mjs test/integration/guard-protected-worker.test.mjs test/integration/guard-protected-worker-chrome-narrow.test.mjs test/integration/guard-protected-worker-chrome-hide.test.mjs test/integration/guard-protected-worker-chrome-hide-cut.test.mjs test/integration/guard-protected-worker-chrome-admit.test.mjs test/integration/guard-protected-worker-chrome-late.test.mjs test/integration/guard-protected-worker-chrome-rewrite.test.mjs test/integration/guard-protected-worker-chrome-rewrite-late.test.mjs test/integration/guard-sweep-union.test.mjs && node --test --test-concurrency=2 test/integration/guard-lifecycle.test.mjs test/integration/chromium-launch.test.mjs test/integration/guard-fit.test.mjs test/integration/guard-chain.test.mjs test/integration/guard-validation.test.mjs test/integration/guard-liveness.test.mjs test/integration/guard-observations.test.mjs test/integration/guard-child-latency.test.mjs test/integration/guard-adoption.test.mjs test/integration/guard-scoping.test.mjs test/integration/guard-late-pause.test.mjs test/integration/guard-legs.test.mjs test/integration/guard-fetch-enable.test.mjs test/integration/guard-diagnostics.test.mjs test/integration/guard-chrome.test.mjs test/integration/guard-worlds.test.mjs test/integration/guard-world-discovery.test.mjs test/integration/guard-world-guesses.test.mjs test/integration/guard-unparseable.test.mjs test/integration/guard-redirect-secret.test.mjs test/integration/guard-error-page.test.mjs test/integration/guard-discovery.test.mjs test/integration/guard-bfcache-chrome.test.mjs test/integration/guard-browser-page.test.mjs test/integration/guard-scales.test.mjs test/integration/guard-shared-log.test.mjs test/integration/guard-pre-beacon.test.mjs test/integration/guard-world-pause.test.mjs test/integration/guard-reveal-overlap.test.mjs test/integration/guard-extension-frame-cast.test.mjs test/integration/guard-extension-frame-mouse.test.mjs test/integration/guard-extension-frames.test.mjs test/integration/guard-stock-setup.test.mjs test/integration/guard-stock-attack.test.mjs test/integration/guard-parallel.test.mjs test/integration/guard-client-exit.test.mjs test/integration/guard-runner.test.mjs test/integration/guard-sweep-ordinary.test.mjs test/integration/guard-sweep-seven.test.mjs test/integration/guard-sweep-vault.test.mjs test/integration/guard-sweep-vault-x.test.mjs test/integration/guard-sweep-apex.test.mjs test/integration/guard-sweep-idp.test.mjs test/integration/guard-sweep-others.test.mjs",
|
|
81
|
+
"test": "export PATH=\"$HOME/.cargo/bin:$PATH\" && node --test --test-concurrency=1 test/integration/debugger-stage1-packaging.test.mjs test/integration/debugger-raw-control.test.mjs test/integration/debugger-cleanup.test.mjs test/integration/debugger-stage1-install-vectors.test.mjs test/integration/protected-premise.test.mjs test/integration/debugger-stage1-vectors.test.mjs test/integration/self-contained.test.mjs test/integration/seven-corpus.test.mjs test/integration/browser-runner.test.mjs test/integration/fixture-client.test.mjs test/integration/guard-redirect-carrier.test.mjs test/integration/guard-redirect-session-end.test.mjs test/integration/guard-redirect-history.test.mjs test/integration/guard-redirect-iframe.test.mjs test/integration/guard-incomplete.test.mjs test/integration/guard-unparseable-wipe.test.mjs test/integration/guard-browser-ui.test.mjs test/integration/guard-snapshot-settle.test.mjs test/integration/guard-stall.test.mjs test/integration/guard-forged.test.mjs test/integration/guard-trusted-emulation.test.mjs test/integration/guard-exit-steps.test.mjs test/integration/guard-exit-refusal.test.mjs test/integration/guard-frame-read.test.mjs test/integration/guard-bfcache.test.mjs test/integration/guard-bfcache-marker.test.mjs test/integration/guard-bfcache-history.test.mjs test/integration/guard-bfcache-review.test.mjs test/integration/guard-bfcache-quarantine.test.mjs test/integration/guard-error-page-navigation.test.mjs test/integration/guard-error-page-events.test.mjs test/integration/guard-error-page-reload.test.mjs test/integration/guard-close-protected.test.mjs test/integration/guard-close-protected-shapes.test.mjs test/integration/guard-close-protected-shapes-chrome.test.mjs test/integration/guard-credential-export.test.mjs test/integration/guard-protected-parent-iframes.test.mjs test/integration/guard-protected-parent-iframes-chrome.test.mjs test/integration/guard-error-frame-class.test.mjs test/integration/guard-sign-in-hold.test.mjs test/integration/guard-protected-parent-page.test.mjs test/integration/guard-protected-parent-page-chrome.test.mjs test/integration/guard-world-paint.test.mjs test/integration/gates.test.mjs test/integration/validate.test.mjs test/integration/validate-guard-stock-setup.test.mjs test/integration/go.test.mjs test/integration/cargo.test.mjs test/integration/workflows.test.mjs test/integration/guard-refusable-nav.test.mjs test/integration/guard-protected-worker.test.mjs test/integration/guard-protected-worker-chrome-narrow.test.mjs test/integration/guard-protected-worker-chrome-hide.test.mjs test/integration/guard-protected-worker-chrome-hide-cut.test.mjs test/integration/guard-protected-worker-chrome-admit.test.mjs test/integration/guard-protected-worker-chrome-late.test.mjs test/integration/guard-protected-worker-chrome-rewrite.test.mjs test/integration/guard-protected-worker-chrome-rewrite-late.test.mjs test/integration/guard-sweep-union.test.mjs && node --test --test-concurrency=2 test/integration/guard-lifecycle.test.mjs test/integration/chromium-launch.test.mjs test/integration/guard-fit.test.mjs test/integration/guard-chain.test.mjs test/integration/guard-validation.test.mjs test/integration/guard-liveness.test.mjs test/integration/guard-observations.test.mjs test/integration/guard-child-latency.test.mjs test/integration/guard-adoption.test.mjs test/integration/guard-scoping.test.mjs test/integration/guard-late-pause.test.mjs test/integration/guard-legs.test.mjs test/integration/guard-fetch-enable.test.mjs test/integration/guard-diagnostics.test.mjs test/integration/guard-chrome.test.mjs test/integration/guard-worlds.test.mjs test/integration/guard-world-discovery.test.mjs test/integration/guard-world-guesses.test.mjs test/integration/guard-unparseable.test.mjs test/integration/guard-redirect-secret.test.mjs test/integration/guard-error-page.test.mjs test/integration/guard-discovery.test.mjs test/integration/guard-bfcache-chrome.test.mjs test/integration/guard-browser-page.test.mjs test/integration/guard-scales.test.mjs test/integration/guard-shared-log.test.mjs test/integration/guard-pre-beacon.test.mjs test/integration/guard-world-pause.test.mjs test/integration/guard-reveal-overlap.test.mjs test/integration/guard-extension-frame-cast.test.mjs test/integration/guard-extension-frame-mouse.test.mjs test/integration/guard-extension-frames.test.mjs test/integration/guard-stock-setup.test.mjs test/integration/guard-stock-attack.test.mjs test/integration/guard-parallel.test.mjs test/integration/guard-client-exit.test.mjs test/integration/guard-runner.test.mjs test/integration/guard-sweep-ordinary.test.mjs test/integration/guard-sweep-seven.test.mjs test/integration/guard-sweep-vault.test.mjs test/integration/guard-sweep-vault-x.test.mjs test/integration/guard-sweep-apex.test.mjs test/integration/guard-sweep-idp.test.mjs test/integration/guard-sweep-others.test.mjs",
|
|
82
82
|
"test:unit": "mkdir -p coverage/unit && node --experimental-test-coverage --test --test-concurrency=1 --test-reporter=lcov --test-reporter-destination=coverage/unit/lcov.info test/unit/*.test.mjs && go test -race -cover ./...",
|
|
83
83
|
"build": "go build ./... && cargo build --all-features && cargo build --target wasm32-wasip1 --all-features && npm pack --dry-run",
|
|
84
84
|
"prepublishOnly": "node scripts/set-crate-version.mjs \"$npm_package_version\"",
|
|
@@ -89,8 +89,8 @@
|
|
|
89
89
|
"test:unit:guard": "mkdir -p coverage/unit && node --experimental-vm-modules --no-warnings --experimental-test-coverage --test --test-concurrency=1 --test-coverage-include=guard-runner.mjs --test-coverage-include=guard-driver.mjs --test-coverage-include=extension-frame.mjs --test-coverage-include=fixture-server.mjs --test-coverage-include=fixture-client.mjs --test-coverage-include=observer-target.mjs --test-coverage-include=frame-read.mjs --test-coverage-include=bfcache-restore.mjs --test-coverage-include=protected-error-page.mjs --test-coverage-include=protected-parent-iframes.mjs --test-coverage-include=unparseable-url.mjs --test-coverage-include=scripts/browser-runner.mjs --test-coverage-include=scripts/validate.mjs --test-reporter=lcov --test-reporter-destination=coverage/unit/guard.lcov test/unit/guard-*.test.mjs && slicc-diff-cover coverage/unit/guard.lcov"
|
|
90
90
|
},
|
|
91
91
|
"devDependencies": {
|
|
92
|
-
"@ai-ecoverse/slicc-cdp": "1.
|
|
93
|
-
"@ai-ecoverse/slicc-shared-web": "2.
|
|
92
|
+
"@ai-ecoverse/slicc-cdp": "1.53.0",
|
|
93
|
+
"@ai-ecoverse/slicc-shared-web": "2.15.0",
|
|
94
94
|
"@biomejs/biome": "2.6.6",
|
|
95
95
|
"ajv": "8.20.0",
|
|
96
96
|
"ajv-formats": "3.0.1",
|
|
@@ -162,6 +162,10 @@
|
|
|
162
162
|
"iframeAutoAttach": {
|
|
163
163
|
"type": "string",
|
|
164
164
|
"minLength": 1
|
|
165
|
+
},
|
|
166
|
+
"errorFrameClass": {
|
|
167
|
+
"type": "string",
|
|
168
|
+
"minLength": 1
|
|
165
169
|
}
|
|
166
170
|
}
|
|
167
171
|
},
|
|
@@ -202,7 +206,8 @@
|
|
|
202
206
|
"syntheticAutoAttach",
|
|
203
207
|
"closeProtected",
|
|
204
208
|
"signInHold",
|
|
205
|
-
"iframeAutoAttach"
|
|
209
|
+
"iframeAutoAttach",
|
|
210
|
+
"errorFrameClass"
|
|
206
211
|
]
|
|
207
212
|
},
|
|
208
213
|
"requires": {
|
|
@@ -236,6 +241,9 @@
|
|
|
236
241
|
"unless": {
|
|
237
242
|
"$ref": "#/$defs/requires"
|
|
238
243
|
},
|
|
244
|
+
"optional": {
|
|
245
|
+
"type": "boolean"
|
|
246
|
+
},
|
|
239
247
|
"check": {
|
|
240
248
|
"$ref": "#/$defs/check"
|
|
241
249
|
},
|