@ai-ecoverse/slicc-browsers 1.24.1 → 1.26.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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
- "setVersion": "1.24.1",
3
+ "setVersion": "1.26.0",
4
4
  "sources": [
5
5
  {
6
6
  "repo": "ai-ecoverse/slicc-cli",
@@ -106,7 +106,8 @@
106
106
  "stockSetup": "the guard admits stock clients' setup calls: init scripts with no code (the no-code regex is matched on the whole string without the multiline flag), the four display emulation calls, bindings scoped to an isolated world, Page.createIsolatedWorld on an ordinary frame with grantUniveralAccess and contentSecurityPolicy stripped and no executionContextId for any other frame, and Target.setAutoAttach that either narrows to tab targets or hides per target so no protected-origin page, iframe or worker reaches the client (pages under the tab held like pages, with the same URL redaction in targetInfo)",
107
107
  "syntheticAutoAttach": "the transport has no native Target.setAutoAttach, so the guard attaches new tabs, pages and their children itself and synthesizes Target.attachedToTarget, with the same placement and holds",
108
108
  "secureOrigin": "the fixture and page origins are secure contexts (HTTPS), so service worker registration is available",
109
- "closeProtected": "the guard lets Target.closeTarget close a protected tab"
109
+ "closeProtected": "the guard lets Target.closeTarget close a protected tab",
110
+ "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"
110
111
  },
111
112
  "placeholders": {
112
113
  "target": "the target's origin; {plain} on the control",
@@ -31563,7 +31564,6 @@
31563
31564
  },
31564
31565
  "designDependent": ["attachRefused", "workerAttached"]
31565
31566
  },
31566
-
31567
31567
  {
31568
31568
  "id": "C3.protected-parent-iframes",
31569
31569
  "family": "C",
@@ -31763,6 +31763,1021 @@
31763
31763
  "attachSession": false,
31764
31764
  "attachRefused": true
31765
31765
  }
31766
+ },
31767
+ {
31768
+ "id": "C3.protected-parent-iframes.page",
31769
+ "family": "C",
31770
+ "kind": "cdp",
31771
+ "scope": "any",
31772
+ "setup": [
31773
+ {
31774
+ "text": "an ordinary top page already frames a cross-site protected iframe that frames an ordinary same-site grandchild before the client attaches; through the top page session the guarded client must not see the grandchild in the frame tree, resource tree, frame events, or execution contexts"
31775
+ },
31776
+ {
31777
+ "page": "tab",
31778
+ "url": "{ordinary}/blank"
31779
+ }
31780
+ ],
31781
+ "trigger": [
31782
+ {
31783
+ "protectedParentIframes": "page-nested",
31784
+ "as": "probe"
31785
+ }
31786
+ ],
31787
+ "targets": ["seven", "vault"],
31788
+ "observe": {
31789
+ "frameTree": {
31790
+ "means": "C3.protected-parent-iframes.page: Page.getFrameTree through the page session shows the ordinary grandchild under the middle frame by frameId, URL, or parentId",
31791
+ "check": {
31792
+ "result": "probe",
31793
+ "path": "result.frameTree",
31794
+ "equals": true,
31795
+ "observer": "client"
31796
+ },
31797
+ "absencePoll": true
31798
+ },
31799
+ "resourceTree": {
31800
+ "means": "C3.protected-parent-iframes.page: Page.getResourceTree through the page session shows the ordinary grandchild under the middle frame",
31801
+ "check": {
31802
+ "result": "probe",
31803
+ "path": "result.resourceTree",
31804
+ "equals": true,
31805
+ "observer": "client"
31806
+ },
31807
+ "absencePoll": true
31808
+ },
31809
+ "frameEvents": {
31810
+ "means": "C3.protected-parent-iframes.page: a Page frame event on the page session names the ordinary grandchild by frameId, URL, or parentId",
31811
+ "check": {
31812
+ "result": "probe",
31813
+ "path": "result.frameEvents",
31814
+ "equals": true,
31815
+ "observer": "client"
31816
+ },
31817
+ "absencePoll": true
31818
+ },
31819
+ "contextCreated": {
31820
+ "means": "C3.protected-parent-iframes.page: Runtime.executionContextCreated on the page session carries the grandchild frameId or origin",
31821
+ "check": {
31822
+ "result": "probe",
31823
+ "path": "result.contextCreated",
31824
+ "equals": true,
31825
+ "observer": "client"
31826
+ },
31827
+ "absencePoll": true
31828
+ },
31829
+ "contextEvaluate": {
31830
+ "means": "C3.protected-parent-iframes.page: Runtime.evaluate in the grandchild context through the page session succeeded",
31831
+ "check": {
31832
+ "result": "probe",
31833
+ "path": "result.contextEvaluate",
31834
+ "equals": true,
31835
+ "observer": "client"
31836
+ },
31837
+ "absencePoll": true
31838
+ },
31839
+ "midFrameAttached": {
31840
+ "means": "C3.protected-parent-iframes.page: Page.frameAttached on the page session exposes the middle frameId",
31841
+ "check": {
31842
+ "result": "probe",
31843
+ "path": "result.midFrameAttached",
31844
+ "equals": true,
31845
+ "observer": "client"
31846
+ },
31847
+ "absencePoll": true
31848
+ },
31849
+ "childEnableRefused": {
31850
+ "means": "C3.protected-parent-iframes.page: child Page.enable or Runtime.enable on a protected-descendant session was refused with the guard error text",
31851
+ "check": {
31852
+ "result": "probe",
31853
+ "path": "result.childEnableRefused",
31854
+ "equals": {
31855
+ "$regex": "^slicc: refused:"
31856
+ },
31857
+ "observer": "client"
31858
+ },
31859
+ "absencePoll": true
31860
+ },
31861
+ "targetInfo": {
31862
+ "means": "C3.protected-parent-iframes.page: shows the ordinary grandchild target via Target.getTargets or Target.getTargetInfo using the unguarded raw id",
31863
+ "check": {
31864
+ "result": "probe",
31865
+ "path": "result.targetInfo",
31866
+ "equals": true,
31867
+ "observer": "client"
31868
+ },
31869
+ "absencePoll": true
31870
+ },
31871
+ "childAttach": {
31872
+ "means": "C3.protected-parent-iframes.page: Target.attachToTarget on the unguarded raw grandchild target id yields a session",
31873
+ "check": {
31874
+ "result": "probe",
31875
+ "path": "result.childAttach",
31876
+ "equals": true,
31877
+ "observer": "client"
31878
+ },
31879
+ "absencePoll": true
31880
+ },
31881
+ "targetEvents": {
31882
+ "means": "C3.protected-parent-iframes.page: Target.attachedToTarget/targetCreated/targetInfoChanged names the ordinary grandchild by the unguarded raw id or URL",
31883
+ "check": {
31884
+ "result": "probe",
31885
+ "path": "result.targetEvents",
31886
+ "equals": true,
31887
+ "observer": "client"
31888
+ },
31889
+ "absencePoll": true
31890
+ }
31891
+ },
31892
+ "live": "the unguarded reader opened the ordinary top page and saw the grandchild frame",
31893
+ "liveCheck": {
31894
+ "result": "probe",
31895
+ "path": "result.live",
31896
+ "equals": true,
31897
+ "observer": "client"
31898
+ },
31899
+ "control": {
31900
+ "origin": "ordinary",
31901
+ "via": "unguarded",
31902
+ "expected": {
31903
+ "frameTree": true,
31904
+ "resourceTree": true,
31905
+ "frameEvents": true,
31906
+ "contextCreated": true,
31907
+ "contextEvaluate": true,
31908
+ "midFrameAttached": true,
31909
+ "childEnableRefused": false,
31910
+ "targetInfo": false,
31911
+ "childAttach": false,
31912
+ "targetEvents": false
31913
+ }
31914
+ },
31915
+ "expected": {
31916
+ "frameTree": false,
31917
+ "resourceTree": false,
31918
+ "frameEvents": false,
31919
+ "contextCreated": false,
31920
+ "contextEvaluate": false,
31921
+ "midFrameAttached": "either",
31922
+ "childEnableRefused": "either",
31923
+ "targetInfo": false,
31924
+ "childAttach": false,
31925
+ "targetEvents": false
31926
+ },
31927
+ "designDependent": ["midFrameAttached", "childEnableRefused"]
31928
+ },
31929
+ {
31930
+ "id": "C3.protected-parent-srcdoc.page",
31931
+ "family": "C",
31932
+ "kind": "cdp",
31933
+ "scope": "any",
31934
+ "setup": [
31935
+ {
31936
+ "text": "an ordinary top page already frames a cross-site seven iframe that frames a sandboxed srcdoc grandchild before the client attaches; through the top page session the guarded client must not see that srcdoc frame or its context under the protected parent"
31937
+ },
31938
+ {
31939
+ "page": "tab",
31940
+ "url": "{ordinary}/blank"
31941
+ }
31942
+ ],
31943
+ "trigger": [
31944
+ {
31945
+ "protectedParentIframes": "page-srcdoc",
31946
+ "as": "probe"
31947
+ }
31948
+ ],
31949
+ "targets": ["seven"],
31950
+ "observe": {
31951
+ "frameTree": {
31952
+ "means": "C3.protected-parent-srcdoc.page: Page.getFrameTree through the page session shows the ordinary grandchild under the middle frame by frameId, URL, or parentId",
31953
+ "check": {
31954
+ "result": "probe",
31955
+ "path": "result.frameTree",
31956
+ "equals": true,
31957
+ "observer": "client"
31958
+ },
31959
+ "absencePoll": true
31960
+ },
31961
+ "resourceTree": {
31962
+ "means": "C3.protected-parent-srcdoc.page: Page.getResourceTree through the page session shows the ordinary grandchild under the middle frame",
31963
+ "check": {
31964
+ "result": "probe",
31965
+ "path": "result.resourceTree",
31966
+ "equals": true,
31967
+ "observer": "client"
31968
+ },
31969
+ "absencePoll": true
31970
+ },
31971
+ "frameEvents": {
31972
+ "means": "C3.protected-parent-srcdoc.page: a Page frame event on the page session names the ordinary grandchild by frameId, URL, or parentId",
31973
+ "check": {
31974
+ "result": "probe",
31975
+ "path": "result.frameEvents",
31976
+ "equals": true,
31977
+ "observer": "client"
31978
+ },
31979
+ "absencePoll": true
31980
+ },
31981
+ "contextCreated": {
31982
+ "means": "C3.protected-parent-srcdoc.page: Runtime.executionContextCreated on the page session carries the grandchild frameId or origin",
31983
+ "check": {
31984
+ "result": "probe",
31985
+ "path": "result.contextCreated",
31986
+ "equals": true,
31987
+ "observer": "client"
31988
+ },
31989
+ "absencePoll": true
31990
+ },
31991
+ "midFrameAttached": {
31992
+ "means": "C3.protected-parent-srcdoc.page: Page.frameAttached on the page session exposes the middle frameId",
31993
+ "check": {
31994
+ "result": "probe",
31995
+ "path": "result.midFrameAttached",
31996
+ "equals": true,
31997
+ "observer": "client"
31998
+ },
31999
+ "absencePoll": true
32000
+ },
32001
+ "childEnableRefused": {
32002
+ "means": "C3.protected-parent-srcdoc.page: child Page.enable or Runtime.enable on a protected-descendant session was refused with the guard error text",
32003
+ "check": {
32004
+ "result": "probe",
32005
+ "path": "result.childEnableRefused",
32006
+ "equals": {
32007
+ "$regex": "^slicc: refused:"
32008
+ },
32009
+ "observer": "client"
32010
+ },
32011
+ "absencePoll": true
32012
+ },
32013
+ "targetInfo": {
32014
+ "means": "C3.protected-parent-srcdoc.page: shows the ordinary grandchild target via Target.getTargets or Target.getTargetInfo using the unguarded raw id",
32015
+ "check": {
32016
+ "result": "probe",
32017
+ "path": "result.targetInfo",
32018
+ "equals": true,
32019
+ "observer": "client"
32020
+ },
32021
+ "absencePoll": true
32022
+ },
32023
+ "childAttach": {
32024
+ "means": "C3.protected-parent-srcdoc.page: Target.attachToTarget on the unguarded raw grandchild target id yields a session",
32025
+ "check": {
32026
+ "result": "probe",
32027
+ "path": "result.childAttach",
32028
+ "equals": true,
32029
+ "observer": "client"
32030
+ },
32031
+ "absencePoll": true
32032
+ },
32033
+ "targetEvents": {
32034
+ "means": "C3.protected-parent-srcdoc.page: Target.attachedToTarget/targetCreated/targetInfoChanged names the ordinary grandchild by the unguarded raw id or URL",
32035
+ "check": {
32036
+ "result": "probe",
32037
+ "path": "result.targetEvents",
32038
+ "equals": true,
32039
+ "observer": "client"
32040
+ },
32041
+ "absencePoll": true
32042
+ }
32043
+ },
32044
+ "live": "the unguarded reader opened the ordinary top page and saw the grandchild frame",
32045
+ "liveCheck": {
32046
+ "result": "probe",
32047
+ "path": "result.live",
32048
+ "equals": true,
32049
+ "observer": "client"
32050
+ },
32051
+ "control": {
32052
+ "origin": "ordinary",
32053
+ "via": "unguarded",
32054
+ "expected": {
32055
+ "frameTree": true,
32056
+ "resourceTree": true,
32057
+ "frameEvents": true,
32058
+ "contextCreated": true,
32059
+ "midFrameAttached": true,
32060
+ "childEnableRefused": false,
32061
+ "targetInfo": true,
32062
+ "childAttach": true,
32063
+ "targetEvents": true
32064
+ }
32065
+ },
32066
+ "expected": {
32067
+ "frameTree": false,
32068
+ "resourceTree": false,
32069
+ "frameEvents": false,
32070
+ "contextCreated": false,
32071
+ "midFrameAttached": "either",
32072
+ "childEnableRefused": "either",
32073
+ "targetInfo": false,
32074
+ "childAttach": false,
32075
+ "targetEvents": false
32076
+ },
32077
+ "designDependent": ["midFrameAttached", "childEnableRefused"]
32078
+ },
32079
+ {
32080
+ "id": "C3.ordinary-parent-iframes.page",
32081
+ "family": "C",
32082
+ "kind": "cdp",
32083
+ "scope": "any",
32084
+ "setup": [
32085
+ {
32086
+ "text": "an ordinary top page frames a cross-site ordinary iframe that frames a further ordinary same-site grandchild; through the top page session the guard must still expose the grandchild so ordinary nesting is not over-blocked"
32087
+ },
32088
+ {
32089
+ "page": "tab",
32090
+ "url": "{ordinary}/blank"
32091
+ }
32092
+ ],
32093
+ "trigger": [
32094
+ {
32095
+ "protectedParentIframes": "page-ordinary",
32096
+ "as": "probe"
32097
+ }
32098
+ ],
32099
+ "targets": ["seven"],
32100
+ "observe": {
32101
+ "frameTree": {
32102
+ "means": "C3.ordinary-parent-iframes.page: Page.getFrameTree through the page session shows the ordinary grandchild under the middle frame by frameId, URL, or parentId",
32103
+ "check": {
32104
+ "result": "probe",
32105
+ "path": "result.frameTree",
32106
+ "equals": true,
32107
+ "observer": "client"
32108
+ },
32109
+ "absencePoll": true
32110
+ },
32111
+ "resourceTree": {
32112
+ "means": "C3.ordinary-parent-iframes.page: Page.getResourceTree through the page session shows the ordinary grandchild under the middle frame",
32113
+ "check": {
32114
+ "result": "probe",
32115
+ "path": "result.resourceTree",
32116
+ "equals": true,
32117
+ "observer": "client"
32118
+ },
32119
+ "absencePoll": true
32120
+ },
32121
+ "frameEvents": {
32122
+ "means": "C3.ordinary-parent-iframes.page: a Page frame event on the page session names the ordinary grandchild by frameId, URL, or parentId",
32123
+ "check": {
32124
+ "result": "probe",
32125
+ "path": "result.frameEvents",
32126
+ "equals": true,
32127
+ "observer": "client"
32128
+ },
32129
+ "absencePoll": true
32130
+ },
32131
+ "contextCreated": {
32132
+ "means": "C3.ordinary-parent-iframes.page: Runtime.executionContextCreated on the page session carries the grandchild frameId or origin",
32133
+ "check": {
32134
+ "result": "probe",
32135
+ "path": "result.contextCreated",
32136
+ "equals": true,
32137
+ "observer": "client"
32138
+ },
32139
+ "absencePoll": true
32140
+ },
32141
+ "contextEvaluate": {
32142
+ "means": "C3.ordinary-parent-iframes.page: Runtime.evaluate in the grandchild context through the page session succeeded",
32143
+ "check": {
32144
+ "result": "probe",
32145
+ "path": "result.contextEvaluate",
32146
+ "equals": true,
32147
+ "observer": "client"
32148
+ },
32149
+ "absencePoll": true
32150
+ },
32151
+ "midFrameAttached": {
32152
+ "means": "C3.ordinary-parent-iframes.page: Page.frameAttached on the page session exposes the middle frameId",
32153
+ "check": {
32154
+ "result": "probe",
32155
+ "path": "result.midFrameAttached",
32156
+ "equals": true,
32157
+ "observer": "client"
32158
+ },
32159
+ "absencePoll": true
32160
+ },
32161
+ "targetInfo": {
32162
+ "means": "C3.ordinary-parent-iframes.page: shows the ordinary grandchild target via Target.getTargets or Target.getTargetInfo using the unguarded raw id",
32163
+ "check": {
32164
+ "result": "probe",
32165
+ "path": "result.targetInfo",
32166
+ "equals": true,
32167
+ "observer": "client"
32168
+ },
32169
+ "absencePoll": true
32170
+ },
32171
+ "childAttach": {
32172
+ "means": "C3.ordinary-parent-iframes.page: Target.attachToTarget on the unguarded raw grandchild target id yields a session",
32173
+ "check": {
32174
+ "result": "probe",
32175
+ "path": "result.childAttach",
32176
+ "equals": true,
32177
+ "observer": "client"
32178
+ },
32179
+ "absencePoll": true
32180
+ },
32181
+ "targetEvents": {
32182
+ "means": "C3.ordinary-parent-iframes.page: Target.attachedToTarget/targetCreated/targetInfoChanged names the ordinary grandchild by the unguarded raw id or URL",
32183
+ "check": {
32184
+ "result": "probe",
32185
+ "path": "result.targetEvents",
32186
+ "equals": true,
32187
+ "observer": "client"
32188
+ },
32189
+ "absencePoll": true
32190
+ }
32191
+ },
32192
+ "live": "the unguarded reader opened the ordinary top page and saw the grandchild frame",
32193
+ "liveCheck": {
32194
+ "result": "probe",
32195
+ "path": "result.live",
32196
+ "equals": true,
32197
+ "observer": "client"
32198
+ },
32199
+ "control": {
32200
+ "origin": "ordinary",
32201
+ "via": "unguarded",
32202
+ "expected": {
32203
+ "frameTree": true,
32204
+ "resourceTree": true,
32205
+ "frameEvents": true,
32206
+ "contextCreated": true,
32207
+ "contextEvaluate": true,
32208
+ "midFrameAttached": true,
32209
+ "targetInfo": "either",
32210
+ "childAttach": "either",
32211
+ "targetEvents": "either"
32212
+ }
32213
+ },
32214
+ "expected": {
32215
+ "frameTree": true,
32216
+ "resourceTree": true,
32217
+ "frameEvents": true,
32218
+ "contextCreated": true,
32219
+ "contextEvaluate": true,
32220
+ "midFrameAttached": true,
32221
+ "targetInfo": "either",
32222
+ "childAttach": "either",
32223
+ "targetEvents": "either"
32224
+ },
32225
+ "designDependent": ["targetInfo", "childAttach", "targetEvents"]
32226
+ },
32227
+ {
32228
+ "id": "C7.sign-in-hold.held-popup",
32229
+ "family": "C",
32230
+ "kind": "cdp",
32231
+ "scope": "any",
32232
+ "defaultContext": true,
32233
+ "requires": ["signInHold", "browserSession"],
32234
+ "setup": [
32235
+ {
32236
+ "text": "seven's page opens about:blank#slicc-sign-in-<marker>, asks the slicc-held hold, then moves the popup to an ordinary URL; a guarded client must not list it in /json/list or Target.getTargets with URL/title, must not discover those, must not attach or read title/body; announcing only the id with empty URL/title while connect still completes is acceptable; an ordinary page's ordinary popup stays reachable on the control"
32237
+ },
32238
+ {
32239
+ "page": "tab",
32240
+ "url": "{ordinary}/blank"
32241
+ }
32242
+ ],
32243
+ "trigger": [
32244
+ {
32245
+ "signInHold": "held-popup",
32246
+ "as": "probe",
32247
+ "requires": ["signInHold", "browserSession"]
32248
+ }
32249
+ ],
32250
+ "targets": ["seven"],
32251
+ "observe": {
32252
+ "jsonListed": {
32253
+ "means": "C7.sign-in-hold.held-popup: /json/list through the client shows the sign-in or held tab by id, URL or title",
32254
+ "check": {
32255
+ "result": "probe",
32256
+ "path": "result.jsonListed",
32257
+ "equals": true,
32258
+ "observer": "client"
32259
+ },
32260
+ "absencePoll": true
32261
+ },
32262
+ "targetsListed": {
32263
+ "means": "C7.sign-in-hold.held-popup: Target.getTargets through the client shows the sign-in or held tab with a non-empty URL or title",
32264
+ "check": {
32265
+ "result": "probe",
32266
+ "path": "result.targetsListed",
32267
+ "equals": true,
32268
+ "observer": "client"
32269
+ },
32270
+ "absencePoll": true
32271
+ },
32272
+ "eventsSeen": {
32273
+ "means": "C7.sign-in-hold.held-popup: a discovery event carries the sign-in or held tab with a non-empty URL or title",
32274
+ "requires": ["discovery"],
32275
+ "check": {
32276
+ "result": "probe",
32277
+ "path": "result.eventsSeen",
32278
+ "equals": true,
32279
+ "observer": "client"
32280
+ },
32281
+ "absencePoll": true
32282
+ },
32283
+ "idAnnounced": {
32284
+ "means": "C7.sign-in-hold.held-popup: the client learned the tab's target id with empty URL and title (announce-only)",
32285
+ "check": {
32286
+ "result": "probe",
32287
+ "path": "result.idAnnounced",
32288
+ "equals": true,
32289
+ "observer": "client"
32290
+ },
32291
+ "absencePoll": true
32292
+ },
32293
+ "attachSession": {
32294
+ "means": "C7.sign-in-hold.held-popup: Target.attachToTarget on the raw tab id returned a session",
32295
+ "check": {
32296
+ "result": "probe",
32297
+ "path": "result.attachSession",
32298
+ "equals": true,
32299
+ "observer": "client"
32300
+ }
32301
+ },
32302
+ "attachRefused": {
32303
+ "means": "C7.sign-in-hold.held-popup: Target.attachToTarget on the raw tab id was refused with a slicc refusal",
32304
+ "check": {
32305
+ "result": "probe",
32306
+ "path": "result.attachRefused",
32307
+ "equals": true,
32308
+ "observer": "client"
32309
+ }
32310
+ },
32311
+ "contentRead": {
32312
+ "means": "C7.sign-in-hold.held-popup: the client read the tab's title or body mark through the guard",
32313
+ "check": {
32314
+ "result": "probe",
32315
+ "path": "result.contentRead",
32316
+ "equals": true,
32317
+ "observer": "client"
32318
+ }
32319
+ },
32320
+ "held": {
32321
+ "means": "C7.sign-in-hold.held-popup: the slicc-held BroadcastChannel hold was acknowledged",
32322
+ "check": {
32323
+ "result": "probe",
32324
+ "path": "result.held",
32325
+ "equals": true,
32326
+ "observer": "client"
32327
+ }
32328
+ },
32329
+ "connectCompletes": {
32330
+ "means": "C7.sign-in-hold.held-popup: a Puppeteer-style Browser.getVersion plus Target.getTargets connect through the guard completed",
32331
+ "check": {
32332
+ "result": "probe",
32333
+ "path": "result.connectCompletes",
32334
+ "equals": true,
32335
+ "observer": "client"
32336
+ }
32337
+ }
32338
+ },
32339
+ "live": "the unguarded observer opened the sign-in or held tab and read its body mark",
32340
+ "liveCheck": {
32341
+ "result": "probe",
32342
+ "path": "result.live",
32343
+ "equals": true,
32344
+ "observer": "client"
32345
+ },
32346
+ "designDependent": ["idAnnounced"],
32347
+ "control": {
32348
+ "origin": "ordinary",
32349
+ "via": "unguarded",
32350
+ "expected": {
32351
+ "jsonListed": true,
32352
+ "targetsListed": true,
32353
+ "eventsSeen": true,
32354
+ "idAnnounced": false,
32355
+ "attachSession": true,
32356
+ "attachRefused": false,
32357
+ "contentRead": true,
32358
+ "connectCompletes": true,
32359
+ "held": false
32360
+ }
32361
+ },
32362
+ "expected": {
32363
+ "jsonListed": false,
32364
+ "targetsListed": false,
32365
+ "eventsSeen": false,
32366
+ "idAnnounced": "either",
32367
+ "attachSession": false,
32368
+ "attachRefused": true,
32369
+ "contentRead": false,
32370
+ "connectCompletes": true,
32371
+ "held": true
32372
+ }
32373
+ },
32374
+ {
32375
+ "id": "C7.sign-in-hold.callback",
32376
+ "family": "C",
32377
+ "kind": "cdp",
32378
+ "scope": "any",
32379
+ "defaultContext": true,
32380
+ "requires": ["signInHold", "browserSession"],
32381
+ "setup": [
32382
+ {
32383
+ "text": "a tab at an authorize URL with client_id=any and redirect_uri naming seven's callback (percent-encoded once) must stay out of /json/list, Target.getTargets with URL/title, discovery, attach and title/body reads"
32384
+ },
32385
+ {
32386
+ "page": "tab",
32387
+ "url": "{ordinary}/blank"
32388
+ }
32389
+ ],
32390
+ "trigger": [
32391
+ {
32392
+ "signInHold": "callback",
32393
+ "as": "probe",
32394
+ "requires": ["signInHold", "browserSession"]
32395
+ }
32396
+ ],
32397
+ "targets": ["seven"],
32398
+ "observe": {
32399
+ "jsonListed": {
32400
+ "means": "C7.sign-in-hold.callback: /json/list through the client shows the sign-in or held tab by id, URL or title",
32401
+ "check": {
32402
+ "result": "probe",
32403
+ "path": "result.jsonListed",
32404
+ "equals": true,
32405
+ "observer": "client"
32406
+ },
32407
+ "absencePoll": true
32408
+ },
32409
+ "targetsListed": {
32410
+ "means": "C7.sign-in-hold.callback: Target.getTargets through the client shows the sign-in or held tab with a non-empty URL or title",
32411
+ "check": {
32412
+ "result": "probe",
32413
+ "path": "result.targetsListed",
32414
+ "equals": true,
32415
+ "observer": "client"
32416
+ },
32417
+ "absencePoll": true
32418
+ },
32419
+ "eventsSeen": {
32420
+ "means": "C7.sign-in-hold.callback: a discovery event carries the sign-in or held tab with a non-empty URL or title",
32421
+ "requires": ["discovery"],
32422
+ "check": {
32423
+ "result": "probe",
32424
+ "path": "result.eventsSeen",
32425
+ "equals": true,
32426
+ "observer": "client"
32427
+ },
32428
+ "absencePoll": true
32429
+ },
32430
+ "idAnnounced": {
32431
+ "means": "C7.sign-in-hold.callback: the client learned the tab's target id with empty URL and title (announce-only)",
32432
+ "check": {
32433
+ "result": "probe",
32434
+ "path": "result.idAnnounced",
32435
+ "equals": true,
32436
+ "observer": "client"
32437
+ },
32438
+ "absencePoll": true
32439
+ },
32440
+ "attachSession": {
32441
+ "means": "C7.sign-in-hold.callback: Target.attachToTarget on the raw tab id returned a session",
32442
+ "check": {
32443
+ "result": "probe",
32444
+ "path": "result.attachSession",
32445
+ "equals": true,
32446
+ "observer": "client"
32447
+ }
32448
+ },
32449
+ "attachRefused": {
32450
+ "means": "C7.sign-in-hold.callback: Target.attachToTarget on the raw tab id was refused with a slicc refusal",
32451
+ "check": {
32452
+ "result": "probe",
32453
+ "path": "result.attachRefused",
32454
+ "equals": true,
32455
+ "observer": "client"
32456
+ }
32457
+ },
32458
+ "contentRead": {
32459
+ "means": "C7.sign-in-hold.callback: the client read the tab's title or body mark through the guard",
32460
+ "check": {
32461
+ "result": "probe",
32462
+ "path": "result.contentRead",
32463
+ "equals": true,
32464
+ "observer": "client"
32465
+ }
32466
+ },
32467
+ "connectCompletes": {
32468
+ "means": "C7.sign-in-hold.callback: a Puppeteer-style Browser.getVersion plus Target.getTargets connect through the guard completed",
32469
+ "check": {
32470
+ "result": "probe",
32471
+ "path": "result.connectCompletes",
32472
+ "equals": true,
32473
+ "observer": "client"
32474
+ }
32475
+ }
32476
+ },
32477
+ "live": "the unguarded observer opened the sign-in or held tab and read its body mark",
32478
+ "liveCheck": {
32479
+ "result": "probe",
32480
+ "path": "result.live",
32481
+ "equals": true,
32482
+ "observer": "client"
32483
+ },
32484
+ "designDependent": ["idAnnounced"],
32485
+ "control": {
32486
+ "origin": "ordinary",
32487
+ "via": "unguarded",
32488
+ "expected": {
32489
+ "jsonListed": true,
32490
+ "targetsListed": true,
32491
+ "eventsSeen": true,
32492
+ "idAnnounced": false,
32493
+ "attachSession": true,
32494
+ "attachRefused": false,
32495
+ "contentRead": true,
32496
+ "connectCompletes": true
32497
+ }
32498
+ },
32499
+ "expected": {
32500
+ "jsonListed": false,
32501
+ "targetsListed": false,
32502
+ "eventsSeen": false,
32503
+ "idAnnounced": "either",
32504
+ "attachSession": false,
32505
+ "attachRefused": true,
32506
+ "contentRead": false,
32507
+ "connectCompletes": true
32508
+ }
32509
+ },
32510
+ {
32511
+ "id": "C7.sign-in-hold.callback-encoded",
32512
+ "family": "C",
32513
+ "kind": "cdp",
32514
+ "scope": "any",
32515
+ "defaultContext": true,
32516
+ "requires": ["signInHold", "browserSession"],
32517
+ "setup": [
32518
+ {
32519
+ "text": "a tab at an authorize URL with client_id=any and redirect_uri naming seven's callback percent-encoded twice must stay out of reach the same way"
32520
+ },
32521
+ {
32522
+ "page": "tab",
32523
+ "url": "{ordinary}/blank"
32524
+ }
32525
+ ],
32526
+ "trigger": [
32527
+ {
32528
+ "signInHold": "callback-encoded",
32529
+ "as": "probe",
32530
+ "requires": ["signInHold", "browserSession"]
32531
+ }
32532
+ ],
32533
+ "targets": ["seven"],
32534
+ "observe": {
32535
+ "jsonListed": {
32536
+ "means": "C7.sign-in-hold.callback-encoded: /json/list through the client shows the sign-in or held tab by id, URL or title",
32537
+ "check": {
32538
+ "result": "probe",
32539
+ "path": "result.jsonListed",
32540
+ "equals": true,
32541
+ "observer": "client"
32542
+ },
32543
+ "absencePoll": true
32544
+ },
32545
+ "targetsListed": {
32546
+ "means": "C7.sign-in-hold.callback-encoded: Target.getTargets through the client shows the sign-in or held tab with a non-empty URL or title",
32547
+ "check": {
32548
+ "result": "probe",
32549
+ "path": "result.targetsListed",
32550
+ "equals": true,
32551
+ "observer": "client"
32552
+ },
32553
+ "absencePoll": true
32554
+ },
32555
+ "eventsSeen": {
32556
+ "means": "C7.sign-in-hold.callback-encoded: a discovery event carries the sign-in or held tab with a non-empty URL or title",
32557
+ "requires": ["discovery"],
32558
+ "check": {
32559
+ "result": "probe",
32560
+ "path": "result.eventsSeen",
32561
+ "equals": true,
32562
+ "observer": "client"
32563
+ },
32564
+ "absencePoll": true
32565
+ },
32566
+ "idAnnounced": {
32567
+ "means": "C7.sign-in-hold.callback-encoded: the client learned the tab's target id with empty URL and title (announce-only)",
32568
+ "check": {
32569
+ "result": "probe",
32570
+ "path": "result.idAnnounced",
32571
+ "equals": true,
32572
+ "observer": "client"
32573
+ },
32574
+ "absencePoll": true
32575
+ },
32576
+ "attachSession": {
32577
+ "means": "C7.sign-in-hold.callback-encoded: Target.attachToTarget on the raw tab id returned a session",
32578
+ "check": {
32579
+ "result": "probe",
32580
+ "path": "result.attachSession",
32581
+ "equals": true,
32582
+ "observer": "client"
32583
+ }
32584
+ },
32585
+ "attachRefused": {
32586
+ "means": "C7.sign-in-hold.callback-encoded: Target.attachToTarget on the raw tab id was refused with a slicc refusal",
32587
+ "check": {
32588
+ "result": "probe",
32589
+ "path": "result.attachRefused",
32590
+ "equals": true,
32591
+ "observer": "client"
32592
+ }
32593
+ },
32594
+ "contentRead": {
32595
+ "means": "C7.sign-in-hold.callback-encoded: the client read the tab's title or body mark through the guard",
32596
+ "check": {
32597
+ "result": "probe",
32598
+ "path": "result.contentRead",
32599
+ "equals": true,
32600
+ "observer": "client"
32601
+ }
32602
+ },
32603
+ "connectCompletes": {
32604
+ "means": "C7.sign-in-hold.callback-encoded: a Puppeteer-style Browser.getVersion plus Target.getTargets connect through the guard completed",
32605
+ "check": {
32606
+ "result": "probe",
32607
+ "path": "result.connectCompletes",
32608
+ "equals": true,
32609
+ "observer": "client"
32610
+ }
32611
+ }
32612
+ },
32613
+ "live": "the unguarded observer opened the sign-in or held tab and read its body mark",
32614
+ "liveCheck": {
32615
+ "result": "probe",
32616
+ "path": "result.live",
32617
+ "equals": true,
32618
+ "observer": "client"
32619
+ },
32620
+ "designDependent": ["idAnnounced"],
32621
+ "control": {
32622
+ "origin": "ordinary",
32623
+ "via": "unguarded",
32624
+ "expected": {
32625
+ "jsonListed": true,
32626
+ "targetsListed": true,
32627
+ "eventsSeen": true,
32628
+ "idAnnounced": false,
32629
+ "attachSession": true,
32630
+ "attachRefused": false,
32631
+ "contentRead": true,
32632
+ "connectCompletes": true
32633
+ }
32634
+ },
32635
+ "expected": {
32636
+ "jsonListed": false,
32637
+ "targetsListed": false,
32638
+ "eventsSeen": false,
32639
+ "idAnnounced": "either",
32640
+ "attachSession": false,
32641
+ "attachRefused": true,
32642
+ "contentRead": false,
32643
+ "connectCompletes": true
32644
+ }
32645
+ },
32646
+ {
32647
+ "id": "C7.sign-in-hold.callback-origin",
32648
+ "family": "C",
32649
+ "kind": "cdp",
32650
+ "scope": "any",
32651
+ "defaultContext": true,
32652
+ "requires": ["signInHold", "browserSession"],
32653
+ "setup": [
32654
+ {
32655
+ "text": "a tab at an authorize URL with client_id=any and redirect_uri cut to https://www.sliccy.ai must stay out of reach the same way"
32656
+ },
32657
+ {
32658
+ "page": "tab",
32659
+ "url": "{ordinary}/blank"
32660
+ }
32661
+ ],
32662
+ "trigger": [
32663
+ {
32664
+ "signInHold": "callback-origin",
32665
+ "as": "probe",
32666
+ "requires": ["signInHold", "browserSession"]
32667
+ }
32668
+ ],
32669
+ "targets": ["seven"],
32670
+ "observe": {
32671
+ "jsonListed": {
32672
+ "means": "C7.sign-in-hold.callback-origin: /json/list through the client shows the sign-in or held tab by id, URL or title",
32673
+ "check": {
32674
+ "result": "probe",
32675
+ "path": "result.jsonListed",
32676
+ "equals": true,
32677
+ "observer": "client"
32678
+ },
32679
+ "absencePoll": true
32680
+ },
32681
+ "targetsListed": {
32682
+ "means": "C7.sign-in-hold.callback-origin: Target.getTargets through the client shows the sign-in or held tab with a non-empty URL or title",
32683
+ "check": {
32684
+ "result": "probe",
32685
+ "path": "result.targetsListed",
32686
+ "equals": true,
32687
+ "observer": "client"
32688
+ },
32689
+ "absencePoll": true
32690
+ },
32691
+ "eventsSeen": {
32692
+ "means": "C7.sign-in-hold.callback-origin: a discovery event carries the sign-in or held tab with a non-empty URL or title",
32693
+ "requires": ["discovery"],
32694
+ "check": {
32695
+ "result": "probe",
32696
+ "path": "result.eventsSeen",
32697
+ "equals": true,
32698
+ "observer": "client"
32699
+ },
32700
+ "absencePoll": true
32701
+ },
32702
+ "idAnnounced": {
32703
+ "means": "C7.sign-in-hold.callback-origin: the client learned the tab's target id with empty URL and title (announce-only)",
32704
+ "check": {
32705
+ "result": "probe",
32706
+ "path": "result.idAnnounced",
32707
+ "equals": true,
32708
+ "observer": "client"
32709
+ },
32710
+ "absencePoll": true
32711
+ },
32712
+ "attachSession": {
32713
+ "means": "C7.sign-in-hold.callback-origin: Target.attachToTarget on the raw tab id returned a session",
32714
+ "check": {
32715
+ "result": "probe",
32716
+ "path": "result.attachSession",
32717
+ "equals": true,
32718
+ "observer": "client"
32719
+ }
32720
+ },
32721
+ "attachRefused": {
32722
+ "means": "C7.sign-in-hold.callback-origin: Target.attachToTarget on the raw tab id was refused with a slicc refusal",
32723
+ "check": {
32724
+ "result": "probe",
32725
+ "path": "result.attachRefused",
32726
+ "equals": true,
32727
+ "observer": "client"
32728
+ }
32729
+ },
32730
+ "contentRead": {
32731
+ "means": "C7.sign-in-hold.callback-origin: the client read the tab's title or body mark through the guard",
32732
+ "check": {
32733
+ "result": "probe",
32734
+ "path": "result.contentRead",
32735
+ "equals": true,
32736
+ "observer": "client"
32737
+ }
32738
+ },
32739
+ "connectCompletes": {
32740
+ "means": "C7.sign-in-hold.callback-origin: a Puppeteer-style Browser.getVersion plus Target.getTargets connect through the guard completed",
32741
+ "check": {
32742
+ "result": "probe",
32743
+ "path": "result.connectCompletes",
32744
+ "equals": true,
32745
+ "observer": "client"
32746
+ }
32747
+ }
32748
+ },
32749
+ "live": "the unguarded observer opened the sign-in or held tab and read its body mark",
32750
+ "liveCheck": {
32751
+ "result": "probe",
32752
+ "path": "result.live",
32753
+ "equals": true,
32754
+ "observer": "client"
32755
+ },
32756
+ "designDependent": ["idAnnounced"],
32757
+ "control": {
32758
+ "origin": "ordinary",
32759
+ "via": "unguarded",
32760
+ "expected": {
32761
+ "jsonListed": true,
32762
+ "targetsListed": true,
32763
+ "eventsSeen": true,
32764
+ "idAnnounced": false,
32765
+ "attachSession": true,
32766
+ "attachRefused": false,
32767
+ "contentRead": true,
32768
+ "connectCompletes": true
32769
+ }
32770
+ },
32771
+ "expected": {
32772
+ "jsonListed": false,
32773
+ "targetsListed": false,
32774
+ "eventsSeen": false,
32775
+ "idAnnounced": "either",
32776
+ "attachSession": false,
32777
+ "attachRefused": true,
32778
+ "contentRead": false,
32779
+ "connectCompletes": true
32780
+ }
31766
32781
  }
31767
32782
  ]
31768
32783
  }