@ai-ecoverse/slicc-browsers 1.24.0 → 1.25.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/extension-frame.mjs +100 -23
- package/fixture-server.mjs +6 -4
- package/guard-vectors.json +464 -5
- package/package.json +5 -5
- package/protected-parent-iframes.mjs +1702 -2
- package/schema/guard-vectors.schema.json +7 -1
package/guard-vectors.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
|
-
"setVersion": "1.
|
|
3
|
+
"setVersion": "1.25.0",
|
|
4
4
|
"sources": [
|
|
5
5
|
{
|
|
6
6
|
"repo": "ai-ecoverse/slicc-cli",
|
|
@@ -26725,7 +26725,7 @@
|
|
|
26725
26725
|
{
|
|
26726
26726
|
"cdp": "Page.addScriptToEvaluateOnNewDocument",
|
|
26727
26727
|
"params": {
|
|
26728
|
-
"source": "// slicc
|
|
26728
|
+
"source": "// slicc
|
|
26729
26729
|
"worldName": "slicc-bound-ls-{tag}"
|
|
26730
26730
|
},
|
|
26731
26731
|
"as": "boundLs",
|
|
@@ -26737,7 +26737,7 @@
|
|
|
26737
26737
|
{
|
|
26738
26738
|
"cdp": "Page.addScriptToEvaluateOnNewDocument",
|
|
26739
26739
|
"params": {
|
|
26740
|
-
"source": "// slicc
|
|
26740
|
+
"source": "// slicc
|
|
26741
26741
|
"worldName": "slicc-bound-ps-{tag}"
|
|
26742
26742
|
},
|
|
26743
26743
|
"as": "boundPs",
|
|
@@ -26773,7 +26773,7 @@
|
|
|
26773
26773
|
{
|
|
26774
26774
|
"cdp": "Page.addScriptToEvaluateOnNewDocument",
|
|
26775
26775
|
"params": {
|
|
26776
|
-
"source": "
|
|
26776
|
+
"source": "\ufefffetch(new URL('/doc?n=bound-bom-{tag}', location.href)).catch(()=>{})\n//# sourceURL=slicc-bom-{tag}\n",
|
|
26777
26777
|
"worldName": "slicc-bound-bom-{tag}"
|
|
26778
26778
|
},
|
|
26779
26779
|
"as": "boundBom",
|
|
@@ -31563,7 +31563,6 @@
|
|
|
31563
31563
|
},
|
|
31564
31564
|
"designDependent": ["attachRefused", "workerAttached"]
|
|
31565
31565
|
},
|
|
31566
|
-
|
|
31567
31566
|
{
|
|
31568
31567
|
"id": "C3.protected-parent-iframes",
|
|
31569
31568
|
"family": "C",
|
|
@@ -31763,6 +31762,466 @@
|
|
|
31763
31762
|
"attachSession": false,
|
|
31764
31763
|
"attachRefused": true
|
|
31765
31764
|
}
|
|
31765
|
+
},
|
|
31766
|
+
{
|
|
31767
|
+
"id": "C3.protected-parent-iframes.page",
|
|
31768
|
+
"family": "C",
|
|
31769
|
+
"kind": "cdp",
|
|
31770
|
+
"scope": "any",
|
|
31771
|
+
"setup": [
|
|
31772
|
+
{
|
|
31773
|
+
"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"
|
|
31774
|
+
},
|
|
31775
|
+
{
|
|
31776
|
+
"page": "tab",
|
|
31777
|
+
"url": "{ordinary}/blank"
|
|
31778
|
+
}
|
|
31779
|
+
],
|
|
31780
|
+
"trigger": [
|
|
31781
|
+
{
|
|
31782
|
+
"protectedParentIframes": "page-nested",
|
|
31783
|
+
"as": "probe"
|
|
31784
|
+
}
|
|
31785
|
+
],
|
|
31786
|
+
"targets": ["seven", "vault"],
|
|
31787
|
+
"observe": {
|
|
31788
|
+
"frameTree": {
|
|
31789
|
+
"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",
|
|
31790
|
+
"check": {
|
|
31791
|
+
"result": "probe",
|
|
31792
|
+
"path": "result.frameTree",
|
|
31793
|
+
"equals": true,
|
|
31794
|
+
"observer": "client"
|
|
31795
|
+
},
|
|
31796
|
+
"absencePoll": true
|
|
31797
|
+
},
|
|
31798
|
+
"resourceTree": {
|
|
31799
|
+
"means": "C3.protected-parent-iframes.page: Page.getResourceTree through the page session shows the ordinary grandchild under the middle frame",
|
|
31800
|
+
"check": {
|
|
31801
|
+
"result": "probe",
|
|
31802
|
+
"path": "result.resourceTree",
|
|
31803
|
+
"equals": true,
|
|
31804
|
+
"observer": "client"
|
|
31805
|
+
},
|
|
31806
|
+
"absencePoll": true
|
|
31807
|
+
},
|
|
31808
|
+
"frameEvents": {
|
|
31809
|
+
"means": "C3.protected-parent-iframes.page: a Page frame event on the page session names the ordinary grandchild by frameId, URL, or parentId",
|
|
31810
|
+
"check": {
|
|
31811
|
+
"result": "probe",
|
|
31812
|
+
"path": "result.frameEvents",
|
|
31813
|
+
"equals": true,
|
|
31814
|
+
"observer": "client"
|
|
31815
|
+
},
|
|
31816
|
+
"absencePoll": true
|
|
31817
|
+
},
|
|
31818
|
+
"contextCreated": {
|
|
31819
|
+
"means": "C3.protected-parent-iframes.page: Runtime.executionContextCreated on the page session carries the grandchild frameId or origin",
|
|
31820
|
+
"check": {
|
|
31821
|
+
"result": "probe",
|
|
31822
|
+
"path": "result.contextCreated",
|
|
31823
|
+
"equals": true,
|
|
31824
|
+
"observer": "client"
|
|
31825
|
+
},
|
|
31826
|
+
"absencePoll": true
|
|
31827
|
+
},
|
|
31828
|
+
"contextEvaluate": {
|
|
31829
|
+
"means": "C3.protected-parent-iframes.page: Runtime.evaluate in the grandchild context through the page session succeeded",
|
|
31830
|
+
"check": {
|
|
31831
|
+
"result": "probe",
|
|
31832
|
+
"path": "result.contextEvaluate",
|
|
31833
|
+
"equals": true,
|
|
31834
|
+
"observer": "client"
|
|
31835
|
+
},
|
|
31836
|
+
"absencePoll": true
|
|
31837
|
+
},
|
|
31838
|
+
"midFrameAttached": {
|
|
31839
|
+
"means": "C3.protected-parent-iframes.page: Page.frameAttached on the page session exposes the middle frameId",
|
|
31840
|
+
"check": {
|
|
31841
|
+
"result": "probe",
|
|
31842
|
+
"path": "result.midFrameAttached",
|
|
31843
|
+
"equals": true,
|
|
31844
|
+
"observer": "client"
|
|
31845
|
+
},
|
|
31846
|
+
"absencePoll": true
|
|
31847
|
+
},
|
|
31848
|
+
"childEnableRefused": {
|
|
31849
|
+
"means": "C3.protected-parent-iframes.page: child Page.enable or Runtime.enable on a protected-descendant session was refused with the guard error text",
|
|
31850
|
+
"check": {
|
|
31851
|
+
"result": "probe",
|
|
31852
|
+
"path": "result.childEnableRefused",
|
|
31853
|
+
"equals": {
|
|
31854
|
+
"$regex": "^slicc: refused:"
|
|
31855
|
+
},
|
|
31856
|
+
"observer": "client"
|
|
31857
|
+
},
|
|
31858
|
+
"absencePoll": true
|
|
31859
|
+
},
|
|
31860
|
+
"targetInfo": {
|
|
31861
|
+
"means": "C3.protected-parent-iframes.page: shows the ordinary grandchild target via Target.getTargets or Target.getTargetInfo using the unguarded raw id",
|
|
31862
|
+
"check": {
|
|
31863
|
+
"result": "probe",
|
|
31864
|
+
"path": "result.targetInfo",
|
|
31865
|
+
"equals": true,
|
|
31866
|
+
"observer": "client"
|
|
31867
|
+
},
|
|
31868
|
+
"absencePoll": true
|
|
31869
|
+
},
|
|
31870
|
+
"childAttach": {
|
|
31871
|
+
"means": "C3.protected-parent-iframes.page: Target.attachToTarget on the unguarded raw grandchild target id yields a session",
|
|
31872
|
+
"check": {
|
|
31873
|
+
"result": "probe",
|
|
31874
|
+
"path": "result.childAttach",
|
|
31875
|
+
"equals": true,
|
|
31876
|
+
"observer": "client"
|
|
31877
|
+
},
|
|
31878
|
+
"absencePoll": true
|
|
31879
|
+
},
|
|
31880
|
+
"targetEvents": {
|
|
31881
|
+
"means": "C3.protected-parent-iframes.page: Target.attachedToTarget/targetCreated/targetInfoChanged names the ordinary grandchild by the unguarded raw id or URL",
|
|
31882
|
+
"check": {
|
|
31883
|
+
"result": "probe",
|
|
31884
|
+
"path": "result.targetEvents",
|
|
31885
|
+
"equals": true,
|
|
31886
|
+
"observer": "client"
|
|
31887
|
+
},
|
|
31888
|
+
"absencePoll": true
|
|
31889
|
+
}
|
|
31890
|
+
},
|
|
31891
|
+
"live": "the unguarded reader opened the ordinary top page and saw the grandchild frame",
|
|
31892
|
+
"liveCheck": {
|
|
31893
|
+
"result": "probe",
|
|
31894
|
+
"path": "result.live",
|
|
31895
|
+
"equals": true,
|
|
31896
|
+
"observer": "client"
|
|
31897
|
+
},
|
|
31898
|
+
"control": {
|
|
31899
|
+
"origin": "ordinary",
|
|
31900
|
+
"via": "unguarded",
|
|
31901
|
+
"expected": {
|
|
31902
|
+
"frameTree": true,
|
|
31903
|
+
"resourceTree": true,
|
|
31904
|
+
"frameEvents": true,
|
|
31905
|
+
"contextCreated": true,
|
|
31906
|
+
"contextEvaluate": true,
|
|
31907
|
+
"midFrameAttached": true,
|
|
31908
|
+
"childEnableRefused": false,
|
|
31909
|
+
"targetInfo": false,
|
|
31910
|
+
"childAttach": false,
|
|
31911
|
+
"targetEvents": false
|
|
31912
|
+
}
|
|
31913
|
+
},
|
|
31914
|
+
"expected": {
|
|
31915
|
+
"frameTree": false,
|
|
31916
|
+
"resourceTree": false,
|
|
31917
|
+
"frameEvents": false,
|
|
31918
|
+
"contextCreated": false,
|
|
31919
|
+
"contextEvaluate": false,
|
|
31920
|
+
"midFrameAttached": "either",
|
|
31921
|
+
"childEnableRefused": "either",
|
|
31922
|
+
"targetInfo": false,
|
|
31923
|
+
"childAttach": false,
|
|
31924
|
+
"targetEvents": false
|
|
31925
|
+
},
|
|
31926
|
+
"designDependent": ["midFrameAttached", "childEnableRefused"]
|
|
31927
|
+
},
|
|
31928
|
+
{
|
|
31929
|
+
"id": "C3.protected-parent-srcdoc.page",
|
|
31930
|
+
"family": "C",
|
|
31931
|
+
"kind": "cdp",
|
|
31932
|
+
"scope": "any",
|
|
31933
|
+
"setup": [
|
|
31934
|
+
{
|
|
31935
|
+
"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"
|
|
31936
|
+
},
|
|
31937
|
+
{
|
|
31938
|
+
"page": "tab",
|
|
31939
|
+
"url": "{ordinary}/blank"
|
|
31940
|
+
}
|
|
31941
|
+
],
|
|
31942
|
+
"trigger": [
|
|
31943
|
+
{
|
|
31944
|
+
"protectedParentIframes": "page-srcdoc",
|
|
31945
|
+
"as": "probe"
|
|
31946
|
+
}
|
|
31947
|
+
],
|
|
31948
|
+
"targets": ["seven"],
|
|
31949
|
+
"observe": {
|
|
31950
|
+
"frameTree": {
|
|
31951
|
+
"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",
|
|
31952
|
+
"check": {
|
|
31953
|
+
"result": "probe",
|
|
31954
|
+
"path": "result.frameTree",
|
|
31955
|
+
"equals": true,
|
|
31956
|
+
"observer": "client"
|
|
31957
|
+
},
|
|
31958
|
+
"absencePoll": true
|
|
31959
|
+
},
|
|
31960
|
+
"resourceTree": {
|
|
31961
|
+
"means": "C3.protected-parent-srcdoc.page: Page.getResourceTree through the page session shows the ordinary grandchild under the middle frame",
|
|
31962
|
+
"check": {
|
|
31963
|
+
"result": "probe",
|
|
31964
|
+
"path": "result.resourceTree",
|
|
31965
|
+
"equals": true,
|
|
31966
|
+
"observer": "client"
|
|
31967
|
+
},
|
|
31968
|
+
"absencePoll": true
|
|
31969
|
+
},
|
|
31970
|
+
"frameEvents": {
|
|
31971
|
+
"means": "C3.protected-parent-srcdoc.page: a Page frame event on the page session names the ordinary grandchild by frameId, URL, or parentId",
|
|
31972
|
+
"check": {
|
|
31973
|
+
"result": "probe",
|
|
31974
|
+
"path": "result.frameEvents",
|
|
31975
|
+
"equals": true,
|
|
31976
|
+
"observer": "client"
|
|
31977
|
+
},
|
|
31978
|
+
"absencePoll": true
|
|
31979
|
+
},
|
|
31980
|
+
"contextCreated": {
|
|
31981
|
+
"means": "C3.protected-parent-srcdoc.page: Runtime.executionContextCreated on the page session carries the grandchild frameId or origin",
|
|
31982
|
+
"check": {
|
|
31983
|
+
"result": "probe",
|
|
31984
|
+
"path": "result.contextCreated",
|
|
31985
|
+
"equals": true,
|
|
31986
|
+
"observer": "client"
|
|
31987
|
+
},
|
|
31988
|
+
"absencePoll": true
|
|
31989
|
+
},
|
|
31990
|
+
"midFrameAttached": {
|
|
31991
|
+
"means": "C3.protected-parent-srcdoc.page: Page.frameAttached on the page session exposes the middle frameId",
|
|
31992
|
+
"check": {
|
|
31993
|
+
"result": "probe",
|
|
31994
|
+
"path": "result.midFrameAttached",
|
|
31995
|
+
"equals": true,
|
|
31996
|
+
"observer": "client"
|
|
31997
|
+
},
|
|
31998
|
+
"absencePoll": true
|
|
31999
|
+
},
|
|
32000
|
+
"childEnableRefused": {
|
|
32001
|
+
"means": "C3.protected-parent-srcdoc.page: child Page.enable or Runtime.enable on a protected-descendant session was refused with the guard error text",
|
|
32002
|
+
"check": {
|
|
32003
|
+
"result": "probe",
|
|
32004
|
+
"path": "result.childEnableRefused",
|
|
32005
|
+
"equals": {
|
|
32006
|
+
"$regex": "^slicc: refused:"
|
|
32007
|
+
},
|
|
32008
|
+
"observer": "client"
|
|
32009
|
+
},
|
|
32010
|
+
"absencePoll": true
|
|
32011
|
+
},
|
|
32012
|
+
"targetInfo": {
|
|
32013
|
+
"means": "C3.protected-parent-srcdoc.page: shows the ordinary grandchild target via Target.getTargets or Target.getTargetInfo using the unguarded raw id",
|
|
32014
|
+
"check": {
|
|
32015
|
+
"result": "probe",
|
|
32016
|
+
"path": "result.targetInfo",
|
|
32017
|
+
"equals": true,
|
|
32018
|
+
"observer": "client"
|
|
32019
|
+
},
|
|
32020
|
+
"absencePoll": true
|
|
32021
|
+
},
|
|
32022
|
+
"childAttach": {
|
|
32023
|
+
"means": "C3.protected-parent-srcdoc.page: Target.attachToTarget on the unguarded raw grandchild target id yields a session",
|
|
32024
|
+
"check": {
|
|
32025
|
+
"result": "probe",
|
|
32026
|
+
"path": "result.childAttach",
|
|
32027
|
+
"equals": true,
|
|
32028
|
+
"observer": "client"
|
|
32029
|
+
},
|
|
32030
|
+
"absencePoll": true
|
|
32031
|
+
},
|
|
32032
|
+
"targetEvents": {
|
|
32033
|
+
"means": "C3.protected-parent-srcdoc.page: Target.attachedToTarget/targetCreated/targetInfoChanged names the ordinary grandchild by the unguarded raw id or URL",
|
|
32034
|
+
"check": {
|
|
32035
|
+
"result": "probe",
|
|
32036
|
+
"path": "result.targetEvents",
|
|
32037
|
+
"equals": true,
|
|
32038
|
+
"observer": "client"
|
|
32039
|
+
},
|
|
32040
|
+
"absencePoll": true
|
|
32041
|
+
}
|
|
32042
|
+
},
|
|
32043
|
+
"live": "the unguarded reader opened the ordinary top page and saw the grandchild frame",
|
|
32044
|
+
"liveCheck": {
|
|
32045
|
+
"result": "probe",
|
|
32046
|
+
"path": "result.live",
|
|
32047
|
+
"equals": true,
|
|
32048
|
+
"observer": "client"
|
|
32049
|
+
},
|
|
32050
|
+
"control": {
|
|
32051
|
+
"origin": "ordinary",
|
|
32052
|
+
"via": "unguarded",
|
|
32053
|
+
"expected": {
|
|
32054
|
+
"frameTree": true,
|
|
32055
|
+
"resourceTree": true,
|
|
32056
|
+
"frameEvents": true,
|
|
32057
|
+
"contextCreated": true,
|
|
32058
|
+
"midFrameAttached": true,
|
|
32059
|
+
"childEnableRefused": false,
|
|
32060
|
+
"targetInfo": true,
|
|
32061
|
+
"childAttach": true,
|
|
32062
|
+
"targetEvents": true
|
|
32063
|
+
}
|
|
32064
|
+
},
|
|
32065
|
+
"expected": {
|
|
32066
|
+
"frameTree": false,
|
|
32067
|
+
"resourceTree": false,
|
|
32068
|
+
"frameEvents": false,
|
|
32069
|
+
"contextCreated": false,
|
|
32070
|
+
"midFrameAttached": "either",
|
|
32071
|
+
"childEnableRefused": "either",
|
|
32072
|
+
"targetInfo": false,
|
|
32073
|
+
"childAttach": false,
|
|
32074
|
+
"targetEvents": false
|
|
32075
|
+
},
|
|
32076
|
+
"designDependent": ["midFrameAttached", "childEnableRefused"]
|
|
32077
|
+
},
|
|
32078
|
+
{
|
|
32079
|
+
"id": "C3.ordinary-parent-iframes.page",
|
|
32080
|
+
"family": "C",
|
|
32081
|
+
"kind": "cdp",
|
|
32082
|
+
"scope": "any",
|
|
32083
|
+
"setup": [
|
|
32084
|
+
{
|
|
32085
|
+
"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"
|
|
32086
|
+
},
|
|
32087
|
+
{
|
|
32088
|
+
"page": "tab",
|
|
32089
|
+
"url": "{ordinary}/blank"
|
|
32090
|
+
}
|
|
32091
|
+
],
|
|
32092
|
+
"trigger": [
|
|
32093
|
+
{
|
|
32094
|
+
"protectedParentIframes": "page-ordinary",
|
|
32095
|
+
"as": "probe"
|
|
32096
|
+
}
|
|
32097
|
+
],
|
|
32098
|
+
"targets": ["seven"],
|
|
32099
|
+
"observe": {
|
|
32100
|
+
"frameTree": {
|
|
32101
|
+
"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",
|
|
32102
|
+
"check": {
|
|
32103
|
+
"result": "probe",
|
|
32104
|
+
"path": "result.frameTree",
|
|
32105
|
+
"equals": true,
|
|
32106
|
+
"observer": "client"
|
|
32107
|
+
},
|
|
32108
|
+
"absencePoll": true
|
|
32109
|
+
},
|
|
32110
|
+
"resourceTree": {
|
|
32111
|
+
"means": "C3.ordinary-parent-iframes.page: Page.getResourceTree through the page session shows the ordinary grandchild under the middle frame",
|
|
32112
|
+
"check": {
|
|
32113
|
+
"result": "probe",
|
|
32114
|
+
"path": "result.resourceTree",
|
|
32115
|
+
"equals": true,
|
|
32116
|
+
"observer": "client"
|
|
32117
|
+
},
|
|
32118
|
+
"absencePoll": true
|
|
32119
|
+
},
|
|
32120
|
+
"frameEvents": {
|
|
32121
|
+
"means": "C3.ordinary-parent-iframes.page: a Page frame event on the page session names the ordinary grandchild by frameId, URL, or parentId",
|
|
32122
|
+
"check": {
|
|
32123
|
+
"result": "probe",
|
|
32124
|
+
"path": "result.frameEvents",
|
|
32125
|
+
"equals": true,
|
|
32126
|
+
"observer": "client"
|
|
32127
|
+
},
|
|
32128
|
+
"absencePoll": true
|
|
32129
|
+
},
|
|
32130
|
+
"contextCreated": {
|
|
32131
|
+
"means": "C3.ordinary-parent-iframes.page: Runtime.executionContextCreated on the page session carries the grandchild frameId or origin",
|
|
32132
|
+
"check": {
|
|
32133
|
+
"result": "probe",
|
|
32134
|
+
"path": "result.contextCreated",
|
|
32135
|
+
"equals": true,
|
|
32136
|
+
"observer": "client"
|
|
32137
|
+
},
|
|
32138
|
+
"absencePoll": true
|
|
32139
|
+
},
|
|
32140
|
+
"contextEvaluate": {
|
|
32141
|
+
"means": "C3.ordinary-parent-iframes.page: Runtime.evaluate in the grandchild context through the page session succeeded",
|
|
32142
|
+
"check": {
|
|
32143
|
+
"result": "probe",
|
|
32144
|
+
"path": "result.contextEvaluate",
|
|
32145
|
+
"equals": true,
|
|
32146
|
+
"observer": "client"
|
|
32147
|
+
},
|
|
32148
|
+
"absencePoll": true
|
|
32149
|
+
},
|
|
32150
|
+
"midFrameAttached": {
|
|
32151
|
+
"means": "C3.ordinary-parent-iframes.page: Page.frameAttached on the page session exposes the middle frameId",
|
|
32152
|
+
"check": {
|
|
32153
|
+
"result": "probe",
|
|
32154
|
+
"path": "result.midFrameAttached",
|
|
32155
|
+
"equals": true,
|
|
32156
|
+
"observer": "client"
|
|
32157
|
+
},
|
|
32158
|
+
"absencePoll": true
|
|
32159
|
+
},
|
|
32160
|
+
"targetInfo": {
|
|
32161
|
+
"means": "C3.ordinary-parent-iframes.page: shows the ordinary grandchild target via Target.getTargets or Target.getTargetInfo using the unguarded raw id",
|
|
32162
|
+
"check": {
|
|
32163
|
+
"result": "probe",
|
|
32164
|
+
"path": "result.targetInfo",
|
|
32165
|
+
"equals": true,
|
|
32166
|
+
"observer": "client"
|
|
32167
|
+
},
|
|
32168
|
+
"absencePoll": true
|
|
32169
|
+
},
|
|
32170
|
+
"childAttach": {
|
|
32171
|
+
"means": "C3.ordinary-parent-iframes.page: Target.attachToTarget on the unguarded raw grandchild target id yields a session",
|
|
32172
|
+
"check": {
|
|
32173
|
+
"result": "probe",
|
|
32174
|
+
"path": "result.childAttach",
|
|
32175
|
+
"equals": true,
|
|
32176
|
+
"observer": "client"
|
|
32177
|
+
},
|
|
32178
|
+
"absencePoll": true
|
|
32179
|
+
},
|
|
32180
|
+
"targetEvents": {
|
|
32181
|
+
"means": "C3.ordinary-parent-iframes.page: Target.attachedToTarget/targetCreated/targetInfoChanged names the ordinary grandchild by the unguarded raw id or URL",
|
|
32182
|
+
"check": {
|
|
32183
|
+
"result": "probe",
|
|
32184
|
+
"path": "result.targetEvents",
|
|
32185
|
+
"equals": true,
|
|
32186
|
+
"observer": "client"
|
|
32187
|
+
},
|
|
32188
|
+
"absencePoll": true
|
|
32189
|
+
}
|
|
32190
|
+
},
|
|
32191
|
+
"live": "the unguarded reader opened the ordinary top page and saw the grandchild frame",
|
|
32192
|
+
"liveCheck": {
|
|
32193
|
+
"result": "probe",
|
|
32194
|
+
"path": "result.live",
|
|
32195
|
+
"equals": true,
|
|
32196
|
+
"observer": "client"
|
|
32197
|
+
},
|
|
32198
|
+
"control": {
|
|
32199
|
+
"origin": "ordinary",
|
|
32200
|
+
"via": "unguarded",
|
|
32201
|
+
"expected": {
|
|
32202
|
+
"frameTree": true,
|
|
32203
|
+
"resourceTree": true,
|
|
32204
|
+
"frameEvents": true,
|
|
32205
|
+
"contextCreated": true,
|
|
32206
|
+
"contextEvaluate": true,
|
|
32207
|
+
"midFrameAttached": true,
|
|
32208
|
+
"targetInfo": "either",
|
|
32209
|
+
"childAttach": "either",
|
|
32210
|
+
"targetEvents": "either"
|
|
32211
|
+
}
|
|
32212
|
+
},
|
|
32213
|
+
"expected": {
|
|
32214
|
+
"frameTree": true,
|
|
32215
|
+
"resourceTree": true,
|
|
32216
|
+
"frameEvents": true,
|
|
32217
|
+
"contextCreated": true,
|
|
32218
|
+
"contextEvaluate": true,
|
|
32219
|
+
"midFrameAttached": true,
|
|
32220
|
+
"targetInfo": "either",
|
|
32221
|
+
"childAttach": "either",
|
|
32222
|
+
"targetEvents": "either"
|
|
32223
|
+
},
|
|
32224
|
+
"designDependent": ["targetInfo", "childAttach", "targetEvents"]
|
|
31766
32225
|
}
|
|
31767
32226
|
]
|
|
31768
32227
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ai-ecoverse/slicc-browsers",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.25.0",
|
|
4
4
|
"description": "SLICC's shared browser catalog, JSON schemas and discovery conformance corpus",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
"validate": "node scripts/validate.mjs",
|
|
77
77
|
"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",
|
|
78
78
|
"format": "biome check --write . && gofmt -w . && cargo fmt",
|
|
79
|
-
"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-protected-parent-iframes.test.mjs test/integration/guard-protected-parent-iframes-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-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-others.test.mjs",
|
|
79
|
+
"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-protected-parent-iframes.test.mjs test/integration/guard-protected-parent-iframes-chrome.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-others.test.mjs",
|
|
80
80
|
"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 ./...",
|
|
81
81
|
"build": "go build ./... && cargo build --all-features && cargo build --target wasm32-wasip1 --all-features && npm pack --dry-run",
|
|
82
82
|
"prepublishOnly": "node scripts/set-crate-version.mjs \"$npm_package_version\"",
|
|
@@ -87,9 +87,9 @@
|
|
|
87
87
|
"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"
|
|
88
88
|
},
|
|
89
89
|
"devDependencies": {
|
|
90
|
-
"@ai-ecoverse/slicc-cdp": "1.
|
|
91
|
-
"@ai-ecoverse/slicc-shared-web": "2.14.
|
|
92
|
-
"@biomejs/biome": "2.6.
|
|
90
|
+
"@ai-ecoverse/slicc-cdp": "1.50.1",
|
|
91
|
+
"@ai-ecoverse/slicc-shared-web": "2.14.4",
|
|
92
|
+
"@biomejs/biome": "2.6.6",
|
|
93
93
|
"ajv": "8.20.0",
|
|
94
94
|
"ajv-formats": "3.0.1",
|
|
95
95
|
"lefthook": "2.2.2",
|