Checkpoint web parity through Chromium input tasks
Some checks failed
M6 deployable RC / quick (push) Has been cancelled
M6 deployable RC / chromium (push) Has been cancelled
M6 deployable RC / release (push) Has been cancelled

This commit is contained in:
mes123456
2026-08-19 10:39:03 -04:00
parent 5a11045ca5
commit 380cbed4ff
634 changed files with 41862 additions and 212 deletions

View File

@@ -0,0 +1,144 @@
{
"cases": [
{
"byteLength": 184,
"file": "capability-binary.stl",
"globalScale": 1.0,
"id": "BINARY_UNIT_1",
"result": {
"bounds": {
"max": [
1.0,
1.0,
7.549790126404332e-08
],
"min": [
-1.0,
-1.0,
-7.549790126404332e-08
]
},
"objectCount": 1,
"polygonCount": 2,
"polygonNormals": [
[
0.0,
1.0,
-0.0
],
[
0.0,
1.0,
-0.0
]
],
"status": "ACCEPTED",
"triangleCount": 2,
"vertexCount": 4
},
"sha256": "50161172cd12e4240067064db6f80e74b2df69c475e3e34154e9d0523928c1ca"
},
{
"byteLength": 184,
"file": "capability-binary.stl",
"globalScale": 0.001,
"id": "BINARY_UNIT_001",
"result": {
"bounds": {
"max": [
0.0010000000474974513,
0.0010000000474974513,
7.549790653760269e-11
],
"min": [
-0.0010000000474974513,
-0.0010000000474974513,
-7.549790653760269e-11
]
},
"objectCount": 1,
"polygonCount": 2,
"polygonNormals": [
[
0.0,
1.0,
-0.0
],
[
0.0,
1.0,
-0.0
]
],
"status": "ACCEPTED",
"triangleCount": 2,
"vertexCount": 4
},
"sha256": "50161172cd12e4240067064db6f80e74b2df69c475e3e34154e9d0523928c1ca"
},
{
"byteLength": 184,
"file": "degenerate-binary.stl",
"globalScale": 1.0,
"id": "DEGENERATE_TRIANGLE",
"result": {
"bounds": {
"max": [
1.0,
1.0,
7.549790126404332e-08
],
"min": [
-1.0,
-1.0,
-7.549790126404332e-08
]
},
"objectCount": 1,
"polygonCount": 1,
"polygonNormals": [
[
0.0,
1.0,
-0.0
]
],
"status": "ACCEPTED",
"triangleCount": 1,
"vertexCount": 3
},
"sha256": "c120bb0f218819eb89a3607c0b4f8fafd9afb599402e3b21deaa3b2be143e7d0"
},
{
"byteLength": 188,
"file": "trailing-binary.stl",
"globalScale": 1.0,
"id": "TRAILING_BYTES",
"result": {
"bounds": {
"max": [
0.0,
0.0,
0.0
],
"min": [
0.0,
0.0,
0.0
]
},
"objectCount": 1,
"polygonCount": 0,
"polygonNormals": [],
"status": "ACCEPTED",
"triangleCount": 0,
"vertexCount": 0
},
"sha256": "0a30aab6db1588722067000e2a08c3c6206a8ed5b7531caa0b082723700a3681"
}
],
"nextTask": "M12-07F",
"operation": "BLENDER_STL_EDGE_PROBE",
"schemaVersion": 1,
"task": "M12-07E"
}

View File

@@ -0,0 +1,27 @@
{
"schemaVersion": 1,
"task": "M12-07E",
"operation": "STL_EDGE_FIXTURE_GENERATION",
"parent": {
"path": "tests/files/web/m12_stl_capability_v1/capability-binary.stl",
"byteLength": 184,
"sha256": "50161172cd12e4240067064db6f80e74b2df69c475e3e34154e9d0523928c1ca"
},
"fixtures": [
{
"id": "DEGENERATE_TRIANGLE",
"file": "degenerate-binary.stl",
"byteLength": 184,
"sha256": "c120bb0f218819eb89a3607c0b4f8fafd9afb599402e3b21deaa3b2be143e7d0",
"expectedCode": "STL_DEGENERATE_TRIANGLE"
},
{
"id": "TRAILING_BYTES",
"file": "trailing-binary.stl",
"byteLength": 188,
"sha256": "0a30aab6db1588722067000e2a08c3c6206a8ed5b7531caa0b082723700a3681",
"expectedCode": "STL_TRAILING_BYTES"
}
],
"nextTask": "M12-07F"
}

View File

@@ -0,0 +1,78 @@
{
"schemaVersion": 1,
"task": "M12-07E",
"parentTask": "M12-07D",
"enablingTask": false,
"parityStateChange": false,
"runtime": "WEB_TYPESCRIPT_CHROMIUM_WORKER_AND_BLENDER_5_2",
"operation": "STL_NORMAL_UNIT_EDGE_PARITY",
"assertions": {
"binaryAsciiNormalExact": true,
"desktopNormalExact": true,
"unitRatioExactWithinFloat32": true,
"degenerateTriangleExact": true,
"removedDegenerateTriangles": 1,
"trailingWeb": "BLOCKED/STL_TRAILING_BYTES",
"trailingDesktop": "ACCEPTED_EMPTY",
"trailingParity": "STRICTER_WEB_BLOCK"
},
"artifacts": {
"parentManifest": {
"path": "tests/golden/M12-07D/manifest.json",
"sha256": "bbc78e47f389562e7d648bf49c9b3bf8a08aaa36e914589a6eab0a1f6e72748d"
},
"fixtureGenerator": {
"path": "tools/web/generate-stl-edge-fixtures.mjs",
"sha256": "018013347642603c21237ebb023bdc7a4e338f5a3f875fea536a996eb121e716"
},
"desktopProbe": {
"path": "tools/web/probe-stl-edge-fixtures.py",
"sha256": "b3d6ea197ef77b5a14f60f5e6b43d4392e943ff5d56acf73915507fc9a4161b7"
},
"protocol": {
"path": "web/protocol/stl-import.ts",
"sha256": "87eec72e2b8aa7ad0b168ca0ee8c4016c941f56f5f1ac53aa5fe71d0832f1dd8"
},
"worker": {
"path": "web/app/src/workers/stl-edge-test.worker.ts",
"sha256": "d714f1f3a218a2226dd349aea81c6c54efa6246de1c4fe51aaa9f5c352ef44fc"
},
"unit": {
"path": "web/tests/unit/stl-import.test.mjs",
"sha256": "4af52833486421c017f3af2b833b0776e60a6ab57ed66fea2161cf9674f4b243"
},
"chromium": {
"path": "web/tests/e2e/stl-edge-parity.spec.ts",
"sha256": "121d348250e26d29ad966f7427bbef9da77de2098e2e305827b11aae52002c5c"
},
"checker": {
"path": "tools/web/check-stl-edge-parity.mjs",
"sha256": "b5ed7fbb41bb46fba982d5726cb8c3eaecf360b772a01d6337c309b1c4a4f535"
},
"fixtureReport": {
"path": "tests/golden/M12-07E/edge-fixtures.json",
"sha256": "545463a984356d6635cbaae3865d13fe95bd2d841c394ac9ddff496c95d46f18"
},
"desktopReport": {
"path": "tests/golden/M12-07E/desktop-edge-report.json",
"sha256": "2d3028a3b7d97f39654cff5fcef1d0c1c71e9f2d08e3e29c2e926651ed3860f1"
},
"webReport": {
"path": "tests/golden/M12-07E/web-edge-report.json",
"sha256": "e0686cc9be3b68e564651207443e0ebf3e3b0eb3d07a32915b03f44b1908357b"
},
"degenerateFixture": {
"path": "tests/files/web/m12_stl_edges_v1/degenerate-binary.stl",
"sha256": "c120bb0f218819eb89a3607c0b4f8fafd9afb599402e3b21deaa3b2be143e7d0"
},
"trailingFixture": {
"path": "tests/files/web/m12_stl_edges_v1/trailing-binary.stl",
"sha256": "0a30aab6db1588722067000e2a08c3c6206a8ed5b7531caa0b082723700a3681"
},
"package": {
"path": "web/package.json",
"sha256": "cfb232baa494ff59f6c8d65514a08c86332ee9354350b2a0392b6f932a7ee42c"
}
},
"nextTask": "M12-07F"
}

View File

@@ -0,0 +1,436 @@
{
"schemaVersion": 1,
"task": "M12-07E",
"operation": "STL_NORMAL_UNIT_EDGE_PARITY",
"browser": [
{
"id": "BINARY_UNIT_1",
"status": "ACCEPTED",
"result": {
"schemaVersion": 1,
"variant": "STL_BINARY",
"unitScale": 1,
"declaredTriangleCount": 2,
"triangleCount": 2,
"removedDegenerateTriangles": 0,
"normals": [
[
0,
1,
0
],
[
0,
1,
0
]
],
"vertices": [
[
[
-1,
0,
1
],
[
1,
0,
1
],
[
1,
0,
-1
]
],
[
[
-1,
0,
1
],
[
1,
0,
-1
],
[
-1,
0,
-1
]
]
],
"bounds": {
"min": [
-1,
0,
-1
],
"max": [
1,
0,
1
]
}
}
},
{
"id": "BINARY_UNIT_001",
"status": "ACCEPTED",
"result": {
"schemaVersion": 1,
"variant": "STL_BINARY",
"unitScale": 0.001,
"declaredTriangleCount": 2,
"triangleCount": 2,
"removedDegenerateTriangles": 0,
"normals": [
[
0,
1,
0
],
[
0,
1,
0
]
],
"vertices": [
[
[
-0.001,
0,
0.001
],
[
0.001,
0,
0.001
],
[
0.001,
0,
-0.001
]
],
[
[
-0.001,
0,
0.001
],
[
0.001,
0,
-0.001
],
[
-0.001,
0,
-0.001
]
]
],
"bounds": {
"min": [
-0.001,
0,
-0.001
],
"max": [
0.001,
0,
0.001
]
}
}
},
{
"id": "ASCII_UNIT_1",
"status": "ACCEPTED",
"result": {
"schemaVersion": 1,
"variant": "STL_ASCII",
"unitScale": 1,
"declaredTriangleCount": 2,
"triangleCount": 2,
"removedDegenerateTriangles": 0,
"normals": [
[
0,
1,
0
],
[
0,
1,
0
]
],
"vertices": [
[
[
-1,
0,
1
],
[
1,
0,
1
],
[
1,
0,
-1
]
],
[
[
-1,
0,
1
],
[
1,
0,
-1
],
[
-1,
0,
-1
]
]
],
"bounds": {
"min": [
-1,
0,
-1
],
"max": [
1,
0,
1
]
}
}
},
{
"id": "DEGENERATE_TRIANGLE",
"status": "ACCEPTED",
"result": {
"schemaVersion": 1,
"variant": "STL_BINARY",
"unitScale": 1,
"declaredTriangleCount": 2,
"triangleCount": 1,
"removedDegenerateTriangles": 1,
"normals": [
[
0,
1,
0
]
],
"vertices": [
[
[
-1,
0,
1
],
[
1,
0,
-1
],
[
-1,
0,
-1
]
]
],
"bounds": {
"min": [
-1,
0,
-1
],
"max": [
1,
0,
1
]
}
}
},
{
"id": "TRAILING_BYTES",
"status": "BLOCKED",
"code": "STL_TRAILING_BYTES"
}
],
"desktop": {
"cases": [
{
"byteLength": 184,
"file": "capability-binary.stl",
"globalScale": 1,
"id": "BINARY_UNIT_1",
"result": {
"bounds": {
"max": [
1,
1,
7.549790126404332e-8
],
"min": [
-1,
-1,
-7.549790126404332e-8
]
},
"objectCount": 1,
"polygonCount": 2,
"polygonNormals": [
[
0,
1,
0
],
[
0,
1,
0
]
],
"status": "ACCEPTED",
"triangleCount": 2,
"vertexCount": 4
},
"sha256": "50161172cd12e4240067064db6f80e74b2df69c475e3e34154e9d0523928c1ca"
},
{
"byteLength": 184,
"file": "capability-binary.stl",
"globalScale": 0.001,
"id": "BINARY_UNIT_001",
"result": {
"bounds": {
"max": [
0.0010000000474974513,
0.0010000000474974513,
7.549790653760269e-11
],
"min": [
-0.0010000000474974513,
-0.0010000000474974513,
-7.549790653760269e-11
]
},
"objectCount": 1,
"polygonCount": 2,
"polygonNormals": [
[
0,
1,
0
],
[
0,
1,
0
]
],
"status": "ACCEPTED",
"triangleCount": 2,
"vertexCount": 4
},
"sha256": "50161172cd12e4240067064db6f80e74b2df69c475e3e34154e9d0523928c1ca"
},
{
"byteLength": 184,
"file": "degenerate-binary.stl",
"globalScale": 1,
"id": "DEGENERATE_TRIANGLE",
"result": {
"bounds": {
"max": [
1,
1,
7.549790126404332e-8
],
"min": [
-1,
-1,
-7.549790126404332e-8
]
},
"objectCount": 1,
"polygonCount": 1,
"polygonNormals": [
[
0,
1,
0
]
],
"status": "ACCEPTED",
"triangleCount": 1,
"vertexCount": 3
},
"sha256": "c120bb0f218819eb89a3607c0b4f8fafd9afb599402e3b21deaa3b2be143e7d0"
},
{
"byteLength": 188,
"file": "trailing-binary.stl",
"globalScale": 1,
"id": "TRAILING_BYTES",
"result": {
"bounds": {
"max": [
0,
0,
0
],
"min": [
0,
0,
0
]
},
"objectCount": 1,
"polygonCount": 0,
"polygonNormals": [],
"status": "ACCEPTED",
"triangleCount": 0,
"vertexCount": 0
},
"sha256": "0a30aab6db1588722067000e2a08c3c6206a8ed5b7531caa0b082723700a3681"
}
],
"nextTask": "M12-07F",
"operation": "BLENDER_STL_EDGE_PROBE",
"schemaVersion": 1,
"task": "M12-07E"
},
"comparisons": {
"binaryAsciiNormalExact": true,
"desktopNormalExact": true,
"webUnitRatio": 1000,
"desktopUnitRatio": 999.999952502551,
"unitRatioExactWithinFloat32": true,
"degenerateTriangleExact": true,
"trailingBytes": {
"web": "BLOCKED/STL_TRAILING_BYTES",
"desktop": "ACCEPTED_EMPTY",
"parity": "STRICTER_WEB_BLOCK"
}
},
"nextTask": "M12-07F"
}