Under the Playwright policy only rega runs a browser here, so this
check's result has to come from someone else's eyes. But the partner
page only ever existed INSIDE check-embedded-rtl — two createServer calls
on ephemeral ports — so "open a partner page at a foreign origin" was not
a thing anyone but the gate could do. NEEDS-EYES rows 3, 4 and 6 name a
runnable probe or an exact URL; row 7 was mine, and it named a construct
that lived in my own process.
--emit writes the same pages to disk, with the two-terminal recipe and
what to look at, so the item is reproducible by whoever has the browser.
⚠ THEY GO IN documentation/, NOT _qa-cycle/. I wrote them there first and
then checked: _qa-cycle is gitignored (.gitignore:113), so the files
could never have travelled to the person who needs them — which is the
entire point. documentation/ is tracked and already carries
README-embed-example.md.
⚠ AND THE ?lang=ar FIXTURE CARRIES NO locale IN ITS profile-config —
1100 bytes against 1114. The two channels reach the document-direction
code by different routes and detectLocale() reads the URL FIRST, so a
config that also supplied the locale would let a reviewer believe the URL
had done it when it had not. The first emit produced all three files
BYTE-IDENTICAL, which would have handed someone three pages they could
not tell apart; I only caught it by checking the emitted sizes rather
than trusting that the flag had taken effect.
The CASES array now carries the ?lang= row itself, so this stands alone:
the emit produces every fixture committed beside it. It previously
depended on the library/ commit for that row, which left the repo with a
fixture the tool would not regenerate — worse than either half.
Also: --emit was being consumed as the baseUrl positional ("SKIP —
nothing served at --emit"). Flags are filtered out of it now. That is the
same bug, in the same shape, that check-leaf-english-leaks had three days
ago — worth knowing it recurs in any gate that takes both a positional
and flags.
17 lines
No EOL
1.1 KiB
HTML
17 lines
No EOL
1.1 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en"><head><meta charset="utf-8"><title>partner</title>
|
|
<style>html,body{margin:0}#w{height:900px}</style></head>
|
|
<body><h1 id="partner-heading">Partner page</h1><div id="w"></div>
|
|
<!-- A REAL PARTNER EMBED SETS THIS. The generated leaf pages bake window.MAP_APP_API_URL, and
|
|
without it every data fetch resolves same-origin against the partner and fails, so the wall
|
|
renders zero cards and the locale has nothing to translate. The first run of this gate
|
|
omitted it and reported "never mounted" — a harness gap, not the RTL defect. -->
|
|
<script>window.MAP_APP_API_URL = "https://pray.doxa.life";</script>
|
|
<script src="http://127.0.0.1:47395/dx-maps/my-upg-100-list/my-upg-100-list.js" crossorigin="anonymous"></script>
|
|
<script>
|
|
var el = document.createElement("my-upg-100-list-map");
|
|
el.setAttribute('profile-config', JSON.stringify({ profile: "poster-wall",
|
|
assetsBase: "http://127.0.0.1:47395/dx-maps/assets" }));
|
|
el.style.cssText = 'display:block;width:100%;height:900px';
|
|
document.getElementById('w').appendChild(el);
|
|
</script></body></html> |