@ai-ecoverse/slicc-browsers 1.26.4 → 1.26.5

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.26.4",
3
+ "setVersion": "1.26.5",
4
4
  "sources": [
5
5
  {
6
6
  "repo": "ai-ecoverse/slicc-cli",
@@ -32281,6 +32281,16 @@
32281
32281
  "observer": "client"
32282
32282
  },
32283
32283
  "absencePoll": true
32284
+ },
32285
+ "overBlocked": {
32286
+ "means": "C3.ordinary-parent-iframes.page: the ordinary mid document was BlockedByClient after attach during the live nest rebuild (protection by over-blocking)",
32287
+ "check": {
32288
+ "result": "probe",
32289
+ "path": "result.overBlocked",
32290
+ "equals": true,
32291
+ "observer": "client"
32292
+ },
32293
+ "absencePoll": true
32284
32294
  }
32285
32295
  },
32286
32296
  "live": "the unguarded reader opened the ordinary top page and saw the grandchild frame",
@@ -32302,7 +32312,8 @@
32302
32312
  "midFrameAttached": true,
32303
32313
  "targetInfo": "either",
32304
32314
  "childAttach": "either",
32305
- "targetEvents": "either"
32315
+ "targetEvents": "either",
32316
+ "overBlocked": false
32306
32317
  }
32307
32318
  },
32308
32319
  "expected": {
@@ -32314,7 +32325,8 @@
32314
32325
  "midFrameAttached": true,
32315
32326
  "targetInfo": "either",
32316
32327
  "childAttach": "either",
32317
- "targetEvents": "either"
32328
+ "targetEvents": "either",
32329
+ "overBlocked": false
32318
32330
  },
32319
32331
  "designDependent": ["targetInfo", "childAttach", "targetEvents"]
32320
32332
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-ecoverse/slicc-browsers",
3
- "version": "1.26.4",
3
+ "version": "1.26.5",
4
4
  "description": "SLICC's shared browser catalog, JSON schemas and discovery conformance corpus",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",
@@ -88,7 +88,7 @@
88
88
  "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"
89
89
  },
90
90
  "devDependencies": {
91
- "@ai-ecoverse/slicc-cdp": "1.52.2",
91
+ "@ai-ecoverse/slicc-cdp": "1.52.3",
92
92
  "@ai-ecoverse/slicc-shared-web": "2.14.4",
93
93
  "@biomejs/biome": "2.6.6",
94
94
  "ajv": "8.20.0",
@@ -2580,6 +2580,7 @@ async function measurePageClient({
2580
2580
  midHint,
2581
2581
  innerHint,
2582
2582
  innerKind,
2583
+ preferMidLive,
2583
2584
  raw,
2584
2585
  contexts,
2585
2586
  liveContexts,
@@ -2598,6 +2599,11 @@ async function measurePageClient({
2598
2599
  return result;
2599
2600
  }
2600
2601
 
2602
+ function failOrdinaryLiveBlocked(result, notes) {
2603
+ result.overBlocked = true;
2604
+ notes.push('protection by over-blocking');
2605
+ }
2606
+
2601
2607
  async function continueAfterLive({
2602
2608
  client,
2603
2609
  reader,
@@ -2609,6 +2615,7 @@ async function continueAfterLive({
2609
2615
  midHint,
2610
2616
  innerHint,
2611
2617
  innerKind,
2618
+ preferMidLive,
2612
2619
  raw,
2613
2620
  contexts,
2614
2621
  liveContexts,
@@ -2624,7 +2631,8 @@ async function continueAfterLive({
2624
2631
  }) {
2625
2632
  const skipEvaluate = innerKind === 'srcdoc';
2626
2633
  if (raw.liveBlocked) {
2627
- protectLiveChannels(result, skipEvaluate);
2634
+ if (preferMidLive) protectLiveChannels(result, skipEvaluate);
2635
+ else failOrdinaryLiveBlocked(result, notes);
2628
2636
  if (!liveContexts.length) liveContexts = contexts;
2629
2637
  } else {
2630
2638
  await probeRawGrandchildTarget(client, raw, childSessions, internalSessions, result, missing);