Retail Firefox 159.0 at a real 150% opens the first popup of a browser one device pixel narrower than every popup after it (inner 499, outer 514, against 500 and 515), and moveTo(99999, 0) stops at 766 for it and 765 for a later one. The old expected values of phase 1 came from rounds
that ran resizeBy(0, 0) in a LATER popup (500, then 501), while the test runs phase 1 as the FIRST popup the browser opens (nothing is opened before it: launch_case, new_page, goto, then the three phases in this order, each popup closed before the next).
The capture (RetailCaptures hunt/popup-move-to, run 46833539990, commit 8a78d95c461c84d9c11fcbd0596b120bbcb102f4; runs 46832090474 and 46821521582 read the same except the one value below) has per display case four launches: a the test's order, b phase 3 alone, c a throwaway
popup opened and closed first and then the three phases, d phase 2 alone, so every phase is read as the first popup of a browser and as a later one. scripts/extract_retail_popup_move_resize.py writes ci/retail-popup-move-resize.json from it (cases[case][phase][first|later],
the launches each reading came from, the sha256 of every raw.json checked against its meta.json, popups of one position that disagree fail the extraction) and cross-checks the window-geometry rounds against it. The test reads only: MOMENTS is phase 1 first, MOVE_TO is
phase 3 later; no assertion changed.
Old and new expected values: phase 1 at scale 1.5 was inner 500x400, outer 515x478 before and inner 501 after resizeBy(0, 0); it is now inner 499x400, outer 514x478 before and after. Scales 1, 1.25 and 2 and phase 3 (moved 13,13; moved_to 765,0; outer 515 at 1.5) are unchanged.
The "501 after resizeBy(0, 0)" case is not asserted any more because this test never opens a non-first popup with resizeBy. It is not lost: launch c (resizeBy(0, 0) in the second popup of its browser) reads 500 then 501 at 1.5 in runs 46832090474 and 46833539990, and the extraction
fails if the old rounds' readings are reproduced by no position (they are, by later, in all four cases).
Unit tests (red on the old script, green after): 26 -> 35 in test_the_retail_popup_moves_and_resizes_are_extracted_from_the_capture_not_typed.py; ci/required-suites.json wrapper.unit.all.linux 4564 -> 4573 and wrapper.unit.all.windows 4576 -> 4585.
On candidate 46792115974 (linux.3, windows.3) the two listener cases of
test_a_page_function_called_by_the_client_sees_only_page_frames_e2e.py fail: the error of the
listener the client's evaluate registered never reaches window.onerror, the page's own does.
This test registers the same listener from the default sandbox of Marionette's ExecuteScript on
retail Firefox 159 (not wrappedJSObject.eval, which is the page's realm) and from the client's
evaluate on ours, fires it by a real click on the page's trigger, and saves per case (Error,
throw 5) whether window.onerror was called and what it was told, with the page's own listener as
control. It asserts nothing about ours.
It is the third file of the row wrapper.e2e.stock_twin.tooltip (min_tests 6) and a named exclusion
of the whole-suite rows (30).
The control was wrong against its source. size_by_content took the retail frame as outerWidth/outerHeight less innerWidth/innerHeight and demanded retail outer == asked. outerWidth and
outerHeight are whole CSS pixels (Firefox nsGlobalWindowOuter::GetOuterSize returns RoundedToInt(GetSize() / CSSToDevScale), nsGlobalWindowOuter.cpp:3573 in the engine tree), innerWidth and
innerHeight are fractional, so the frame read that way is off by up to half a CSS pixel, and a content area of an odd number of device pixels at a scale of 2 (558.5 CSS = 1117 device) has no
outer size that reads back as asked. Candidate 46792115974: linux dpr2.0 asked outer [800, 558.5], answers outer [800, 559] and inner [800, 558.5] = ours; windows dpr1.25 asked [1548.4, 829.2],
answers [1549, 830]; linux dpr1.25 and dpr1.5: the frame from the whole outer less the fractional inner made the retail inner 0.4 and 0.33 CSS smaller than ours (a real mismatch).
RetailSession.set_inner_size reads the window frame in device pixels in one chrome script (nsIBaseWindow.getSize less the content area times the scale) and sets the window to ours' inner
size plus that frame (CONTENT_JS). run_retail_twin keeps the inner equality as the hard control (BROKEN CONTROL when the inner sizes differ); the outer readback is no longer a condition.
Nothing about ours changes. Unit tests: the odd device height at dpr2.0 is not broken when inner is equal, an inner that differs is broken; red on 674ba823, green here.
Unit rows: +6 tests (4564 linux, 4576 windows).
The control of test_a_client_call_on_a_handle_reads_none_of_the_getters_the_page_planted fails before
any client call on candidate 46792115974 (linux.3, windows.3): properties off the prototype chain
count 1, properties on it count 0. This test runs the same pages and the same plant and read on retail
Firefox 159 (Marionette) and on ours, and saves per property the count, where it is defined before
and after the plant, and a second read, in the evidence folder. It asserts nothing about ours.
It is the second file of the row wrapper.e2e.stock_twin.tooltip (min_tests 5) and a named exclusion of the
whole-suite rows (29).
- test_a_password_field_is_as_wide_as_on_retail_windows_e2e.py: the page of the retail capture, byte for byte (tests/data/password_mask_page.html), read in the product launch (seed 4, scale 1): the scrollWidth of a password field of 40 x "a" in Arial 16px must equal the retail value, on Linux and Windows. Red where the widget layer masks with '*' (249 px against 387 px).
- scripts/extract_retail_password_mask.py writes ci/retail-password-mask.json from the capture (result.json and meta.json, sha256 checked, page sha256 checked); nothing is typed.
- test_the_retail_password_mask_width_is_extracted_from_the_capture_not_typed.py: the extraction on a small sample, known-bad captures refused, the e2e test holds no number (8 unit cases).
- ci/required-suites.json: the e2e in wrapper.e2e.suite.linux.3 (394) and windows.3 (297); the unit file in wrapper.unit.all.linux (4566) and windows (4578).
The test of the fontconfig rules (E1) injected each launch's rules through $XDG_CONFIG_HOME/fontconfig/fonts.conf and held the precondition that
XDG_CONFIG_HOME reached the engine (/proc/<pid>/environ). The core now points XDG_CONFIG_HOME and XDG_CONFIG_DIRS of the engine at empty folders of
its own, so that route no longer reaches the engine.
Now each launch writes its rules to /etc/fonts/local.conf with sudo (the e2e job runs on ubuntu-24.04 runners with passwordless sudo: e2e.yml
already uses it) and puts the original file back, or removes it if there was none, when the launch ends. The positive control stays: fc-match on
the host, in the environment of the test process, must obey each rule, or the launch fails. The engine-environment precondition is replaced by that
control. Every pixel assertion is unchanged: same launches, canvases, families, sizes and hashes compared with launch 1, plus the system-ui
assertion. Same three tests, same ids.
Why this is not a weakened test: the source of the test changed, not its bar. The test's route (the user's XDG config folder) is no longer a
route a host can use on the new engine, because the core owns that variable; the system-wide file is where a host can still put a rule, and the
test reads the same effect there. The check that the rule is in force in fontconfig itself is kept as the host control, and a rule fontconfig
does not apply still fails the launch.
The row note of ci/required-suites.json and the docstring of the host-files test say how it is now.
The login list (#PopupAutoComplete) opens by itself on a username field and covers the field below it. Stock Playwright sends the press to the page through it; an engine whose door lets the list take part put the press on its insecure-login warning row, which opens a tab. The e2e opens the list with a click on #user (read from the chrome, so the case cannot pass for nothing), clicks #pass, and asks for the whole click and the focus on #pass and for the number of pages to stay as it was. Three scales; added to linux.2 (460 to 463) and windows.2 (324 to 327).
Ours is a real window with the frame of a Windows window; the retail reference has the frame of its own system, so the same outer size gave a different content area and both
legs ended BROKEN CONTROL (candidate run 46711902888: Linux outer 1936x1040 -> retail inner 1936x1040 against ours 1920x1032; Windows at 2.0 retail inner 805x561 against ours 800x558.5).
run_retail_twin now asks the outer size of ours, reads the retail frame (outer less inner) and asks ours' inner size plus that frame; a fractional size is set from chrome scope in
device pixels. The inner-equality control and the outer check are unchanged. Unit rows: +8 tests (4528 linux, 4540 windows).
Source: the file's own collected cases (pytest --collect-only: 30), added to the rows of 029eb855 (4499, 4511); candidate run 46711856312 collected 4529 and 4541, the rows had been raised by 25.
- test_the_host_fontconfig_rules_do_not_reach_the_text_pixels_linux_e2e.py: rules in the user's own fontconfig config (rgba none and bgr, lcdfilter none, embeddedbitmap off, autohint, hintfull without antialias, a strong system-ui prepend) leave the pixel hashes of the opaque and the default canvas, and system-ui's family and widths, as they are with no rule; fc-match proves each rule is in force.
- test_no_fontconfig_file_of_the_host_is_opened_and_the_screenshot_draws_the_bundle_linux_e2e.py: with poisoned caches in HOME and XDG_CACHE_HOME, no browser process opens /etc/fonts, a fonts.conf or a fontconfig cache, and the screenshot of a bundled face equals the content's drawing.
- test_the_parent_reads_the_bundle_from_fontconfig_s_cache_linux_e2e.py keeps its ids and asserts the 72's engine: no fontconfig cache is written or read. It retires after the 72's release.
The product always runs a real browser window on a hidden display. Setting the variable now stops the launch (sync, async and the server) with a clear error, before the network, a display or a browser starts. The true-headless branch of _resolve_headless is gone.
A tee in front of the core's reader of the browser output matches the engine's warning line; the conftest installs it for every e2e test and the teardown fails naming the line. The unit rows go up by the five tests of the new file.
The select case is the second press of the retail double click with nothing between the press and the release; the suite minimum of the two rows that hold the file goes up by the three scales.
page.viewport_size of a popup under the declared default is None, as for a
page whose viewport is not emulated. The size the hand plans inside is read
from the window at the time of use, since a popup can still change size after
its first script. A size the client sets on the popup pins it again.
The session marks the viewport of its defaults as the core's; a viewport the
user passes replaces it. The server sends the mark to the engine as
isDeclaredDefault of Browser.setDefaultViewport and never to the client. A popup
the engine did not pin tells the client the size its window has.
Tests: unit for the mark, the engine command and the size a popup is told; an
e2e case for a popup with no size under a user viewport. Both are in the suite
rows.
zoom.stealth.screen.device_width and device_height are the panel's work area plus the taskbar
(the core declares the screen as the whole panel and the work area as the screen minus the
taskbar). They were left unclassified, so every recompute of the cover stopped. A test checks
the formula over many seeds and scales.
The parser lives in one place next to the core's matcher after S1, fetched by sha, so the series and the wrapper share it. The list of the wrapper under test is read only until the wrapper's main holds the first row; then it comes from main, so a branch cannot excuse its own crash.
ci/mozilla-defects.json has the one row seen in run 46539190316 (process
backgroundtask, phase exit, thread FSBroker, the MOZ_CRASH reason, no frames:
the top frames are libc's and an unsymbolized libxul address, which depend on
the runner), for Firefox 159.0 to 159.*. The core's matcher accepts the file
for 159.0 and 159.0.1 and refuses it for 160.0. Four cases check that and that
the A/A judges the core of the real run with this list; the unit suites count
them (4443 on Linux, 4455 on Windows).
scripts/ci_crash_evidence.py: every core the probe finds becomes a crash record
(process from the `Core was generated by` line, with the cut-line rule; thread
from gdb's header or %e of the core's name without its instance number; frames
of the crashing thread; the MOZ_CRASH reason; phase exit or run from the moment
the launch began to close the browser, recorded in the launch entry before the
original close runs). exit_problems judges the cores of a launch whose parent
ended with 0 with the core's main matcher (MOZILLA_DEFECTS_CHECKER, else
fetched once from main by sha) and the wrapper's ci/mozilla-defects.json for the
Version= of the application.ini beside the binary. The judge is closed: no
matcher, no API, no list or no version keeps every core red and says why. A
launch whose parent did not end with 0, a minidump, a core with no record and a
caller that does not say whether its measurements are complete (None) stay red
exactly as before.
scripts/ci_ab_oracle.py: only the A/A control (the two dumps of the published
engine) judges; its measurements are complete when the dump ended with 0 and
every asked visit has its result and no tab died (visits_complete). A matched
crash is a note, printed and kept in diff-a-a.json.
Tests: test_known_mozilla_defects_in_crash_evidence.py (64 cases, the real gdb
text of the FSBroker core and a copy of the matcher with its sha256); both
unit suites count them (4439 on Linux, 4451 on Windows).
window.open with left=100,top=100 and with left=5000,top=5000 from a maximized
main window whose state is stored: the popup reads the retail inner and outer
sizes and screenX, screenY (Firefox 159 on Windows, measured), in its first
script and at load. The two suite rows holding the file count eight tests more.
A real press, release, double click, right press, wheel turn or item press while a select dropdown, a datalist list or the page context menu is open reaches the page as retail Firefox 159 on Windows measured it, at the scales 1, 1.25 and 1.5, in the top document and in a frame of another site. Closing a page with a dropdown, a context menu or a datalist list open leaves no popup open and no browser element with pointer-events changed. The declared aliased line width and point size ranges are Float32Array of the page. The two new files are in the second whole-e2e rows of each system (447 on Linux, 318 on Windows).
Juggler closes a menu on a press only, as the platform does, so the context menu of "frame right click" is still open at the next action. Its first move, to (300, 200), lay over the menu and the page never saw it, on retail or on ours. The points of "move with button down" are now left of and above the right click's point, inside the iframe and on its button; the press of the action closes the menu. The expected event list is unchanged.
A release that the parent handles in chrome (the select dropdown is open) is answered without the content ack. On retail the page then gets a trusted mouseup and click on the select, dispatched by SelectChild after the parent's Forms:MouseUp, asynchronously. The pages of the stays-open test record both on the select, and the test waits for them in the page's own log with the deadline of the file (never assuming they arrived when the call returned), in the top document and in the frame of another site. What the tests already assert is unchanged. The negative control (popup hidden between the press and the release) does not wait for them.
The frame page /shown sent its pageshow report with a fetch, and the test left the top as soon as the server had recorded the report. The response was still on its way, the fetch was still in the frame's load group, and Firefox refuses the back-forward cache for a page left with a request in flight (BFCacheStatus::REQUEST, CanonicalBrowsingContext::AllowedInBFCache): both reports came with persisted=false. Stock Firefox does the same, and the product never promised the cache for a page left like that.
The page keeps the request in window.__sent; the test waits in the frame until it settles (the request is over, so the frame's load group is empty), then leaves. The sequence is a helper with the condition to leave on ("finished" or "recorded"). The server fixture gets a knob that holds the first pageshow response for 2 s after recording it, and a new e2e runs the sequence with the knob on: the old sequence (leave on "recorded") with the knob is the red case, which runs on the candidate; the new one is green.
e2e rows: wrapper.e2e.suite.linux.2 419 to 420 and wrapper.e2e.suite.windows.3 276 to 277 (+1 each).
In the drop in a frame of another site, two fields of the top document depend on stock's frame
being in its own process model: the top's dragleave whose element under the cursor is the frame
(stock's event manager fires a leave at the body when the cursor enters the subdocument; retail
with the frame out of process and ours have none), and the dropEffect of the top dragend (the
frame's drop result, which crosses processes). Before the comparison they leave top.once for
top.into_frame and top.dragend_effect, both declared IN_PROCESS_FRAME, so the event lists line up
and the rest of the top is still compared. In the drop in the top document the record is compared
whole, dragend's effect included. split, compare, recorded and verdict take the kind of the drop.
The frame page of the twin was served raw with height:100%%, an invalid length, so body had height
0 and the twin read html where retail reads body; it is height:100% now.
The unit test of the twin gets the leave under the frame in its frame fixture, a case with stock
leave and copy against ours without it and move (green, recorded as declared), and the same
dragend effect difference in the top drop (red).
Menus are closed by the platform on a press outside them and on the wheel (nsWindow::DealWithPopups), not on a release or a move. Per place (select of the top document, select of a frame of another site): press, wait for the popup to be open, release, and the state read over the next second must be open at every look; a chrome hidePopup between the press and the release is the negative control and must read closed. The pages and reads are those of the select twin, imported.
One more e2e for the case an unguarded call in the input path was there for: a chrome context menu that captures the mouse. A right click opens the chrome context menu, then moves across the page, a left click elsewhere and a move again must each return (each duration is in the message of a failure), and the menu is closed after the press of that click.
Red on an engine whose input closes menus on a release or a move: the dropdown reads closed after the button went up. e2e rows: wrapper.e2e.suite.linux.2 414 to 419 and wrapper.e2e.suite.windows.2 286 to 291 (+5 each).
In Mozilla's code a fission frame scrolled fully out of view reads an empty boundingClientRect: DOMIntersectionObserver.cpp 792-794 returns early when there is no in-process root frame, after the transform chain HitTestingTreeNode.cpp 298-328, BrowserChild.cpp 3751-3778 and UnitTransforms.h 343-351; Mozilla's own web-platform meta (cross-origin-iframe.sub.html.ini) marks that step FAIL under fission. Stock's frame is in-process, so it reads the rectangle. The declared list of the twin now has the box of the steps all above and all below (in-process frame in stock); the box of the steps where the frame is in view and every other field stay compared, and the retail capture decides the declared ones.
Red on the old list: the declared-list test and the two out-of-view tests fail with nothing declared. unit.all rows: +13 (Linux 4370, Windows 4382).
For each select the record now has, before the click and right after it: chrome Services.focus.activeWindow === win, win.document.hasFocus(), the browsing context's isActive (win.gBrowser.selectedBrowser.browsingContext.isActive), the top content document's hasFocus() and visibilityState, and the driver's ack of the click when it keeps one. A popup that does not open for a window that was not active is then told apart from a popup at the wrong place. A read that fails is recorded and never raised.
Red on the old code: the six new tests and the existing ones that use the fake chrome fail without the read. unit.all rows: +6 (Linux 4357, Windows 4369).
Stock Playwright's Firefox sets fission.webContentIsolationStrategy=0, so its cross-site frame shares the top's process, and its drag is Juggler's synthetic one (no OLE loop). A field that depends on either is not what stock reads, and the retail capture decides it.
_stock_twin.split_differences splits the differences of a twin by a declared list per twin (a pattern of canonical paths and one of two reasons: in-process frame in stock, synthetic drag in stock); a declared field that differs is recorded (recorded_differences in the report) and a field that is not declared and differs is red.
The drag twin declares the buttons, drag at the source (count and presence), the dragend point less the last drag, and in the frame effectAllowed, dropEffect and mozSourceNode; routing, targets, client points, rel, types, trusted, the input source and the effects of the top document stay compared. The intersection twin has the list and declares nothing yet (moving boundingClientRect is one line).
Red on the old code: the new tests fail at their import of the declared list and of split_differences. unit.all rows: +43 (Linux 4351, Windows 4363).
SEND_JS called Window.synthesizeMouseEvent without isAsyncEnabled. With the webidl default (false) the event goes through widget->DispatchEvent and never through APZ (nsContentUtils.cpp 10552-10560 at FIREFOX_159_0_RELEASE), has no layers id, and EventStateManager::DispatchCrossProcessEvent falls back to the top process (EventStateManager.cpp 2199): a frame in another process never got the move or the click. The options now carry isAsyncEnabled: true, Mozilla's own mechanism (EventUtils.js asyncEnabled).
A static check reads every synthesize call of code that runs on retail or stock Firefox and is red when its options literal lacks isAsyncEnabled: true. Red on the old SEND_JS (two tests of the file), green on the new.
The twin of the drag kept a few numbers (the count of dragstart, the drop target and the client
point of the drop, the end point less the last drag point) and only for a drop in a frame of another
site. A dragenter at the wrong element, an empty dataTransfer, a dropEffect of none or an untrusted
event read as the same as stock's, and a drop in the top document was not covered at all.
Now both pages keep every event they hear (dragstart and drag at the source; dragenter, dragover,
dragleave and drop where the drag goes; dragend at the source) with its type, target id, the id of
the element under the cursor, client and screen points, buttons, mozInputSource,
dataTransfer.types, effectAllowed, dropEffect, mozUserCancelled, whether mozSourceNode is null and
isTrusted, plus the count of drag events at the source and the dragend point. The same test does
the drag twice on a fresh page, once ending in the frame and once in the top document, on stock
and on ours, and the verdict prints both records whole.
Ours is compared with stock exactly in every field that is the same on every machine; in one CSS
pixel in a client point (the tolerance the drop point already had); and through the relation of the
screen point to the client point, because screenX/Y is where the window stands (real on stock,
declared on ours). The counts of dragover and of drag events are recorded and not compared: retail
fires both from a timer (OLE calls DragOver periodically, and nsNativeDragTarget fires drag at the
source each time). What is compared is that drag fired at the source at least once on both sides.
Regression test (54 tests, no browser, fake pages): red on the old files (the module of the record
does not exist and the old twin has no DROPS or recorder), and red on each mutation of the
comparison. In the two unit rows: 4250 -> 4304 on Linux, 4262 -> 4316 on Windows (collect-only on
the row's files). The e2e row keeps its 4 tests.
The steps of the select twin said "the dropdown did not open after a click on the select of the
frame document" and nothing about the click, so a red case at one display scale could not be told
from a wrong point, a wrong scale or a window that moved. Now, for each select, every failure of the
steps carries: the click point (CSS, and the point the driver sent with its unit and its device
point), the scales record, the select's box in its own document and the frame element's box in the
top document, mozInnerScreenX/Y of the top and of the frame, and the popup's state after the click,
at the deadline and at a second look. The verdict of the twin prints both browsers' records whole.
The same record is written for every case, red or green, to
$RUNNER_TEMP/invpw-evidence/popup-diagnostics/<case>-<browser>.json, the folder the jobs upload, so
a green run leaves the numbers to compare with a red one. A read of the diagnosis that fails is
recorded in the record and never replaces the finding.
The drivers keep the point they sent (last_click), and the retail driver reads a frame through
Marionette and is back in the top document when the read ends or fails.
Regression test (13 tests, no browser, a fake driver): red on the old files (11 of the 13 fail on
the old steps and drivers, the module of the record does not exist). In the two unit rows: 4237 ->
4250 on Linux, 4249 -> 4262 on Windows (collect-only on the row's files, not OS-specific).
The frame of the intersection twin is sites.url("B", "/io") and nothing routed B /io: the route was
dropped in an earlier commit and _register did not get it back. The fake sites answer an unrouted
path with a 404 and an empty body, so the frame had no #t and IntersectionObserver.observe threw.
_register routes B /io (FRAME_IO, which was defined and unused) again.
Regression test (9 tests, no browser): in every test module that builds Sites(), each
X.url(site, path) and each wait_frame/frame_of that names a site and a path has an X.route for it
in the same module; a computed part of a path is a wildcard on both sides; one exemption (the
expected scope of a service worker, compared and never requested) is listed with its reason and is
itself red when no call uses it any more. Red on the old file: the module without the route reads
B /io asked and not routed (two lines: the page of A and the frame lookup), and a snippet of the same
shape; green with the route. In the two unit rows: 4228 -> 4237 on Linux, 4240 -> 4249 on Windows
(collect-only on the row's files: 4240 before, 4249 after).
The four cases of wrapper.e2e.stock_twin.tooltip died on the engine candidate with "win.windowUtils.sendMouseEvent is not a function": Firefox 159 has no
nsIDOMWindowUtils.sendMouseEvent, its chrome input is Window.synthesizeMouseEvent. SEND_JS of the retail reference now calls
win.synthesizeMouseEvent(type, x, y, {button, clickCount, modifiers, inputSource}, {ignoreRootScrollFrame, isDOMEventSynthesized}), with Mozilla's own field names
and the same offsets (CSS pixels of the browser window).
Static check, no browser: scripts/extract_mozilla_chrome_api.py reads nsIDOMWindowUtils.idl and Window.webidl at the release tag into ci/mozilla-chrome-api.json
(path, tag, commit and sha256 of each source; what only our engine tree has is listed apart under "ours"). tests/test_the_chrome_calls_of_the_tests_exist_in_firefox.py
scans the strings of every test and script for windowUtils.<name>, .synthesize<...>( and the keys of the dictionaries those calls pass: a name that no Firefox
has is red, a name only our engine has is red in code that runs on retail or stock Firefox. Red on the old SEND_JS (sendMouseEvent is not in 159), green on this
one. The extractor has its own unit test on a small IDL and WebIDL sample.
Both files join wrapper.unit.all.linux and wrapper.unit.all.windows, min_tests raised by 18 each (12 + 6).
INVPW_TEST_WATCHDOG_FILE is set only by the wrapper's own e2e workflow, so a run of the gate
wrote the stacks of a hung test to the temporary folder, which nothing uploads, and they were
gone with the runner. With RUNNER_TEMP set and no file named, the log is now
$RUNNER_TEMP/invpw-evidence/watchdog/e2e-watchdog.log, inside the folder the gate keeps as
"what the tests saved"; a named file still wins, and off a runner nothing changes.
Regression test (5 tests, red on the old files: the module does not exist and conftest.py
opens the temporary folder). In the two unit rows: 4205 -> 4210 on Linux, 4217 -> 4222 on
Windows (not OS-specific).
The wrapper launches the engine with -silent, so there is no window at start-up, and
Marionette's WebDriver:NewSession is answered only when the browser's start-up ends, which
only a window ends. run_retail_twin and _on_ours created Chrome() before browser.new_page(),
so the session never got its answer and the socket timed out after 300 s (every retail twin
and every stock twin of the engine candidate).
Chrome now takes the page of the launch as a required argument, so the wrong order cannot be
written, and both twins open the page first. scales() reads that page.
Regression test (red on the old files, 4 of 9 fail): an ast scan of every test and script
refuses a function that asks for a session before its first new_page; the scan is itself
proved on the old order; a fake Marionette that answers NewSession only once a window exists
shows _on_ours and run_retail_twin get their answer. In the two unit rows: 4196 -> 4205 on
Linux, 4208 -> 4217 on Windows (9 tests, not OS-specific).
Engine final candidate (run 46227711139), ab_host on Linux, two defects of the harness:
1. DIFF on invisible_core/branding/official/branding.zip: <published set venv>/site-packages/... on the published side, <hostedtoolcache python>/site-packages/... on the candidate's.
Each side's engine reads the branding of ITS OWN core, in the folder that core is installed in, and since the control side is the published set (0b23228e) the two folders
differ. The classifier knew one own package, the folder of the engine. It now also knows the install folders of the python that runs the side (ci_ab_host.install_folders:
sysconfig's purelib and platlib, the link and the real folder; the side's launch runs in that side's python), in the same class `package`, so the same read is the same
file of the package on both sides and no path is named. Anything else stays the host's and red: the other side's folder, the python's own library under the same prefix,
a sibling folder that only starts with the same text, any path declared nowhere.
2. FAIL the declared difference 'gfxtest-69' ... is stale, remove it: the published engine is the 70, which no longer spawns gfxtest either. ci/ab-host-expected.json declares nothing.
The mechanism of a declared `proc` difference is tested with the row as a row of the tests' own (tests/_ab_host_declared.py), and a test takes the run's case as data: a row that
does not show is red as stale, in the wording of the run, and the same run is green against the empty file.
tests/test_ab_host.py (+10, 9 of them red on the old classifier): the pair of the run is the same package on both sides and no difference; each of five reads outside a side's own
install folder is a difference; the install folders of a process; the stale row. tests/test_ab_oracle.py: the new helper is one of the host oracle's files for a pull request.
wrapper.unit.all.linux 4196 and wrapper.unit.all.windows 4208 (+11).
Engine final candidate (run 46227711139): ab_oracle was red on Linux and Windows on the same 24 differences, all of them the bar of a main window above the content.
Seed 6 at 1.25: the bar is 106 device px as retail Firefox 159 measures it, the published engine's core said 107; the candidate's core rounds the bar once on the sum in app units
(window_frame.chrome_height_device). Seed 63 at 1.5: the work area is under 720 CSS px, so retail chooses the compact density by itself (browser.js gUIDensity) and the bar is
73 CSS px, not the normal 85 (constants.ui_density, window_frame.chrome_height_device(1.5, 'compact')).
- ci/ab-oracle-expected.json (ab-oracle-expected/1): 48 rows, one per os x seed x leaf of those 24 (Linux and Windows read the same), each with exactly id, os, seed, dpr, leaf,
published, candidate and reason (the retail source, the core function that produces the value, what the leaf is).
- scripts/ci_ab_oracle.py: the A/B (run, run_ab, compare) allows a difference only when a row matches it exactly (os of the leg, seed, dpr, leaf and both values); any other
difference is red, and so is a row that does not show in the run (stale: "remove it", the wording of the host oracle). The rows apply to the A/B only: the A/A is judged without
them. A row of a visit the run did not make (another shard or seed set) is not judged. The rows name no tag: when the published set moves to the release that holds the work, the two
sides agree, every row is stale and the check forces them out. compare takes --leg (default: this machine's).
- tests/test_ab_oracle_declared_differences.py (16, red on the old judge) with the 24 DIFF lines of the run as data: the old judge is red on them and the new one green with the
rows; an undeclared extra difference, another value than the row's, another seed, dpr or os, are red; a stale row is red; the A/A ignores the rows; the file's keys and rows.
tests/test_ab_oracle.py: the fake pages of its tests have no rows (a fixture), the leg of one test is a real leg, and the file of the rows is one of the oracle's files for a pull request.
- wrapper.unit.all.linux 4185 and wrapper.unit.all.windows 4197 (+17: the 16 tests and the case of the new file in the oracle's pull-request file list).
The engine gate runs the stock twin rows' pytest without xvfb-run (only wrapper.e2e.suite.* rows get it), and the docstrings said the browsers drew on "the display of the job".
Ours gets a display of its own from the wrapper (make_virtual_display, started per session), so ours drew and stock and retail died on Linux with
"no DISPLAY environment variable specified" (wrapper.e2e.stock_twin.intersection, all four cases).
_stock_twin.OwnDisplay starts the core's make_virtual_display() on Linux (1920x1080x24 Xvfb, access control on), one per launch, and gives the browser's environment its
DISPLAY and XAUTHORITY (the Wayland variables removed), stopped after the browser, also when the launch fails. Stock gets it through the env of p.firefox.launch, the retail
reference through its Popen env. On Windows nothing is made: a stock client cannot be spawned on another desktop. The docstrings of _stock_twin, _retail_reference and the
select and tooltip twins say what is true.
test_the_stock_and_retail_browsers_get_a_display_from_the_wrapper.py (4 tests, red on the old code) is in wrapper.unit.all.linux and wrapper.unit.all.windows, min_tests +4 each.
_fake_stock_playwright.py is the recorder both unit files of the stock twin share.
The exact counts of the two unit rows are corrected by 2: since the published-set commit the two rows were 2 below the real collect (the new published-set.yml workflow adds one case to
test_ci_linux_legs_read_no_mirror.py and one to test_ci_windows_temp_is_on_d.py, which are parametrized by workflow file, and that commit counted only the 36 tests of its own file).
wrapper.unit.all.linux is 4168 and wrapper.unit.all.windows is 4180, as the run of the engine's final candidate collected (4160 and 4172) plus the 8 of the two commits above.
The pref is a string pref of Firefox. The stock client sends user prefs through Browser.enable and Playwright's Juggler sets a number with setIntPref, so
the float of the case failed every stock twin launch on Windows with NS_ERROR_UNEXPECTED [nsIPrefBranch.setIntPref], a broken control on all four cases.
Stock now gets the scale from _window_origin.scale_pref, the form the core declares for ours (str(profile.screen.dpr)).
test_the_stock_twin_gets_the_display_scale_as_ours_does.py records the stock launch and compares it with ours composed by the core for each of the four cases
(4 tests, red on the number the old code passed); it is in wrapper.unit.all.linux and wrapper.unit.all.windows, min_tests +4 each.
The wheelhouse's own folder holds the candidate's wheels of invisible-core and invisible-playwright,
built from core_ref and wrapper_ref; at an equal version they have the file names of the published
ones. With real pip, two --find-links and --require-hashes take the first local file of a name and
fail on a hash mismatch, they do not choose by hash.
- install: the gate lock's dependencies from the wheelhouse, then the two published wheels from
<house>/published ONLY (one --find-links per pip call, --no-deps, by the hashes of
ci/py-lock/published.txt), then pip check over the venv with the set's python: red, with what pip
reports, when a requirement of the published wheels is not met. The wheel of each package is
chosen by the sha256 the lock holds (a file with the name and another hash is refused, naming both)
and recorded with the digest of its package files in <venv>/published-set.json.
- verify: reads that record and the disk. It names the file installed (wheel name, sha256), is red
when that sha256 is not one the lock holds (naming both), and when a file of the package on disk is
not, byte for byte, the wheel's. A version says nothing of which file is installed.
- tests (real pip, offline, wheels made with zipfile): the same name and version in the house root
(the candidate's) and in published/ installs the published one and verify is green; a venv holding
the candidate's wheels is red naming the file, its sha256 and the lock's; a record that says
published over candidate bytes is red; a lock naming neither is red; a published wheel requiring
what the house lacks is red at pip check, the normal house green. 42 tests in the file (+6), the
rows of the whole unit suite raised by 6.
Red on the old install: the real-pip same-name test fails with pip's "THESE PACKAGES DO NOT MATCH
THE HASHES FROM THE REQUIREMENTS FILE" on the candidate's wheel of the same name (8 of the 42 fail
on the previous script).
The row wrapper.e2e.stock_twin (4 files, 20 tests) ran past the 25 minutes of a leg. It is now wrapper.e2e.stock_twin.dnd (4 tests),
.select (4), .tooltip (4) and .intersection (8), each with the file, the marker, the systems and stock_firefox of the old row, and the old note split by file.
The table of leg fields, the accounting of the e2e suite and the retail reference's messages name the new rows.
The phase ran moveBy(10, 10) and moveTo(99999, 0) in one popup and expected availLeft + availWidth - outerWidth, which is not retail's clamp:
Mozilla's CheckSecurityLeftAndTop uses the outer width rounded by its edges (CSSIntRect::Round), then the device rounding and the read-back.
The phase now runs the sequence of the retail capture (popup_move_resize, retail-window-geometry, Firefox 159.0) and expects the screenX and screenY
retail read after each call, per case, with the derivation for scale 1.25 written next to the table.
Engine candidate 5 (run 46208549074): ab_oracle, ab_network and ab_host were all red on a BROKEN
CONTROL. The published engine (labelled firefox-68, a tag written in the harness, when firefox-70
was the last published) was launched by the CANDIDATE's core, which no longer declares
zoom.stealth.screen.popup_position, and the engine refuses a launch whose declarations its core does
not emit (rule 7). A pairing no user has.
The control is now the set a user gets: the last invisible-playwright on the index, the
invisible-core it pins exactly, the engine that core's seal pins, in a venv of their own.
- ci/py-lock/published.txt: the set as a hash lock (every file of the two versions, the requirements
each declares); scripts/ci_published_set.py makes it (resolve), compares it with the index (check),
installs it offline over the gate's lock from the run's wheelhouse (install) and verifies what the
venv imports (verify); fetch/tag run BY the set's python: its own core fetches its own engine.
- .github/workflows/published-set.yml: daily and on a pull request that touches the lock, red when
the committed lock is not the index's last release.
- ci_ab_oracle, ci_ab_host, ci_ab_network: the published side runs in the set's python
(INVPW_PUBLISHED_PYTHON) with an environment that carries nothing of the candidate's job
(PYTHONPATH, VIRTUAL_ENV, its seal, its pin switches); the candidate side is unchanged. No tag is
written in a harness file: the label and the file names (dump-<N>.json, ...) come from the seal of
the set. A candidate without a set is refused, never run against its own core.
- ci_poison_host: the by-product files are named for the tag of the set as well.
- tests/test_ci_published_set.py (36, in wrapper.unit.all.linux and .windows): the defect on fake
cores and a fake engine that refuses as rule 7 (red on the old harness with that refusal), the
three seams, the lock on known-bad inputs, the resolver on synthetic index documents, the install
commands, no tag written in a harness file.
Red on the old harness: the defect test fails with "stealth: zoom.stealth.screen.popup_position is
not declared by the core candidate-core (rule 7)" on the scripts of df491f2e. The regression
registry of the wrapper is not on this base: its row follows with the registry.
Five workers of the Windows part 3 of the e2e died, all on tests/test_fakeweb_p4_e2e.py::test_the_journey_leaves_every_page_only_once_its_noise_is_done, which runs 122-171 s with about 50 threads. tests/conftest.py armed faulthandler.dump_traceback_later(150 s, repeat=True) for every e2e test: a C thread that copies the frames of every thread WITHOUT the GIL (_Py_DumpTracebackThreads, documented "for debug purpose only ... after a segmentation fault, at fatal error") while the process keeps running and the other threads keep changing their frames. Two full dumps of a crashed worker show the process dead inside dump_frame, called from faulthandler_thread, reading a frame another thread was changing.
tests/_stack_watchdog.py is the same watchdog as a Python daemon thread: one per process, reused by every test; arm(nodeid, threshold_s, period_s, file) and cancel(); past the threshold, and then every period until cancelled, it writes "Timeout (h:mm:ss)!" and the frames of every thread (sys._current_frames(), holding the GIL, threads named from threading.enumerate()) to the same e2e-watchdog.log, in the format of faulthandler's dump; nothing to stdout or stderr; nothing after cancel() returns. Known limit, in the module: a thread that never releases the GIL keeps it from writing, which is pytest's faulthandler.enable() at the death of the process. tests/conftest.py calls it in place of dump_traceback_later and cancel_dump_traceback_later (setup, teardown, unconfigure).
Tests (all in the rows of wrapper.unit.all.linux and wrapper.unit.all.windows, min_tests 4061 -> 4116 and 4073 -> 4128, counted with the selector of the judge):
- tests/test_no_file_arms_a_gil_free_thread_dump.py: no .py of tests/, scripts/ or src/ calls faulthandler.dump_traceback_later, or dump_traceback with all_threads true or defaulted (ast, through any import form); pytest's faulthandler_timeout is set in no pyproject, pytest.ini, setup.cfg, tox.ini, conftest string, script string or workflow line (parsers, not text). Red on the conftest of 03425bb8, naming tests/conftest.py and the line, with how to fix and the rule; each form has its known-bad and its green twin. The only exclusion is norecursedirs of pyproject.toml.
- tests/test_the_stack_watchdog_writes_every_thread_after_its_threshold.py: in a child python, a blocked call gets the header and the stack of every thread, a test cancelled before its threshold leaves no dump, nothing is written after cancel (judged on the bytes of the file, waiting on the second test's first dump), the second test reuses the thread.
- tests/test_a_gil_free_thread_dump_kills_a_busy_process_and_the_stack_watchdog_does_not.py: 32 threads churning frames; dump_traceback_later at 1 ms ends the child with a crash status (red on the old mechanism), the new watchdog at a 1 ms period lets it run 6 s (60 times longer) and writes its dumps.
#629 sets WER LocalDumps for python.exe in each Windows e2e job, and a crashing pytest-xdist worker still left no dump. The pytest controllers of the runner are born with the
error mode 0x0003 (SEM_FAILCRITICALERRORS | SEM_NOGPFAULTERRORBOX), every child inherits the mode of its parent, and a process with SEM_NOGPFAULTERRORBOX (0x0002) never
invokes Windows Error Reporting, so no worker crash reached LocalDumps.
https://learn.microsoft.com/windows/win32/api/errhandlingapi/nf-errhandlingapi-seterrormode
The "Windows Error Reporting keeps a full dump..." step of each Windows job now also exports INVPW_WER_DUMPS=<the dumps folder> to $GITHUB_ENV. tests/conftest.py calls
tests/_wer_error_mode.py in pytest_configure (the controller and every xdist worker run it): when that variable names an existing folder on Windows, the process clears bit
0x0002 of its error mode and keeps the others, and appends "pid <n> error mode born 0x.., now 0x.." to invpw-evidence/dumps/error-mode.log. Nothing is written to stdout or
stderr, and nothing happens on Linux or in a job that did not set LocalDumps.
Tests: the rule test of the Windows jobs (tests/test_every_windows_job_keeps_a_dump_of_a_crashing_python.py) now requires the export in the LocalDumps step of every Windows
job, with the folder of DumpFolder and no other place that sets it (red on the previous e2e.yml, naming the job); a real child python born with 0x0003 (and 0x8003, 0x0002,
0x0001, 0x0000) ends with the born mode minus 0x0002 and leaves its evidence line, and without the variable or with a missing folder the mode is unchanged
(tests/test_every_pytest_process_clears_the_gp_fault_error_box_on_windows.py, a Windows file: only the row of Windows names it, min_tests 4061 on Linux, 4073 on Windows).
A pytest-xdist worker (python.exe) dies on the Windows e2e jobs with "node down: Not properly terminated" (a native "Windows fatal exception: access violation",
jobs 138402013609 and 138966622085) and nothing names the faulting native module. Each of the six Windows jobs that run pytest now sets, before its tests,
HKLM\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps\python.exe (DumpType 2 = full, DumpCount 3, DumpFolder RUNNER_TEMP/invpw-evidence/dumps/python,
WER made enabled, no dialog), so the dump travels in the evidence artifact the job already uploads (the Control+A job gets that upload). After the tests
scripts/ci_wer_dumps.py lists the dumps with their size and reads the minidump header (thread, exception code, faulting module+offset, failed access) into summary.txt.
Docs: https://learn.microsoft.com/windows/win32/wer/collecting-user-mode-dumps
Tests: the Windows jobs' rule test (red on the previous e2e.yml) and the reader on a synthetic minidump.
With the engine off the context comes from the host's Mesa, which a runner may not
serve (hunt run 45998187350: once in 3083 launches). The page still asks for WebGL,
which is what makes Firefox read GfxInfo; with the engine declared a missing context
is still red.
The control of the non-premultiplied WebGL canvas test and of the createPattern projection test had the engine off
(hw_seed 0), so WebGL ran on the host's Mesa: once in 3503 launches a runner gave no context. The control now keeps the
engine on, with the same declared GPU, and declares only the canvas noise off (zoom.stealth.canvas.substitute_pixels
false), as test_webgl_noise_active.py does. Both launches of both files, on Linux, check the maps of the engine's
processes with the rule of test_webgl_draws_on_the_engine_s_own_gl, now written once in engine_process_tree.py.
The restored-window part of the retail window-geometry test is dropped
with the feature. What stays is read against retail Firefox 159.0 on
Windows at the four display scales: the maximized window and its probe
(round 4), fullscreen in and out from it, the same-origin and cross-site
frames and the popups (round 5).
New, from round 6 (GitHub run oss-invisible/core 46052782097,
RetailCaptures 4a37f5f, WINDOW_GEOMETRY_TRANSFORMED_FRAME.csv): a
cross-site frame under scale(1.5) and under rotate(10deg), one at a time,
read from inside after three real mouse moves to retail's CSS points. Its
mozInnerScreen equals retail's, and clientX/Y and screenX/Y equal retail's
at scale 1.0 and are within one pixel at the others.
A cross-site frame that reads the top's own mozInnerScreen now fails by
name: the out-of-process frame lost its own place in the top.
Registered in wrapper.e2e.suite.linux.3 and wrapper.e2e.suite.windows.4
with four tests each.
Main run 45823271010 (linux part 1) saw the goto of /workers (A, its frame B, B's frame C: three processes) reach commit and domcontentloaded but not load in 30 s, with nothing in flight, in test_a_dedicated_worker_reports_the_identity_of_the_window_in_every_frame[blob]. The module arms FailureEvidence for all of its tests but only the one test that opened OnFailure saved it: that run kept nothing. Each test now runs in OnFailure with its page listened to (frameattached / framenavigated / framedetached, domcontentloaded, load). Diagnostic only: no wait or assertion changes; the 9 e2e nodes are the same.
tests/test_ci_windows_temp_is_on_d.py was red on them on today's main (e2e-network-windows, e2e-host-windows,
e2e-page-windows, e2e-page-final-windows had TEMP on C:); green with the job env every other Windows job has.
The profile of every Firefox the tests launch is made in TEMP. On the GitHub
Windows runners TEMP is on C:, and four browsers at once saturate that disk
(queue up to 144, latencies up to 4 s): the parent's main thread stays still
40-60 s and the e2e fail at random. Hunt of 20/11: profiles on C: took 5 of
4 shards, TEMP and TMP on D:\a\_temp took none.
Every Windows job that launches a browser (e2e, e2e-hunt, fakeweb, tests,
firefox-launch-matrix, real-sites, user-install) sets TEMP and TMP to
D:\a\_temp in its job env (matrix jobs: D: on Windows, /tmp on Linux).
tests/test_ci_windows_temp_is_on_d.py fails on the workflows of main.
The e2e asserted `^Not implemented`, and the client prefixes every server error with the API name, so the line is
`Page.screenshot: Not implemented` (and `Locator.screenshot`, `ElementHandle.screenshot`): red on every system in run 45081196889.
Stock Playwright 1.61.1 answers the same line: `FFPage.setBackgroundColor` throws `new Error("Not implemented")` and the Python
client writes `f"{apiName}: {error}"`. The test now compares the first line with that exact text for each way of asking.
The refusals of mask, style, animations="disabled", caret="initial" and omitBackground with png were inside PageDispatcher.op_screenshot, which the element's
screenshot reaches only after scrolling the element into view, taking its box and reading the document's scroll: a call that was going to be refused had moved the
page. They are now one function, _refuse_unserved_screenshot_parameters, called first by the page's screenshot and first by the element's (a locator's is the
element's). It reads the parameters and nothing else, so the element's second pass through the page's is the same answer. The required-suites counts follow the
13 unit and 10 e2e tests added.
ElementHandleDispatcher.op_screenshot scrolled the element into view, took its box and read the document's scroll before handing the call to the page's
screenshot, where the refusal of mask, style, animations="disabled", caret="initial" and omitBackground with png is. A refused call therefore moved the page. Unit:
for each refused parameter the element's call sends nothing to the engine, not a scroll, not a measure, not a picture (the page's call is held to the same, and the
call that is taken still scrolls and measures first). E2E: on a page scrolled to a known position with the element below the fold, a refused locator.screenshot and
element.screenshot leave window.scrollY as it was; the same call without the parameter does scroll.
PageDispatcher.op_screenshot never read these parameters, so the call succeeded with a picture that ignored them. It now refuses each by name with what to do
instead, and answers Firefox's own `Not implemented` for omitBackground with png (jpeg is a no-op, as in stock). caret="hide" and an absent caret are served: the
engine never draws the caret, which is what stock's default produces. The element's and a locator's screenshot reach the same call. The sentences are declared by
(operation, parameter) in perimeter.REFUSED_PARAMETERS and raised through _refuse_parameter, which the declared-refusals test holds to that table both ways.
Stock Playwright takes mask, style and animations="disabled" by modifying the page and draws the caret only for "initial"; its Firefox throws "Not implemented" for
omitBackground with png. PageDispatcher.op_screenshot never read any of them, so the call succeeded with a picture that ignored the parameter. Unit: the page, full
page, clip, element and locator calls refuse each parameter by name (and what is harmless passes), omitBackground png answers "Not implemented"; the refusals are
declared by (operation, parameter) in perimeter.REFUSED_PARAMETERS, both directions. E2E: the same through the client on a page, a locator and an element handle, the
page left untouched, and a measurement that no caret is in the picture with caret absent and "hide". Registered in wrapper.unit.all.* and wrapper.e2e.suite.{linux,windows}.1.
Wrapper #603's round (pytest ubuntu py3.13, job 139861116959): the same test failed with `psutil.NoSuchProcess: process PID
not found` from its helper `_alive`, which asked `pid_exists` and then `Process(pid).status()`: the grandchild the guard had
just killed was there for the first question and gone for the second. The guard itself already treats such a process as
gone (`kill_tree` suppresses `NoSuchProcess` and `psutil.Error`); the helper now does too.
Red on old: `test_a_process_that_exits_between_being_listed_and_being_read_is_gone` makes the race on purpose (a pid that
exists when listed and raises `NoSuchProcess` when read): the old `_alive` raised it (1 failed), the new one answers gone; a
process that is really there is still alive (the control). wrapper.unit.all rows +1.
`test_the_tree_guard_returns_at_the_timeout_kills_the_grandchild_and_names_the_launch_that_was_alive` asserted
`2 <= alive_s < 8`. `alive_s` is the time from the launch line the child writes to the moment the run is read; a child
that a loaded machine starts late writes that line late, so it was alive for less than 2 s when the tree was killed
and the check failed although the guard had done everything right (this repo's pre-push under the load of the whole
suite, twice in a row: `2 <= 1.75824`). A test cannot fail for the speed of the machine.
What holds whatever the load is asserted instead: the line cannot have been written before the run began nor after it
was read, and its `at` is whole seconds (`launch_line`, timespec="seconds"), so `0 <= alive_s <= spent + 1`; and the
message gives that number. The kill and the naming of the launch were already asserted and stay.
Red on the old check, on purpose: `test_a_launch_that_began_late_is_named_with_the_time_since_its_own_line` is a child
slowed until its launch line comes one second before the kill (`last_launch` read at a fixed `now`): the guard names it
alive for 1 s, the old window rejects it (asserted), the new check accepts it. A control shows the check refuses a time
the line cannot give (a line 30 s before a 3 s run, a line after the read). wrapper.unit.all rows +2.
The core now declares the maximized window's bar from the panel as well as the
scale (declared_maximized_ui) and adds ui_normal/ui_compact. persona_cover has a
DERIVED category: a pref that is a function of a dimension, checked to take one
value per value of it and kept out of the stored features. maximized_ui is of
screen_panel, ui_normal and ui_compact are of dpr. test_launcher_config reads
the bar through the core when it has declared_maximized_ui.
Run 45719708645 of this pull request: the runner's screen is 1024x768 and the browser window of a 1920x1080 identity is 1936x1048, so
it covered the whole screen and the cursor parked at (1023,767), inside it; the gestures' precondition said so. Parking the cursor over
the browser's own chrome does not help: hunt 45724307513 showed native moves over the tab strip reach the page too (clientY < 0,
buttons=0) once Juggler input is in it. Hunt 45730213378: 1920x1080 is the largest mode the runner's video device accepts (Microsoft
Hyper-V Video; 2560x1440 is refused) on windows-2022 and windows-latest.
The six Windows jobs of e2e.yml set it with a declared step (Set-DisplayResolution, read back, red if the screen is smaller), before
their e2e. The engine's gate runs the same step, byte for byte, in its Windows wrapper.e2e rows. Two unit tests: the runner's
1920x1080 arrangement parks the cursor in the strip below the window, and every Windows job of e2e.yml declares the screen before it
starts pytest (red on main's e2e.yml). wrapper.unit.all rows +2.
An autouse fixture per e2e test, and one per module that has an e2e test (a module-scoped browser opens its window before the first test of the module),
calls tests/_os_cursor.py park: the cursor goes to the bottom-right corner of the virtual screen, where no window of the engine is, and is read back. The
window then opens away from the cursor and no native mouse move reaches the page in the middle of a recorded gesture; require_outside at the start of the
drag test and the humanise move count (previous commit) is green. Windows only: the Linux e2e run under xvfb-run, whose pointer is virtual.
A headed window that appears under the real cursor gets a native WM_MOUSEMOVE for it; the first native move of a process passes Gecko's filter, so the
page saw `mousemove 512,299 buttons=0` after the press in the middle of test_a_real_page_sees_a_drag_that_travelled. The runner's cursor is at (512, 384),
inside the window (-8, -8) to (1928, 1040) of a 1920x1080 screen.
tests/_os_cursor.py: park_outside (a pure choice of a point of the virtual screen beyond every window rectangle plus a margin, a clear error when none
exists), cursor_is_outside, park (SetCursorPos read back with GetCursorPos) and require_outside, over user32 on Windows and no-ops elsewhere (the Linux e2e
run under xvfb-run, whose pointer is virtual). The drag test and the humanise move count (which asserts `off <= 2` page moves) call require_outside at
the start of their gesture. The unit rows of required-suites count the new file (+20 on each OS).
Candidate 45691494388 (job 139520127265) saw go_back end with "no new navigation on frame mainframe-11 in 30s" for top/other-site/goto and kept nothing. A hunt of 2960 iterations on that engine did not reproduce it (run 45711081489). The test now arms FailureEvidence with SHIPBFCache, nsSHistory, SessionHistory, BCWebProgress, DocumentChannel and BrowsingContext, and records what the page says when go_back raises and 2 s later. Diagnostic only: no assertion changes.
Run 45708815163 (this pull request, every pytest leg): the guard refused `api.github.com` in ten unit tests. Without
`binary_path=` a launch resolves the engine through `ensure_binary` (`_engine.resolve_executable`): with an engine in the
machine's cache it answers at once, with none it asks GitHub's release index and downloads the archive. So these
tests passed on any machine that had run `fetch` and went to the internet on a fresh runner (reproduced here with
INVISIBLE_PLAYWRIGHT_CACHE_DIR on an empty folder: 10 failed, 10 errors; with the fixture: all pass).
A fixture, `declared_engine` (tests/conftest.py), declares an empty executable in the test's folder as the answer of
`ensure_binary`; the file is never run. The ten tests take it:
test_launcher_helpers.py: test_build_env_carries_the_declared_network, test_build_env_caller_env_override_wins,
test_build_env_never_injects_font_env, test_build_env_no_font_keys_when_absent
test_launcher_config.py: test_enter_with_profile_dir_calls_launch_persistent_context,
test_enter_without_profile_dir_calls_launch_not_persistent, test_persistent_context_user_data_dir_is_created_if_missing,
test_teardown_closes_persistent_context
test_async_api.py: test_the_async_api_stamps_the_session_token_into_the_browser_env
test_virtual_display_start_off_the_loop.py: test_a_second_browser_is_served_while_the_first_starts_its_display
The whole non-e2e selection with an empty engine cache and the guard: 3763 passed, 8 skipped (Windows).
Run 45647282454, job version: tests/test_version_is_not_taken.py asks the index whether the proposed version is
already published, which only the index can answer; the guard refused its lookup of pypi.org and the gate went red.
It is skipped unless IPW_CHECK_VERSION is set, which only the version job of tests.yml does.
tests/_no_network.py: DECLARED_THIRD_PARTIES names that file and that host alone. Its lookup of pypi.org passes and
the addresses it answered may be connected to; any other host, and pypi.org from any other file, stay refused.
Three cases (faked under the guard, nothing leaves the machine): the gate may ask the index and only the index; no
other file may ask it; the declared table is that one entry, so a new one changes a test in the same diff.
wrapper.unit.all rows +3 (3688 linux, 3692 windows).
A new fixture, lab_exit (tests/conftest.py), declares the exit and the GeoIP database of the lab for one test that
is not e2e, as the e2e session has them (tests/_lab_egress.py). With no proxy the core asks the network where this
machine leaves from on every composition, even with a declared zone (zone, language and position come from the
exit): that is the product's rule, so the tests declare the answer instead of asking the internet.
pyproject.toml says unit and integration are "no network", and nothing enforced it: the pre-push of the wrapper
failed on tests/unit/test_config_public.py where the network refused api.ipify.org and icanhazip.com.
tests/_no_network.py patches the four doors every client in the process goes through (socket.socket.connect,
connect_ex, sendto and socket.getaddrinfo) for every test that is not e2e (an autouse fixture of tests/conftest.py):
loopback, the unspecified address, localhost names, the documentation ranges and the address this host sends from
pass; anything else is refused (ConnectionRefusedError, what an offline machine shows) and recorded, and the record
fails the test at its teardown, with WHERE (the test), WHAT (door and destination), FIX and RULE, even when the code
under test swallowed the refusal.
Red on this commit, all through the core's one discovery of the exit (prepare_session_geo, no proxy):
tests/unit/test_config_public.py::test_public_import_matches_direct_import
tests/test_launcher_helpers.py::test_default_context_screen_matches_profile
tests/test_launcher_helpers.py::test_default_context_color_scheme_follows_dark_theme
tests/test_prefs_composition_arm.py::test_the_wrapper_composes_what_the_public_api_composes (green before: the
core swallows the failed discovery when the zone is given, only the record catches it)
tests/test_a_test_that_is_not_e2e_never_leaves_the_machine.py (35 on Linux, 38 on Windows: the asyncio cases run on the selector loop, and on Windows on the Proactor loop too, which connects with ConnectEx and sends with WSASendTo, never through socket.socket) tests the guard; wrapper.unit.all rows +35 / +38.
The verdict of an h2-only road is the judge of the protocols plus the attempt read at the port of the server; the time a visit took is no input of it.
One visit loaded in 2500 ms against 719 ms (a loaded runner) with nothing at the h3 port is clean; every visit fast with one datagram at the port is an
attempt. Four roads each; the unit rows of required-suites count the eight.
The server's UDP port does not see an engine that tries h3 through the relay of a gateway: it asks for a UDP ASSOCIATE or sends into the relay.
relay_activity() is taken before the first visit (after the core's own measurement) and after the last; h3_attempts() reports what the engine
asked of the gateway in between. A unit test covers a granted and a refused ASSOCIATE and a datagram into the relay; the unit rows of
required-suites count it (+1 again).
The e2e judged the fallback by an absolute margin on page.goto (visit 2 loaded in 2500 ms against 719 ms), which is red on a loaded runner with
five visits that all read h2. The attempt is now read where it is born: H3Server records every datagram that reaches its UDP port
(udp_datagrams), a QUIC Initial included whether or not a handshake follows, and the h2 roads assert there is none. judge_visits no longer takes
load times, LOAD_MARGIN_MS and its debt entry in the clock exceptions are gone. A unit test proves the server sees an attempt that never
completes; the unit rows of required-suites count it (+1).
Evidence only; the verdict is unchanged (`ordine[:2] == ['hover', 'click']`). Candidate 45621332479 recorded
['hover', 'hover', 'click'] once, and nothing told an exit and re-entry of the pointer from a spurious second
mouseover. The page now also keeps every mouseover, mouseout and click of the button with its relatedTarget, its
point and the button's box at that instant, and the first moves of the document; the test wraps the core's
actionability loop (Actions._retry, _center_point, hit_target: the originals are called with the same arguments) and
records the turns of each action, their hit-target verdicts and how they ended. All three go into the failure message.
click, dblclick, hover, tap, check and uncheck (and so set_checked) of an ElementHandle called the core's actions directly: with no client cursor the approach is one mousemove onto the exact centre of the quad and a press there, while the selector actions go through Frame._by_hand / Pointer.act (a drawn path, a landing point of the session's own). The handle now goes through the same _by_hand with element=<its object id>: Pointer.act aims at that node (no selector looked up, the handle not disposed), and trial/force/strict/position/modifiers are read as before. The keyboard and text actions (fill, type, press, focus, selectText, setInputFiles) already end in the same core action as their selector twins and are unchanged. The comment that said a handle click was the humanised pointer is now true. Version 0.59.1.
ElementHandle.click/dblclick/hover/tap/check/uncheck go straight to the core's actions, which with engine_approach off send one mousemove onto the exact quad centre and press there; the selector actions go through the server's hand. A unit test over the real core Actions and the real Pointer (only the connection and the injected script stubbed) and an e2e that asks the page. Both rows of wrapper.unit.all and one row per system of the e2e partition name the new files.
The probe listens for webglcontextcreationerror and returns what it heard instead of null; after a first null the test waits 2 s and records a second attempt (statusMessages, renderer). The verdict stays the first attempt's. The test runs inside FailureEvidence with MOZ_LOG gfx2d.
Run 45620136865 refuted the focus reading: with an X cover over the pointer 458 of 463 runs were red, FocusOut 0 of 40 on the old arrangement. With no window manager the focus is PointerRoot, the pointer sits inside the covered window, and a window mapped over it makes the pointer leave the toplevel; GDK turns that crossing into a GTK focus-out that redraws the window after FullyObscured.
- the display: the test warps the pointer to the bottom-right pixel of the root (from its read-back geometry) before any session starts.
- cover_rectangle keeps the pointer outside the cover (the margin shrinks on that side) and cover_window fails with "the pointer is inside the covered window, no free point on the screen".
- watch also selects Enter/LeaveWindowMask; crossings and focus events are kept with time, mode and detail; the pointer is read back once after the cover is up.
- precondition (both halves, before the page is judged): no crossing and no focus event on the covered toplevel, pointer outside both rectangles; message starts "arrangement: the covering moved the pointer or the focus".
- unit cases for all of it; min_tests of wrapper.unit.all.* raised by 11.
Every uses: in .github/workflows is a local path or owner/repo@<40 hex> with the
version in a trailing comment. SHAs resolved from the official tags through the
API; the cross-repository noreply-identity reusable is pinned to the last core
commit that changed that file. tests/test_every_action_is_pinned_by_commit_sha.py
refuses any other form (FAIL file / job / step) and is in the wrapper.unit.all rows
(min_tests 3650 linux, 3651 windows).
The covering window was the second Firefox session's. When it mapped it took the X focus; the covered toplevel got FocusOut and GTK draws a window that loses the focus (nsWindow::OnExposeEvent -> NotifyOcclusionState(VISIBLE)). When X delivered Partially, FocusOut and Fully in one batch, that draw ran after the Fully and the page never recorded hidden (hunt run 45603211231, 58 reds of 1294).
- _x_visibility: override-redirect InputOutput cover (cover_window, destroy_window), FocusChangeMask with VisibilityChangeMask on the covered toplevel, FocusIn/FocusOut kept with their time, focus_moved for the precondition.
- test_window_occlusion_e2e: on Linux no second session; both halves assert that no FocusOut reached the covered toplevel before the page is judged ("arrangement: the covering moved the focus"). Windows unchanged.
- _evidence_on_failure: MOZ_LOG_FILE carries %PID, one log file per process.
- unit cases for all of it; min_tests of wrapper.unit.all.* raised by 13.
* ci: the lock of the gate environment (ci/py-lock/gate.txt), resolved once with hashes, and the test that it follows its sources (ci-03)
The engine series' gate installs the wrapper's environment offline from a wheelhouse made of a lock that lives here. gate.in is written by
scripts/ci_py_lock.py from pyproject.toml (dependencies without invisible_core, and the dev extra), the dependencies of the pinned core, the playwright
pin and cryptography 44.0.3; gate.txt is its uv pip compile --universal --generate-hashes --no-build result. The new test reads both offline and is red on a
missing dependency, a range, an entry with no hash, a pin that moved without the lock. Registered in both wrapper.unit.all rows (min_tests recounted).
* ci: the archives of Playwright's Firefox are pinned by sha256 in ci/py-lock/playwright-browsers.json, with its generator and a test (ci-03)
The gate of the engine series installs Playwright's own Firefox for the stock rows. Its archives (Firefox and FFmpeg on both platforms, winldd on Windows) are
now pinned here, at the wrapper_ref the gate selects, for the Playwright of scripts/playwright_pin.txt.
scripts/ci_playwright_browsers.py writes the file: it asks the pinned Playwright for the URLs with `install --dry-run` on each platform, downloads each archive
once and hashes it. The test reads the file offline and is red on another version, a missing platform or archive, a bad hash, an absolute URL or a file that is
not the generator's bytes. It runs in wrapper.unit.all on both systems; min_tests 3624 -> 3642 (linux) and 3625 -> 3643 (windows), by collection.
The gate of the engine series will derive its matrix from ci/required-suites.json, so every per-leg
detail must be a field of the row. Optional fields, absent = the plain leg: runner_image, timeout_minutes,
needs_userns, core_dumps, stock_firefox, location_service, run, extra_steps (closed set), moz_log,
juggler_trace, artifact. Set on the rows that need them today; no row, os, test or minimum changes.
ci_verdict.py validates each known field (type and closed values, named); unknown names stay ignored.
A new test pins the validation and the table of the fields on the rows. wrapper.unit.all lists and
minimums follow the new test file (3610 / 3611, counted by collection on Python 3.11).
An e2e test for the road a site uses: a main stylesheet that xsl:imports a
second one, both loaded by address, the imported one calling EXSLT's
date:date-time(). A context with timezone_id=Pacific/Kiritimati reads +14:00;
a launch with an empty declaration reads what getTimezoneOffset() says, and
that is not +14:00.
The file is added to wrapper.e2e.suite.linux.3 and wrapper.e2e.suite.windows.4
and their minimums go up by one.
PR #590 added a test to tests/test_ab_host.py without raising min_tests of
wrapper.unit.all.<os>; the PR checks (pytest tests/, floor 380) were green and
the engine series' gate went red ("the suite is exact").
The unit job now runs, on the Python 3.11 legs of both systems, the selection of
the row (ci_verdict.py args --with-marker) with a junit, and judges it with
ci_verdict.py judge from main against ci/required-suites.json, the list of main
as --main-required. The files outside the row run in a second, small pytest
(--ignore of every file of the row): no test runs twice. The plain run and its
floor stay for the other legs.
min_tests 3575 (linux) and 3576 (windows), counted by collection, including the
new test that holds the workflow to this.
Run 45364818483 (e2e on main 5a68489d, host windows): the A/A of the 68 broke on proc.socket<-pingsender, in no launch of one run and in every launch of the other. Whether a launch starts Mozilla's pingsender is canUpload()'s, not the engine's to hold, and with a few launches per side the rule of every kind turns that into a difference of the engine with itself. The kinds backgroundtask/pingsender and <kind><-pingsender are listed (not-judged), never red; their paths, their destinations and the separate pingsender[.exe] stay judged, and every other kind keeps the rule. A test with the shape of that run is red on the old oracle.
Windows hands the pid of an ended process to the next one it makes: pid 7352
of the tree ended at 05:05:33 and was TiWorker.exe at 05:05:38, so the wait
for the exit saw the tree alive for the whole 120 s (A/A seed 4 side A).
A pid of the tree has ended when the audit has its 4689 after its 4688, or,
with no 4689, when the process that has the pid was created after the birth
the audit gives. EXIT_LIMIT_S is unchanged.
The two linux-deps PRs raised wrapper.unit.all by the size of each version of
tests/test_ci_linux_legs_read_no_mirror.py while the second one replaced the
first, so the minimum counted 78 new tests where 66 exist (plus 5 of the
occlusion test). Republish 45328762166 collected 3563 on Linux and 3564 on
Windows, against minimums of 3575 and 3576.
nsWindow::OnExposeEvent calls NotifyOcclusionState(VISIBLE) at every draw of the
window's container (Mozilla's code, the same in retail), so a draw after X's
FullyObscured makes the page visible again and the control, which read the
final state, was a race.
The control now takes the page's list of visibilitychange entries and passes
when hidden was recorded after FullyObscured; the product half is unchanged
(hidden never seen). A deterministic case on Linux draws the covered window
again while it stays covered (one pixel narrower through X): the page must
record visible, hidden, visible. The decision is a pure function with unit
tests, and the engine's Widget log goes into the evidence folder.
libgtk-3-0 is a name libgtk-3-0t64 provides on noble and the root check read Package: alone (linux-deps-real-sites
red); a key per image build missed the entry whenever the builds of a release are mixed; the closure read one
package at a time took 13 minutes from a slow mirror. linux-deps.yml stays identical to the series' copy.
The first form installed the .deb files the job's image lacked against the
leg's own image and lists; GitHub mixes builds of one image in one run, and
legs failed with "E: Unable to fetch some archives".
linux-deps.yml (identical to the series' copy) now hands the jobs a
repository: the roots and their whole closure, a Packages index and
roots.txt. A leg installs the roots by name with an apt that reads only that
repository (its own sources list and lists folder) and --no-download. The
Playwright pin is read from playwright_wrapper_ref (github.sha) instead of the
`playwright` flag.
tests/test_ci_linux_legs_read_no_mirror.py follows the same rules as the
series' test: the only apt lines are the two allowed ones, APT and the sources
list are local, the files are copied into apt's archives, the artifact is
downloaded before the install; it is red on the first form.
A run lost a green leg to its time limit because `playwright install-deps firefox` fetched 48.8 MB
from the mirror at 102 kB/s (about 8 minutes per leg). linux-deps.yml fetches the .deb files once
per runner image and list (xvfb, strace, gdb, elfutils or the leg's own packages, plus what
`install-deps --dry-run firefox` names for the pin of scripts/playwright_pin.txt), keeps them in a
cache entry and hands them to the run as the artifact linux-deps-<name>. The legs of e2e.yml,
fakeweb.yml, e2e-hunt.yml, real-sites.yml and user-install.yml need that job and install the local
files with --no-download: no apt-get update, no install-deps, no install from the archive.
tests/test_ci_linux_legs_read_no_mirror.py refuses those three in any job, requires each installing
leg to download the artifact of a linux-deps call it needs before its first install, and is in both
unit rows (3529/3530). The tests that read the job headers of e2e.yml, fakeweb.yml and
real-sites.yml follow the new needs.
Republish 45257636942 (windows-2022): stock Firefox did not start the location utility process
(sandboxingKind=3), while on the same image it did in 45165805370, 45170547415 and 45252267809. The runner
has no source of position (getCurrentPosition answers code 2), so the utility depends on the runner. Stock
loaded capabilityaccessmanagerclient.dll (the CheckAccess of GeolocationSystemWin.cpp) in every launch
that ran, 5 of 5. The 68, the 68 again and the candidate loaded no location module in any of 168 launches.
- The stock control is broken only if stock ran and did not load capabilityaccessmanagerclient.dll. The
utility is still recorded and printed.
- Our engine, on both sides of the A/A and the candidate in the A/B, the idle launch included: a location
module or the location utility in any launch is red.
Unit rows 3492/3493.
Gate 45257629988 (Windows, seed 6): `logman query <session> -ets`, the round trip between the canaries, failed
with 0x80071068 (4200, ERROR_WMI_GUID_NOT_FOUND) right after a successful create. The launch went without a
trace and the A/A was broken, under a line that blamed the administrator.
- The round trip reads the list of sessions (`logman query -ets`, which does not resolve the providers): the
launch's session must be there and Running. A read that fails is read again every 0.25 s until the
condition holds or the 120 s hang guard runs out. The browser starts only once it holds.
- After every stop, the next launch waits until the session is gone from that list (same read, same guard).
- Errors carry the command, the code in hex and Windows' text; "it needs an administrator" only for access
denied (0x80070005).
Unit rows 3482/3483.
Run 45228081536 (Windows): the A/A of the 68 was red on how many pingsenders a launch started (2, not 0 or 3)
and on whether they spawned a socket process. Mozilla's pingsender leaves in some launches and not in others
(measured: 6 short launches of 48, 5 long ones of 16).
- The kinds of processes follow the rule of the host paths: red only if a kind is in every measured launch of
one engine and in no launch of the other. The other kinds, pingsenders included, are listed with their
counts in not-judged[-a-a].json. The count rule for the pingsenders is gone. The separate pingsender
executable and the pingsender's destinations are still judged, and so is the stock control's location
utility process.
- process_tree: a pid of the tree stops counting only when it is born again as a process that does not join
(plus the creator's name). A creator's end no longer excludes a child logged after it.
- Every Windows launch saves the raw 4688/4689 events of the tree and of the processes left out, with the
reason, next to its footprint.
Unit rows 3464/3465.
The Windows half of the occlusion test judged the page after a Z-order change that the tracker never hears: WinWindowOcclusionTracker recalculates on
hooked events (foreground change, move or resize, minimize, state change, cloak, location change of a process that had a visible window), not on a
change of the Z-order, and the second move of the covered window went to where it already was, so it sent nothing. When the covered window kept the
foreground the tracker was never told, and the page stayed visible for the whole deadline.
The test now builds each precondition with calls the system honours and waits for it, with a deadline, as Windows reads it back:
- before the page is asked anything, the covered window is made topmost and moved by one pixel, and the test waits until nothing above it covers it and the
page reads visible (a window of the same size opened over it by another session or by the load of the runner no longer reads as "hidden before anything
covered it");
- the cover is made topmost, the covered window moves inside it, and the test waits until the read-back says the cover covers it ("the lab could not cover
the window" otherwise, never a verdict about the page);
- the tracker is signalled after that with a real one-pixel move, repeated while the page still reads visible, so a page that never turns hidden is the
engine's.
The step that only recorded, without a verdict, whether the system kept a plain Z-order is gone (it spent a full deadline in the control half and would
now read as kept every time); the foreground window and the number of signals are recorded on every run.
Run 45221868374 (Windows, idle launch of the 68): a Windows service (svchost wlidsvc), seven wevtutil and two
wsl of the oracle entered the engine's tree because their creator's pid matched a pid of the tree that Windows
had reused. The service never exited, so the wait for the tree's exit ran out and the A/A was broken.
process_tree now walks births (4688) and ends (4689) in order: a process joins only if its creator is alive in
the tree at its birth, and only if the creator's image matches ParentProcessName when the audit gives it.
A stranger that takes the pid of a process that has gone drops that pid. The trace turns on the
process-termination audit and puts it back afterwards; without it the tree relies on births alone.
Unit rows 3450/3451.
Run 45206303882 (gate, windows-2025): the location keys said Allow and lfsvc ran, and stock Firefox did not
start the Windows provider. Before it does, Firefox asks AppCapability("location").CheckAccess(), and that
answer was never read. The step now prints it before and after, and is red unless it is Allowed after.
A/A run 45189518824 (Linux): in one run the second visit of the HTTP/3 page asked for /favicon.ico, in the
other it did not. Over 14 transcripts of the day Firefox asks once per origin of a launch: in the journey
on the first page of each origin (140 of 140), on no page of the other steps (0 of 980), and in the walks
?v=1 always asks while ?v=2 does not (59 and 60 of 60). Hypothesis, not proved: the goto of ?v=2 races the
recording of ?v=1's favicon.
- settle_visit, the one point a visit is left from: the favicon of the page's origin has been asked for
and served in full (WireServer.answered_at, marked after the last byte on http1, h2 and h3), then the page
reaches networkidle. Each wait has the 120 s hang guard; one that reaches it is an error of the
transcript that names the visit and the missing wait.
- The evidence of the transcript keeps the arrival and the end of the answer of the HTTP/3 requests,
for the measure to make if this falls again. The journey is not touched.
- Unit rows 3443/3444.
Run 45176061220 (gate, Windows, network oracle): in one launch the runner was 3 to 4 times slower for
about 100 s. From the click to `load` steps 2 and 3 took 18.9 and 22.1 s (4.5 to 10.2 s on 480 pages in
6 runs), over the 15 s default deadline of the walk's context. A deadline meant for a hang became a leaf of
the comparison and the A/A of the published engine was red.
- TIMEOUT_MS becomes HANG_GUARD_MS (120 s), the deadline of every wait of the walk that has no time of its
own; the wait for the noise uses it too. The back/forward keys and the networkidle time keep their own.
- A wait that reaches the guard says which wait, on which page, and the last request the site saw, in
place of "Timeout Nms exceeded". Only the stage and the page are compared.
- Fake site pages that hold `load`: a click to a page that holds it 20 s is a passed step, and a page that
never loads names `navigation to load` with a small guard.
Run 45165805370: the stock control passed (utility sandboxingKind=3) and the e2e was red only on the list of
footprints, which did not have it. expected_footprints holds the four cases (Windows/Linux, A/A/candidate).
Unit rows 3418/3419.
Run 45162128126: stock Firefox answered getCurrentPosition (error 2) within a second and then stood in
`seed result` until its 120 s limit: the trace waited for the tree rooted at the oracle's own python, which
cannot exit (EXIT_LIMIT_S). The root is now the stock browser's parent process, found among the oracle's
descendants after the launch, as an engine's root is its parent; one not found is a broken control that says so.
Unit rows 3417/3418.
Run 45153612447 (PR #578), host on Windows: the A/A was green, then the stock control stood still for more than 26 minutes,
until the test's guard killed the python child alone and nothing was said. On the runner the location service is off and
denied for the machine (lfsvc Disabled and Stopped, the machine's location consent Deny).
- e2e-host-windows turns the service on before any launch: lfsvc made startable and started, consent Allow for the machine
and for the user's non-packaged apps. A setting that does not hold is red with its reason. The claim of the geolocation step
is unchanged.
- The host test runs the oracle through crash.run_tree. The stock control runs in at most 120 s (crash.run_tree) and prints
every phase, so a control that does not end says the phase it stood in.
- Network: the test's guard is the slowest measured run plus 25% (runs 45121964904 and 45153612447): 2197 s for the A/A,
3285 s with a candidate. The network jobs of the PR have 50 minutes.
- Unit rows 3415/3416.
Run 45121964904 (the gate of the 69) had three red controls, none from the candidate:
- network, Linux: the published 68 exited with -11 in the exit-pings launch. It is Mozilla's race:
a session closed before Glean initialised makes it start inside the shutdown, where glean.init can
panic ("No database found"). That launch had no window, so Glean was always born in the shutdown.
Every launch of the two oracles now waits, right after its first page, for
<profile>/datareporting/glean/db/data.safe.bin (a condition read from the host; 60 s is a red
safety limit). The launch's own work always sits between the condition and the close. The
exit-pings launch opens a page and navigates once before it closes, and its wait for the
data-policy pref (which never came) is gone. The host's bare launch, never compared, is removed.
Each launch keeps the listing of datareporting/ as evidence.
- network, Windows: the subprocess timeout killed only the python child; the firefox grandchild
held the pipe and pytest timed out without a word. crash.run_tree writes the output to files,
kills the whole tree, and names the launch that was alive and for how long.
- host, Windows: the stock control never started (Playwright's Firefox was not installed) and was
reported as "does not reach the platform provider". It now runs after a green A/A on every
Windows run, pull requests included. The job installs the browser, a missing executable is said by
name, and a stock that ran without reaching the provider prints its processes and modules. A
read-only step prints lfsvc and the location consent keys.
The partner tab of step 10 is closed from the walk's one point (Journey.leave) and the walk then waits
for its two pagehide requests, as integ already did; the fake tab of the unit test of that wait answers
the noise-done wait. The rows counted again by the collection: unit 3384/3385, suite.linux.2 412,
suite.windows.3 274.
The network oracle of the run 45088980743 (Windows) saw `GET A/release?id=lp<TOK>` once in one run
of an engine and twice in the other: the home page of step 15 had sent its last stage and its
fonts, but its chain of seven fetches had not yet sent the release that ends it when the walk asked
for /account. window.__noiseDone did not cover that stage. It is now true once the fonts, the last
stage, the release of the fetch chain (stage 5) and the releases of the three aborted streams
(stage 9) have all been answered. A held request of a parked page stays out of it.
The check of the walk (journey_site.pages_left_before_their_noise) also asks, for every page, for
the release that ends its fetch chain, with the page as its referrer, before the walk leaves it.
Unit tests: a page left before that release is found; the page declares the new conditions. Both
red on the previous site. Counts: unit.all.linux 2426 -> 2427, unit.all.windows 2427 -> 2428.
The check of the p4 walk (journey_site.pages_left_before_their_noise) expected the late stylesheet
ld3 of a page of the other origin with the origin alone as its referrer. The partner page loads ld3
from its own origin: a same-origin request carries the whole URL of the page (O/partner/8). In the
run 45074928774 the stylesheet arrived 3 s after `load`, after the walk had waited for the page's
declaration, with that referrer, and the check called it missing (Linux job 137370233977, Windows
job 137370233997). The driver was right; the expected referrer was wrong.
Unit tests: the partner page is found by its own URL (red on the previous check, green here); step
10 closes the partner tab only after the wait for the tab's declaration (red when the cleanup
closes it at once); the source check also pins goto to the first page and forbids reload.
Counts: unit.all.linux 2424 -> 2426, unit.all.windows 2425 -> 2427.
_upload_paths takes the context of the frame or the handle doing setInputFiles and accepts a WritableStream only if it is a child of that context. A guid that is unknown, or a stream of another context or another client, answers `streams[i]: no object with guid <g>` (the stock server's `_tChannelImplFromWire`); a guid of another type answers `object with guid <g> has type <t>, expected WritableStream`. Both doors (Frame and ElementHandle) pass their context.
The stock server's streams are objects of one connection: a guid outside it answers `streams[i]: no object with guid <g>`. The unit tests drive the element's and the frame's setInputFiles with a closed stream of another context, of another client, and an own one, and read the exact sentence for a stream nobody made. Registry: unit rows +3.
A stock client on a remote connection uploads a path with createTempFiles, WritableStream write/close and setInputFiles{streams}; the server refused the first call with a sentence that said the opposite of the truth. BrowserContext now serves createTempFiles (one folder per call in the session's upload area, one file per item, names refused unless they are one bare file name, a folder refused as set_input_files refuses it, mtime from lastModifiedMs at close), the new WritableStream dispatcher appends and closes once, and _upload_paths reads streams as the closed files. The folder is removed by the context's released(), which a context close and a dropped client (_client_gone) both pass. The perimeter no longer names createTempFiles or write.
_announce_file_chooser records every early return in handler_errors, as the adoption failure already did.
A stock client over `connect` uploads a path as a stream (createTempFiles, WritableStream write/close, setInputFiles{streams}) and the server refuses the first call. The unit file drives the real dispatchers and the served endpoint: names, one folder per call, write/close, the streams read by the upload, cleanup on context close and on a client dropping mid-copy. The e2e file gets a test that reads name, size, lastModified and bytes of two streamed files on the page, and its handler tests (2 and 4) now pass a Python function, which the client needs. Registry rows updated: unit rows +30, e2e rows +1.
Every page of the journey site now declares the end of its noise: window.__noiseDone is true once
the font stage is done (its stylesheet has loaded and document.fonts.ready has resolved after the
spans were laid out) and the last stage has loaded its stylesheet ld3; at once on a page without
noise.
The walk leaves a page only from Journey.leave, which waits for that declaration (deadline 30 s,
never a pause) before the act that leaves: every navigating click and Enter (Journey.navigate),
back and forward (history_step), closing the partner tab (step 10) and the end of the walk (the
context closes the last page). The same driver runs for stock Firefox and for ours, so the
verdict "same outcome as stock" is unchanged.
Unit tests (red on the previous commit's driver, green here): step 15, the form keys of steps 12
and 14, back and forward, the tab and the last page, a source check that every navigation, back,
forward and close of the walk goes through that one point, and the page's declaration.
Counts: unit.all.linux 2418 -> 2424, unit.all.windows 2419 -> 2425.
The network A/A oracle on Windows differed at step 15 of the journey (ld3 1 vs 2, woff2 5 vs 7):
the walk clicks Account as soon as the home page has loaded, while the home page's noise still
runs on timers after load (fonts at 250 ms, the late stylesheet ld3 at 600 ms).
The lab can now make the last stage of the noise long (journey_site.start(last_stage_ms=...)),
and the site's record keeps the referrer and the type of every answer. The new e2e test runs the
walk with that stage at 3000 ms and reads the record: every page's ld3 (with the page as its
referrer) and its five woff2 must arrive before the walk's next navigation
(journey_site.pages_left_before_their_noise). The current driver leaves the home page of step 15
right after load, so the test is red on it by construction.
Counts: wrapper.e2e.fakeweb 4 -> 5, e2e.suite.linux.2 411 -> 412, e2e.suite.windows.3 273 -> 274,
unit.all.linux 2413 -> 2418, unit.all.windows 2414 -> 2419.
PageDispatcher.op_screenshot sent omitDeviceScaleFactor false whatever the caller asked and never read `scale`: at a viewport of 1280x720 and a ratio of 1.25
page.screenshot(scale="css") was 1600x900, stock gives 1280x720. It now sends omitDeviceScaleFactor: scale == "css", as stock's Firefox page does. The element and
locator screenshots end in the same call, so they follow.
Stock sends omitDeviceScaleFactor: scale === "css"; the driver never read scale, so at a viewport of 1280x720 and a ratio of 1.25 scale="css" gave
1600x900. Unit: the page, full page, clip and element calls put the right flag on the wire. E2E: at 1.25 and 2 the size and the pixels (colour blocks at known
CSS positions, one below the fold, one in an iframe) of the page, full page, clip and locators are those of the scale asked for. Both registered in the
wrapper.unit.all rows and wrapper.e2e.suite.{linux,windows}.1.
ci/required-suites.json: every row of main unchanged; the unit rows hold main's files plus the oracles' unit files, with the
minimum recounted (3080 Linux, 3081 Windows); the rows wrapper.e2e.ab_oracle, ab_network, ab_host and ab_host_crash added.
.github/workflows/e2e.yml: the Windows parts take their files from the rows wrapper.e2e.suite.windows.N (main's).
The oracles' e2e files are named as excluded in tests/test_the_e2e_suite_is_accounted_for.py (their own jobs), and the
oracle job tests check that no row of the shared suite holds them. The host oracle's unit tests take the 13 real WOF
lines of the Windows A/A and the 45 real lines of the Linux A/B of candidate run 45060573559.
The single Linux job ran the whole e2e in 24.6 minutes on a normal runner and
35.7 on a slow one (every test slower by the same 1.44x), close to its
40-minute ceiling. It becomes a matrix of three parts, `e2e (linux, part N)`,
each running the row `wrapper.e2e.suite.linux.N` of ci/required-suites.json
(read with `ci_verdict.py args`, as the Windows parts read theirs) through
scripts/run_e2e.py under xvfb-run: the parallel pass with 4 browsers, then its
wall_clock tests alone. Every setup step of the Linux job stays; the uploads
are named per part (-linux-N).
The rows hold no test of wrapper.e2e.udp.exit or wrapper.e2e.udp.sandbox. The
root step and the sandbox step run in part 1 only (the lightest by the test
time of the Linux junit of run 45064266867: about 1893 s against 1988 and
2138), after its run, in the same order as before. The sandbox step now runs
the whole list of its suite (the file and the three node ids of the UDP line,
13 tests, as the gate's sandbox leg runs it): the rows leave those three
nodes to that suite, and without this they would run in no step.
A final job keeps the old check name, `e2e (linux, xvfb)`: it needs the
parts, runs with `always()` and the same gate of the core on the index, and
fails unless `needs.e2e-linux.result` is `success` (a failed, cancelled or
skipped part is red). While the core is not on the index it is skipped with
the parts, as the Linux job was.
Tests: the root and sandbox step tests read the new shape (rows of the parts
without the suites, the steps held to one part, the sandbox step to the
suite's list and count); test_ci_runs_once_per_commit.py holds the final job
(known-bad: no always(), accepting skipped, not needing the parts, exit 0,
another job's result, no gate of the core, success() || failure()). No change
to the registry, the judge or the series.
Same install path: the content processes and the forkserver read the link of every
ancestor of <install>/omni.ja (Omnijar::ChildProcessInit -> realpath), so the 68 under
/tmp/ab-host-fetch-<random>/engines and the candidate under the checkout gave 10 leaves of
readlink per seed that were the place of the install. Each engine run (68, 68 again,
candidate) now copies the whole package to <RUNNER_TEMP>/ab-host/engine/firefox, runs from
there and removes it; nothing is normalised in the comparison.
gfxtest: the probe is labelled gfxtest (widget/gtk/GfxInfo.cpp:55 GFX_PROBE_BINARY); the
declared difference now names it (it named glxtest and was reported stale), and covers the
file leaves whose only toucher on the published side is that kind, in the seeds where the
kind is gone.
Windows: a path ending in :wofcompresseddata is the WOF compressed-data stream of the file
the process opened; the ETW reader reads it as that file. Other streams stay distinct.
A new e2e, Linux only (the GLX probe, gfxtest glx, is a child process of
Firefox on GTK; Windows has none): a declared engine starts no probe from
the launch to the page's WebGL context on firefox-69, and runs it on 68;
with zoom.stealth.fpp.hw_seed 0 Mozilla's probe starts on every engine.
The process tree is sampled with psutil in a thread from before the launch
(tests/_process_sampler.py). A poll can miss a child that lives tens of
milliseconds, so the launch runs under the strace stand-in (execve and the
clones only): every exec of the probe in the log must be a pid the sampler
saw as the probe, the sampler must cover the launch, and the log must hold
the browser's exec; otherwise the test is red with the problem, never green
on a miss. A unit file drives the real sampler with a fake tree.
Rows: wrapper.e2e.suite.linux.3 242 -> 244, Windows exclusion 16 -> 17;
wrapper.unit.all.linux 2382 -> 2389, wrapper.unit.all.windows 2383 -> 2390;
the firefox-69 gate is registered in tests/data/engine_gates.json.
--junit PATH writes the verdict of compare as xunit2: invariant:<name> for
each invariant and check:<name> for the other checks, classname
scripts.ci_host_gate (the path the hook tests name). A failed check is a
failure, a check with no dumps to look at is skipped.
The held fetch /hold?id=park of the category page (steps 7 and 8) was started by the noise script while the page was parsed, so
on an engine that announces a request before the commit the client attributed it to the previous document and did not count it.
It now starts from afterLoad(0, ...) like the keepalive fetch of the search page; URL, method and end are unchanged.
The unit test covers every held request (/hold with until) of every page of the steps that are not idle (7, 8, 12), and that no
other page of the journey holds one while it is parsed.
The two sessions run on a private Xvfb (DISPLAY by monkeypatch, as the
focus test). The test's own libX11 connection selects VisibilityChangeMask
on the covered toplevel before the cover is mapped, raises the cover, reads
back once the stacking and the geometries (asserted: arrangement), and waits
for X's VisibilityNotify FullyObscured in both halves (never sent: red,
arrangement). With tracking enabled, FullyObscured sent and a page that never
turns hidden is red with a message that says ENGINE. The X record (window
ids, read-back, visibility events with their times) is kept on every run.
Windows side and product assertions unchanged. The parsing and the record
are unit-tested (10 tests, rows wrapper.unit.all.* +10).
A candidate run lost the tab of a visit ("cannot find session" in every state.*) and the artifact held only args, json and xml: the crash was inferred.
* The launch probe puts a tee in front of the core's own reader of the browser's output (stdout and stderr on one pipe), so the whole output of EVERY launch is
saved in crash/<run>/stderr/ whether it ended well or not, and a launch that never made a connection keeps its output too. A launch whose output could not be
kept is red. Nothing is written to the browser: same environment, prefs, durations and launch count.
* The cores written since a launch began go through gdb whatever code the parent ended with (a content process can die and the parent end with 0); such a launch,
or one with a minidump, is red. A launch with no core says where it looked.
* A tab that died or a session that was lost during a visit is the leaf crash.tab.<launch> (error and step) in the dump, not a cascade of state.* errors. The
comparison puts "TAB CRASH side S seed N dpr D launch L at step ..." first, red on that leaf alone, and counts the leaves the dead tab could not read instead
of listing them as <missing>.
A/A run 45025164169 (engine candidate, oss-invisible/firefox_antidetect_patch) broke on both systems.
Linux: the HTTP/1.1 site had a resumed connection on one seed of one run and on none of
the five seeds of the other. The labs are already fresh for every seed (a new certificate,
a new TLS context, so new ticket keys, a new journey site), so nothing is shared between
the two runs: whether the browser opens a second connection to the site while the first
is still busy, before it has read the session ticket, is the pool's race. The site now
answers with Connection: close and ends the connection, so every request after the first
rides a connection opened after the ticket was read, and the resumption happens on every
seed of every run. The default of the capture server stays keep-alive.
Windows: step 15 of the journey (logo, then Account) had one request counted 2 against 1
(release, first Referer "/" against "/account") and the font 10 against 5, on seed 0 of the
second run only. The transcript folds a request into a count and drops the connection and
the moment, so it cannot say which page sent it. The tees now write the connection of each
head and the lab the moment; each seed's transcript keeps, outside the compared leaves
(like exits), the requests of the journey with connection, stage, referer and time, and the
connections of the HTTPS sites with time, stage, resumption and the requests of HTTP/1.1.
Nothing is excused for it.
Every launch of every oracle (measured, idle, relaunch, warm-up, bare; A/A and A/B) is judged by how its parent ended: a code other than 0, or not seen, is a red
line naming the side, the seed, the launch and the code. A launch that did not end with 0 keeps, in the oracle's artifact, the strace tail and the fatal signal lines
(host), the core through gdb (thread apply all bt, the MOZ_CRASH reason, info sharedlibrary) with the build ids, the .extra and the minidump names, and what no
collector found. The trace records the fatal signals now and drops the signal lines where the log is read. Cores are enabled in every launch without touching the
working directory, the environment, the prefs or the crash reporter. The recorder's own e2e (a parent sent SIGSEGV is red with its evidence) runs in the host job.
The test was red once on Windows ("Runtime.evaluate: no response in 30s" at set_content) with nothing saved, so it could not be classified as a stall of the browser or an evaluate sent to a context that no longer answers.
The test now arms the Juggler wire and the engine's trace before the launch, records the client's frame and page events and each call, and saves them only when its body fails. The reading of the wire no longer depends on a marker in the code: every command with no answer is joined with its context, frame and url (when it was sent and at the end of the log), with the time it waited and whether its context was destroyed since; an answer says how long it took. A stall witness of the process and the runner's load run on the wire's clock, and one line of both goes on the exception as a note.
No probe changes the call it observes: nothing raises into the test, the unit tests make the recording, the probes and the note fail on purpose and the exception is the same object.
tests: first batch of fixes for the intermittent e2e of main (the install wait, the goto-stopped setup, the moving page's goto model, a read's timeout)
Run 45026082150: stock Firefox read no dark scheme on either system and, on Windows, did not see the per-user canary.
* the scheme: Playwright's playwright.cfg sets pref("ui.systemUsesDarkTheme", 0) (line 157 of the cfg of the build we install), and
widget/nsXPLookAndFeel.cpp GetIntValue reads a set pref before the system (NativeGetInt: GTK's theme, the HKCU
AppsUseLightTheme value of Windows), so whatever the poison says the stock reads light. The control now launches a COPY of that
Firefox whose cfg has no such line (the same build and prefs otherwise; refused if the cfg or the line is not there), and says
what it took out in poison-control.json. The control was never headless: the engines of the oracle run on a hidden desktop (the
core's _headless.py), headed, and only `-headless` would use the hardcoded light of widget/headless/HeadlessLookAndFeelGTK.cpp.
* the font: on Windows the canary goes to the Fonts folder of the system and under HKLM (the runner is an administrator); undo
removes both.
* nothing is in trial now: dark and the Windows canary are required again.
Run 45030727459: the shared Linux e2e job hit its 40 minutes with every test passed; the page oracle (5 seeds, the H7 relaunch and the ab. visits) took 38 of them.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Both far-away gathers (the one with an rtt and the one after the page loaded) kept no record of where the time went when the core's UDP
measurement ends unmeasured. The watch now also starts, with the gateway's own record: a read of the control connections' times (connect,
greeting, authentication, ASSOCIATE asked and answered, and the longest wait inside the gateway for an answer); a handler on the core's
logger invisible_core._udp_exit at DEBUG, set and removed around the test, next to marks of the launch; a daemon thread that beats every
50 ms and keeps the gaps over 200 ms; and the runner's CPU and load every 0.5 s with psutil. They go in the saved evidence (cells.json,
stall-witness, runner-load, core-udp-exit-log) and as four short lines in the failure message (a note of the exception when the failure is
not an assertion). The second test now keeps evidence too. No budget, threshold or retry changes; every recorder takes one dict per record,
never raises into the test or a server, and a unit file makes each fail on purpose (clock, load source, log record, records list) and makes a
real stall of the whole process (a GIL-holding call) to see the witness catch it.
Step 12 of the p4 journey asserts that an open keepalive fetch keeps networkidle from being reached. The search results started that fetch
during parsing, which races with the commit being told: the engine announces the request at once, the commit waits for the handshake, and
the client drops the request at the commit (the reference Juggler does the same). The page now starts it with afterLoad(0, ...), a task
after the load event, so the step tests the rule and not the race; the verdict and pages.json are unchanged. A unit test reads the served
page and forbids the held keepalive fetch outside an afterLoad callback.
A gateway of the lab refused the browser's CONNECTs to the DoH the core
declares (162.159.61.4:443) 117 and 254 times in two single tests, 2296 in
one leg, and every refusal read the host interfaces again with psutil in the
pytest process that runs the core's UDP measurement.
LabGuard now reads the interfaces once, when it is made, and judges every
destination against that reading: a refusal is a synchronous list append.
The decision-time reading (and its read_errors path) is gone; the reason of
a refusal says the reading was made when the gateway was made.
test_a_guard_reads_the_interfaces_once_however_many_destinations_it_refuses
counts the readings of a fake psutil: 1 for 40 refusals and 3 decisions
(44 on the old code).
The Firefox profiles land in TEMP. On C: the four browsers of a part saturate the runner's disk and the parent's main thread stops for
seconds: A/B of the engine series, run 44780607530 (profiles on C:, 5 stalls) against run 44780612863 (TEMP on D:, none). Seen again on
this branch, run 45028125122, Windows part 3, test_fakeweb_p4_e2e step 1: the lab answered "/" at 1137.21 and the engine committed at
1144.78; no request reached the lab from 1137.21 to 1146.94 and from 1147.12 to 1156.22, while the 7 requests reported in flight had all
been answered and closed by 1147.12.
The B frame of the second page raised "Execution context was destroyed" at window.__r once on Windows. Nothing here changes an assertion, a wait or
a deadline: the module arms FailureEvidence before the browser launches (Juggler wire, the engine's trace), and a failing test saves the client's
framenavigated, frameattached and framedetached of both pages with url and name, the times at which wait_frame returned and the evaluate was
called, page.frames at the failure, and a reading of the wire that joins the evaluate's context id with its frame, url and answer.
Every recording runs in one guard and takes its data under a single field, so none can raise into the test or collide with a field of the data.
Run 45026082150: the page A/A was zero on both systems, and the negative control read, for stock Firefox, no dark scheme on either
system and, on Windows, did not see the per-user canary font. Until a run shows that stock reads them they are IN_TRIAL: still
measured, printed, written to poison-control.json (in_trial) and to the job summary, never silently, but they do not make the control
broken. Everything else stays required: language, zone, formats, the canary and fonts.conf on Linux, the audio sink.
Run 45024276134 (page oracle A/A on the poisoned host), the harness defects:
* Windows: Set-WinUserLanguageList keeps the tag 'ja' for ja-JP, and verify wanted 'ja-JP'. The apply now records what the OS reports
(culture, language list, zone, theme); verify holds the machine to that record and, separately, to the semantic check that culture
and first language are Japanese, so it stays red when the poison is not in force and does not depend on the form of the tag. A
failed apply also tells the later steps where its state is, so the undo runs.
* the negative control used Playwright's default context, which emulates a light scheme: it follows the system now (no-override),
and requires that stock reads a Japanese format.
* the canary was 'present' when it measured differently from a generic family, which on Linux are the canary itself (the user's
fonts.conf): it is present when a text measures its own width (216 px).
* the ab visit's canvas and OffscreenCanvas PNGs carry the launch's own deBG chunk (the host gate's noise.png_deBG), and the iframe
origin carried the site's random port: the PNGs are hashed without that chunk (and the pixels are hashed too) and the port is
not recorded.
* ~/.config/fontconfig/fonts.conf makes the canary the first choice of sans-serif, serif and monospace and sets antialias off, full
hinting, rgb subpixels and the light LCD filter; undo restores the file that was there or removes the one the poison wrote. The
page probe measures the three generic families; the negative control requires stock Firefox to pick the canary for all of them on
Linux, and an engine that does is a finding.
* the published engine is dumped on the clean runner before the poison (ci_ab_oracle.py clean); the oracle's own run is the poisoned
dump of the same seeds, and every leaf that differs is written to poison-host-dependence-68.json and to the job summary: a host
dependency the published engine already has, a finding and never a verdict.
The comparison of two engines on one machine lets through a value both read from it. The page oracle's leg now runs on a machine given
values the engine must never read, and the dumps are held to what the persona declares:
* scripts/ci_poison_host.py: apply, verify and undo per system. Windows: the zone of Lima (tzutil), the ja-JP culture and user language
list, the dark scheme (HKCU AppsUseLightTheme and SystemUsesLightTheme), a per-user canary font. Linux: TZ, LANG, GTK_THEME, a
user-installed canary font, and a null PulseAudio sink at 96000 Hz with 6 channels as the default. The canary is generated, byte for
byte the same every time (no third-party font). Every PowerShell forces the invariant culture first, and the state it keeps is text
read before any change. `control` is the negative control: Playwright's own Firefox on the same runner must read the offsets of Lima,
the dark scheme, the canary's width and, on Linux, the 96000 Hz sink, or it is a broken control. The dumps' findings are the host's
values against what the identity declares (the core's prefs of the seed and the retail reference).
* host_gate_page.html: the ab.poison probe (one block between two markers, which the control evaluates too).
* scripts/host_gate/ab and ci_host_gate.py: an extra visit of seeds 0 and 63 in a launch of ja-JP and in a context of de-DE and
America/Lima: the top window, a cross-site iframe, a srcdoc iframe, a worker, a shared worker, a service worker answering a
navigation, an audio worklet, OffscreenCanvas, canvas and WebGL hashes in each, window.open with and without features, the
Accept-Language the server saw per kind of request, and a re-read after back/forward. Leaves are under ab. (skipped by the retail
comparison like diag., compared by the A/B). Seed 63 is the control of seed 0: it must differ on at least AB_CONTROL_MIN leaves.
* the page oracle's test checks that the ab visit read, that the control held, and on a poisoned host that the poison is in force,
that stock Firefox read it and that neither engine did.
The dump launches seed 0 a second time on a profile folder a first launch used, in the wrapper's persistent context, and keeps that launch's items under the relaunch. prefix of the visit: the retail comparison never reads them, the A/A and the A/B hold them to equality, count them apart from the visit's floor, and are red when a side lacks them. The e2e reads AB_ORACLE_SEED_SET and AB_ORACLE_SHARD and sizes its hang guard from the seeds of its shard, the engine runs and the extra launches. e2e.yml has a touched step and two jobs (Linux and Windows) of four shards each for the A/A of the final set, run only when a pull request changes a file of the page oracle.
Run 45024863785: the host A/A of Windows was red for 21 rare modules in the measured launches of run A, 6 catalogs under catroot and 15 resource files, no library.
- A .mui does not count when its library (the same name without .mui, one folder up from the language folder) is among the modules seen in that run, in any launch: the
library carries the count. An orphan .mui counts.
- A .cat under catroot does not count (Windows signature verification, not a module the engine chooses).
- Libraries and every other file keep the cap (5; 30 in the long layer), which is not raised.
- The report always prints the numbers: counted, .mui excused, .cat excused, orphans. In the A/B the .mui and .cat the 68 and the candidate opened are listed, and a new
library shows through the library itself.
The record of a datagram carried the keyword 'source' twice, which raised in the gateway's own inbound thread, so no datagram was relayed.
Every recording of every wrapper now runs in _Watch.safely, after the original call, with the journal field renamed origin. A unit file
drives a real gateway (UDP ASSOCIATE and a relayed datagram), also with each recording made to raise.
Before the topmost arrangement each half now does the plain one: the covered
window is inserted right after the cover, with no topmost. It then waits for
the answer the half waits for anyway (hidden with tracking, two frames
without) and records, as evidence and never as a verdict, the calls' answers,
the Z-order from GW_HWNDFIRST down to the covered window, and the foreground
window with its pid and process. It also records whether that pid is one of
the two sessions' engines (the owners of the two windows). FailureEvidence
saves the record under $RUNNER_TEMP/invpw-evidence/test_window_occlusion/ on
every run, green or red. Every message carries, per half, "order without
topmost: kept / not kept, foreground: pid X (engine yes/no)". The topmost
arrangement, the precondition read once and the assertions are unchanged.
In e2e run 45022307128 (windows, part 4) the control half passed, and the
product half was red at the precondition: SetWindowPos returned success and
the covered window took the requested rectangle, yet the covering window was
not above it. The plain insert-after was never kept for that half (the state
read the same for 30 s). The test did not record the Z-order or the
foreground's process, so it cannot tell a request the system did not keep
from a covered window raised back.
The covering window is now made HWND_TOPMOST (the system keeps it above every
non-topmost window, whoever has the foreground), and then the covered window
moves inside it with SWP_NOZORDER | SWP_NOACTIVATE; that move, last, is the
tracker's signal. The precondition is read back once, right after. Every red
carries both calls' return values and GetLastError, the Z-order from the top
down to the covered window (process, class, topmost), and the foreground
window with its process, read right after the arrangement and again after
the page answered. The assertions are unchanged.
The -11 at the exit of the security state's generate (runs 44985244053, 45014369018) left no core: a release build crashes in silence, and only a core
tells a wanted crash (gMozCrashReason) from a bad access. tests/_crash_cores.py, TEMPORARY:
* tests/conftest.py raises the soft RLIMIT_CORE of the pytest session to its hard limit once, at pytest_configure, on Linux: every engine a test starts
inherits it, the core's own launches included;
* a pytest_runtest_makereport wrapper, after every phase that fails, has gdb read every core* in $INVPW_CORE_DIR (all threads' backtraces and names,
the signal's address, gMozCrashReason, registers, shared libraries with build ids, mappings; the executable from the core's header, else
INVPW_BINARY_PATH) into $RUNNER_TEMP/invpw-evidence/cores/<test>/ and deletes the core; the cores left after a passing test are deleted and listed in
cores/after-passing-tests.txt.
tests/_generation_evidence.py keeps only stdout, stderr and the profile's files of the core's launch: its core-limit raising and its own gdb call are
gone, and the direct launch of tests/test_security_state_engine_e2e.py no longer lifts its limit. The proof with a fake engine that dies by SIGSEGV
through the core's real generate now asserts gdb's text with a backtrace on Linux (where a core lands and gdb exists) and the Linux-only note on
Windows; tests/test_the_core_of_a_crash_is_read_by_gdb_after_a_failed_test.py drives the conftest hook with a fake core and a fake gdb on every
system. Unit rows: +4 each (2301 Linux, 2302 Windows).
The page records the time after each of the four descriptions and, when the wait is over (or an await throws), the getStats of BOTH connections: every local and remote candidate and every candidate pair with its checks sent and answered. The connections are closed in the page whatever happened. The launch's stdout (the engine's timecards) is copied to engine-stdout.log by wrapping the stream the core hands to its own reader, in the test process; MOZ_LOG becomes timestamp,sync,mdns_service::*:3,mtransport:5,signaling:1 (the timecard exists only while signaling is enabled). When a run is not right, the machine's holders of UDP 5353 are written while the browser is still up (Get-NetUDPEndpoint and Get-Process on Windows, ss on Linux). No assertion, wait or deadline changes.
Evidence only (webrtc-far-away-<ice row>-<rtt>): the gateway's control connections and datagrams with their times and addresses,
the page's candidates, ICE errors and gathering states, the timings, the Juggler wire and the addresses of the runner.
Assertions, waits and deadlines are unchanged.
In run 45014369018 the -11 came from the CORE's generate, which _ready calls once per module and whose outcome three tests share; the test's own
launch had exited 0, so its save path never ran, and the core's launch writes stdout and stderr to the null device, deletes its work profile before
it raises and keeps the test process's core limit of 0. tests/_generation_evidence.py wraps the core's launch while _ready runs it: stdout and
stderr to files, the soft core limit raised to the hard one (Linux), the profile's files noted at the engine's exit, and on GenerationError all of
it saved in $RUNNER_TEMP/invpw-evidence/security-state-generate-core with gdb's backtrace where a core lands. The direct launch lifts its limit the
same way (preexec_fn, no sh wrapper). A unit test proves it with a fake engine that dies by SIGSEGV through the core's real generate.
A passive listener (tests/_mdns_listener.py) joins 224.0.0.251:5353 on 127.0.0.1, the interface the engine's responder joins, before each launch and records every packet with its time, source, query or response, names and addresses. It never sends or answers, shares the port with the engine's socket and never raises. No assertion, wait or deadline changes.
On failure the test saves the engine's own log of the failing launch (mdns_service and mtransport, MOZ_LOG_FILE in the evidence folder), the timings and the page's timeline of every launch up to it: each icecandidate of both connections, every ice and connection state change, when each addIceCandidate was called and settled. No assertion, wait or deadline changes.
On failure the test saves the engine's own log of the launch (nsHttp and the neqo_glue, neqo_http3 and neqo_transport modules, MOZ_LOG_FILE in the evidence folder), the lab server's record of every TCP and QUIC connection (start, handshake, each request with its path, close and reason) and the url, protocol, goto time and read time of each visit. No assertion, wait or deadline changes.
On the private Xvfb no window manager runs, so nobody calls XSetInputFocus: the
focus stays PointerRoot and GDK activates the toplevel under the pointer
(has_pointer_focus when no _NET_SUPPORTING_WM_CHECK), while Firefox presents a
window (gtk_window_present_with_time, XSetInputFocus without a WM) only when it
is not active already. XGetInputFocus therefore read PointerRoot for the whole
wait although the first page had the focus.
The test now does the window manager's part on Linux: it finds the window the
step names by its _NET_WM_NAME and gives it the X input focus (the first
session's, the second session's, and the session's own new window as a focus
on map), then reads the focus back before judging; on Windows the same steps
ask for the foreground as before. X errors no longer end the process.
Every refusal of LabGuard now carries its reason: the lab's rule (a name that is not localhost; an address that is not loopback, not a
documentation range and not one of the N addresses of this host read at the decision) or the narrower rule of the gateway (the DoH gateway
carries only loopback; the IPv6 literal gateway only its listener). The record also says, once per gateway, the interfaces of this host as
read when the gateway was made (by interface name) and how they were read (psutil.net_if_addrs, its version, the normalisation).
The reading never fails silently any more: _own_addresses returned an empty set on any exception (psutil raising or not importing, _witness
not importing), which made every address of this host "not the lab's" without a word. _witness.read_host_interfaces raises
HostInterfacesUnreadable (also for an entry that is not an address and for a list with no address at all); the guard raises when it is made,
a failure at a decision refuses with that reason and raises at the close; the witness keeps an arrival it cannot judge as the host's and
raises when read.
The refusals of 10.1.0.52 in run 45014369018 (Windows part 2) were the DoH gateway's own rule in
test_nothing_of_a_context_leaves_but_through_its_proxy_e2e (the witness stands at the runner's address and no proxy may forward to it),
which the record did not say. Nine unit tests, red on the old helpers; registry: unit.all 2269 (Linux), 2270 (Windows).
- test_a_context_without_download_options_is_left_to_firefox: the download reputation prefs are no longer switched off (a slow save is the product's); the seconds from the click to the file stay a junit property, and a save slower than 40 s (judged after the fact, never a verdict) keeps in invpw-evidence/download-left-to-firefox the test server's record, the client's requests, the Juggler wire and trace, and a MOZ_LOG of the download machinery
- _evidence_on_failure: keep(why) saves what the helper holds though the test passed; arm(moz_log=...) and note_records(...)
- test_the_shutdown_ping...: no patch of SENDER_GRACE nor of the session's safety net; the ping must be on the endpoint when the session has ended, within the core's 10 s grace
- The watcher test depended on a thread and on when the file was written: it could see the name before the content and delete the profile before the next look. The
collector now has scan_once (the thread's look, and stop's last one); the tests drive it: the file is placed empty, then half written, then complete, and a file seen
empty is read again when its size changes. Red when a file is read once, green on the size re-read.
- The network walk test made the beacons arrive from a thread after real sleeps and asserted a wall-clock bound: the beacons now reach the site one at each look of the
walk's own wait (the losing interleaving: the walk is already waiting), and "no wait" is no look at all. Red without the wait, green with it.
- The geo lab test's request has a hang guard of 60 s, not 5.
remote_types read the engine's child logs in the order of their names (child-10 before child-2) and kept the last
type per pid, so a pid reused by a later content process could be read as the site of the ended one and the waits
for "no process of the site is left" never became true. The lines are now stamped with the time MOZ_LOG logs, ordered
by it (then by child number as a number), and a process takes only the types logged at or after its own creation time.
Unit tests with fake logs: reused pid, child-10 against child-2.
- test_a_context_without_download_options_is_left_to_firefox: Firefox's own save no longer runs the download reputation check; the time until the file landed is recorded (not judged)
- test_the_shutdown_ping...: the sender is given 120 s (_profile.SENDER_GRACE) and the session's safety net follows, so the verdict waits for it to end by itself
- test_dom_iterables_from_evaluate_e2e: one browser per case
- e2e.yml: TEMP and TMP on D:\a\_temp in the Windows jobs, as the engine series' gate
- the browsers of the e2e tests are launched with marionette.port 0 and the port is read from <profile>/MarionetteActivePort
(webfont_probe.marionette_active_port): no port is freed for a browser to take, so a neighbour cannot bind it first
- the worker with its own language is read after a process script has read intl.accept_languages in the content process of each tab
- the script cache test keeps the file size of the sample that matched
The focus test is wall_clock (it runs alone, after the parallel tests), its two
sessions share a private Xvfb on Linux, and before judging it reads from the OS
that the focus is where the step says (X input focus, GetForegroundWindow on
Windows); "no blur" is judged after that and a round trip to the page's process
instead of a two-frame pause.
The fullscreen test waits for the condition itself with the engine on (declared
size, display-mode fullscreen, fullscreenElement) and for fullscreenchange and
the following resize with it off; on Windows it reads the monitor first and
declares a size that is not the monitor's.
A/B: a module the candidate's idle or bare launch opened is red only if no launch of either 68 run opened it (the measured seeds, the warm-ups and the long launches).
A/A: the modules only one run has are counted in two layers, the measured launches (cap 5) and what only a long launch of the run opened (cap 30), each printed with
its count; a module the other run has in any launch is not rare. Paths outside the class stay as they were.
WinWindowOcclusionTracker marks a window OCCLUDED only when the windows above
it in the Z-order cover its rectangle, the second session's window lands above
the first only if the system lets its process take the foreground, and a move
of another process's window is heard only once that process was seen with a
visible window. Opening the second window left all three to the runner: red in
one Windows run, green in two. On Windows the test now moves the first window
right under the second, inside its rectangle (a maximized window counts as its
work area), with SWP_NOACTIVATE; that move is the tracker's own signal. Before
waiting it checks the cover is visible, uncloaked, opaque, not a popup, above
the first window and containing it, and a red names what did not hold.
- System modules (System32, SysWOW64, WinSxS; the catalogs are under System32\catroot): loaded by the Windows loader on behalf of system DLLs, no page reads them. A set
per path over the launches that are compared (the seeds and the warm-up). A/B: red only a module the candidate opened that no launch of either run of the 68 opened; a
module the candidate lacks is printed, not red. A/A: a module only one run has is rare, printed with its count; red when a run has more than 5. The idle and the bare
launch are not in the class (run 44993377458: 19 of the 21 modules only run A had were theirs). Everything else stays strict, the shortcut inventory is its own rule.
- Privileged Cont (the preloaded about:newtab, NewTabPagePreloading.sys.mjs:96, browser.newtab.preload firefox.js:1952): absent or present per launch, more than one is red;
it depends on the idle time after startup.
Run 44993377458:
- The data-policy notification is never recorded because it is never needed: the core declares the terms of use accepted (invisible_core prefs.py termsofuse.accepted*,
browser.preonboarding.enabled false), so canUpload() is true from the start (TelemetryReportingPolicy.sys.mjs:839; _delayedSetup :1156 returns before _userNotified
:988). The idle launch no longer requires the notification or any number of pingsenders (Linux started 1, new-profile; Windows 0): evidence until proven. A separate
pingsender[.exe] there stays red. The {0, 3} rule of the short launches stays: Linux 3 in all 12 and Windows 0 in all 12.
- Windows system modules (a path under c:\windows) are compared as a set over the union of the measured seeds of a side: a module that is in a seed of each side is
the same module; one that only one side has in any seed is still red (2 of the 4 differences of the run remain: wevtapi.dll in one tab process, the resource file of
twinapi.appcore.dll in one parent).
On Windows the idle launch of each engine run is bracketed by two snapshots of the places the shortcut code reads and writes: the Start menu of the user and of
ProgramData (Programs below them), the Desktop of the user and the Public one, the pinned taskbar shortcuts and ImplicitAppShortcuts, and every Mozilla-* folder of
ProgramData (the shortcuts log is there). The files that are new, changed or gone (name, size, mtime) are kept in the footprint and summarized in one line of the report
(SHORTCUTS ...): the direct proof of whether the engine leaves a shortcut or a log on the host. Evidence, not compared. The Create disposition stays.
The idle launch of run 44988820319 (no client, no page) ran a crash reporter on both systems. It was not a crash: the process is `crashreporter --ping-cleanup`
(CrashManager.in.sys.mjs cleanupPings, started by runMaintenanceTasks 57 s after the launch, AGGREGATE_STARTUP_DELAY_MS), the parent and the reporter ended with exit 0,
and the reporter ran 2 s (send_ping.rs cleanup_main sleeps 2 s). The idle launch now has a page, and the old one stays as a case of its own, never compared:
- bare launch: no client, no page, the same wait; records the exit code or signal of its parents, every crashreporter or minidump-analyzer process with its command
line, the `.dmp` names and `.extra` contents found in the profile's minidumps and the Crash Reports/pending folders (a watcher reads them while the launch lives, the
profile is deleted when it ends), and on Linux core dumps in the launch's folder (ulimit -c unlimited) with `gdb -batch -ex bt` and the kernel's core pattern;
- Windows: the footprint lists the host paths a process of the tree asked the system to make (the Create event's disposition: create, open-or-create, overwrite,
supersede), the evidence of a file written and not only looked for.
The base Gateway of _socks_servers (CONNECT relay and UDP relay, tcp_from_exit included), Socks5TcpOnly
and the SOCKS5 server of test_proxy_socks_auth_e2e refuse and record any destination that is not the
lab's (loopback, the documentation ranges, the addresses of this host's interfaces, localhost): a
CONNECT is answered with reply 2, a datagram is dropped, and the refusal is written down (time since the
gateway started, address type, destination as received, port, protocol) under
$RUNNER_TEMP/invpw-evidence/<gateway>/, always, when the gateway is closed. forward_only_to only narrows.
The gateway of test_ipv6_literal_connect_e2e reuses the base behaviour and keeps its evidence.
New unit test with known-bad inputs; the two unit rows of the registry name it.
From the A/A of run 44988820319 (the host oracle, both systems):
- Linux: the parent's direct connects differed only by address (DNS rotation: 140.82.112-114.x:443, 185.199.108-110.133:443, 151.101.x.91:80). A public destination
is compared as its class, the kind, the verb, the transport and the port; the number of distinct addresses of a class is tolerated, the reason written once
(NET_CLASS_REASON). No name is made up from an address.
- Windows: in one launch the parent ran the shortcut inventory (the Start menu, Public\Desktop, Quick Launch\User Pinned\TaskBar, the shortcuts log of ProgramData, the
shell libraries loaded for it): StartupOSIntegration.sys.mjs onStartupIdle -> ensurePrivateBrowsingShortcutExists (hasPinnableShortcut) and CustomIconManager
enumerateInstallShortcuts, Mozilla code at startup idle. Its paths (the parent's first opens from the first to the last open of a path of the places it walks, by the
order of the system's log) are absent or, on both sides, the same set.
- Windows: four socket processes in one launch were the parent's and one of each of the three pingsenders (a background task is a Firefox of its own): what a
pingsender spawns is named `<kind><-pingsender` and comes and goes with the pingsenders; it is compared when they are on both sides.
- A creator pid that Windows reused before the launch is not in the tree (a pingsender of an earlier launch counted in the lifecycle).
- The idle launch opens a page: with no window the notification of the data policy was not recorded in 120 s on either system and the launch had a crash reporter.
The 35 new e2e files of the characterization branch are in one row of each system (balanced on the junits of runs 44942540063 and 44985244053, about 9.4 minutes of estimated wall time per Linux row, 10.2 per Windows row, 4 browsers). The four tests adapted to Windows (the headed popup, two fission process-name tests, the service-worker process test) are no longer excluded and are named by their files in the Windows rows. Linux gets wrapper.e2e.suite.linux.3.
The launch stage held only the UDP; it now holds the CONNECTs (the DoH road left out: its
start-up connection lands in this stage or in the journey's first step, so it is counted with the
journey's), the DNS questions and the datagrams, each with who opened it: `core` (the Python
process that runs the lab and makes the core's own requests at launch), `browser:<kind>` (parent,
socket, tab..., backgroundtask:pingsender) or `unknown`. The idle launches and the exit-ping launch
record the same.
The gateway looks at the client's source port while it serves the handshake and finds the owner
with psutil.net_connections (Linux and Windows both give the pid); a datagram carries the
opener of the UDP ASSOCIATE it came on (the association's control connection), and a DNS
question the opener of the connection that carried it. Only the stages that ask for it are looked
up (launch, idle, exit).
- Removed the lab telemetry endpoint of the idle launch (toolkit.telemetry.server) and its server: no pref is changed in any launch of any oracle. The idle
launch stays, still ended by the notification recorded in the profile's prefs.js; its strict comparison is what does not depend on the third party: the
notification seen, three pingsender processes of the three types, always the background task, spawned by the parent.
- A pingsender that goes to the telemetry host direct is the product's behaviour in a session with no proxy: the rule about a public destination is gone from
the host oracle (behind a proxy it is the network oracle's). A destination of the pingsender kind is `public, telemetry`; the outcome of the connection is
not in the verdict.
- The paths and destinations only the pingsender kind touches are compared when it is present on both sides of the same launch (the measured launches and the
two warm-ups) and left out when it is on one side only, so a return to pingsender[.exe] or to a new read of the host shows.
The exit pings leave as `firefox --backgroundtask pingsender` through the session's route when Mozilla's canUpload() is true (TelemetrySend.sys.mjs:1083), which is
the case once the notification of the data policy was recorded (TelemetryReportingPolicy.sys.mjs:988 `_userNotified`, from `ensureUserIsNotified` at
`sessionstore-windows-restored`, :1140-1175; the first-run tab, or the infobar at 60 s, :51). A short launch may or may not have got there.
- Short measured launches: the number of pingsenders is 0 or 3 (the first run's new-profile, first-shutdown and event, spawned by the parent, the background task
and never the separate pingsender[.exe]); any other number or form is red, and the paths and destinations only they touch are not compared.
- The idle launch of each engine run (no journey, the telemetry endpoint is a loopback server of the lab so no ping goes to the internet) waits until the
profile's prefs.js records the notification (a file of the launch, no channel into the engine; at most 120 s), then closes. The comparison there is strict: the
notification seen, three pingsenders of the three types, spawned by the parent, none to a public address (B266). A launch behind a session proxy also fails on any
pingsender destination that is public.
The first seed gets one more idle launch per engine (idle/exit_pings), behind the lab's
coherent proxy and with no pref changed: it reads the profile's prefs.js every 0.5 s until
datareporting.policy.dataSubmissionPolicyNotifiedTime is there (120 s only end a launch that
never gets there: recorded is false and the A/A must agree), closes, and records until the
tree has exited, the pingsender of the shutdown included.
What went to the proxy towards a name outside the lab is compared strictly (the form of the
target, the number of each, the order): the proxy answers those CONNECTs itself with a SOCKS
reply 4 (host unreachable, as it does for any name outside the lab) and writes them down,
nothing leaves the lab. A connection of the browser or of its pingsender that did not go to
the proxy is in direct, which is red on either side. The e2e's hang guard counts the launch.
Run 44982522362: the Windows A/A of the host oracle differed on the pingsender (3 vs 0 in one measured launch) and the Linux one on a /proc/self/fd/N open
of the parent. Neither is excused. What the run shows and what the oracle now records:
- the report counted 150 to 1000 paths per seed opened by firefox.exe processes OUTSIDE the tree on Windows: the other tests' browsers ran at the same
time on the shared e2e machine, and the engine's own timers (the telemetry notification that decides whether the shutdown spawns the pingsender; the
idle flush of the shared data that the parent copies read-only through /proc/self/fd/N) race with a loaded machine. The host oracle has jobs of its own,
e2e (host, linux) with strace and e2e (host, windows), one test each, and the shared jobs leave its file out like the network oracle's;
- Linux keeps the order of starts and ends of the tree (strace with the exit lines, signals off), the call that touched each path (open, openat, stat, ...),
and every open of /proc/self/fd/<n> with the memfd_create that made the descriptor; Windows adds the Kernel-Process stops to the ETW session (the exit
code: 0 by itself, 1 for the core's TerminateProcess) and the times of the 4688 events (a refusal of the provider is said, not red);
- every footprint keeps how the close ended: the return code of the root and the seconds the core's close took (evidence, never a threshold).
The whole-run trace of the host oracle now also records, per process kind, every netlink socket the tree
opens (by protocol: NETLINK_ROUTE, NETLINK_KOBJECT_UEVENT, ...), the requests it sends on it (RTM_GETLINK,
RTM_GETADDR, ..., read from strace's decoding or from the message bytes) and the multicast groups it binds
to, and every connect or send towards a public address, with transport, family, address and port. A socket
is known by the inode -y prints for it, so a send names the protocol of the socket() that made it, whichever
thread sends. The set per kind enters the comparison like the host paths: identical, no exception. Loopback,
the lab's documentation ranges (192.0.2.0/24, 198.51.100.0/24, 203.0.113.0/24), private, link-local and
multicast destinations are not compared and are counted by class as evidence. The warm-up report lists the
network entries only the warm-up had.
The strace stand-in traces socket, connect, bind, sendto, sendmsg and sendmmsg only when the host oracle asks
(network=True); the font tests' default is unchanged.
Windows is not covered and the report says why: the connect and send events are in the
Microsoft-Windows-Kernel-Network provider, which needs a second provider in the session, logs every packet of
the machine and has no field names verified on a hosted runner yet; interface enumeration there is NSI by
IOCTL, not a socket.
The count of content processes holds the preallocated pool and what the browser starts for itself, so it moved with whatever ran beside the test (gate run on Windows: [9, 9] while open, [9] after). The test now waits until the processes that host the sites of the frames (B and C) exist while the context is open, and until none is left once it is closed: by the name of the process on Linux, by the remote type the engine logs on Windows.
- tests/fakeweb/profile_p4.py: the tab of step 10 is closed by the walk's cleanup and its
two pagehide requests reach the site after close() returns. The walk now goes on when
the site has both (an event; a failsafe keeps a request that never comes from blocking
it), so they belong to the step that closed the tab. A/A run 44982522362, Windows seed 6:
in 19 launches of 20 both landed in step 11, in one n=2 landed in step 10; both were sent
in every launch. The per-journey summary of those requests is gone.
- Optional entries (resumed connections) get an invariant: an origin that resumes on some
seed in one run must resume on some seed in the other; an engine that stops (or starts to)
is red. Which launch resumes stays timing.
- The ECH GREASE aead: the existing volatile entries cover fresh and resumed connections
(security/nss/lib/ssl/tls13ech.c:2257: the aead is chosen by the low bit of HKDF output of
a fresh key, for every ClientHello without real ECH); two fingerprints that differ only by
the aead are one.
- Lab: two servers of a lab never share a port number (open_lab makes the lab again when
they do). A port is normalised into the role of its server, and on Linux seed 4 the port
of the origin O and that of the HTTP/3 server were the same number in one run: 667 leaves
read journey-o.test:h3. The lab also gives the walk's step counter back when it closes.
- Resumed connections: an origin may have one in a run and none in the other (ticket and
pool timing; 108 leaves per seed on Linux h1). The volatile list can name an `optional`
owner: what is under it is excused when one run has nothing there and compared when both
have something. The fresh connections and the protocols are always compared.
- The ECH GREASE AEAD is written as what it is, a draw from 1 and 3 (any other value is a
difference), on fresh and resumed connections alike; the two per-leaf entries are gone.
- What the page sends from its pagehide handler (the beacon and the keep-alive POST) is
summarised over the journey with its counts, as the CONNECTs are: the pair reaches the
lab while the driver moves to the next step and straddled the boundary in one run
(Windows, steps 10 and 11).
On failure only, into RUNNER_TEMP/invpw-evidence/fakeweb-leaving-beacons-under-load/: the fake web's own record of every
connection and request (arrival, answer, error), the client's log of every request, the Juggler wire of the served browser,
the engine's Juggler trace (INVISIBLE_JUGGLER_TRACE_DIR) and the cells. No assertion, wait or deadline changes.
The headed window.open test asked for DISPLAY, which Windows never has: it now asks for it only off Windows.
The bench tests found a site's process by its name, which only Linux sets: on Windows they read the remote type the
engine logs for every process it creates (MOZ_LOG Process) and count the live content processes of that site.
The rows are balanced on the test times of run 44942540063 and exact; the Windows parts of e2e.yml read them instead of taking every fourth file.
tests/test_the_e2e_suite_is_accounted_for.py holds every e2e test in one row of each system or in a named exclusion.
Host oracle
- Each engine run starts with a discarded warm-up launch (the first seed), an experiment control and not an excuse: its trace is kept in the
footprint and the report lists what only the warm-up did (WARMUP-ONLY, per kind and per path, with the process that did it), and which of those
both engines have. The measured launches are compared as they are: a pingsender or a socket process that differs after the warm-up is red.
- Only the tree of the launch is compared. On Windows the ancestry is the creator's pid chain of the 4688 events and every open of the machine is read,
so what a process outside the tree opened (a service, the antivirus) is counted by process name (OUTSIDE THE TREE) and left out; on Linux the strace
tree is the tree.
- A path or a kind that differs names the processes to blame: touched_by (the kinds that opened each host path, on both systems, a thread's open
counted for its process) and spawned_by (the kinds that spawned each kind), in the DIFF lines and the problems.
e2e.yml
- tests/test_ab_network_e2e.py has its own jobs, e2e (network, linux) and e2e (network, windows), with the setup of the shared jobs, one test that must
pass (no skip), 40 minutes (the test's own budget for 5 seeds is 30); the shared Linux job ignores the file (OWN_JOB_FILES) and the Windows parts
leave it out of the collection (own_job). The workflow tests take a job by its name now, and the network jobs are held to the same rules as the others.
From the A/A of run 44963364060 (Windows part 4, 129 differences):
- the runner's TEMP is the 8.3 spelling (the short spelling of the user folder) and the engine opens the same folder under both spellings, so 70 paths of the
launch's own profile were classed host: the context puts every root and every path in the long spelling (GetShortPathNameW / GetLongPathNameW
of the user's folders, the temp root and the package), whatever the NT prefix;
- uninstall_ping_<install hash>_<uuid>.json(.tmp) in C:\ProgramData\Mozilla-<install id> (30): the uuid of the ping is normalized, the folder and
the name are still compared;
- a firefox.exe --backgroundtask pingsender (three in the first launch of the run, the cause of its extra parent kinds, imagehlp.dll and a .mui) is
the kind backgroundtask/pingsender by its command line, not a parent;
- the start canaries are three, with a round trip to the session before each, and the last one must be in the trace (the first canary of the first
launch was not);
- the footprint keeps, as evidence, which kinds of process opened each host path.
- fold_wire: the connections whose ClientHello resumes a session are a set of their own
(the number of tickets offered left out), and `protocols` is the set of protocols that
carried a request (h1, h2, h3), not how many requests each carried.
- tests/test_ab_network_e2e.py: the default 420 s of the e2e killed the xdist worker of the
A/A on 5 seeds on Linux and Windows (run 44963364060). The test's guard is 120 s to start
plus, per engine run, 240 s for the first seed and 150 s for each next one (measured: 120 s
and 145 s per engine run for the first seed on Linux and Windows); the subprocess ends at
that budget and the worker's guard comes 120 s after it.
A/A run 44960767715 left 214 leaves on Linux and 297 on Windows, all of them the pool:
a second connection with no request (in the first visit's stage in one run, the
second's in the other), the page's requests split between HTTP/2 over TCP and
HTTP/3 over QUIC (4 and 1, then 1 and 4) with their stream numbers, priorities and
frame counts, the HTTP/3 datagram count, and the start-up connection to the DoH
landing in the launch stage or not.
Each role (h1, h2, h3) now has one summary over its whole walk (fold_wire): the
distinct fingerprints of the connections that carried a request and are not resumed
(ClientHello, ALPN, SETTINGS, first WINDOW_UPDATE/PRIORITY, QUIC parameters, pseudo-header
order), and every request, with its count, wherever it rode. In the h3 role the
transport's own headers (te, alt-used) belong to the connection and the page's
priority is kept for the page. Not kept: the number of connections, a connection that
carried no request, stream numbers, frames after the first request, the h3 datagram
count. The CONNECTs of the launch stage count with the journey's. The direct-connection
rule is untouched. The volatile entries follow the new paths.
On a pull request the three A/A controls ran on a few seeds (page 2, network 1, host all). The A/A is what every A/B verdict
rests on, so when the pull request changes the code or the data of an oracle it must be zero on every seed of the candidate
set [0, 2, 4, 6, 63], Linux and Windows.
scripts/ci_ab_pr_seeds.py holds the files of each oracle (what they share: ci_ab_oracle.py, persona_cover.py,
ci/persona-seeds.json), fetches the base commit and lists `git diff --name-only <base> HEAD` (HEAD is the merge commit the
runner checks out), and prints AB_ORACLE_PR_SEEDS, AB_NETWORK_PR_SEEDS and AB_HOST_PR_SEEDS (every seed, or the default 2, 1
and 2). One step of e2e.yml, on a pull request, in the Linux job and the Windows parts, appends them to $GITHUB_ENV; no
third-party action. The three e2e tests read their variable with pr_seed_count and, without it (a push, a manual run), keep
their default. Unit tests: the path rule per oracle, the shared files, the variable (a carriage return, a bad value), the
fetch-then-diff order, LF-only output, and the step in the workflow.
The A/A of the host oracle kept finding noise because it read the tree once, after a wait for quiet: the number of live
content processes, one font mapped lazily, the number of short-lived children. The oracle now compares the TRACE of the
run, from the launch to the exit of the browser (the quiet point is the exit of the process):
- processes by kind (parent, -contentproc type + sandboxingKind + isForBrowser/notForBrowser, helpers by what they ran)
from the command lines of the launch; every kind and its count identical, except the count of the kinds of type tab
(idle time): for those only the presence counts, with the reason written once;
- the SET of host paths the tree touched, identical with no exception. Every path is classified ours (the package, the
profile and temp dirs of the launch, the run's cache, its own shared memory) or host; ours leaves the comparison as a
class, the reason written once.
Linux: strace -f -y of the whole tree, now with the file calls (open, openat, stat, access, readlink, execve, ...), read
after the group has exited. Windows: the process starts with their command lines come from the process-creation audit
(event 4688, switched on for the run and put back), a file trace from an ETW session on Kernel-File (logman, tracerpt),
two canary files and the lost-events line check that the session was recording. It needs an administrator.
Gone: the volatile list (tab count, tahoma7_04.ttf, the job total, the WMI count) and its mechanism, the module snapshot,
the quiet wait, the WMI trace and the poller. The declared glxtest difference stays, applied by kind.
Network oracle (5,580 leaves differed between the published engine and itself):
- the ad frame's origin travels as a URL parameter (a=http%3A..%3A<port>) and the slow
frame holds id=sf<token><i>: the normaliser now turns the encoded port into the role of
its server and drops the token (the index stays), so a request has the same key in
every run (5,532 leaves);
- the lab cuts the journey into steps when the driver moves on, and what the browser does
on its own (a connection, a second lookup of a name once its 30 s are over) landed in
whichever step was current: the CONNECTs and the DNS questions are one summary of the
whole journey, the requests and datagrams stay in their step;
- the HTTP/3 datagrams are summed over the walk (a visit leaves packets in flight for the
next one: 12+8 and 13+7);
- the "ERROR in the transcript" scan no longer names the text a page answered
(steps/14/extra/error is the sign-in page's own message);
- ci/ab-network-volatile.json: the counts of connections (the pool's) and the ECH GREASE
AEAD (random per connection), each with the run that proved it.
Host oracle: a volatile list of its own (ci/ab-host-volatile.json), applied in the A/A and
in the A/B, per system, stale when it matches no leaf, and a leaf that vanishes is not noise
unless the entry says so: the live tab-process count and one lazily mapped font on Linux,
the job's total process count on Windows.
The three oracles' launches use a cache folder of their own (XDG_CACHE_HOME on Linux, the
wrapper's cache pinned), so they leave no fontconfig cache of the bundle in the user's
folders for the fontconfig test's cold launch.
ci_ab_oracle.py run dumps the published engine twice and compares the two (the A/A). A
difference, or a dump that did not run, is a broken control (exit 2) and the A/B is not
run. Without a candidate (a pull request: the engine under test is the published one,
given with --published-binary, under the seal of the core) the A/A is the whole run, on
the first two seeds of the candidate set (--limit 2); with a candidate it runs on every
seed first and the A/B follows against the first dump. compare --a-a repeats it from the
files.
tests/test_ab_oracle_e2e.py no longer requires INVISIBLE_SEAL_FILE: both modes save their
dumps and diffs in $AB_ORACLE_OUT or $RUNNER_TEMP/invpw-evidence/ab-oracle. 11 unit
tests for the A/A, its broken-control exit and the command line.
scripts/ci_ab_host.py walks the first steps of the fake web's journey with the stock client,
waits for the tree to be quiet and, before closing, takes the multiset of process kinds, the
modules each kind has mapped (normalized: install dir, system dirs, temporary paths, memfd and
shm names without numbers) and the children born and gone before the snapshot (Linux: strace;
Windows: the job's TotalProcesses and a WMI process-start trace). `ab` runs the A/A control
(the published engine twice: a difference is a broken control, exit 2) and, with a candidate,
the published engine against it, with the declared differences of ci/ab-host-expected.json
(glxtest on Linux; a declared difference that does not show is red as stale).
tests/test_ab_host.py is the comparator on synthetic footprints; tests/test_ab_host_e2e.py runs
it on Linux and Windows: the A/A on a PR's e2e, the A/A and the A/B with a candidate.
tests/_wire_capture.py reads what a client puts on the wire, with the standard library, hyperframe/h2 and aioquic: the TLS ClientHello (MSG_PEEK until the whole record is
buffered, then the same socket goes to ssl; GREASE is one word, the random, the session id, key share bytes and PSK identities are dropped), the HTTP/2 frames (SETTINGS in order,
WINDOW_UPDATE, PRIORITY, PRIORITY_UPDATE, the pseudo-header order of each request), HTTP/1.1 request heads as written, and an HTTP/3 client (QUIC transport parameters in order,
the SETTINGS frame, the header order). WireServer serves one HTTPS site on TCP (h1 or h2 by ALPN) and QUIC on one port.
scripts/ci_ab_network.py runs the P4 journey, an HTTPS page on each protocol, an HTTP/3 page, a WebRTC page (STUN and TURN through the relay) and two idle launches through a
coherent SOCKS5 gateway with the fake DoH, the witness and the watcher, writes a normalised transcript per engine, and compares two transcripts leaf by leaf (path and both
values). A direct connection on either side is red by itself; the leaves that differ between two runs of one engine live in ci/ab-network-volatile.json (empty until the A/A
measures them; an entry that matches no leaf is stale and red). --a-a runs the published engine twice: a difference there is a broken control (exit 2), and with a candidate
the A/A runs first.
tests/test_ab_network.py, tests/test_wire_capture.py and tests/test_wire_capture_quic.py hold the comparator, the normalisation, the lab and the parsers to known inputs, no
browser. tests/test_ab_network_e2e.py runs the A/A on a pull request (evidence under RUNNER_TEMP/invpw-evidence/ab-network) and the A/A then the A/B with a candidate.
scripts/persona_cover.py computes, from the prefs the core emits for the seeds 0..99999
(every pref that varies across seeds belongs to a dimension or is excluded with its reason),
two sets of seeds: `candidate`, the smallest set that reaches every webgl renderer and every
DPR (5 seeds), and `final`, a greedy cover with reverse delete of every reachable value of
every dimension (20 seeds). ci/persona-seeds.json holds them with the sha256 of the
dimensions and features; `check` recomputes and says what changed.
ci_ab_oracle.py takes its visits from that file: the candidate set by default, each seed at
its own DPR (nothing pinned; ci_host_gate.py dump gets --visit and --no-pin), or
--seed-set final with --shard i/n to split the 20 seeds over several jobs. The e2e test
passes AB_ORACLE_SEED_SET and AB_ORACLE_SHARD through. tests/test_persona_cover.py holds the
stored file to a recompute, the covers to the dimensions, and a cover with a seed less red.
Five e2e tests written before the hooks of fingerprint/canvas/noise-projection and
fingerprint/canvas/as-drawn are redone: every reader of a WebGL element, an
OffscreenCanvas and a transferred placeholder gives the same noised bytes; a WebGPU
canvas reads noised through toDataURL and toBlob; -moz-element paints a WebGL canvas
as drawn. Each carries its control in the same test (canvas noise declared off).
scripts/ci_ab_oracle.py runs the host gate's dump twice on one machine with the same
core and wrapper: with the engine published as firefox-68 (its seal.json and archive
fetched through the core's own download under that seal) and with the candidate binary
under its own seal. Every leaf of every visit must be equal; only the noise entries of
exceptions.json and the diag. keys are excused. A difference is red with its leaf, both
values and the seed; a visit that compares fewer leaves than the host gate's reference
holds (16439) is red. It writes dump-68.json, dump-candidate.json and diff.json.
tests/test_ab_oracle.py holds the comparator to known inputs (27 cases, no browser), in
the rows of the whole unit suite. tests/test_ab_oracle_e2e.py is the gate's leg, the new
row wrapper.e2e.ab_oracle on Linux and Windows.
* security state: fetch has the engine generate it, every launch gives the core its engine, and CI launches with a fixed ready directory
The core replaced the intermediates list with the security state (intermediates, OneCRL and the CRLite filters, generated by the engine and copied into every profile). The CLI's fetch calls update_security_state(engine=<the binary it installed>); server.py's one write_user_js passes engine=<the executable of the launch> (no engine_argv: a generation is its own headless run, the core's default line). STEALTHFOX_SECURITY_STATE replaces STEALTHFOX_INTERMEDIATES in every workflow that launches the browser (scripts/ci_lab_security_state.py, ci/security-state/ with a result and no data, pinned by sha256); the unit tests' conftest patches ensure_security_state.
Tests: tests/test_cli.py (fetch), tests/test_a_launch_gives_the_core_its_engine_for_the_security_state.py, tests/test_ci_lab_security_state.py, tests/test_ci_workflows_set_the_security_state.py, each red on the code of main.
* e2e: the engine's security state - generation, a normal launch, a certificate revoked in a CRLite delta refused at the first navigation, a launch with no state
wrapper.e2e.securitystate, both legs, in the candidate's wrapper-e2e job: the engine launched directly in its generate mode (exit, the contract's keys, the hashes are the sha256 of the files, the bytes of security_state/) and through the core's generate; a normal launch writes no security-state pref and re-imports nothing; with Mozilla's CRLite test filters and a CA on Mozilla's default test key, a leaf with the serial and SCTs of revoked-in-delta.example.com is refused with SEC_ERROR_REVOKED_CERTIFICATE at the first navigation, a valid one loads, and the revoked one loads with no state; a launch with no or an empty state starts. Red on firefox-67 (no generate mode); the last test is a guard.
* ci: the required list only grows, so the two test files of the intermediates lab keep their names and guard that the old road stays gone
The judge of main refused the list of the branch: wrapper.unit.all.* lost tests/test_ci_lab_intermediates.py and tests/test_ci_workflows_set_the_intermediates_list.py. Both files come back with tests that the lab's files and steps are gone and that every leg that had the step sets the security state (red on main, 5 of 5). The unit suites count what the candidate collected (2183 and 2184) plus these 5: 2188 on Linux, 2189 on Windows.
* ci: the unit rows count what the candidate's gate collected (2168 linux, 2169 windows)
* Release 0.58.0: invisible-core 68.80.0 on firefox-68 (the security state of a retail profile)
* test: the frames of a goto are counted once all are announced, within the goto's own deadline
With Fission the innermost frame of a-b-a lives in a third process and its
announcement may reach the client after the top document's load (2 of 3
frames 0.22 s after the goto, run 44888497316). A frame that never comes
is still red.
The corsa 44856198702 (Windows) was red with replies [47, 0, 46] inside the close: the second browser's engine did not run for the
whole close while the loop read the other two. The verdict asked every browser for a call that BEGAN and ENDED inside the close, so a
single call that straddled the whole close turned a machine that did not run an engine into "the loop did not run".
- the pinger records the spans of its calls and the call still waiting; the test prints the close's duration, the replies that arrived
inside it, the calls inside it, and the spans that touched it;
- a browser answered during the close when a reply ARRIVED while it was in flight, whenever its call began;
- a browser silent inside the close is red only if the watcher saw the loop's thread inside a step of the close that waits, or if no
browser answered at all; "all three answer while the removal is held" stays with `during_removal`;
- unit tests: a held loop is red, one silent engine with a free loop is green (the 47/0/46 of the corsa), a straddling call counts, the
client's own pinger on a scripted page; required-suites: wrapper.unit.all +6 (37 -> 43 in the verdicts file), e2e count unchanged.
* tests: the witness counts as the browser only a source that is an address of this host
* ci: the unit rows that hold the witness test count its four new tests
* The accumulated line's tests wait for firefox-69, not for the release being made
firefox-68 now carries only the core's in-memory caches, the security-state
files, the held cut of a committed navigation (networkidle), the Juggler trace
and MOZ_LOG modules, and TEMP on D:. The 18 gates on firefox-68 of the 15 test
files of the accumulated line (idwr canvas text, empty fontconfig, ucrt maths,
WebGL blending and ALU, WebCodecs, system fonts and colours, the canvas colour
profile, WebGL2 without Mesa) move to firefox-69. test_a_page_that_moves_on_e2e
keeps its firefox-68 gate.
tests/data/engine_gates.json states for each release from firefox-68 on what it
carries and which test files wait for it; tests/unit/test_engine_at_least.py
reads every engine_at_least / engine_reaches call and fails when a gate names a
release the registry does not put that file in (red on the old gates, green now).
The two unit rows of ci/required-suites.json go up by the 5 new tests.
* Delete the 15 tests of the cancelled backlog, with what exists only for them
The accumulated line (firefox-69) is not the backlog any more: its 15 e2e tests prove
functions that were deleted, and a test no round runs is deleted, not left off.
Out with them: the six unit tests that only read their references or helpers, the
reference data (canvas text and ICC, ucrt sweeps, system theme, WebCodecs streams), the
scripts that built them and the shared canvas helper. tests/data/engine_gates.json keeps
only firefox-68. The strace stand-in that the fontconfig cache test imported from one of
the deleted files moves to tests/_strace_stand_in.py. The two rows of the unit suite lose
those files and 41 tests.
* The fake web's case under load waits for firefox-68, where the held cut of networkidle is fixed
A test that is deleted because its feature is cancelled cannot stay in the rows, and the
judge, reading main, called every such deletion a lost test and a lower minimum.
ci/retired-tests.json, read from main next to main's list (never from the judged branch),
names the files that may go: each with its reason, its date and the number of tests it had
in each row. A retired file that no longer exists leaves its row without being counted as
lost, and the minimum of the row may go down by exactly those tests. A retired file still
on disk, a file main did not retire and a minimum lowered by more all stay red. The ten
files of the cancelled backlog that the unit rows name are the first entries; a test checks
that the declared counts are what the collection gives while a file exists.
* A drag reaches the page with the button it holds, in a real browser
e2e: mouse.down, moves (plain and with steps), mouse.up, one more move; the
page records event.buttons on every mousemove. Left button expects 1 during
the drag, right expects 2, and 0 after the release; humanised and not.
* ci: wrapper.e2e.page counts the 4 cases of the drag that keeps its buttons (126 -> 130)
* tests: the fontconfig cache test saves the raw trace of the bundle folder and the parent's XDG_CACHE_HOME, so a launch that wrote no cache can be explained from the evidence
* tests: the fontconfig cache test counts only opens with a result and only the cache of the bundle, and saves what fontconfig prints (FC_DEBUG=16) and every cache open
* ci: the unit rows count the fontconfig cache criterion (2178 -> 2183, 2179 -> 2184)
* tests: the criterion's bundle path is a neutral one, its cache name computed from it
* tests: the cache opens are gathered before the trace that starts with them
* tests: the fontconfig cache test traces the writes with the other calls and keeps those to the descriptors 1 and 2 itself (--trace-fds filtered the execve out)
* docs: remove names the project rules keep out of public text
Delete the comparison page for another patched Firefox project and rewrite
every reference without naming it. Replace the names of public fingerprint
test pages with generic descriptions, rename the three pages that were
about them (consistency-checker-explained, raw-value-inspector-explained,
canvas-webgl-readback-hash-explained) and keep the guides usable with
placeholder URLs.
* docs: describe the other detection systems generically on the lines the previous commit rewrote
* The fake web, profile P2: a reused routed page reaches networkidle on hard pages, against stock
tests/fakeweb/ holds the offline pages (two origins on 127.0.0.1, every response finite), the P2 driver (one context and one
page reused for every address, the stock Playwright client over our served browser, a plain synchronous route that aborts
image and media, goto(commit) then the client-side networkidle wait, the quiet canary after every page) and the outcome stock
Firefox has on each page (pages.json, stock.lock).
scripts/run_fakeweb.py is the single entry of ci-release-18: our engine and stock Firefox on the same pages, same client,
same job; red where stock idles and we do not, and red as a broken control where stock deviates from pages.json.
tests/test_fakeweb_p2_e2e.py loads each hard page five times in a row, a canary after each: the failure it guards is a rate (one
request whose end the client never hears holds every later address of the page).
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
* fakeweb: newsfront is not a gate page, stock Firefox stalls on it 1 or 2 times in 10
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
* fakeweb: ten rounds per hard page (cancel_among_beacons is red on main in 3 runs of 3, green on 62.64.0 in 4 of 4)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
* fakeweb: the stock client is imported by name, the fork's guard forbids the static import
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
* fakeweb: profile P4, a 17-step user journey judged step by step against stock Firefox
The same entry (scripts/run_fakeweb.py --profile p4) runs stock Firefox first and our engine right after, both driven by the
stock client, over a small multi-page site (tests/fakeweb/journey_site.py): click, hover, scroll, back, forward, popstate
filter, a new tab, a download, a keyboard search, sign-in, sign out, "load more". The verdict compares ok, url, title, marker,
cookie names, history length, open pages, networkidle and the step's own values; the stock run must also match the outcome
declared in pages.json (journey_p4), else it is a broken control.
The ad noise of the site is deterministic: slow responses are held by the server until an event releases them, nothing is
aborted or removed while its request is in flight, so stock gives the same idle vector on every run. Two pages stay "not
idle" on purpose, one of them through a keepalive fetch the client must count as in flight. The second origin is another
site (localhost against 127.0.0.1), so the ad frames and the partner page leave the page's process.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
* fakeweb: A and O are two sites; the page that leaves with beacons must idle under a load of other browsers (mandatory case)
* sites.start(): A is 127.0.0.1 and O is localhost, two different SITES for Fission (two ports of one host are one site, and a frame of
the "other origin" never left the page's process). A test asserts that the frames of O add a content process (spares off).
* profile_p2: a navigation that does not idle records the requests the client heard of and not yet heard the end of.
* The mandatory case: leaving_beacons_subframe, ten rounds, under three background browsers of ours reloading an ad-heavy page every
two seconds. Quiet, it passes; loaded, Playwright's own Firefox idles 30 of 30 and an engine that does not end a resumed request whose
replaced channel was cancelled idled 1 of 30. Red on the candidate engine, green on a copy with the Juggler change.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
* fakeweb: a popup reaches the client (matrix e2e test), and the notes of profile P4
tests/test_popups_reach_the_client_e2e.py: four ways to open a popup (link, link with noopener, window.open, window.open
with noopener) x the opener's site or another site x with and without a context route x the client of the wheel in the same
process and the stock client over launch_server. Each case: the page event within 10 s, the page at its address, answering an
evaluate, with an opener (stock Firefox gives one in all four kinds). One case proves the other-site target adds a content
process, the same-site one does not. A wait for the engine's ready signal once dropped every popup whose first request went
through a route.
tests/fakeweb/JOURNEY.md: what profile P4 does, why the noise is deterministic, and the known difference in our favour (a
fetch aborted by the page that stock leaves in flight for ever is closed with requestfailed by us).
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
* tests: what a popup does for each destination, as stock Firefox does it
A 204 and a server that never answers give no page event, a slow answer gives the event when it comes (with the destination
as its url, no ceiling: 25 s was seen by hand), an attachment gives a page event, a download event on the opener and a popup
that closes. Both ways to open (window.open, a target=_blank link), both transports (the client of the wheel in the same
process, the stock client over launch_server). The reference is Playwright 1.62 with its own Firefox, written in the
docstring; the cases that stock answers with "nothing" wait a bounded 8 s.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
* tests: a popup whose page answers after 25 seconds is still announced
Stock Firefox has no ceiling on a popup: a destination that answers after 25 s
is announced at 25.1 s. The 4 s case of this file passes with a wait that gives
up on a popup after 20 s, so the 25 s case runs too, once per transport.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
* tests: the helper's argument no longer shadows the imported fixture
ruff F811: `_Run.__init__` took an argument called `browser`, the name of the
fixture this file imports from its sibling. The tests job runs that rule on the
whole repository, and a copy of this file on another branch failed it.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
* ci: the fake web, profile P2, on the engine of a series run (a hunt, not a gate)
Runs scripts/run_fakeweb.py (our engine beside Playwright's own Firefox in the same job, every page, 10 repetitions) and the mandatory case of
tests/test_fakeweb_p2_e2e.py (the page that leaves with beacons under a load of three loaders) on the `asset-win-x86_64` artifact of a run of
the series repository (default: the round 3 build, run 43164943499). The series repository is public, so `gh run download` needs no secret. The
per-page numbers (idle / not idle, engine and stock) are printed and the verdict file is uploaded. It starts on a push that touches this file.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
* fakeweb: profile P4, a 17-step user journey judged step by step against stock Firefox
The same entry (scripts/run_fakeweb.py --profile p4) runs stock Firefox first and our engine right after, both driven by the
stock client, over a small multi-page site (tests/fakeweb/journey_site.py): click, hover, scroll, back, forward, popstate
filter, a new tab, a download, a keyboard search, sign-in, sign out, "load more". The verdict compares ok, url, title, marker,
cookie names, history length, open pages, networkidle and the step's own values; the stock run must also match the outcome
declared in pages.json (journey_p4), else it is a broken control.
The ad noise of the site is deterministic: slow responses are held by the server until an event releases them, nothing is
aborted or removed while its request is in flight, so stock gives the same idle vector on every run. Two pages stay "not
idle" on purpose, one of them through a keepalive fetch the client must count as in flight. The second origin is another
site (localhost against 127.0.0.1), so the ad frames and the partner page leave the page's process.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
* fakeweb: a popup reaches the client (matrix e2e test), and the notes of profile P4
tests/test_popups_reach_the_client_e2e.py: four ways to open a popup (link, link with noopener, window.open, window.open
with noopener) x the opener's site or another site x with and without a context route x the client of the wheel in the same
process and the stock client over launch_server. Each case: the page event within 10 s, the page at its address, answering an
evaluate, with an opener (stock Firefox gives one in all four kinds). One case proves the other-site target adds a content
process, the same-site one does not. A wait for the engine's ready signal once dropped every popup whose first request went
through a route.
tests/fakeweb/JOURNEY.md: what profile P4 does, why the noise is deterministic, and the known difference in our favour (a
fetch aborted by the page that stock leaves in flight for ever is closed with requestfailed by us).
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
* tests: what a popup does for each destination, as stock Firefox does it
A 204 and a server that never answers give no page event, a slow answer gives the event when it comes (with the destination
as its url, no ceiling: 25 s was seen by hand), an attachment gives a page event, a download event on the opener and a popup
that closes. Both ways to open (window.open, a target=_blank link), both transports (the client of the wheel in the same
process, the stock client over launch_server). The reference is Playwright 1.62 with its own Firefox, written in the
docstring; the cases that stock answers with "nothing" wait a bounded 8 s.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
* tests: a popup whose page answers after 25 seconds is still announced
Stock Firefox has no ceiling on a popup: a destination that answers after 25 s
is announced at 25.1 s. The 4 s case of this file passes with a wait that gives
up on a popup after 20 s, so the 25 s case runs too, once per transport.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
* tests: the helper's argument no longer shadows the imported fixture
ruff F811: `_Run.__init__` took an argument called `browser`, the name of the
fixture this file imports from its sibling. The tests job runs that rule on the
whole repository, and a copy of this file on another branch failed it.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
* fakeweb: profile P4 can trace its walk, and a reader turns the report into a step summary
--trace keeps, per step, the request events the client reported and the hits the site saw. scripts/fakeweb_p4_report.py reads
the runner's JSON: per walk a table (stock ok/idle, ours ok/idle, equal or different), the FAIL lines, whether the control is
sound, and a verdict that tells a difference of ours (1) from a broken control (2); for a traced walk, the resource types of
sendBeacon and the keepalive counts of client and server.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
* ci: the fake web, profile P4, on the Linux engine of a series run (a hunt, not a gate)
One job on ubuntu-24.04: the engine of a run of the series repository (asset-linux-x86_64), the core that run was built with, the
wrapper of the pushed branch, stock Firefox of the pinned Playwright; stock first, ours second, three walks, judged step by step.
Red when ours differs from stock on a sound walk, red with another message on a broken control; a traced walk of ours then
reports the resource types of sendBeacon and the keepalive counts.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
* fakeweb-p4: the wrapper under the journey is the one of the engine's run
The first run installed this branch's own wrapper next to the core of the
candidate run. That wrapper is one release older than the core, and the launch
failed before any page: 'SessionGeo' object has no attribute 'srflx_to_declare'.
The tests still come from this branch; the package is installed from the ref
the engine's run was judged with (udp/wrapper-r3), and the versions installed
are printed.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
* fakeweb-p4: the core and the wrapper of round 5 under the journey
The engine stays the one of the candidate run named in ENGINE_RUN_ID until
round 5 has built its own.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
* fakeweb p4: trace stock and ours, collect server events by walk at the end
- Server events are collected once, after the last step of the walk (0.5 s
later), by walk and step, so a request fired on pagehide is no longer lost.
- The site counts walks (State.begin_walk) and tags every event with its walk,
so the stock walk and ours do not mix.
- The workflow traces both browsers (no --no-stock). The trace report compares
ours with stock per kind of request: same set of resource types, no more
unreported server hits; stock without any sendBeacon is a broken control
(exit 2). Without a traced stock walk the absolute rules stay.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
* fakeweb: one workflow with one verdict, offline and without clocks, registered for the candidate
The two hunt workflows on an engine of a named run (fakeweb-p2.yml, fakeweb-p4.yml) become fakeweb.yml: four legs (P2 and P4, Linux and
Windows) on the published engine beside Playwright's own Firefox, stock first, and the job 'fakeweb verdict' red unless all four are green.
It starts on a pull request or a push to main that touches the fake web, with the concurrency group of e2e.yml, the intermediates list and
the lab GeoIP database made by the repository, and no rerun.
The e2e of the fake web stop waiting on clocks: the loaders say they are up with a file instead of a pause of 20 seconds, the new content
process is waited for as a condition, and the deadlines are 30 seconds or more. ci/required-suites.json gets wrapper.e2e.fakeweb (the two
e2e files, both systems, exact) and the unit files of the fake web in both wrapper.unit.all rows. A unit test holds the fake web offline.
---------
Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
* docs: WebRTC behind a proxy, as the engine does it today
The guides described a synthetic server-reflexive candidate and an address
rewritten after the STUN reply, and said that SOCKS5 carries only TCP. None of
that is what the published packages do.
What they do, and what the pages now say: before launch the library measures
the SOCKS5 UDP relay of the proxy (UDP ASSOCIATE, a STUN Binding through the
relay, compared with the TCP exit). When the relay answers from the exit
address, WebRTC's UDP goes through it and the srflx is a real one carrying the
exit. With any other proxy no datagram leaves at all: host candidates as mDNS
names, no srflx, one icecandidateerror 701. Never a direct datagram, no option
that forces UDP or declares an address, no IPv6 candidate in any session.
SOCKS5 does define UDP (RFC 1928): the pages say so, and say why a stock
browser leaks anyway (it never asks the proxy to relay WebRTC's UDP).
The examples assert only what is guaranteed in each case, wait for the end of
gathering instead of a fixed time, and no longer require a srflx behind a proxy
that cannot carry UDP. The project's own history is out of these pages.
* docs: the WebRTC examples name a STUN server and wait for the 701, the 701 comes at about eleven seconds, the exit is discovered with an explicit timezone too
A transient 5xx on api.github.com turned the check red when it hit any of the
~80 per-version calls. The check now reads GET /releases?per_page=100&page=N
into a tag -> release map and looks each live version up there. An HTTP error
on the list is still an error; a list that breaks mid-way fails with the page
number and the drafts and empty bodies already seen.
* ci: the user-install run of a ledger PR checks the version the PR records, not the one of the tree
The ledger pull request of a release is merged after user-install is green, and main may already declare the next version: #534 records
0.56.0 while the tree says 0.57.0, which is not published until that ledger is merged, so the wait on the index for the version of
pyproject.toml could never end.
A step compares PUBLISHED.json at the base of the pull request with the one at its head (scripts/ci_ledger_added_versions.py): the one
added version is INVPW_E2E_VERSION for the wait, the release test (uv add ==X) and the upgrade test (from the release before it to X).
No addition, or more than one, is an error that says so. Scheduled and dispatched runs are unchanged.
Test: the wait is about the version of the ledger, not of pyproject; base [..0.55.0], head [..0.55.0, 0.56.0], tree 0.57.0 gives 0.56.0.
min_tests of the two unit rows +6.
* Test: the display start runs off the loop, proved without a clock
The test measured the longest reply gap of a second browser against a 100 ms
threshold and went red on a loaded GitHub runner (129-134 ms) with no defect in
the code. The display stand-in now blocks until the test releases it; while it
is blocked the loop must serve the second browser. The cancelled-launch test
waits on events instead of sleeping. No test in the file depends on a clock.
* fetch: look for a newer intermediates list (update_intermediates) instead of only caching one
Needs invisible-core with update_intermediates (the core release after 67.77.0).
* launch: the UDP verdict travels in the prefs to the server; the core keeps none
The core no longer remembers the UDP verdict of a proxy, so the launch's geo step hands it to
the server in the prefs (invisible.server.udp_exit, taken out before the profile is written, never
what a caller wrote) and op_launch gives it to launch_proxy_command. Every entry point keeps
SessionGeo.udp_exit on its session.
Tests that read the core's cache for the verdict now read it where it is written: the one function
that renders the engine's proxy command is spied by conftest (tests/_udp_line.py). The tests that
reset the core's cached seal drop the reset (the core reads the seal on every call).
* Release 0.57.0: pins invisible-core 67.78.0 (no cache in memory in the core; fetch checks the intermediates list), same engine firefox-67
* launch: the UDP verdict is passed to launch_proxy_command by name (keyword-only in the core 67.78.0)
* CHANGELOG 0.57.0: networkidle of a new document counts its quiet from the commit (core 67.78.0)
The product asks "where do I leave from" through the proxy of a launch, HTTPS, to the exit services
of the core. Some proxies of the tests forward for real (Socks5TcpOnly, the recorder of the SOCKS
auth test, the gateway beyond its own answers): they carried the question to the internet, and the
answer was the public address of the runner, which changed in the middle of a session
(ProxyEgressDrifted on the ledger PR of 0.56.0).
Each proxy of the tests that forwards for real now declares its exit and the lab answers with it.
A question that reaches one without a declaration is refused there, and an autouse fixture fails
the test with the name of the proxy and of the service. Ten unit tests (red on the old bench).
min_tests of wrapper.unit.all: +10.
wrapper-on-this-core (the core's CI) runs the wrapper's main against the new core. Two tests were
red there: the core's write_user_js now declares the intermediates list (a composed session gained
a pref) and its environment registry names STEALTHFOX_INTERMEDIATES (the e2e files' _LEAKS lacked
it). The unit tests stub the list as the core's own suite does (guarded: the pinned 66.76.0 has no
such module), and both e2e files clean the variable. With the line-68 gates (cherry-picked) the
accumulated line's tests skip on the firefox-67 engine.
The gates of the shelved line move from engine_at_least("firefox-67") to
engine_at_least("firefox-68"); firefox-67 carries only the declared intermediate certificates.
The gates of the shelved line move from engine_at_least("firefox-67") to
engine_at_least("firefox-68"); firefox-67 carries only the declared intermediate certificates.
It fetches and launches like the other Windows parts; without the variable its fetch would
download Mozilla's list. The workflow test now covers that job (red without the step).
scripts/ci_lab_intermediates.py set checks ci/intermediates.json (format 1, no certificate)
against ci/intermediates.pin.json and exports STEALTHFOX_INTERMEDIATES. tests.yml and e2e.yml
(Linux and Windows) run it once, before pytest and, in e2e.yml, before `fetch` (which makes
the list present). Unit tests: the script, and the workflows (once, in order).
The unit suite stubs the list's download as the core's own suite does, the two release e2e
files name the new variable in their _LEAKS, and both rows of the required suites count the
two new files.
The core 66.76.0 has no _pin.py alias. The stub built by test_seal_floor asked for it,
and its subprocess imported it, so 8 tests failed against the new core. The stub copies
pin.py and imports invisible_core.pin. The scan for removed names does not read inside
a string, so a second test reads the source lines for the alias.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
invisible-core 66.76.0 is on the index (publish run 44432604469). The wrapper
stops reaching the legacy API of the core (#527, #528); the workflows arm the
pre-push gates with python -m invisible_core.hooks install, and
scripts/install_hooks.py, which only forwarded to it, is removed.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The core 66.76.0 removes constants.BINARY_ENTRY_REL; tests/conftest.py imported it
(inside a try that hid the error), so every fixture that needs the package failed at
setup in the core's wrapper-on-this-core job. seal.DEFAULT_ENTRY_REL is the table it
was a copy of, and exists in both cores.
The new test reads every Python file of src, tests, scripts, ci and examples and fails
on an import or an access of BINARY_ENTRY_REL, tz_env, BROKEN_VERSIONS,
cache_dir_for_version, resolve_session_timezone, _pin, _parse_checksums, or the two
database helpers of invisible_core.download. It has its own known-bad cases.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The gate that refuses a change to the wheel under an unmoved version asks for it.
No tag: the release of 0.55.0, with the pin moved to 66.76.0, comes after the core.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
INVPW_CURSOR_ENGINE accepts unset or empty, python and off; any other value
(binary, juggler, none, false, 0, ...) is a ValueError that lists the valid
ones, with no aliases and no value ignored in silence.
The cursor generator is imported directly from invisible_core.juggler, as the
core is pinned with ==: the guarded import, _MOTION_IMPORT_ERROR, the
"no-motion" warning and the inert-pointer branch are gone, and
_motion_factory returns CursorMotion.
The test that scanned a driver bundle tree is removed with the Node driver it
needed, with its row in the accounting test and its exclusion in pyproject.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Nine modules that only aliased invisible_core (_geo, _headless, _proxy,
_webgl_personas, config, constants, download, prefs, _fpforge) and _reaper
are gone, with the tests that existed for them (test_backcompat,
test_suite_boundaries); the callers and the tests import
invisible_core.<module> (invisible_core.process for the reaper).
The cursor has one generator, CursorMotion(seed, *, style=), and two
engines, python and off: INVPW_CURSOR_ENGINE=binary, the fallback to the
browser's own motion, the alternative generator names, the max_seconds
introspection and the MIN_EVENT_INTERVAL_MS re-export are removed.
INVPW_TRANSPORT=driver and its guard are removed, with the driver arm of
scripts/capture_protocol.py. preload_newtab is always handed to the core.
resolve_session_timezone is no longer re-exported; the tests use
cache_dir_for_seal, and ensure_geoip_mmdb comes from the package root.
The documentation no longer presents INVPW_BINARY_PATH as a variable of the
library (nothing reads it); binary_path= is the way. A new test fails if any
of the removed modules or names comes back. The unit rows of
ci/required-suites.json follow the files.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The engine's main process shows the bundled fonts to fontconfig before it builds
its font list, and a face of a collection keeps its index (Mozilla bug 2077661):
a screenshot on Linux no longer draws text with a fallback font or another face of
the collection. The tests that see it came with #524.
invisible-core 66.75.0 is not on the index yet: this branch pins a core that is
published by the release of the core that comes first.
The clock guard refused time.sleep(1.0) in the tool test of the stand-in. The fake
engine now writes a signal file (renamed into place) once its child runs, with the
child's pid and its own parent's; the test waits for it with wait_until (tests/
_waits.py) and then reads the state: the process the launcher holds is alive and
is the fake engine's parent (strace), and the group holds strace and the child.
Candidate 44161687675 (job 134356188701): the fontconfig e2e failed at the cold
launch, "the browser exited during startup ... exit code 0" after 1.7 s. The core
spawns the engine as the leader of a process group of its own (posix_spawn with
setpgroup=0); the stand-in exec'd setsid, and setsid(1) forks when its caller leads
a group: its parent exited 0 at once and the core saw the engine gone.
The stand-in now execs strace itself: the pid stays, and the group is the one the
core gave the engine. _kill_group kills the group of the stand-in's pid
(os.getpgid), never the test's own group; _group_members and _wait_for_exit take
that group. The kill test launches the stand-in as the core does (_detached,
process_group=0). New test of the tool, no browser: a fake engine with a child,
launched as the core launches the engine, through the stand-in: the launcher's
process lives as long as the fake engine, and the group killed holds strace and
the child, with nothing left. wrapper.e2e.fontconfig: min_tests 2; strace only
(setsid is no longer used).
From firefox-66 the e2e of fontconfig's cache (wrapper.e2e.fontconfig) runs with the
published engine and is red without strace, not skipped. The runner image does not
have it: the Linux job installs it, as the engine's gate does on its fontconfig leg.
Even on a warm cache the parent opens a few files of <GRE>/fonts before the first
page, to use them (a face of its own interface), so "no file the cold launch opened"
was red for a good engine. Fontconfig scans a folder as a whole or reads its cache.
The measurement is valid when the cold parent opened every font file of the folder
(as the disk lists it, by extension) and fontconfig wrote its cache; the verdict is
that the warm parent does not open every font file of the folder and opens a
*.cache-* file under $XDG_CACHE_HOME/fontconfig. The evidence names the files each
launch opened before the first page and the files of the folder that are not fonts.
Two launches under strace with the same XDG_CACHE_HOME: in the warm one the parent opens no file of <GRE>/fonts that the cold one opened
before any page, and opens a *.cache-* file of fontconfig. Evidence: interval and number of opens of the bundle, the cache file, the VmRSS
of the parent after about:blank and after a page with every family; a third launch with gfx.bundled-fonts.activate=0 is evidence only.
The strace stand-in takes the traced calls and -ttt as arguments, and the roles of the processes come out of _host_lookups as _roles.
New row wrapper.e2e.fontconfig (Linux only, min_tests 1).
A text run carries the path of the file and the index of the face. A parent that lets the system choose the index draws another face of
the same .ttc. MS PGothic is face 2 of msgothic5_32.ttc and NSimSun is face 1 of simsun.ttc; their blocks hold the writing they draw
(Japanese with Latin and kana, Chinese), so the wrong face gives other outlines. Same page, same assertion, no threshold.
wrapper.e2e.compositing: min_tests 7 -> 9.
* ci/regressions.json is removed: no judge reads it. The "red if it did not pass" of the new e2e is the row of wrapper.e2e.compositing in ci/required-suites.json (the file and an exact min_tests).
* tests/_e2e_clocks.py: a URL that stands as the value of an xmlns / xmlns:p attribute, or as the namespace argument of a DOM call that takes one (createElementNS, setAttributeNS, ...), is a name and nothing fetches it, so rule "net" does not report it. It is recognised by where it stands, not by host: an href, a src, a fetch or a goto to the same host is still reported. Two unit tests: the namespaces written whole are not a request (red on the guard as it was), and a request to the host of a namespace is.
* The new e2e writes its namespaces whole again.
* tests/test_screenshot_of_text_returns_linux_e2e.py: the deadline, started/took and the assertion on a duration are gone; a screenshot that never comes back is stopped by the limit of the job. page.screenshot() keeps the default timeout of the API. Its entry in tests/gates/e2e_clock_exceptions.json is dropped.
* ci/required-suites.json: wrapper.unit.all.linux 2070 -> 2072, wrapper.unit.all.windows 2071 -> 2073 (counted with the judge's selector).
page.screenshot rebuilds the text in the parent; on Linux the parent recreates the font from its path through fontconfig, which does not know the folder of the bundle, and the run is drawn with the glyph numbers of the bundle and the outlines of DejaVu Sans. The new e2e puts, for each of Arial, Times New Roman, Consolas and Segoe UI, the same block of text as HTML and as a canvas onto which an SVG image with a foreignObject of the same markup was drawn, takes one page.screenshot, cuts the two boxes out and asks for the same bytes: no threshold, no stored image. It runs on both systems and says which family differs.
It saves the screenshot, the two boxes and a result.json under RUNNER_TEMP/invpw-evidence (green or red, only on a runner), and e2e.yml uploads that folder. The test is a row of wrapper.e2e.compositing (3 -> 7) and the first row of ci/regressions.json; the crop, the PNG writer and the pixel comparison are helpers of _page_bytes.py with unit tests (wrapper.unit.compositing 19 -> 30, the two whole-suite rows +11).
The gates of the shelved line move from engine_at_least("firefox-66") to
engine_at_least("firefox-67"); firefox-66 carries only the screenshot font fix.
The rule "unstable means out" does not converge: five passes cannot tell an
unstable site from a rare failure on the side of stock, and every real site
has one (a load timeout once in five for one, a challenge page once in five
for another). In the round a cell is red only if stock is good in all three
runs, so a failure of stock removes information from its cell and never gives
blame.
- The admission is red only for a defect of the list: an invalid list, a pass
that is missing, a site never good in any pass of a system and not of the
class protetta, more than 4 protetta, more than 20 sites. A site good in
some passes stays, and the report gives its count per system. It computes
no minimum.
- The judge computes the minimum of informative cells from the list: half the
sites, rounded up. min_informative leaves sites.json, and a file that
still has it is refused as invalid.
- duckduckgo comes back: 15 sites, no min_informative.
- The tests of the old rule are replaced; min_tests 2059 and 2060.
The plan looked at all the files of the pull request, so every push of it
re-ran the admission and resampled the real sites, which can go red for a
reason that is nobody's change. Now a push (synchronize) is compared with the
head it replaced and runs the admission only if tests/realsites/sites.json is
among the files; an opened or reopened pull request is judged on all its
files; a compare that cannot be made (forced push, no before, API error) runs
the admission. The decision is Python in the plan step, and the wiring test
runs that code with a fake gh.
duckduckgo is out of the list (14 sites), min_informative 11.
quiet_problem called "in flight" a request whose `sent` was None even when it arrived after `goto` returned (on a slow machine it
arrives between `returned = time.monotonic()` and the read of the stamps). It now discards the stamps whose arrival is after the
return first; if none is left it says no request of the page was seen. Also drops the upper bound on a clock interval from the
fake-server test (a clock upper limit is a guess); the order at <= sent <= done and the lower bound from the sleep stay.
min_tests of wrapper.unit.all.linux/windows: +1.
The e2e test of networkidle with a frame of another site was red on the windows runner (run 44039376589): "after only 0.328 s
without network". The fake server stamped `done` after `wfile.write`, on a thread of the test process (the client runs in the
same process); that thread can lose the CPU or the GIL between the write and the stamp, so `done` was 0.2 s later than the real
end and the measured quiet shorter than the browser's.
The server now also stamps `sent`: after the delay, before send_response/write, the first instant the browser can have seen the
end. quiet_problem judges on it (in flight = sent None or after the return; quiet = return - max(sent)). A correct product returns
at least 0.5 s after `sent` under any load; one that ignores the requests of the frame returns earlier. The tolerance QUIET = 0.4
is gone: the threshold is the promise (IDLE_QUIET, invisible_core/juggler/lifecycle.py:56) less the resolution that
time.get_clock_info("monotonic") declares, the clock the core's timer reads (lifecycle.py:340, 541, 551).
Unit tests: the timestamps of the failed run are green, a product that returns early is red, a request not yet written at the
return is in flight, the tolerance is the declared resolution, and the fake server's `sent` is after the delay and before `done`.
min_tests of wrapper.unit.all.linux/windows: +5.
The venv of the ours pass holds invisible-playwright and no playwright, so
the import of playwright.sync_api at the top of main failed the pass on both
systems. Each mode now imports its own package inside its branch: stock from
playwright.sync_api, ours from invisible_playwright.sync_api, whose Error and
TimeoutError are the classes the vendored client raises.
The diagnosis of a cell without its marker carries the status of the document
as `http` (and `http_status`) and keeps only non-empty ids, at most 40.
A test runs the script over stub packages (the other package unimportable) in
both modes, and covers the timeout class and the diagnosis. Both rows of the
unit suite name it (min_tests 2048 and 2049).
The step installs the published package and runs invisible_playwright fetch
(a download from GitHub, no browser). The step that runs the passes still
has no token. The wiring test names the three steps that carry it.
- The version after a publication is the tag of the publish run
(head_branch without its v); a run that is not of a v* tag makes the plan
red. The other events read the index. The install retry stays.
- A cell that differs in the first pass needs three runs of each browser;
without them it is a problem ("giro incompleto"), not a red cell. Red is
stock good in all three and ours not good in at least two. The rule
min(2, runs) is gone.
- An empty round is not green: a list with no sites or a min_informative
below 1 is red ("il giro non ha misurato").
- A pull request that touches the list runs the admission and the round.
- The admission decides: it is red when the file holds a site it would
drop, or a min_informative of 0 or above the computed one; an empty list
is green.
- The token is only in the two steps that call gh, not at the level of the
workflow; the steps that open real sites do not see it.
- Tests for each rule, and tests/test_the_real_sites_workflow.py for the
wiring; both rows of the unit suite name it (min_tests 2042 and 2043).
Add the round that visits a list of real pages with one browser at a time
(stock Firefox driven by stock Playwright, then the published wrapper) and
judges where stock gets through and the wrapper does not.
- tests/realsites/sites.json: the schema of the list (id, url, marker, class,
min_informative), empty for now.
- scripts/run_real_sites.py: one browser, one context and one page for the
whole list; per site goto(load), networkidle, marker, document status and a
local canary page. It writes cells, no judgement, no time measured. No
click and no consent handling. --diagnose (admission only) adds the status,
title and first 40 element ids where stock does not find the marker.
- scripts/judge_real_sites.py: pure judge (red only where stock is good in
every run and ours is not good in at least two of three; no information
where stock is not good; red on a site not visited or on too few
informative cells), the summary, the cells that differ, and the admission
report (keep or drop per site with the reason, at most 20 kept, min_informative).
- tests/test_real_sites_judge.py: the six cases of the design and the helpers;
added to the unit rows of ci/required-suites.json (+23 tests).
- .github/workflows/real-sites.yml: Linux and Windows jobs; after a
publication, on a push to main or a pull request that touches the five
files, or by hand to rerun. A pull request that touches sites.json runs the
admission (stock, five passes per system) instead of the round.
0.53.0 was tagged and never published: the e2e of main read the page's address right after the
rest of /partial was sent, before the first navigation (the winner) could commit it, and was red
whenever the first goto won. The scenario now sends the rest once the second goto has returned,
awaits the first, waits for the page to land on either address, and judges by the winner
(tests/_second_goto_verdicts.py), with unit tests on the six kinds of run of the hunt on the
candidate and on the defects, and a check of the order of the scenario (red on 0.53.0).
Version 0.53.1, pin unchanged (invisible_core==65.74.0); wrapper.unit.all 2005/2006.
test_a_bundled_stock_firefox_is_refused_by_binary_path.py imports the fixture `active` and takes it as a parameter; ruff --select F821,F811,F601, as tests.yml runs it, flags the parameter. The noqa sits on the line it reports.
Pins invisible-core 65.74.0 (engine firefox-65). The cursor's path leaves through Actions.walk as one stroke on the client's own clock;
close() returns when the browser has exited and the session's directories and last reap are handed to the launch's reaper; the cursor's motion
catches only what the engine or the page answers. pytest-rerunfailures leaves the dev extra, and the e2e workflow uploads the junit of every pass.
The test half of 450ff5a2: `_normalised` drops `stroke` and `at`, which the core's strokes add and 5d9ad70 did not send. The events and the instants they went out at, which the golden holds, are compared unchanged.
A stroke sends each command "at" an instant on time.monotonic and waits until
it. The pointer-server bench and the click-rhythm bench slept on a virtual
clock but left monotonic real, so every wait was made again at the end of the
stroke: a click slept twice, a path drifted by the dwell of each click and the
pacer drew 34 more events in session_a. The goldens were right.
- test_pointer_server: the core's time.monotonic is the virtual clock too.
- test_click_rhythm: a sleep advances a virtual monotonic; the 150 ms delay is
compared with approx.
- pointer_golden_origin: the server's run uses the same clock and drops the
stroke/at tags; --from-current OUT writes the current server's run of every
session in the golden's layout (never over the golden) and says whether each
is the golden's; the old-client run refuses with a message where the old
client does not exist; the layout is LF, as the repository stores it.
With the core that hands the session's directories to the launch's reaper, the removal of the
profile no longer runs inside the close: it runs on the reaper's thread (or its continuation)
after the close has returned. test_the_removal_of_the_profile_ran_inside_the_close asked for
the old place and was red on a correct product.
The client now holds the removal of the closing browser's profile inside shutil.rmtree until
the test releases it, and records the thread that reached it and its stack. The e2e judges,
without a clock: the removal was reached on a thread of the reaper (not the loop's thread, not
a step of the close); the close returned while it was held; the other three browsers answered
while it was held, and only then it is released; wait_reaped(token) returns and the profile is
gone. A removal that is never reached fails 30 s after the close returned.
Verdicts with a red case each in _close_loop_verdicts.py: removal_on_the_users_thread_problem
(loop thread, thread inside a step of the close, thread that is not the reaper's; green on a
real Reaper alive and finished), close_waited_for_the_removal_problem and
removal_never_reached_problem. wrapper.e2e.page 122 -> 124, wrapper.unit.all 1977/1978 ->
1988/1989.
SessionRemoval.close hands the removal to the launch's reaper with then(). The core's
Reaper.then ran the step on the caller when the reaper had finished, which was the
juggler-shutdown thread that the user's close waits for. The test uses the core's own
finished Reaper and holds the removal on an Event: close() returns while it is held,
the removal runs on another thread, and wait_reaped waits for it. It is red on a core
that runs the step on the caller and green with the core fix.
The downloads root and the upload root were removed by after-shutdown steps
on the juggler-shutdown thread, which the user's stop and the context exit
wait for; a removal of a profile-sized folder took 0.4 to 2.5 s on Windows.
_reaped.after_the_reapers is now the one place for "run this step after the
session's reapers": once, after the last one, and at once when there is none.
final_reap runs on it, and so do the two folder removals (Server.after_reapers,
which reads the session tokens of the launches when the shutdown runs the step).
The no-reaper route of SessionRemoval.after_shutdown is unchanged.
The whole unit suite now names its files, so it names this one; its marker keeps the e2e tests
out, which naming the file would otherwise bring back. A row that could run them is still
refused, with its known-bad case. min_tests of the two whole-suite rows: 1973 and 1974.
wrapper.unit.all.linux (1972 tests, 200 files) and wrapper.unit.all.windows (1973 tests, 201
files) list every file with a test collected by "not slow and not e2e", ordered, but the
files of the environment and the files of the other system; min_tests counted with the
judge's selector. The checks of the list go back to files and node ids: the folder tests and
--deselect are refused again, and the marker of the whole suite is accepted on a row of files.
The whole unit suite is two rows that name every file the marker collects; a file in neither
the rows nor a short list of environment files (each with its reason, and a fixed count that
is changed by hand with the list) is red, and so is a row that names a file with no collected
test, a file of one system in the row of the other, or a folder, a node id or an option.
Same bodies, same assertions; each file says in its name and docstring what it needs:
the driver bundle tree (INVPW_DRIVER_TREE), the workbench next to the checkout, a stock
Firefox bundled with Playwright, a clone with core.hooksPath armed, a clone with
origin/main, and the two tests that run on Windows only (the hidden desktop's prefs,
the job object of the reaper). The files that held them keep what runs everywhere.
The CI jobs export INVISIBLE_SEAL_FILE (a local seal of the candidate) for the e2e
tests. Ten unit tests that compose a launch reached ensure_binary with it and died
with "the active seal is a LOCAL seal with no published assets". An autouse fixture
takes the variable out of the environment of every test that is not e2e and drops
the seal the process had already resolved; the e2e tests keep it. A test that wants
a seal sets the variable itself, after the fixture.
close() returns when the browser has exited; the sender of the shutdown pings lives on for about half a second and asks the resolver of the machine for the telemetry host. In a session without a proxy of the launch that is allowed, and the next parameter of test_nothing_leaves_but_the_proxy_e2e.py, with a resolver trap of its own, counted those questions as its own (seen with the kernel's tools: 50-66 ms after it began).
Every session of the e2e files that run a resolver trap or a watcher of direct connections is now an EndingPlaywright (tests/_session_end.py): its __exit__ waits for the launch's reaper (wait_reaped, 30 s as a safety net) and for the session's processes to be gone, and fails, saying which are left, when the reaper does not finish. A unit test with no browser puts a stand-in process under a session token as the core registers the engine's tree: with the plain class it is alive when the close returns, with the new one the exit returns after the reaper has ended it. Another reads the files of the four trapped suites and fails on a session made with the plain class.
wrapper.unit.all.* min_tests: 1921 -> 1929 (Linux), 1922 -> 1930 (Windows).
Pointer.act, travel and wheel ended in `except Exception` so that motion would
never fail an action. It held for everything: a Pointer over actions with no
walk (a core older than the stroke) raised AttributeError on every point, the
error was swallowed with one warning and the click went out with no path.
They now catch `_PROBE_ERRORS`, the set the probes already use, completed with
what the connection raises while a path is on the wire: ProtocolError,
TargetClosedError and FrameDetached next to ContextDestroyed, EvaluationError,
ReplyTimeout, ProtocolException and TimeoutError. AttributeError, TypeError,
NameError and the like come out of the action.
The planner test that expected a RuntimeError out of plan_approach to be
swallowed now expects it to come out, and checks that an engine error still is
not.
A stroke sends each command "at" an instant on time.monotonic and waits until
it. The pointer-server bench and the click-rhythm bench slept on a virtual
clock but left monotonic real, so every wait was made again at the end of the
stroke: a click slept twice, a path drifted by the dwell of each click and the
pacer drew 34 more events in session_a. The goldens were right.
- test_pointer_server: the core's time.monotonic is the virtual clock too.
- test_click_rhythm: a sleep advances a virtual monotonic; the 150 ms delay is
compared with approx.
- pointer_golden_origin: the server's run uses the same clock and drops the
stroke/at tags; --from-current OUT writes the current server's run of every
session in the golden's layout (never over the golden) and says whether each
is the golden's; the old-client run refuses with a message where the old
client does not exist; the layout is LF, as the repository stores it.
wrapper.unit.all.linux and wrapper.unit.all.windows run `-m "not slow and not e2e"` over
the folder tests with the core of the candidate, deselecting the nine (Linux) and eight
(Windows) tests that depend on the environment. The checks of the list learn exactly what
these rows need: the folder `tests` only under that marker, `--deselect=<file>::<name>`
with the same file/name check as a node id, that marker only on a row starting with
`tests`, and a Windows-only row naming its Linux twin (mirror of windows_twin). Each has
cases for the legitimate use and the forbidden ones.
Pointer asked the Pacer for the instant of each point, but every point left through actions.move, a lone command that waits for the
engine's reply. A slow reply stopped the path (a 2.6 s pause seen by the page, measured on a GitHub runner) and the points after it
were crowded together.
The approach, the walk before a Mouse.click, the wheel burst and the idle movement now hand their planned timeline to the core's
Actions.walk, which sends each point at its instant carrying stroke and at, without waiting for any reply, and collects the replies at
the end. The synchronous driver this module kept is gone: the pacer's loop is the core's. A lone mouse.down, mouse.up or one-step move
is still a single command.
Needs the core that has Actions.walk (the 65 pin).
The test compared the time from the browser's exit to the return of the
close with a limit, which fails under load without a defect. It now
keeps a fake sender of the shutdown pings alive itself (a process whose
command line the core takes for the sender, released by closing its
stdin), puts it in the launch's tree (the engine's process group on
Linux, the launch's job on Windows), and asserts that close() returns
while it is alive; then it releases it and waits for the reaper by its
condition, and asserts that no process and no profile are left.
Waits for something that must happen (a frame, a download, a url, an element, an
upstream connect) had deadlines of 0.5 to 20 s, which judge the runner. They are
30 s now, in the unit each caller reads. The deadlines that are the promise of the
product or a negative window (scroll_into_view_if_needed, the retry budget of an
action that must fail) are left as they are.
Each goto returns with a commit or an error the engine tells; either may
win, as in stock Firefox. A goto that ends only at its timeout is the
defect. The server releases the held body after both have returned.
The registry of reapers per session token was emptied only by
wait_reaped, so a process that opens sessions without end (the server)
kept one entry per session, with its reapers and their trees.
final_reap now takes the reapers of its own snapshot out of the token's
entry after the last reap, in a finally; a launch registered under the
same token meanwhile keeps its reaper.
The three absolute bounds (held < 0.09 on the second control, held < 0.05 on the close, slowest < 2.0 on the other three) were
verdicts on the runner: a starved machine runs a short callback longer without any defect.
* the loop is held when the watcher saw its thread inside a step of the close that waits (shutdown, _join_workers, reap, op_close,
wait_procs, rmtree, Thread.join); the control that holds the loop on purpose must be seen inside the function that holds it;
* a loop the machine did not schedule is charged no more than the longest stretch the same samples saw its thread run;
* the first removal inside the close waits (30 s at most) until every other browser answered a call that began after it did: a
removal in a thread of its own is released by the answers, one on the loop only by the deadline; each other browser must also
answer a call that began and ended inside the close. The seconds are printed and decide nothing.
The verdicts are pure functions in tests/_close_loop_verdicts.py, tried without a browser (on the real instrument, taken out of the
client script) in tests/test_the_close_loop_verdicts_see_the_defects.py. The three entries leave the debt of the clock check.
The rule `timeout` reads `timeout=` (milliseconds for the Playwright API, seconds for the standard library, the helpers and the driver), `set_default_timeout`, `set_default_navigation_timeout` and the default of a parameter named timeout; a window in which the call is expected to run out of time (pytest.raises, a swallowed timeout, a limit named NEGATIVE) is accepted by its shape. The rule `bound` also reads an `if` that reports a problem, so judge_visits (LOAD_MARGIN_MS) is seen. The occurrences are in the debt until each one is corrected.
Reads the e2e files and the helpers of tests/ with ast and refuses a fixed pause
(time.sleep, asyncio.sleep, wait_for_timeout) that is not the step of a poll
with a deadline, a page timer, an absolute upper bound on a duration, a literal
port, a write to os.environ, a real host or a pip install outside the files of
the round after a publication, a count of processes, and a conftest that does
not declare the exit of the lab. Occurrences are named by file, scope, rule and
nth, never by line.
tests/gates/e2e_clock_exceptions.json holds the reviewed entries (closed kinds,
a reason each) and the debt: every other occurrence, made again from the sources
by scripts/e2e_clock_exceptions.py --write. A stale item of either list is red,
and the debt may not hold an occurrence that main's does not.
test_release_e2e.py and test_upgrade_e2e.py install from the real index with
pip and uv, download the release from GitHub and walk the GitHub API: PyPI or
GitHub being down or rate limited reddened every pull request. The e2e tests
of those two files are now deselected from any run that does not name the file
(conftest.py, no new marker: the vocabulary is shared with the core), so
scripts/run_e2e.py, the Windows legs and the hunt do not collect them, and
user-install.yml, which names both, still does. A test collects and checks it,
and checks the wiring.
The persistent-profile test loads its own page on loopback (the same origin in
both sessions). The WebRTC gather without a proxy asks a STUN server of the
test on this host's address, the gather behind a TCP-only proxy asks a number
nothing answers, and its page is the local one carried through the proxy; a
proxy or network that fails there is now a failure, not a skip.
A launch with no proxy asks the core for its egress address, and the core asks
api.ipify.org, icanhazip.com and checkip.amazonaws.com: a third party in the
222 launches that name neither timezone= nor proxy=. A session fixture in the
conftest (session scope, so that the module-scoped browsers are covered)
answers that question with the lab's exit, and uses the lab GeoIP database when
no leg set one. A question behind a proxy is left to what answered it before.
A test that must prove the discovery itself uses local_egress_echo: the real
function against an echo service on loopback.
The last step of both teardowns ended the session's tree at once
(reap_session, grace 0). With the core's reaper, what is left at that
moment is the sender of the shutdown pings: it was killed and the
reaper's grace was for nothing.
_reaped.final_reap is the one place, called by launcher._teardown and
by its async twin: when the session's launches have a reaper the reap is
registered with reaper.then (once, after the last of them); without one
(older core, a launch that failed first) it runs at once as before.
The count took every CONNECT made after the birth of the PeerConnection for a step of the road, so the page's own server and the
DoH connections the browser opens in parallel for names of its own turned a good road red (11 to 13 exchanges, the page DONE).
The FakeDoh now says, for each question, the number of the control connection of the gateway that carried the CONNECT it came on
(`FakeDoh.question_connections`, handed over by `DohGateway`, exact: the tunnel is a socket pair, there is no peer port to match). The
verdict counts the control connection that carried a question of the TURN name, the question and the two Allocate transactions as
before, and lists the other CONNECTs after the birth in its message as evidence that decides nothing.
Units: red on a second connection that carried the question and on a repeated question, green with four parallel strangers in the
window at any speed, and the number the DoH gives is the one the gateway logged, with and without a round trip.
The verdict of the road of a TURN server written as a name compared the time between the first CONNECT to the DoH and the Allocate with
(rounds + 1) x the round trip, so a stall of the runner turned it red, and the number of rounds was an estimate. Two causal checks
replace it, and no duration is read:
- the test holds, with the new `Gateway.hold` (per control connection, by index and by what the connection asked for), the answer of
every association handshake begun after the pool was ready; the TURN server has to answer the Allocate with credentials before the
test lets them go. A handshake that waits for another leaves the road waiting for the test on any machine;
- the exchanges the gateway (`Gateway.requests`), the DoH and the TURN server (`TurnServer.transactions`, a retransmission is the
same transaction) recorded from the birth of the PeerConnection to that Allocate are at most what the protocols ask for: one
SOCKS5 control connection with its CONNECT (RFC 1928), one A question to the DoH (RFC 8484), two Allocate transactions (RFC 8656,
RFC 8489): five, six with a user and a password (RFC 1929). One more is red.
Units, with no browser: red on handshakes in series and on one exchange more, green on the good road at any speed of the machine (every
stamp scaled up to 5000 times), and a plain client that walks the protocols spends exactly the five.
invisible-core's Connection.close returns when the browser has exited and
the launch's reaper (conn.reaper) waits for the sender of the shutdown
pings, ends what is left and runs the steps given to reaper.then. The
server still ran SessionFiles.remove right after the shutdown, which waits
for the sender and the tree, so the close of the wrapper was as slow as
before. With a core that gives the launch a reaper the removal is now
registered with reaper.then once conn.close has returned; with an older
core it runs after the hooks as before.
_juggler/_reaped.py holds the hand-over and wait_reaped(token, timeout),
the internal wait the tests use. Tests: unit (fake connections with and
without a reaper), an e2e of the close time and of what is left after the
reaper, and the existing "after close no process is left" e2e waits for
the reaper first.
A goto that must be stopped or replaced is held by the server until the test
opens a gate after the call has returned (no clock); window.stop() is fired
when the server says the request arrived, not by a page timer; the second goto
waits for the first to commit on its site, not for 1 s. Absolute durations
narrower than the product's own timeout are gone: the timeout is the hang
detector. The click that opens a dialog leaves the dialog open until the call
has answered (the engine's 5 s bound raises).
The 25 s destination is reported after 24 s (the server's delay) and before expect_popup's own 45 s; the 40 s band is gone. The listener of the load is awaited for 30 s, and the handler's wait_for_load_state is judged by its own 10 s deadline instead of an absolute 8 s.
The control arm slept 1 s before counting the windows of the headed session on the interactive desktop. It now waits until one is there, with a deadline of 30 s.
The 500 ms in which the client could be told of the favicon began at the release, not at the end of the answer. It now begins when the site has written the answer, awaited with a deadline of 30 s.
A fixed 500 ms after the reload decided whether the controller was set. It now waits for the controller with a deadline of 30 s; a page that never gets one is still red.
The document test slept 500 ms before counting the request and the response, and the close test looked for 5 s. Each now waits for its condition with a deadline of 30 s; the short window left after it is only for a duplicate.
The page pushes /spa/later from a 50 ms timer after load; the test slept 1 s and then read the address. It now waits for the address with a deadline of 30 s.
The named-world test slept 1 s and the too-deep test 1.5 s. The first now waits (30 s) until the three frames have a default and a utility context; the second until the last frame the client lists has an element that names no frame. The assertions stay.
content_frame and evaluate waited 500 ms and then required a frame with the child origin; the dispatch_event test acted with a 4 s deadline on a button of another process; the hover test slept 400 ms before reading the frame's events. Each now waits for its condition with a deadline of 30 s, the assertions unchanged.
Four tests slept after set_files/set_input_files and then read #out. They now wait (30 s) until #out is not empty, then assert on its text exactly as before.
The test slept 1.5 s after each load and then read every frame. It now waits (30 s) until the page lists exactly the three frame urls; the no-op wait_for_function on window.frames.length >= 0 goes with the sleep.
After each goto the test slept 300 ms and then indexed the responses it had heard. It now waits (30 s) until the client has heard the named ones, and says which are missing.
The test slept 2 s and then required exactly three GETs. It now waits (30 s) until the server has seen both fetches, whose preflights come before them, then makes one same-origin request and waits for the client to hear it: events arrive in order, so everything the client was going to hear before it is in the list, and the sentinel is dropped before the count.
It read the longest gap of the top's timer, which a loaded runner stretches
between two processes. The spinning iframe now tells the wall-clock window of
its spin and the top reports the time of each tick; strategy 1 needs one spin
with ticks inside it (up to six), strategy 0 none in any of them, with the
counts per spin in the message. Same helper as the Fission frame tests.
The proof read a stall of the observer's timer, and a loaded Windows runner
stalls a timer between two processes for seconds. The frame now records the
wall-clock window of its spin and the observer the time of each tick; a tick
inside the window cannot happen in one process, whatever the load. The spin is
repeated (up to six) until one shows ticks inside it; a frame that shares the
process never does.
The refused one slept 2.5 s and the removed one 5 s before reading the frame
list. Each now waits for its condition (the error page's frame with its
address; the iframe attached and detached with only the page left) with a
deadline of 8 s and 10 s, and the message lists what was seen over time.
The test assumed the frame's own timer and promise chain never leave half a
second without a request. It now stamps each request's arrival and end on the
server and asks what networkidle promises: nothing in flight and a quiet since
the last end when goto returned.
Retail Firefox with Fission keeps a pool of preallocated content processes
(3 on desktop, 1 up to 4 GB), refilled one at a time, so the count after a
closed context cannot be compared with the first one strictly. Five contexts;
each count is a wait for at most the first count plus the pool, with the counts
over time in the message.
The first half of the test slept 1.5 s before reading the frame list; it now
waits for the first address (deadline 8 s, like the second half) and the
message lists the frame urls over time.
It waits until the four requests have begun and each has its end (deadline
15 s), and on failure lists every event (server, route, request, finished,
failed) with its time from the goto.
_waits.py polls a condition until it holds or a deadline passes and keeps the
values it saw, a timeline of events, the requests that began without an end,
the judgement of a networkidle from server stamps, and the pool of spare
content processes retail Firefox keeps. A unit file runs each on a fake clock,
for the red case and the green case of the e2e tests that use them.
The verdict of the chain-by-name test asked the POST of /verdict to come back
inside the 2 s tick of the page. The tick now stops the moment the first srflx
arrives, so the test only asks whether the srflx came before the tick.
A page's lookup that comes after its context is destroyed went to the machine's resolver on firefox-64: a sendBeacon on pagehide to a name never looked up, 10 of 10 on Linux and Windows (hunt 43733181674, Calling getaddrinfo with the context's userContextId and effectiveTRRmode 1). It is the road the OCSP request of a closing context took once (run 43717860248). The engine fix (juggler: an ended context with a proxy stays proxied for the resolver) is in firefox-65; the test is gated engine_at_least("firefox-65") and joins wrapper.e2e.context.sink (35 -> 36).
The next engine release is firefox-65 (the projection and the resolver of an ended context). The shelved line, whose tests were gated engine_at_least("firefox-65"), becomes firefox-66: without this the 15 tests would run against firefox-65 and fail for work that is not in it.
On a loaded Windows runner the candidate 43727128285 failed the four-browser close with 94 ms held and nothing on the loop's thread: the main thread waited in the selector, woke late and ran the pingers' queued replies, and the watcher charged the whole lateness to that moment. The watcher now counts only the part of a lateness after the loop's thread left the selector. A second control leaves the loop 125 ms late in its selector and then runs a 15 ms callback: it must not be charged (red on the old watcher, ~140 ms). The first control, the loop held on purpose for 400 ms, stays red. Bound unchanged, 50 ms.
Two e2e tests went red for the first time on release/0.52.1 (run 43704738537, Windows part 2), green on the next
head, never red in the 305 e2e runs before. Their cause is open; this makes the next failure carry its evidence.
- No fixed Marionette port: three e2e files gave their browser 28431 and xdist runs them on different workers at
once. `webfont_probe.marionette_port()` asks the OS for a free port per launch.
- A connection to Marionette that fails says what the engine says: per engine process its type, state and the ports
it listens on; the parent's `MarionetteActivePort` (written by Firefox once Marionette listens) and the
`marionette` lines of its `user.js`; and who listens on the port. The 10061 of the font test had nothing to read.
- The networkidle test of a frame of another site states, when it fails, every request of the scenario and the
frame's load and timer, in ms from the networkidle the client was given (`Sites` records when each request
arrived and was answered).
Unit tests (tests/test_the_marionette_helpers.py, red on the old code): the port is free when given, no test gives a
fixed port, a failed connection carries the diagnosis.
2026-11-15 14:08:07 +01:00
752 changed files with 101678 additions and 31970 deletions
# Linux one. The gate folds CRLF vs LF deliberately, but there is no reason to
# make it do that work.
PUBLISHED.json text eol=lf
# The persona seeds are compared byte for byte with their canonical rendering (tests/test_persona_cover.py): LF on every checkout.
ci/persona-seeds.json text eol=lf
# The wire-method budget is compared with what `dump()` writes, byte for byte
# (tests/test_every_wire_method_is_served_or_refused.py): a Windows runner checks
# out with autocrlf and would hand the test CRLF that nobody wrote.
tests/gates/wire_method_debt.json text eol=lf
# The lock of the gate is hashed byte for byte: its header names the sha256 of gate.in, so neither file may be rewritten with CRLF on a Windows checkout.
ci/py-lock/** text eol=lf
# The vendored bundles are third-party bytes whose sha256 is pinned in tests/vendor/README.md: no checkout converts their line endings
# (a Windows runner with core.autocrlf=true would hand them over with CRLF and the hash would no longer match).
tests/vendor/*.js -text
# The evidence of the known-defects tests and the copy of the core's matcher are hashed byte for byte against tests/data/known_mozilla_defects/sources.json: no checkout converts their line endings.
tests/data/known_mozilla_defects/** -text
# The ready security state is hashed byte for byte against ci/security-state.pin.json.
ci/security-state/** -text
# The page of the password-mask e2e is the same bytes as the page of the retail capture (its sha256 is checked), so no checkout may change its line endings.
description:"How many runs at most (at 12% it takes ~18 for a 90% chance)"
required:false
default:"18"
ab_network_webrtc_seed:
description:"A seed (e.g. 4) to repeat ONLY the network oracle's WebRTC walk of, `runs` times for each engine of its A/A, instead of the e2e loop. Empty: the e2e loop."
required:false
default:""
os:
description:"Where to hunt. windows-latest answers a DIFFERENT question: are the interaction retries seen on the dev machine the product or contention?"
required:false
@@ -59,9 +72,27 @@ env:
GITHUB_TOKEN:${{ github.token }}
jobs:
# The Ubuntu packages of the Linux hunt, from Ubuntu's archive once per runner image and list (linux-deps.yml), never by the hunt. On Windows this job is
# skipped and the hunt runs on (the condition below accepts `skipped` and `success`, nothing else).
# fakeweb.yml - on the offline fake web (tests/fakeweb/), does our browser get the same outcome as stock Firefox, step by step?
#
# ONE QUESTION. The fake web is two small local sites (127.0.0.1 and localhost) whose every response is finite and made by the page of the test: no real
# site, no proxy, no request that leaves the runner. Profile P2 is one reused, routed page that loads the hard pages (beacons on pagehide, keepalive fetches,
# frames of another site removed or navigated away, requests the page aborts), each followed by a quiet canary. Profile P4 is the journey of a person over a
# multi-page site (17 steps: links, back and forward, a filter that changes the URL, a new tab, a download, a keyboard search, a sign-in), compared field by
# field with stock Firefox. Both profiles run in the SAME job as Playwright's own Firefox (scripts/playwright_pin.txt): stock first, ours second, one browser
# at a time, both driven by the stock Playwright client (scripts/run_fakeweb.py). The verdict is "the same outcome as stock", never a time: no step asserts a
# duration, and a stock Firefox that is not what tests/fakeweb/pages.json declares makes the leg red as a BROKEN CONTROL, not as a finding about ours.
#
# WHICH ENGINE. The published one (`python -m invisible_playwright fetch`), as e2e.yml. The candidate of the engine repository runs the same entry on its own
# binary (scripts/run_fakeweb.py --binary), and judges the four e2e tests of this fake web as the suite `wrapper.e2e.fakeweb` of ci/required-suites.json.
#
# WHEN. A pull request or a push to main that touches the fake web or this file (the journey and the hard pages are not a round for every change); again by hand
# with `workflow_dispatch`. Four legs, a profile on a system each (Linux under Xvfb, Windows); no leg is repeated or forgiven, and the ONE verdict of the workflow is the
# job `fakeweb verdict`: red unless all four legs are green (a skipped leg, for a core that is not on the index yet, is not green: nothing was measured).
name:fakeweb
on:
push:
branches:[main]
paths:
- 'tests/fakeweb/**'
- 'tests/test_fakeweb_*.py'
- 'scripts/run_fakeweb.py'
- 'scripts/fakeweb_p4_report.py'
- 'scripts/playwright_pin.txt'
- '.github/workflows/fakeweb.yml'
pull_request:
paths:
- 'tests/fakeweb/**'
- 'tests/test_fakeweb_*.py'
- 'scripts/run_fakeweb.py'
- 'scripts/fakeweb_p4_report.py'
- 'scripts/playwright_pin.txt'
- '.github/workflows/fakeweb.yml'
workflow_dispatch:
permissions:
contents:read
# A newer push to a pull request cancels the older run of THIS workflow on that pull request, and nothing else cancels (the same group as e2e.yml).
# The security state is a ready directory of the repository (ci/security-state/, a result with no data, the sha256 in ci/security-state.pin.json): with
# STEALTHFOX_SECURITY_STATE set the core neither downloads nor generates one. BEFORE `fetch`, which makes the state present (it would download and generate it).
- name:The security state (a fixed directory of the repository)
run:python scripts/ci_lab_security_state.py set --pin ci/security-state.pin.json
( cd /tmp/linux-deps && apt-ftparchive packages . > Packages )
for p in $REAL; do grep -qx "Package: $p" /tmp/linux-deps/Packages || { echo "ERROR: $p of the closure was not downloaded"; exit 1; }; done
# A root is a package of the repository or a name one of them provides (libgtk-3-0 is libgtk-3-0t64's on noble, as `apt-get install` resolved it)
for r in $ROOTS; do
e="$(printf '%s' "$r" | sed 's/[.+]/\\&/g')"
grep -qE "^(Package: $e|Provides: (.*, )?$e( \(.*\))?(,.*)?)$" /tmp/linux-deps/Packages || { echo "ERROR: the root $r is not in the repository"; exit 1; }
# Pushes the gate does not see: branches other than main and tags. Pull requests and
# main go through the gate of tests.yml.
on:
push:
branches-ignore:[main]
tags:["**"]
permissions:
contents:read
jobs:
noreply-identity:
uses:oss-invisible/core/.github/workflows/noreply-identity.yml@6d048ac02fc886a50791a4ae0423cbca2a547d72# core main, the last change of noreply-identity.yml
# published-set.yml - the control side of the A/B oracles is the last PUBLISHED SET, and this keeps its lock equal to the index.
#
# An A/B oracle holds a candidate against the engine published before it, and that engine is launched by the core it was built for (it refuses a launch whose
# declarations that core does not emit). So the control is a set: the last `invisible-playwright` on the index, the `invisible-core` it pins exactly, and the engine
# that core's seal pins, in a venv of their own, installed by hash (ci-03): ci/py-lock/published.txt, made by scripts/ci_published_set.py. Nothing in it is chosen
# by hand; a new release is the new baseline.
#
# The lock is a committed file so that a run installs it offline (the wheelhouse of the run holds the files it names). What can go stale is the lock, the day a
# release is published: this reads the index (the JSON of the two packages, nothing is installed or run) and is RED when the committed lock is not the index's last
# release. The fix is one command, `python scripts/ci_published_set.py resolve --write`, in the pull request that records the release.
# real-sites.yml - on real pages, does the published wrapper get the same outcome as stock Firefox driven by stock Playwright, on the same machine, in the same window of time?
#
# ONE QUESTION. It does not measure the quality of an address or a percentage of blocks: a GitHub runner has a datacenter address and no proxy is used. Where stock Firefox
# is blocked as well, the cell carries no information and is written as such. It is red only where stock gets through and the wrapper does not.
#
# WHAT RUNS (per system, Linux under Xvfb with a window, and Windows; in a job everything in a row, one browser at a time):
# 1. two clean venvs: `invisible-playwright==<the version the index serves now>`, and Playwright at scripts/playwright_pin.txt with its Firefox;
# 2. the pass of stock over the whole list (scripts/run_real_sites.py), then the pass of ours;
# 3. only for the cells that differ in the first pass: two more passes of those sites, stock, ours, stock, ours;
# 4. the judge (scripts/judge_real_sites.py): the table, three numbers, the exit code. Its rule is in its own docstring and tests/test_real_sites_judge.py.
# The cells (JSON) and the summary are the artifacts of the run. The same conditions for both browsers: a window, one viewport, no proxy, the language of the runner.
#
# WHEN (never by hand, except to run a whole round again):
# * `workflow_run` of publish.yml, completed with success: the round after a publication, on the packages that just went out;
# * `push` to main and `pull_request` that touch the five files below: the round proves itself, on the packages published at that moment;
# * `workflow_dispatch`: to run a whole round again.
#
# VERSION. After a publication the version is the tag of the publish run (`head_branch` without its `v`); a run that is not of a `v*` tag makes the plan red. The other
# events read the version the index serves now.
#
# WHY PER PUSH. The admission judges a list when the list changes; the round measures at every push. A push that does not touch tests/realsites/sites.json does not run the
# admission again, or every push of the pull request would resample the real sites and could go red for a reason that is nobody's change. The plan decides it per push:
# a push is compared with the head it replaced; if that compare cannot be made (a forced push, no `before`, an API error) the admission runs, in doubt measure.
#
# ADMISSION. A push to a pull request that changes tests/realsites/sites.json runs the admission AND the round (14 jobs: the plan, 2 of the round, 10 passes of the admission and
# its report). The admission is stock alone, five passes per site and per system (a job per pass, so that a list of thirty sites stays inside the limit of a job). It is
# red only for a defect of the list, never for the luck of one site: an invalid list (a `min_informative` in the file is one), a pass that is missing, a site never good in
# any pass of a system that is not of the class protetta (a wrong marker, or a fixed block), more than 4 protetta, more than 20 sites. A site good in some passes stays,
# and the report gives its count per system ("4 of 5 on linux"): every real site has a rare failure on the side of stock, five passes cannot tell it from instability,
# and in the round it only removes information from that cell. The minimum of information is not sampled and is not in the file: the judge asks for half the sites,
# rounded up. Where stock does not find the marker, its cell in the artifact also holds the status, the title and the first 40 element ids of the page, to fix the marker
# in the same pull request; the judge ignores them.
#
# TOKEN. The token of the workflow is in three steps and nowhere else: the plan and the report of the admission (they call `gh`) and the install and fetch of the
# round (the engine is downloaded from GitHub; that step launches no browser). A step that runs the passes never sees it.
#
# No click and no handling of a consent wall anywhere: both browsers see what the page shows.
"""Does this run admit the list? Only when this push changes it. A push (synchronize) is compared with the head it replaced; a pull request that is
opened or reopened is judged on all its files. A compare that cannot be made (a forced push, no `before`, an API error) runs the admission: in doubt, measure."""
# Two venvs that share nothing: what a user gets from the index, and what a user of stock Playwright gets. The wrapper is installed by its published version
# (the index may lag a few minutes behind a publication: only the install is asked again), then its engine is fetched the way a user fetches it.
- name:The two clean venvs
shell:bash
env:
GH_TOKEN:${{ github.token }} # the fetch of the engine is a download from GitHub; nothing here opens a page
run:|
set -euo pipefail
if [ "$RUNNER_OS" = Windows ]; then BIN=Scripts; EXE=python.exe; else BIN=bin; EXE=python; fi
- name:install the pinned core, which carries the gate
@@ -160,11 +160,22 @@ jobs:
core-on-index:
uses:./.github/workflows/core-on-index.yml
# Every commit and tag this change makes public must carry a GitHub noreply
# email (author, committer, tagger). The judge lives in oss-invisible/core and
# is read from its main, never from this branch.
noreply-identity:
uses:oss-invisible/core/.github/workflows/noreply-identity.yml@6d048ac02fc886a50791a4ae0423cbca2a547d72# core main, the last change of noreply-identity.yml
# The security state is a ready directory of the repository (ci/security-state/, a result with no data, the sha256 in ci/security-state.pin.json): with
# STEALTHFOX_SECURITY_STATE set the core neither downloads nor generates one.
- name:The security state (a fixed directory of the repository)
shell:bash
run:python scripts/ci_lab_security_state.py set --pin ci/security-state.pin.json
# The GeoIP database is made by the repository (scripts/ci_lab_geoip.py: the same bytes on every run, the sha256 in ci/geoip.json), never a
# site and never a licensed file: without STEALTHFOX_GEOIP_MMDB the core asks GitHub which database is the latest on every call
# (run 43211837926). The variable reaches every later step of the job.
@@ -230,11 +253,37 @@ jobs:
run:python scripts/ci_lab_geoip.py build
- name:Run pytest
if:matrix.python != '3.11'
shell:bash
run:|
set -o pipefail # or tee would swallow pytest's exit code
pytest tests/ -v --tb=short -rs | tee tests-report.txt
# The legs of Python 3.11 (the version the engine series' gate runs, on both of its systems) run the suite the way that gate does: the files and the
# marker of the row wrapper.unit.all.<os> of ci/required-suites.json (printed by scripts/ci_verdict.py args), one junit, and the judge below reads
# it. Until 2026-11-24 this workflow ran `pytest tests/` with a floor of 380 and nothing judged the exact counts the gate holds: PR #590 added a test
# without raising min_tests, this workflow was green, and the gate went red on main's next series run ("the suite is exact").
# No test runs twice: the row leaves out the files of the environment (a clone with its hooks armed, one with origin/main, the package index, ...: named,
# each with its reason, in tests/test_the_unit_suite_is_accounted_for.py), so a second pytest, with --ignore for every file of the row, runs those
# and any file that is in no row: together the two runs are what `pytest tests/` ran.
- name:Run pytest (the selection of the gate, then the files outside the row)
# The leg ran with the pinned database, and the core never went past it to GitHub (tests/geoip_used.py wrote what it did).
- name:The leg ran with the pinned GeoIP database
if:always()
@@ -249,6 +298,7 @@ jobs:
# already filters on two markers - one more, or a typo in one, silently
# turns 726 tests into 0 and reports success.
- name:Refuse a run in which the suite deselected itself
if:matrix.python != '3.11'
shell:bash
run:|
python - <<'PY'
@@ -275,6 +325,22 @@ jobs:
print(f"{passed} tests ran")
PY
# The judge of the engine series' gate on the junit of the step above: the exact count of the row (not one test more, not one less), no skip, every
# file of the row passed, and the list only grows against main. The judge and the list it compares with are read from main, never from the branch under
# judgment (a branch that edits its own judge or its own list cannot pass itself): a PR that adds a test and does not raise min_tests is red here.
# The suite launches no browser, so --binary names the interpreter that ran it (the judge wants a file to hash; nothing reads that hash: no --out).
- name:Judge the suite wrapper.unit.all (the exact count, with the judge and the list of main)
foreach ($f in "arial.ttf","arialbd.ttf","times.ttf","segoeui.ttf","segoeuii.ttf","calibri.ttf","consola.ttf","verdana.ttf","tahoma.ttf","georgia.ttf","seguiemj.ttf","msyh.ttc","YuGothR.ttc","cour.ttf","timesi.ttf") {
# Only what the TEST needs (and `uv`, for the wait below to ask uv, which the release test installs the package with). The package under test is installed by the
# Only what the TEST needs, from the wrapper's hashed lock (ci/py-lock/gate.txt), the one the other test jobs read: never a hand list, which is how
# `psutil` (imported by the OS-cursor helper of the tests since #609) was missing here and ledger #618 was red. The lock holds `uv` (the wait below asks it, and the
# release test installs the package with it) and holds neither invisible-playwright nor invisible-core: the package under test is installed by the
# test itself, into a venv it creates, from the index - installing it
# here as well would put a second copy on the path and the assertions
# would be reading the wrong one.
# would be reading the wrong one. The runner's own pip, nothing unhashed.
# A rule test of the unit suite (the install job has every module its tests import) holds every third-party module the tests import to that lock.
@@ -6,6 +6,223 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
## [Unreleased]
### Changed
- **Breaking:** the environment variable `INVPW_TRUE_HEADLESS` is retired and is now refused at launch, on the sync, the async and the server
entry points, with an error that says to unset it. The product always runs a real browser window on a hidden display; it no longer
has a second mode that runs without a window.
## [0.61.0] - 2026-11-30
### Changed
- Pins invisible-core 71.85.0 on the engine firefox-71 (Firefox 159.0).
- The window origin is declared by the core, and the screen coordinates a page reads go through it, in the top document and in an
out-of-process frame of another site: such a frame used to read the top document's origin without its own position.
- The end point of a drag is mapped through the window of the drag source, and tooltips and autoscroll open at the real pointer.
- A popup's position and outer size are set when it opens by Firefox's own rule, and a positioned popup is kept on the declared screen by
Firefox's own clamp; the core no longer declares a popup position.
- The height of the maximized browser chrome follows Firefox's toolbar density rule, and the window frame is computed from the system
metrics at the declared scale: at 125% the bar above the page is 106 device pixels, as in retail Firefox 159, where 0.60.0 declared 107.
- The core accepts exactly the display scales Windows offers (100% to 500%), and refuses a scale the declared screen does not offer.
### Fixed
- The load of a frame waits for the processes below it, a navigation that does not create a new document no longer releases a frame, and
the ready of a page is told once, after its document.
- Drag and drop driven by the client reaches a frame of another site: the drag has one session, owned by the browser process, as a real
drag does; `dragend` ends at the screen point of the declared window, the drag events carry the buttons held, and `drag` fires at the
source.
- A select dropdown opened by a click no longer closes on that click's own release: menus close on the next press or wheel, as with a
real mouse, never on a release or a move.
-`wait_for_selector(state="hidden")` returns at once when nothing matches and never returns a handle, as stock Playwright does.
- A font face that our text code used after it could be released (a dangling HarfBuzz face pointer) is now held by its own type.
- Through a UDP proxy, an IPv6 socket reaches its IPv4 relay after the association too.
## [0.60.0] - 2026-11-27
### Changed
- Pins invisible-core 70.83.0 on the engine firefox-70 (Firefox 159.0).
- The engine carries Firefox's fix for the race between the start and the shutdown of its telemetry (Glean): a browser closed while it was
still starting no longer leaves that work half done.
- ElementHandle pointer actions (`click`, `dblclick`, `hover`, `tap`, `check`, `uncheck`, `set_checked`) now use the same humanised pointer walk as selector actions (they used to jump to the exact centre of the element in one move).
- Screenshot parameters that Playwright honours by modifying the page (`mask`/`maskColor`, `style`, `animations="disabled"`,
`caret="initial"`) are now refused by name with a clear error instead of being silently ignored; `omitBackground` with PNG answers
Firefox's own `Not implemented`, as stock Playwright does. A refused screenshot of an element or a locator is refused before the page is
scrolled or measured.
## [0.59.0] - 2026-11-24
### Changed
- Pins invisible-core 69.82.0 on the engine firefox-69 (Firefox 159.0).
### Added
- An element handle serves the methods of Playwright's `ElementHandle` that it used to refuse as a gap: `query_selector`, `query_selector_all`,
`eval_on_selector`, `eval_on_selector_all` (rooted at the element), `evaluate_handle`, `is_visible`, `is_hidden`, `is_enabled`, `is_disabled`,
`is_checked`, `is_editable`, `wait_for_element_state`, `dblclick`, `select_text` and `dispatch_event`, with the answers and the errors
Playwright's own server gives. `wait_for_selector` on an element handle is still refused.
-`set_input_files` with a file path works from a client attached with `connect`: the file is streamed into the session, as a stock client does
over a remote connection, and a stream can be used only by the context that made it.
### Fixed
- The argument of `evaluate` and its kin (`page.evaluate(fn, element)`, `evaluate_handle`, `eval_on_selector`, `eval_on_selector_all` and the
frame and handle forms) reaches the page as Playwright sends it: element and JS handles, dates, URLs, errors, shared references, `undefined`,
`-0` and `ArrayBuffer` are decoded in the page instead of arriving as `null`.
-`screenshot(scale="css")` is a picture in CSS pixels, as in stock Playwright; the scale was ignored and the picture was in device pixels.
-`tap` on a context without `has_touch` is refused with Playwright's own message before anything is sent to the page.
- A read that waits for its element (`inner_text`, `text_content`, `get_attribute` and the others) and runs out of time now always fails with
Playwright's own `Timeout Nms exceeded`. On Windows it could fail with the engine connection's `no response in 0s` instead, when the last
probe ran out of the caller's time a moment before the clock said so.
### Engine firefox-69
- On Linux the engine no longer runs the host's GL probe when the machine is declared: whether WebGL is available comes from the declaration alone.
- A navigation that changes process is no longer ended by the document it left, and a page is reported ready only after its document.
- A request to a page process that went away is answered instead of being left waiting, and the end of a network request and the contexts of a
frame are reported as Playwright expects.
- The engine's security-state generation no longer ends in a crash now and then (the telemetry was starting during shutdown).
- On Windows, the port a WebRTC connection holds is its own.
### Known issues
-`tap` with `has_touch` fails with an engine error: the engine cannot send a touch event since Firefox 159. It will be fixed in the engine.
## [0.58.0] - 2026-11-21
### Changed
- Pins invisible-core 68.80.0 on the engine firefox-68 (Firefox 159.0).
- Every profile starts with the security state a retail Firefox has: the intermediate certificates, OneCRL and the CRLite revocation filters.
`invisible-playwright fetch` downloads them from Mozilla's service and has the engine build them once; every launch copies the result into its
profile. Filters ten days old or more are left out, as a retail Firefox does, with one warning that says to run `fetch`.
### Fixed
-`networkidle` waits for the end of the document request that is still arriving when the page is cut, instead of ending early.
- A navigation the page's process reports as aborted while the parent is still carrying its request now waits for that request, so a
`goto` no longer fails with a false abort.
- Behind a SOCKS5 proxy, WebRTC sockets on ports Windows reserves no longer take the proxy's UDP association from the sockets that work.
## [0.57.1] - 2026-11-20
### Fixed
- Pins invisible-core 67.79.0 (same engine, firefox-67). On Windows, two browsers launched together on an empty cache could fail with
«Access is denied» on the font list file the first browser held open: the file is now created once and never replaced or read back.
## [0.57.0] - 2026-11-20
### Changed
- Pins invisible-core 67.78.0 (same engine, firefox-67). The core keeps no value in memory between two calls: the seal, the identity of the engine,
the GPU tables, the time zones, the keyboard tables, the exit address and the UDP verdict of a proxy are read or measured each time they are needed,
so what a launch costs is visible where it is paid.
-`invisible-playwright fetch` looks for a newer list of intermediate certificates every time it runs (a small request; the list is downloaded only
when Mozilla changed it). A launch only reads the list on disk and starts no background check.
-`new_context(proxy=...)` measures the UDP exit of its proxy every time, instead of reusing a measurement of the same proxy from the last 30 minutes.
- A launch without a proxy asks for its exit address every time, instead of reusing an answer from the last 2 minutes.
- The UDP verdict the session measured at launch is handed to the browser's proxy command explicitly.
### Fixed
-`wait_for_load_state("networkidle")` and `goto(..., wait_until="networkidle")` on a new document count the quiet from that document's
commit, as Playwright does: the silence before the commit no longer counts toward its 500 ms.
## [0.56.0] - 2026-11-19
### Engine firefox-67
- A site that sends an incomplete certificate chain (its certificate without the intermediate that signed it) opens from the first second,
as it does on a Firefox that has been in use for days. Firefox completes such chains with the intermediate certificates Mozilla
publishes, which a fresh profile only downloads a minute or so after its start; the list is now declared by the core and written into
the profile before the first page, so every session has it from its start.
- The engine no longer downloads that list itself: no request for it leaves the browser, through the proxy or otherwise.
- The browser tells the client it is ready only once the list is written, so no page can be opened before it is in place.
### Changed
- Pins invisible-core 67.77.0 and with it the engine firefox-67. The core downloads the list from Mozilla's service once, verifies every
certificate against the hash Mozilla publishes for it, keeps it in its cache and asks again at most once a week, after the browser has
started, so a launch never waits for it; with no copy and no network the browser starts without the list and a warning is printed.
-`invisible-playwright fetch` also downloads the list, after the engine, so the first launch does not.
- The CI legs launch with a fixed, empty list of the repository (`ci/intermediates.json`), so no test asks Mozilla for anything.
## [0.55.0] - 2026-11-19
### Changed
- Pins invisible-core 66.76.0 (same engine, firefox-66): the core no longer carries its legacy API, and the wrapper no longer reaches any of it.
-`tests/conftest.py` takes the engine entry table from `invisible_core.seal.DEFAULT_ENTRY_REL`, and a test fails if a file of the wrapper imports a name the core removed.
- The workflows arm the pre-push gates with `python -m invisible_core.hooks install`.
### Removed
- The nine modules that only re-exported `invisible_core` (`invisible_playwright._geo`, `_headless`, `_proxy`, `_webgl_personas`, `config`,
`constants`, `download`, `prefs`, `_fpforge`) and `invisible_playwright._reaper`: import `invisible_core.<module>` (`invisible_core.process`
for the reaper). `resolve_session_timezone` is no longer re-exported from the package root.
-`INVPW_CURSOR_ENGINE=binary` and the fallback to the browser's own motion when no generator is found: the engine is the Python one, or `off`. The variable is strict: unset, `python` or `off`; any other value (`binary`, `none`, `false`, `0`...) is a `ValueError` that lists them.
- The test that scanned a driver bundle tree, which only the removed Node driver had.
-`INVPW_TRANSPORT=driver` and its refusal message: there is one transport.
-`scripts/install_hooks.py`: `python -m invisible_core.hooks install` (with `--check` to only report) does the same, from the core.
### Fixed
- The documentation no longer presents `INVPW_BINARY_PATH` as a variable of the library, which reads none; a binary you already have is passed
as `binary_path=`.
## [0.54.0] - 2026-11-18
### Engine firefox-66
- A screenshot on Linux draws text in the fonts the page used. The browser's main process rebuilds each font of a screenshot from its
file and asks fontconfig to confirm that file; it now shows the bundled fonts to fontconfig before it builds its font list, so the file
is known and kept instead of being replaced by a fallback font (screen and canvas were already right; only screenshots were wrong).
- A face of a font collection (`.ttc`) keeps its own index when the main process rebuilds it, so it is no longer drawn as another face of
the same file (Cambria Math, MS PGothic and NSimSun came out as Cambria, MS Gothic and SimSun). This is Mozilla's fix of bug 2077661,
carried as Mozilla wrote it until a Firefox release ships it.
- Windows was not affected.
### Changed
- Pins invisible-core 66.75.0 and with it the engine firefox-66.
### Added
- A test that draws text in each bundled family the identity declares (accents, a typographic apostrophe, Chinese, Japanese, Arabic,
Russian, and two faces that are not the first of their collection) and compares the screenshot, byte for byte, with the same text drawn
by the page itself into a canvas, on Linux and on Windows.
- A Linux test that a second launch reads the bundle from fontconfig's cache and does not scan the folder again, measured under strace,
with a test of the strace stand-in itself.
## [0.53.1] - 2026-11-16
0.53.0 was tagged but never published; its changes ship in 0.53.1. One of its tests read the page's address too early when the first of
two navigations wins; 0.53.1 corrects that test.
### Engine firefox-65
- Keys, clicks and the mouse path stay on their planned timing under load.
- A second `goto` that starts while a site is changing process no longer hangs.
- The isolated worlds of init scripts are always created.
- A worker comes back with its page from the back-forward cache.
- The names looked up as a context closes go through that context's proxy.
-`close()` returns when the browser has exited, and never interrupts it while it exits.
### Changed
- Pins invisible-core 65.74.0 and with it the engine firefox-65.
- The path of the cursor leaves as one stroke. The approach, the walk before a click, the wheel burst and the idle movement hand their
planned timeline to the core's `Actions.walk`, which sends each point at its planned instant on the client's own clock, without waiting
for the reply of the one before; the replies are collected at the end. Before, each point was a command of its own that waited for the
engine's reply, and a slow reply was a pause in the path that the page saw (2.6 s measured on a GitHub runner), with the points after it
crowded together. A lone `mouse.down`, `mouse.up` or one-step `mouse.move` is still a single command that waits for its reply, as in Playwright.
-`close()` returns when the browser has exited, and the removal of the session's directories and the last reap of its tree are left to the
reaper of the launch (invisible-core 65.74.0), instead of being done at once and waiting for the sender of the shutdown pings. A session
that is over is forgotten by the registry of reapers, so a long-lived server no longer keeps one entry per session.
- The download and upload folders of a session are removed by the reapers of its launches, after the tree has ended, and no longer on
the server's shutdown thread that the user's exit waits for (4 profiles removed together took up to 2.5 s on Windows). With no reaper
they are removed at once, as before.
### Fixed
- The cursor's motion never fails an action for what the engine or the page answers (a closed target, a detached frame, a refused or
unanswered command), and no longer hides a bug of ours: an error of our own in the path (an `AttributeError`, a `TypeError`) comes out of
the action instead of being swallowed with one warning and a click that goes out with no path.
### Removed
-`pytest-rerunfailures` from the `dev` extra. No run of this repository reruns a test (the e2e run refuses the plugin by name, `-p no:rerunfailures`).
### Tests
- The e2e tests wait for a condition with a deadline of 30 s, not for a clock, and the workers share no port: a Marionette port per launch,
the HTTP/3 server serves on the UDP socket its picker held. A test that is red now says what
it saw. (#507, #511, #514)
- The shelved engine line is firefox-66; its 15 tests wait for it. (#509)
- A loop late in its selector is not held; only the time its thread runs counts. (#508)
- A check that the e2e tests do not wait on clocks, share ports, write the environment or reach the world; the debt of that check only shrinks.
- The whole unit suite is a required suite of the candidate: 1988 tests on Linux and 1989 on Windows.
- The click and pointer benches count a stroke's instants on their virtual clock, and the key-delay test reads the browser's own event
time stamps. (#516)
- The e2e workflow uploads the junit of every pass of the run (Linux, and each Windows part), green or red.
@@ -257,7 +262,7 @@ organised into four sections instead of one flat list:
audio, network and WebRTC, the automation layer, AI agents, the detectors themselves
explained from source, and testing.
- **[Comparisons](docs/comparisons.md)** -
against Camoufox, Patchright, nodriver and playwright-stealth, and the case for
against Patchright, nodriver and playwright-stealth, and the case for
Firefox over Chromium generally.
- **[Integrations](docs/integrations/)** -
Scrapy, Crawlee, Robot Framework, CodeceptJS, test runners, Playwright MCP, and the
@@ -300,7 +305,7 @@ covers the frameworks that pick Chromium over CDP for you.
**On the Firefox side**
- **[Camoufox](https://github.com/daijro/camoufox)** - patches C++ too, wider surface, ships a fingerprint database instead of deriving one from a seed. [Comparison](docs/vs-camoufox.md).
- **Other patched Firefox builds** - some patch C++ too, with a wider surface and a fingerprint database instead of one derived from a seed. [How the stealth levels differ](docs/playwright-stealth-levels.md).
- **[LibreWolf](https://librewolf.net)** - a privacy-defaults Firefox to browse with, not to automate.
- **[arkenfox/user.js](https://github.com/arkenfox/user.js)** - hardening through preferences. Where a preference is enough, use it.
@@ -343,7 +348,7 @@ spoofed browser is usually caught. Source:
- The codec table is declared, so a Linux host does not answer a Windows question with Linux support: [codec fingerprinting](docs/codec-fingerprinting.md).
**Network**
-WebRTC offers one synthetic candidate carrying the proxy exit, instead of leaking the real address or offering none, which is itself a tell: [WebRTC ICE candidate spoofing](docs/webrtc-ice-candidate-spoofing.md), [does the WebRTC IP match the proxy exit](docs/webrtc-ip-match-proxy-exit.md).
-Behind a proxy, WebRTC's UDP goes through the proxy when the proxy can carry it, so the server-reflexive candidate is the proxy's exit, and otherwise no datagram leaves the machine at all; candidates are real, never patched in the page: [WebRTC ICE candidate spoofing](docs/webrtc-ice-candidate-spoofing.md), [does the WebRTC IP match the proxy exit](docs/webrtc-ip-match-proxy-exit.md).
- DNS resolves through the proxy, including when the proxy is not in the preferences: [does a proxy leak DNS](docs/does-a-proxy-leak-dns-doh-explained.md), [how to check for a proxy IP leak](docs/how-to-check-proxy-ip-leak.md).
- The timezone comes from the egress IP, resolved offline, so it matches the exit: [timezone and proxy mismatch](docs/timezone-proxy-mismatch.md), [offline GeoIP timezone](docs/offline-geoip-timezone-proxy.md).
"about":"The leaves of the network transcript that differ between two runs of ONE engine (the A/A of scripts/ci_ab_network.py). Each entry: `pattern` (fnmatch over the leaf path seeds/<seed>/<category>/...), `reason` (why that leaf is noise), `aa_run` (the A/A run that proved it). Born from the evidence of the A/A, never written ahead of it. It may only shrink: an entry that matches no leaf of a run is red as stale.",
"entries":[
{
"pattern":"seeds/*/journey/connects/counts/*",
"reason":"How many TCP connections the browser opens to each destination of the journey (the DoH, the two origins) is the connection pool's: parallel and speculative connections, keep-alive connections that close and reopen, DoH connections. The CONNECTs of the launch stage are counted with the journey ones (the DoH connection at start-up lands in either). The set of destinations and the order they were first reached stay compared (journey/connects/order). Totals of the two runs: Linux DoH 226 and 225, origin A 14 and 13, origin O 20 and 12; Windows DoH 222 and 230, A 23 and 15, O 22 and 14.",
"aa_run":"44946411675 (linux, windows)"
},
{
"pattern":"seeds/*/webrtc/connects/counts/*",
"reason":"The connections to the DoH during the WebRTC page: 14 and 25 between the two Windows runs. Same pool; the destinations of the page (webrtc/connects/order) stay compared.",
"reason":"Whether a connection that resumes a session carried a request at all follows the ticket and the pool: an origin had one in a run and none in the other (seed 2 and seed 4 on Linux, h1: 108 leaves each), so what is under it is compared where both runs have a resumption and excused where only one has. The fresh connections (wire/connections) and the protocols stay compared always.",
"aa_run":"44982522362 (linux)"
},
{
"pattern":"seeds/*/h3/wire/resumed_connections",
"optional":true,
"reason":"The same for the HTTP/3 site's resumed connection.",
"reason":"The engine sends an ECH extension with no real configuration (GREASE) and picks its AEAD at random for each ClientHello it builds, whether the handshake is fresh or resumed: NSS security/nss/lib/ssl/tls13ech.c:2257, `aead = (rawData->data[0] & 1) ? HpkeAeadAes128Gcm : HpkeAeadChaCha20Poly1305;` where rawData is HKDF output of a freshly generated key (tls13_MaybeGreaseEch, called from ssl3con.c:5888 for every ClientHello that has no real ECH, with or without a pre_shared_key). 1 (AES-128-GCM) or 3 (ChaCha20-Poly1305): Windows h2 first connection 1 then 3, h1 3 then 1, both values inside one run; resumed h1 connections 3 and 1 (seeds 2 and 4 on Windows, seed 63 on Linux). The rest of the extension (type, kdf, enc and payload lengths) stays compared.",
"aa_run":"44946411675 and 44982522362 (linux, windows)"
"reason":"The same ECH GREASE draw (tls13ech.c:2257) on the TLS connection of the HTTP/3 site (the HTTP/2 connection that opens before QUIC): 1 in one run and 3 in the other, on Linux and on Windows.",
"aa_run":"44946411675 and 44982522362 (linux, windows)"
"reason":"Seed 6 is at 1.25. The bar of a main window, client top to content top, is 106 device px in retail Firefox 159 on Windows, measured by the core's retail window-geometry capture workflow (rounds 2 and 3, runs 45672953042 and 45679625406), not the 107 that the published engine's core declares; the candidate's core computes it with window_frame.chrome_height_device(1.25, 'normal'), which rounds the tab strip, the nav bar and the content border once, on the sum in app units (_offset_device), and the page gets 106 device px = 84.8 CSS px. This leaf: the distinct (screenY - clientY) that a mousemove event of the page was seen with, in CSS px: the bar above the content as the page reads it from a pointer event."
"reason":"Seed 6 is at 1.25. The bar of a main window, client top to content top, is 106 device px in retail Firefox 159 on Windows, measured by the core's retail window-geometry capture workflow (rounds 2 and 3, runs 45672953042 and 45679625406), not the 107 that the published engine's core declares; the candidate's core computes it with window_frame.chrome_height_device(1.25, 'normal'), which rounds the tab strip, the nav bar and the content border once, on the sum in app units (_offset_device), and the page gets 106 device px = 84.8 CSS px. This leaf: window.innerHeight, the viewport height in CSS px."
"reason":"Seed 6 is at 1.25. The bar of a main window, client top to content top, is 106 device px in retail Firefox 159 on Windows, measured by the core's retail window-geometry capture workflow (rounds 2 and 3, runs 45672953042 and 45679625406), not the 107 that the published engine's core declares; the candidate's core computes it with window_frame.chrome_height_device(1.25, 'normal'), which rounds the tab strip, the nav bar and the content border once, on the sum in app units (_offset_device), and the page gets 106 device px = 84.8 CSS px. This leaf: window.mozInnerScreenY, the screen Y of the content's top in CSS px (the bar above the content)."
},
{
"id":"linux-seed6-state.normal.events.mousemove",
"os":"linux",
"seed":6,
"dpr":1.25,
"leaf":"state.normal.events.mousemove",
"published":[
[
0,
86
],
[
0,
85
]
],
"candidate":[
[
0,
85
],
[
0,
84
]
],
"reason":"Seed 6 is at 1.25. The bar of a main window, client top to content top, is 106 device px in retail Firefox 159 on Windows, measured by the core's retail window-geometry capture workflow (rounds 2 and 3, runs 45672953042 and 45679625406), not the 107 that the published engine's core declares; the candidate's core computes it with window_frame.chrome_height_device(1.25, 'normal'), which rounds the tab strip, the nav bar and the content border once, on the sum in app units (_offset_device), and the page gets 106 device px = 84.8 CSS px. This leaf: the distinct (screenY - clientY) that a mousemove event of the page was seen with, in CSS px: the bar above the content as the page reads it from a pointer event."
},
{
"id":"linux-seed6-state.normal.innerHeight",
"os":"linux",
"seed":6,
"dpr":1.25,
"leaf":"state.normal.innerHeight",
"published":730,
"candidate":731,
"reason":"Seed 6 is at 1.25. The bar of a main window, client top to content top, is 106 device px in retail Firefox 159 on Windows, measured by the core's retail window-geometry capture workflow (rounds 2 and 3, runs 45672953042 and 45679625406), not the 107 that the published engine's core declares; the candidate's core computes it with window_frame.chrome_height_device(1.25, 'normal'), which rounds the tab strip, the nav bar and the content border once, on the sum in app units (_offset_device), and the page gets 106 device px = 84.8 CSS px. This leaf: window.innerHeight, the viewport height in CSS px."
},
{
"id":"linux-seed6-state.normal.mozInnerScreenY",
"os":"linux",
"seed":6,
"dpr":1.25,
"leaf":"state.normal.mozInnerScreenY",
"published":85.5999984741211,
"candidate":84.80000305175781,
"reason":"Seed 6 is at 1.25. The bar of a main window, client top to content top, is 106 device px in retail Firefox 159 on Windows, measured by the core's retail window-geometry capture workflow (rounds 2 and 3, runs 45672953042 and 45679625406), not the 107 that the published engine's core declares; the candidate's core computes it with window_frame.chrome_height_device(1.25, 'normal'), which rounds the tab strip, the nav bar and the content border once, on the sum in app units (_offset_device), and the page gets 106 device px = 84.8 CSS px. This leaf: window.mozInnerScreenY, the screen Y of the content's top in CSS px (the bar above the content)."
},
{
"id":"linux-seed6-surface.visualViewport.height",
"os":"linux",
"seed":6,
"dpr":1.25,
"leaf":"surface.visualViewport.height",
"published":730.4000244140625,
"candidate":731.2000122070312,
"reason":"Seed 6 is at 1.25. The bar of a main window, client top to content top, is 106 device px in retail Firefox 159 on Windows, measured by the core's retail window-geometry capture workflow (rounds 2 and 3, runs 45672953042 and 45679625406), not the 107 that the published engine's core declares; the candidate's core computes it with window_frame.chrome_height_device(1.25, 'normal'), which rounds the tab strip, the nav bar and the content border once, on the sum in app units (_offset_device), and the page gets 106 device px = 84.8 CSS px. This leaf: visualViewport.height, the viewport height in CSS px."
},
{
"id":"linux-seed6-surface.window.innerHeight",
"os":"linux",
"seed":6,
"dpr":1.25,
"leaf":"surface.window.innerHeight",
"published":730,
"candidate":731,
"reason":"Seed 6 is at 1.25. The bar of a main window, client top to content top, is 106 device px in retail Firefox 159 on Windows, measured by the core's retail window-geometry capture workflow (rounds 2 and 3, runs 45672953042 and 45679625406), not the 107 that the published engine's core declares; the candidate's core computes it with window_frame.chrome_height_device(1.25, 'normal'), which rounds the tab strip, the nav bar and the content border once, on the sum in app units (_offset_device), and the page gets 106 device px = 84.8 CSS px. This leaf: window.innerHeight, the viewport height in CSS px."
"reason":"Seed 6 is at 1.25. The bar of a main window, client top to content top, is 106 device px in retail Firefox 159 on Windows, measured by the core's retail window-geometry capture workflow (rounds 2 and 3, runs 45672953042 and 45679625406), not the 107 that the published engine's core declares; the candidate's core computes it with window_frame.chrome_height_device(1.25, 'normal'), which rounds the tab strip, the nav bar and the content border once, on the sum in app units (_offset_device), and the page gets 106 device px = 84.8 CSS px. This leaf: window.mozInnerScreenY, the screen Y of the content's top in CSS px (the bar above the content)."
"reason":"Seed 63 is at 1.5, and the work area of its screen is under 720 CSS px high (about 693 on a 1920x1080 panel), so retail Firefox 159 chooses the compact density by itself (browser.js gUIDensity: compact while 36 CSS px over the reference height is more than browser.compactmode.auto.threshold 0.05, that is below 720 CSS px; RetailCaptures analysis/window-geometry/chrome-density; retail Firefox 159 on Windows, measured by the core's retail window-geometry capture workflow (rounds 2 and 3, runs 45672953042 and 45679625406)). The bar is the compact 109 device px = 73 CSS px, not the normal 127 device px = 85 CSS px that the published engine's core declares: the core's constants.ui_density and declared_maximized_ui pick the density, window_frame.chrome_height_device(1.5, 'compact') gives the bar. This leaf: the distinct (screenY - clientY) that a click event of the page was seen with, in CSS px: the bar above the content as the page reads it from a pointer event."
"reason":"Seed 63 is at 1.5, and the work area of its screen is under 720 CSS px high (about 693 on a 1920x1080 panel), so retail Firefox 159 chooses the compact density by itself (browser.js gUIDensity: compact while 36 CSS px over the reference height is more than browser.compactmode.auto.threshold 0.05, that is below 720 CSS px; RetailCaptures analysis/window-geometry/chrome-density; retail Firefox 159 on Windows, measured by the core's retail window-geometry capture workflow (rounds 2 and 3, runs 45672953042 and 45679625406)). The bar is the compact 109 device px = 73 CSS px, not the normal 127 device px = 85 CSS px that the published engine's core declares: the core's constants.ui_density and declared_maximized_ui pick the density, window_frame.chrome_height_device(1.5, 'compact') gives the bar. This leaf: the distinct (screenY - clientY) that a mousedown event of the page was seen with, in CSS px: the bar above the content as the page reads it from a pointer event."
"reason":"Seed 63 is at 1.5, and the work area of its screen is under 720 CSS px high (about 693 on a 1920x1080 panel), so retail Firefox 159 chooses the compact density by itself (browser.js gUIDensity: compact while 36 CSS px over the reference height is more than browser.compactmode.auto.threshold 0.05, that is below 720 CSS px; RetailCaptures analysis/window-geometry/chrome-density; retail Firefox 159 on Windows, measured by the core's retail window-geometry capture workflow (rounds 2 and 3, runs 45672953042 and 45679625406)). The bar is the compact 109 device px = 73 CSS px, not the normal 127 device px = 85 CSS px that the published engine's core declares: the core's constants.ui_density and declared_maximized_ui pick the density, window_frame.chrome_height_device(1.5, 'compact') gives the bar. This leaf: the distinct (screenY - clientY) that a mousemove event of the page was seen with, in CSS px: the bar above the content as the page reads it from a pointer event."
"reason":"Seed 63 is at 1.5, and the work area of its screen is under 720 CSS px high (about 693 on a 1920x1080 panel), so retail Firefox 159 chooses the compact density by itself (browser.js gUIDensity: compact while 36 CSS px over the reference height is more than browser.compactmode.auto.threshold 0.05, that is below 720 CSS px; RetailCaptures analysis/window-geometry/chrome-density; retail Firefox 159 on Windows, measured by the core's retail window-geometry capture workflow (rounds 2 and 3, runs 45672953042 and 45679625406)). The bar is the compact 109 device px = 73 CSS px, not the normal 127 device px = 85 CSS px that the published engine's core declares: the core's constants.ui_density and declared_maximized_ui pick the density, window_frame.chrome_height_device(1.5, 'compact') gives the bar. This leaf: the distinct (screenY - clientY) that a mouseup event of the page was seen with, in CSS px: the bar above the content as the page reads it from a pointer event."
"reason":"Seed 63 is at 1.5, and the work area of its screen is under 720 CSS px high (about 693 on a 1920x1080 panel), so retail Firefox 159 chooses the compact density by itself (browser.js gUIDensity: compact while 36 CSS px over the reference height is more than browser.compactmode.auto.threshold 0.05, that is below 720 CSS px; RetailCaptures analysis/window-geometry/chrome-density; retail Firefox 159 on Windows, measured by the core's retail window-geometry capture workflow (rounds 2 and 3, runs 45672953042 and 45679625406)). The bar is the compact 109 device px = 73 CSS px, not the normal 127 device px = 85 CSS px that the published engine's core declares: the core's constants.ui_density and declared_maximized_ui pick the density, window_frame.chrome_height_device(1.5, 'compact') gives the bar. This leaf: window.innerHeight, the viewport height in CSS px."
"reason":"Seed 63 is at 1.5, and the work area of its screen is under 720 CSS px high (about 693 on a 1920x1080 panel), so retail Firefox 159 chooses the compact density by itself (browser.js gUIDensity: compact while 36 CSS px over the reference height is more than browser.compactmode.auto.threshold 0.05, that is below 720 CSS px; RetailCaptures analysis/window-geometry/chrome-density; retail Firefox 159 on Windows, measured by the core's retail window-geometry capture workflow (rounds 2 and 3, runs 45672953042 and 45679625406)). The bar is the compact 109 device px = 73 CSS px, not the normal 127 device px = 85 CSS px that the published engine's core declares: the core's constants.ui_density and declared_maximized_ui pick the density, window_frame.chrome_height_device(1.5, 'compact') gives the bar. This leaf: window.mozInnerScreenY, the screen Y of the content's top in CSS px (the bar above the content)."
},
{
"id":"linux-seed63-state.normal.events.click",
"os":"linux",
"seed":63,
"dpr":1.5,
"leaf":"state.normal.events.click",
"published":[
[
0,
85
]
],
"candidate":[
[
0,
73
]
],
"reason":"Seed 63 is at 1.5, and the work area of its screen is under 720 CSS px high (about 693 on a 1920x1080 panel), so retail Firefox 159 chooses the compact density by itself (browser.js gUIDensity: compact while 36 CSS px over the reference height is more than browser.compactmode.auto.threshold 0.05, that is below 720 CSS px; RetailCaptures analysis/window-geometry/chrome-density; retail Firefox 159 on Windows, measured by the core's retail window-geometry capture workflow (rounds 2 and 3, runs 45672953042 and 45679625406)). The bar is the compact 109 device px = 73 CSS px, not the normal 127 device px = 85 CSS px that the published engine's core declares: the core's constants.ui_density and declared_maximized_ui pick the density, window_frame.chrome_height_device(1.5, 'compact') gives the bar. This leaf: the distinct (screenY - clientY) that a click event of the page was seen with, in CSS px: the bar above the content as the page reads it from a pointer event."
"reason":"Seed 63 is at 1.5, and the work area of its screen is under 720 CSS px high (about 693 on a 1920x1080 panel), so retail Firefox 159 chooses the compact density by itself (browser.js gUIDensity: compact while 36 CSS px over the reference height is more than browser.compactmode.auto.threshold 0.05, that is below 720 CSS px; RetailCaptures analysis/window-geometry/chrome-density; retail Firefox 159 on Windows, measured by the core's retail window-geometry capture workflow (rounds 2 and 3, runs 45672953042 and 45679625406)). The bar is the compact 109 device px = 73 CSS px, not the normal 127 device px = 85 CSS px that the published engine's core declares: the core's constants.ui_density and declared_maximized_ui pick the density, window_frame.chrome_height_device(1.5, 'compact') gives the bar. This leaf: the distinct (screenY - clientY) that a mousedown event of the page was seen with, in CSS px: the bar above the content as the page reads it from a pointer event."
"reason":"Seed 63 is at 1.5, and the work area of its screen is under 720 CSS px high (about 693 on a 1920x1080 panel), so retail Firefox 159 chooses the compact density by itself (browser.js gUIDensity: compact while 36 CSS px over the reference height is more than browser.compactmode.auto.threshold 0.05, that is below 720 CSS px; RetailCaptures analysis/window-geometry/chrome-density; retail Firefox 159 on Windows, measured by the core's retail window-geometry capture workflow (rounds 2 and 3, runs 45672953042 and 45679625406)). The bar is the compact 109 device px = 73 CSS px, not the normal 127 device px = 85 CSS px that the published engine's core declares: the core's constants.ui_density and declared_maximized_ui pick the density, window_frame.chrome_height_device(1.5, 'compact') gives the bar. This leaf: the distinct (screenY - clientY) that a mousemove event of the page was seen with, in CSS px: the bar above the content as the page reads it from a pointer event."
},
{
"id":"linux-seed63-state.normal.events.mouseup",
"os":"linux",
"seed":63,
"dpr":1.5,
"leaf":"state.normal.events.mouseup",
"published":[
[
0,
85
]
],
"candidate":[
[
0,
73
]
],
"reason":"Seed 63 is at 1.5, and the work area of its screen is under 720 CSS px high (about 693 on a 1920x1080 panel), so retail Firefox 159 chooses the compact density by itself (browser.js gUIDensity: compact while 36 CSS px over the reference height is more than browser.compactmode.auto.threshold 0.05, that is below 720 CSS px; RetailCaptures analysis/window-geometry/chrome-density; retail Firefox 159 on Windows, measured by the core's retail window-geometry capture workflow (rounds 2 and 3, runs 45672953042 and 45679625406)). The bar is the compact 109 device px = 73 CSS px, not the normal 127 device px = 85 CSS px that the published engine's core declares: the core's constants.ui_density and declared_maximized_ui pick the density, window_frame.chrome_height_device(1.5, 'compact') gives the bar. This leaf: the distinct (screenY - clientY) that a mouseup event of the page was seen with, in CSS px: the bar above the content as the page reads it from a pointer event."
},
{
"id":"linux-seed63-state.normal.innerHeight",
"os":"linux",
"seed":63,
"dpr":1.5,
"leaf":"state.normal.innerHeight",
"published":587,
"candidate":599,
"reason":"Seed 63 is at 1.5, and the work area of its screen is under 720 CSS px high (about 693 on a 1920x1080 panel), so retail Firefox 159 chooses the compact density by itself (browser.js gUIDensity: compact while 36 CSS px over the reference height is more than browser.compactmode.auto.threshold 0.05, that is below 720 CSS px; RetailCaptures analysis/window-geometry/chrome-density; retail Firefox 159 on Windows, measured by the core's retail window-geometry capture workflow (rounds 2 and 3, runs 45672953042 and 45679625406)). The bar is the compact 109 device px = 73 CSS px, not the normal 127 device px = 85 CSS px that the published engine's core declares: the core's constants.ui_density and declared_maximized_ui pick the density, window_frame.chrome_height_device(1.5, 'compact') gives the bar. This leaf: window.innerHeight, the viewport height in CSS px."
},
{
"id":"linux-seed63-state.normal.mozInnerScreenY",
"os":"linux",
"seed":63,
"dpr":1.5,
"leaf":"state.normal.mozInnerScreenY",
"published":84.66666412353516,
"candidate":72.66666412353516,
"reason":"Seed 63 is at 1.5, and the work area of its screen is under 720 CSS px high (about 693 on a 1920x1080 panel), so retail Firefox 159 chooses the compact density by itself (browser.js gUIDensity: compact while 36 CSS px over the reference height is more than browser.compactmode.auto.threshold 0.05, that is below 720 CSS px; RetailCaptures analysis/window-geometry/chrome-density; retail Firefox 159 on Windows, measured by the core's retail window-geometry capture workflow (rounds 2 and 3, runs 45672953042 and 45679625406)). The bar is the compact 109 device px = 73 CSS px, not the normal 127 device px = 85 CSS px that the published engine's core declares: the core's constants.ui_density and declared_maximized_ui pick the density, window_frame.chrome_height_device(1.5, 'compact') gives the bar. This leaf: window.mozInnerScreenY, the screen Y of the content's top in CSS px (the bar above the content)."
"reason":"Seed 63 is at 1.5, and the work area of its screen is under 720 CSS px high (about 693 on a 1920x1080 panel), so retail Firefox 159 chooses the compact density by itself (browser.js gUIDensity: compact while 36 CSS px over the reference height is more than browser.compactmode.auto.threshold 0.05, that is below 720 CSS px; RetailCaptures analysis/window-geometry/chrome-density; retail Firefox 159 on Windows, measured by the core's retail window-geometry capture workflow (rounds 2 and 3, runs 45672953042 and 45679625406)). The bar is the compact 109 device px = 73 CSS px, not the normal 127 device px = 85 CSS px that the published engine's core declares: the core's constants.ui_density and declared_maximized_ui pick the density, window_frame.chrome_height_device(1.5, 'compact') gives the bar. This leaf: visualViewport.height, the viewport height in CSS px."
},
{
"id":"linux-seed63-surface.window.innerHeight",
"os":"linux",
"seed":63,
"dpr":1.5,
"leaf":"surface.window.innerHeight",
"published":587,
"candidate":599,
"reason":"Seed 63 is at 1.5, and the work area of its screen is under 720 CSS px high (about 693 on a 1920x1080 panel), so retail Firefox 159 chooses the compact density by itself (browser.js gUIDensity: compact while 36 CSS px over the reference height is more than browser.compactmode.auto.threshold 0.05, that is below 720 CSS px; RetailCaptures analysis/window-geometry/chrome-density; retail Firefox 159 on Windows, measured by the core's retail window-geometry capture workflow (rounds 2 and 3, runs 45672953042 and 45679625406)). The bar is the compact 109 device px = 73 CSS px, not the normal 127 device px = 85 CSS px that the published engine's core declares: the core's constants.ui_density and declared_maximized_ui pick the density, window_frame.chrome_height_device(1.5, 'compact') gives the bar. This leaf: window.innerHeight, the viewport height in CSS px."
"reason":"Seed 63 is at 1.5, and the work area of its screen is under 720 CSS px high (about 693 on a 1920x1080 panel), so retail Firefox 159 chooses the compact density by itself (browser.js gUIDensity: compact while 36 CSS px over the reference height is more than browser.compactmode.auto.threshold 0.05, that is below 720 CSS px; RetailCaptures analysis/window-geometry/chrome-density; retail Firefox 159 on Windows, measured by the core's retail window-geometry capture workflow (rounds 2 and 3, runs 45672953042 and 45679625406)). The bar is the compact 109 device px = 73 CSS px, not the normal 127 device px = 85 CSS px that the published engine's core declares: the core's constants.ui_density and declared_maximized_ui pick the density, window_frame.chrome_height_device(1.5, 'compact') gives the bar. This leaf: window.mozInnerScreenY, the screen Y of the content's top in CSS px (the bar above the content)."
"reason":"Seed 6 is at 1.25. The bar of a main window, client top to content top, is 106 device px in retail Firefox 159 on Windows, measured by the core's retail window-geometry capture workflow (rounds 2 and 3, runs 45672953042 and 45679625406), not the 107 that the published engine's core declares; the candidate's core computes it with window_frame.chrome_height_device(1.25, 'normal'), which rounds the tab strip, the nav bar and the content border once, on the sum in app units (_offset_device), and the page gets 106 device px = 84.8 CSS px. This leaf: the distinct (screenY - clientY) that a mousemove event of the page was seen with, in CSS px: the bar above the content as the page reads it from a pointer event."
"reason":"Seed 6 is at 1.25. The bar of a main window, client top to content top, is 106 device px in retail Firefox 159 on Windows, measured by the core's retail window-geometry capture workflow (rounds 2 and 3, runs 45672953042 and 45679625406), not the 107 that the published engine's core declares; the candidate's core computes it with window_frame.chrome_height_device(1.25, 'normal'), which rounds the tab strip, the nav bar and the content border once, on the sum in app units (_offset_device), and the page gets 106 device px = 84.8 CSS px. This leaf: window.innerHeight, the viewport height in CSS px."
"reason":"Seed 6 is at 1.25. The bar of a main window, client top to content top, is 106 device px in retail Firefox 159 on Windows, measured by the core's retail window-geometry capture workflow (rounds 2 and 3, runs 45672953042 and 45679625406), not the 107 that the published engine's core declares; the candidate's core computes it with window_frame.chrome_height_device(1.25, 'normal'), which rounds the tab strip, the nav bar and the content border once, on the sum in app units (_offset_device), and the page gets 106 device px = 84.8 CSS px. This leaf: window.mozInnerScreenY, the screen Y of the content's top in CSS px (the bar above the content)."
"reason":"Seed 6 is at 1.25. The bar of a main window, client top to content top, is 106 device px in retail Firefox 159 on Windows, measured by the core's retail window-geometry capture workflow (rounds 2 and 3, runs 45672953042 and 45679625406), not the 107 that the published engine's core declares; the candidate's core computes it with window_frame.chrome_height_device(1.25, 'normal'), which rounds the tab strip, the nav bar and the content border once, on the sum in app units (_offset_device), and the page gets 106 device px = 84.8 CSS px. This leaf: the distinct (screenY - clientY) that a mousemove event of the page was seen with, in CSS px: the bar above the content as the page reads it from a pointer event."
},
{
"id":"windows-seed6-state.normal.innerHeight",
"os":"windows",
"seed":6,
"dpr":1.25,
"leaf":"state.normal.innerHeight",
"published":730,
"candidate":731,
"reason":"Seed 6 is at 1.25. The bar of a main window, client top to content top, is 106 device px in retail Firefox 159 on Windows, measured by the core's retail window-geometry capture workflow (rounds 2 and 3, runs 45672953042 and 45679625406), not the 107 that the published engine's core declares; the candidate's core computes it with window_frame.chrome_height_device(1.25, 'normal'), which rounds the tab strip, the nav bar and the content border once, on the sum in app units (_offset_device), and the page gets 106 device px = 84.8 CSS px. This leaf: window.innerHeight, the viewport height in CSS px."
"reason":"Seed 6 is at 1.25. The bar of a main window, client top to content top, is 106 device px in retail Firefox 159 on Windows, measured by the core's retail window-geometry capture workflow (rounds 2 and 3, runs 45672953042 and 45679625406), not the 107 that the published engine's core declares; the candidate's core computes it with window_frame.chrome_height_device(1.25, 'normal'), which rounds the tab strip, the nav bar and the content border once, on the sum in app units (_offset_device), and the page gets 106 device px = 84.8 CSS px. This leaf: window.mozInnerScreenY, the screen Y of the content's top in CSS px (the bar above the content)."
"reason":"Seed 6 is at 1.25. The bar of a main window, client top to content top, is 106 device px in retail Firefox 159 on Windows, measured by the core's retail window-geometry capture workflow (rounds 2 and 3, runs 45672953042 and 45679625406), not the 107 that the published engine's core declares; the candidate's core computes it with window_frame.chrome_height_device(1.25, 'normal'), which rounds the tab strip, the nav bar and the content border once, on the sum in app units (_offset_device), and the page gets 106 device px = 84.8 CSS px. This leaf: visualViewport.height, the viewport height in CSS px."
},
{
"id":"windows-seed6-surface.window.innerHeight",
"os":"windows",
"seed":6,
"dpr":1.25,
"leaf":"surface.window.innerHeight",
"published":730,
"candidate":731,
"reason":"Seed 6 is at 1.25. The bar of a main window, client top to content top, is 106 device px in retail Firefox 159 on Windows, measured by the core's retail window-geometry capture workflow (rounds 2 and 3, runs 45672953042 and 45679625406), not the 107 that the published engine's core declares; the candidate's core computes it with window_frame.chrome_height_device(1.25, 'normal'), which rounds the tab strip, the nav bar and the content border once, on the sum in app units (_offset_device), and the page gets 106 device px = 84.8 CSS px. This leaf: window.innerHeight, the viewport height in CSS px."
"reason":"Seed 6 is at 1.25. The bar of a main window, client top to content top, is 106 device px in retail Firefox 159 on Windows, measured by the core's retail window-geometry capture workflow (rounds 2 and 3, runs 45672953042 and 45679625406), not the 107 that the published engine's core declares; the candidate's core computes it with window_frame.chrome_height_device(1.25, 'normal'), which rounds the tab strip, the nav bar and the content border once, on the sum in app units (_offset_device), and the page gets 106 device px = 84.8 CSS px. This leaf: window.mozInnerScreenY, the screen Y of the content's top in CSS px (the bar above the content)."
"reason":"Seed 63 is at 1.5, and the work area of its screen is under 720 CSS px high (about 693 on a 1920x1080 panel), so retail Firefox 159 chooses the compact density by itself (browser.js gUIDensity: compact while 36 CSS px over the reference height is more than browser.compactmode.auto.threshold 0.05, that is below 720 CSS px; RetailCaptures analysis/window-geometry/chrome-density; retail Firefox 159 on Windows, measured by the core's retail window-geometry capture workflow (rounds 2 and 3, runs 45672953042 and 45679625406)). The bar is the compact 109 device px = 73 CSS px, not the normal 127 device px = 85 CSS px that the published engine's core declares: the core's constants.ui_density and declared_maximized_ui pick the density, window_frame.chrome_height_device(1.5, 'compact') gives the bar. This leaf: the distinct (screenY - clientY) that a click event of the page was seen with, in CSS px: the bar above the content as the page reads it from a pointer event."
"reason":"Seed 63 is at 1.5, and the work area of its screen is under 720 CSS px high (about 693 on a 1920x1080 panel), so retail Firefox 159 chooses the compact density by itself (browser.js gUIDensity: compact while 36 CSS px over the reference height is more than browser.compactmode.auto.threshold 0.05, that is below 720 CSS px; RetailCaptures analysis/window-geometry/chrome-density; retail Firefox 159 on Windows, measured by the core's retail window-geometry capture workflow (rounds 2 and 3, runs 45672953042 and 45679625406)). The bar is the compact 109 device px = 73 CSS px, not the normal 127 device px = 85 CSS px that the published engine's core declares: the core's constants.ui_density and declared_maximized_ui pick the density, window_frame.chrome_height_device(1.5, 'compact') gives the bar. This leaf: the distinct (screenY - clientY) that a mousedown event of the page was seen with, in CSS px: the bar above the content as the page reads it from a pointer event."
"reason":"Seed 63 is at 1.5, and the work area of its screen is under 720 CSS px high (about 693 on a 1920x1080 panel), so retail Firefox 159 chooses the compact density by itself (browser.js gUIDensity: compact while 36 CSS px over the reference height is more than browser.compactmode.auto.threshold 0.05, that is below 720 CSS px; RetailCaptures analysis/window-geometry/chrome-density; retail Firefox 159 on Windows, measured by the core's retail window-geometry capture workflow (rounds 2 and 3, runs 45672953042 and 45679625406)). The bar is the compact 109 device px = 73 CSS px, not the normal 127 device px = 85 CSS px that the published engine's core declares: the core's constants.ui_density and declared_maximized_ui pick the density, window_frame.chrome_height_device(1.5, 'compact') gives the bar. This leaf: the distinct (screenY - clientY) that a mousemove event of the page was seen with, in CSS px: the bar above the content as the page reads it from a pointer event."
"reason":"Seed 63 is at 1.5, and the work area of its screen is under 720 CSS px high (about 693 on a 1920x1080 panel), so retail Firefox 159 chooses the compact density by itself (browser.js gUIDensity: compact while 36 CSS px over the reference height is more than browser.compactmode.auto.threshold 0.05, that is below 720 CSS px; RetailCaptures analysis/window-geometry/chrome-density; retail Firefox 159 on Windows, measured by the core's retail window-geometry capture workflow (rounds 2 and 3, runs 45672953042 and 45679625406)). The bar is the compact 109 device px = 73 CSS px, not the normal 127 device px = 85 CSS px that the published engine's core declares: the core's constants.ui_density and declared_maximized_ui pick the density, window_frame.chrome_height_device(1.5, 'compact') gives the bar. This leaf: the distinct (screenY - clientY) that a mouseup event of the page was seen with, in CSS px: the bar above the content as the page reads it from a pointer event."
"reason":"Seed 63 is at 1.5, and the work area of its screen is under 720 CSS px high (about 693 on a 1920x1080 panel), so retail Firefox 159 chooses the compact density by itself (browser.js gUIDensity: compact while 36 CSS px over the reference height is more than browser.compactmode.auto.threshold 0.05, that is below 720 CSS px; RetailCaptures analysis/window-geometry/chrome-density; retail Firefox 159 on Windows, measured by the core's retail window-geometry capture workflow (rounds 2 and 3, runs 45672953042 and 45679625406)). The bar is the compact 109 device px = 73 CSS px, not the normal 127 device px = 85 CSS px that the published engine's core declares: the core's constants.ui_density and declared_maximized_ui pick the density, window_frame.chrome_height_device(1.5, 'compact') gives the bar. This leaf: window.innerHeight, the viewport height in CSS px."
"reason":"Seed 63 is at 1.5, and the work area of its screen is under 720 CSS px high (about 693 on a 1920x1080 panel), so retail Firefox 159 chooses the compact density by itself (browser.js gUIDensity: compact while 36 CSS px over the reference height is more than browser.compactmode.auto.threshold 0.05, that is below 720 CSS px; RetailCaptures analysis/window-geometry/chrome-density; retail Firefox 159 on Windows, measured by the core's retail window-geometry capture workflow (rounds 2 and 3, runs 45672953042 and 45679625406)). The bar is the compact 109 device px = 73 CSS px, not the normal 127 device px = 85 CSS px that the published engine's core declares: the core's constants.ui_density and declared_maximized_ui pick the density, window_frame.chrome_height_device(1.5, 'compact') gives the bar. This leaf: window.mozInnerScreenY, the screen Y of the content's top in CSS px (the bar above the content)."
},
{
"id":"windows-seed63-state.normal.events.click",
"os":"windows",
"seed":63,
"dpr":1.5,
"leaf":"state.normal.events.click",
"published":[
[
0,
85
]
],
"candidate":[
[
0,
73
]
],
"reason":"Seed 63 is at 1.5, and the work area of its screen is under 720 CSS px high (about 693 on a 1920x1080 panel), so retail Firefox 159 chooses the compact density by itself (browser.js gUIDensity: compact while 36 CSS px over the reference height is more than browser.compactmode.auto.threshold 0.05, that is below 720 CSS px; RetailCaptures analysis/window-geometry/chrome-density; retail Firefox 159 on Windows, measured by the core's retail window-geometry capture workflow (rounds 2 and 3, runs 45672953042 and 45679625406)). The bar is the compact 109 device px = 73 CSS px, not the normal 127 device px = 85 CSS px that the published engine's core declares: the core's constants.ui_density and declared_maximized_ui pick the density, window_frame.chrome_height_device(1.5, 'compact') gives the bar. This leaf: the distinct (screenY - clientY) that a click event of the page was seen with, in CSS px: the bar above the content as the page reads it from a pointer event."
"reason":"Seed 63 is at 1.5, and the work area of its screen is under 720 CSS px high (about 693 on a 1920x1080 panel), so retail Firefox 159 chooses the compact density by itself (browser.js gUIDensity: compact while 36 CSS px over the reference height is more than browser.compactmode.auto.threshold 0.05, that is below 720 CSS px; RetailCaptures analysis/window-geometry/chrome-density; retail Firefox 159 on Windows, measured by the core's retail window-geometry capture workflow (rounds 2 and 3, runs 45672953042 and 45679625406)). The bar is the compact 109 device px = 73 CSS px, not the normal 127 device px = 85 CSS px that the published engine's core declares: the core's constants.ui_density and declared_maximized_ui pick the density, window_frame.chrome_height_device(1.5, 'compact') gives the bar. This leaf: the distinct (screenY - clientY) that a mousedown event of the page was seen with, in CSS px: the bar above the content as the page reads it from a pointer event."
"reason":"Seed 63 is at 1.5, and the work area of its screen is under 720 CSS px high (about 693 on a 1920x1080 panel), so retail Firefox 159 chooses the compact density by itself (browser.js gUIDensity: compact while 36 CSS px over the reference height is more than browser.compactmode.auto.threshold 0.05, that is below 720 CSS px; RetailCaptures analysis/window-geometry/chrome-density; retail Firefox 159 on Windows, measured by the core's retail window-geometry capture workflow (rounds 2 and 3, runs 45672953042 and 45679625406)). The bar is the compact 109 device px = 73 CSS px, not the normal 127 device px = 85 CSS px that the published engine's core declares: the core's constants.ui_density and declared_maximized_ui pick the density, window_frame.chrome_height_device(1.5, 'compact') gives the bar. This leaf: the distinct (screenY - clientY) that a mousemove event of the page was seen with, in CSS px: the bar above the content as the page reads it from a pointer event."
"reason":"Seed 63 is at 1.5, and the work area of its screen is under 720 CSS px high (about 693 on a 1920x1080 panel), so retail Firefox 159 chooses the compact density by itself (browser.js gUIDensity: compact while 36 CSS px over the reference height is more than browser.compactmode.auto.threshold 0.05, that is below 720 CSS px; RetailCaptures analysis/window-geometry/chrome-density; retail Firefox 159 on Windows, measured by the core's retail window-geometry capture workflow (rounds 2 and 3, runs 45672953042 and 45679625406)). The bar is the compact 109 device px = 73 CSS px, not the normal 127 device px = 85 CSS px that the published engine's core declares: the core's constants.ui_density and declared_maximized_ui pick the density, window_frame.chrome_height_device(1.5, 'compact') gives the bar. This leaf: the distinct (screenY - clientY) that a mouseup event of the page was seen with, in CSS px: the bar above the content as the page reads it from a pointer event."
},
{
"id":"windows-seed63-state.normal.innerHeight",
"os":"windows",
"seed":63,
"dpr":1.5,
"leaf":"state.normal.innerHeight",
"published":587,
"candidate":599,
"reason":"Seed 63 is at 1.5, and the work area of its screen is under 720 CSS px high (about 693 on a 1920x1080 panel), so retail Firefox 159 chooses the compact density by itself (browser.js gUIDensity: compact while 36 CSS px over the reference height is more than browser.compactmode.auto.threshold 0.05, that is below 720 CSS px; RetailCaptures analysis/window-geometry/chrome-density; retail Firefox 159 on Windows, measured by the core's retail window-geometry capture workflow (rounds 2 and 3, runs 45672953042 and 45679625406)). The bar is the compact 109 device px = 73 CSS px, not the normal 127 device px = 85 CSS px that the published engine's core declares: the core's constants.ui_density and declared_maximized_ui pick the density, window_frame.chrome_height_device(1.5, 'compact') gives the bar. This leaf: window.innerHeight, the viewport height in CSS px."
"reason":"Seed 63 is at 1.5, and the work area of its screen is under 720 CSS px high (about 693 on a 1920x1080 panel), so retail Firefox 159 chooses the compact density by itself (browser.js gUIDensity: compact while 36 CSS px over the reference height is more than browser.compactmode.auto.threshold 0.05, that is below 720 CSS px; RetailCaptures analysis/window-geometry/chrome-density; retail Firefox 159 on Windows, measured by the core's retail window-geometry capture workflow (rounds 2 and 3, runs 45672953042 and 45679625406)). The bar is the compact 109 device px = 73 CSS px, not the normal 127 device px = 85 CSS px that the published engine's core declares: the core's constants.ui_density and declared_maximized_ui pick the density, window_frame.chrome_height_device(1.5, 'compact') gives the bar. This leaf: window.mozInnerScreenY, the screen Y of the content's top in CSS px (the bar above the content)."
"reason":"Seed 63 is at 1.5, and the work area of its screen is under 720 CSS px high (about 693 on a 1920x1080 panel), so retail Firefox 159 chooses the compact density by itself (browser.js gUIDensity: compact while 36 CSS px over the reference height is more than browser.compactmode.auto.threshold 0.05, that is below 720 CSS px; RetailCaptures analysis/window-geometry/chrome-density; retail Firefox 159 on Windows, measured by the core's retail window-geometry capture workflow (rounds 2 and 3, runs 45672953042 and 45679625406)). The bar is the compact 109 device px = 73 CSS px, not the normal 127 device px = 85 CSS px that the published engine's core declares: the core's constants.ui_density and declared_maximized_ui pick the density, window_frame.chrome_height_device(1.5, 'compact') gives the bar. This leaf: visualViewport.height, the viewport height in CSS px."
},
{
"id":"windows-seed63-surface.window.innerHeight",
"os":"windows",
"seed":63,
"dpr":1.5,
"leaf":"surface.window.innerHeight",
"published":587,
"candidate":599,
"reason":"Seed 63 is at 1.5, and the work area of its screen is under 720 CSS px high (about 693 on a 1920x1080 panel), so retail Firefox 159 chooses the compact density by itself (browser.js gUIDensity: compact while 36 CSS px over the reference height is more than browser.compactmode.auto.threshold 0.05, that is below 720 CSS px; RetailCaptures analysis/window-geometry/chrome-density; retail Firefox 159 on Windows, measured by the core's retail window-geometry capture workflow (rounds 2 and 3, runs 45672953042 and 45679625406)). The bar is the compact 109 device px = 73 CSS px, not the normal 127 device px = 85 CSS px that the published engine's core declares: the core's constants.ui_density and declared_maximized_ui pick the density, window_frame.chrome_height_device(1.5, 'compact') gives the bar. This leaf: window.innerHeight, the viewport height in CSS px."
"reason":"Seed 63 is at 1.5, and the work area of its screen is under 720 CSS px high (about 693 on a 1920x1080 panel), so retail Firefox 159 chooses the compact density by itself (browser.js gUIDensity: compact while 36 CSS px over the reference height is more than browser.compactmode.auto.threshold 0.05, that is below 720 CSS px; RetailCaptures analysis/window-geometry/chrome-density; retail Firefox 159 on Windows, measured by the core's retail window-geometry capture workflow (rounds 2 and 3, runs 45672953042 and 45679625406)). The bar is the compact 109 device px = 73 CSS px, not the normal 127 device px = 85 CSS px that the published engine's core declares: the core's constants.ui_density and declared_maximized_ui pick the density, window_frame.chrome_height_device(1.5, 'compact') gives the bar. This leaf: window.mozInnerScreenY, the screen Y of the content's top in CSS px (the bar above the content)."
"why":"at the exit of a -backgroundtask process the FSBroker thread unregisters from the profiler after the static destructors ran and locks a destroyed mutex"
"zoom.stealth.media.enumeration_ms":"the time of the first enumerateDevices(): a draw from its own stream, hundreds of values, no class of seeds to cover"
# Input of the gate lock; `python scripts/ci_py_lock.py` writes it and gate.txt from the sources below. Wrapper-owned (ci-03), read at the wrapper_ref.
# python-version: 3.11
# exclude-newer: 2026-11-25T00:00:00Z
# wrapper: pyproject.toml sha256 93d8d0940284352ad53e189e17b9ad6e3109ce52e54ab138ecdfa01d8571b193 (at generation); its dependencies without invisible_core, and its `dev` extra
# core: invisible_core==71.85.0, tag v71.85.0, pyproject.toml sha256 c0d14a4d26d3650005076ab72347eb24fba4b89e643f514e7f7334bd0a2ac174 (at generation); the core is a wheel of ours, only what it depends on is locked
# The PUBLISHED SET, the control side of the A/B oracles (scripts/ci_published_set.py): the last published invisible-playwright and the invisible-core it pins (its seal pins the engine). Written by `python scripts/ci_published_set.py resolve --write`; .github/workflows/published-set.yml keeps it equal to the index.
{"id":"wrapper.e2e.udp","giro":"G2","os":["linux","windows"],"min_tests":43,"exact":true,"tests":["tests/test_preload_newtab_turns_the_privileged_about_process_off_e2e.py","tests/test_the_association_is_ready_when_the_peerconnection_is_born_e2e.py","tests/test_turn_over_tcp_is_tried_for_real_e2e.py","tests/test_webrtc_realness.py::test_the_gather_is_real_without_a_proxy","tests/test_the_whole_udp_chain_by_name_e2e.py::test_a_turn_srflx_by_name_arrives_through_the_relay_when_the_exit_of_the_lab_is_loopback","tests/test_declared_host_network_e2e.py","tests/test_a_page_over_ipv6_gathers_on_a_machine_declared_without_it_e2e.py","tests/test_webrtc_realness.py::test_a_gateway_with_coherent_udp_gives_the_page_a_srflx_born_through_its_relay","tests/test_webrtc_realness.py::test_a_host_with_ipv6_addresses_gathers_through_an_ipv4_relay","tests/test_webrtc_realness.py::test_a_gateway_that_is_far_away_still_gives_the_page_a_srflx_born_through_its_relay","tests/test_webrtc_realness.py::test_the_first_candidate_of_a_gather_does_not_wait_for_a_gateway_that_is_far_away","tests/test_webrtc_realness.py::test_a_gather_after_the_page_loaded_through_the_gateway_costs_only_the_road_to_the_server","tests/test_webrtc_realness.py::test_two_contexts_with_two_proxies_each_gets_the_srflx_of_its_own","tests/test_webrtc_realness.py::test_the_turn_over_tcp_of_a_context_goes_through_the_proxy_of_that_context","tests/test_webrtc_realness.py::test_a_proxy_that_does_not_relay_udp_gives_no_srflx_at_all","tests/test_webrtc_realness.py::test_a_proxy_whose_udp_leaves_from_another_address_gives_no_srflx_at_all","tests/test_webrtc_realness.py::test_a_proxy_whose_relay_never_answers_gives_no_srflx_at_all"],"marker":"e2e","needs_root":false,"note":"Needs the candidate binary (STEALTHFOX_E2E_BINARY) and the engine that carries the UDP line. 57 = 1+7+6+1+21 from the five files + 21 from the 10 UDP-line tests of test_webrtc_realness.py (parametrized). The chain by name is here in its variant with the lab's exit on loopback (127.0.0.2) and the pref `media.peerconnection.ice.loopback`, on Linux and Windows: the exit of the lab is loopback, and a loopback mapped address is thrown away by nICEr unless the ICE context allows it. The variant without the pref (an exit that is not loopback) is the suite wrapper.e2e.udp.exit, Linux only; the address added to the interface of the Windows runner is work of the release after firefox-63. The preload_newtab test (2) is here: seen green on Linux as root (Docker) and on Windows 10 runs of 10 (windows-2022, round 5 engine); it reads the engine's own process log."},
{"id":"wrapper.e2e.udp","giro":"G2","os":["linux","windows"],"min_tests":44,"exact":true,"tests":["tests/test_preload_newtab_turns_the_privileged_about_process_off_e2e.py","tests/test_the_association_is_ready_when_the_peerconnection_is_born_e2e.py","tests/test_turn_over_tcp_is_tried_for_real_e2e.py","tests/test_webrtc_realness.py::test_the_gather_is_real_without_a_proxy","tests/test_the_whole_udp_chain_by_name_e2e.py::test_a_turn_srflx_by_name_arrives_through_the_relay_when_the_exit_of_the_lab_is_loopback","tests/test_declared_host_network_e2e.py","tests/test_a_held_ice_port_blinds_the_loopback_checks_e2e.py","tests/test_a_page_over_ipv6_gathers_on_a_machine_declared_without_it_e2e.py","tests/test_webrtc_realness.py::test_a_gateway_with_coherent_udp_gives_the_page_a_srflx_born_through_its_relay","tests/test_webrtc_realness.py::test_a_host_with_ipv6_addresses_gathers_through_an_ipv4_relay","tests/test_webrtc_realness.py::test_a_gateway_that_is_far_away_still_gives_the_page_a_srflx_born_through_its_relay","tests/test_webrtc_realness.py::test_the_first_candidate_of_a_gather_does_not_wait_for_a_gateway_that_is_far_away","tests/test_webrtc_realness.py::test_a_gather_after_the_page_loaded_through_the_gateway_costs_only_the_road_to_the_server","tests/test_webrtc_realness.py::test_two_contexts_with_two_proxies_each_gets_the_srflx_of_its_own","tests/test_webrtc_realness.py::test_the_turn_over_tcp_of_a_context_goes_through_the_proxy_of_that_context","tests/test_webrtc_realness.py::test_a_proxy_that_does_not_relay_udp_gives_no_srflx_at_all","tests/test_webrtc_realness.py::test_a_proxy_whose_udp_leaves_from_another_address_gives_no_srflx_at_all","tests/test_webrtc_realness.py::test_a_proxy_whose_relay_never_answers_gives_no_srflx_at_all"],"marker":"e2e","needs_root":false,"note":"Needs the candidate binary (STEALTHFOX_E2E_BINARY) and the engine that carries the UDP line. 57 = 1+7+6+1+21 from the five files + 21 from the 10 UDP-line tests of test_webrtc_realness.py (parametrized). The chain by name is here in its variant with the lab's exit on loopback (127.0.0.2) and the pref `media.peerconnection.ice.loopback`, on Linux and Windows: the exit of the lab is loopback, and a loopback mapped address is thrown away by nICEr unless the ICE context allows it. The variant without the pref (an exit that is not loopback) is the suite wrapper.e2e.udp.exit, Linux only; the address added to the interface of the Windows runner is work of the release after firefox-63. The preload_newtab test (2) is here: seen green on Linux as root (Docker) and on Windows 10 runs of 10 (windows-2022, round 5 engine); it reads the engine's own process log."},
{"id":"wrapper.e2e.udp.exit","giro":"G2","os":["linux"],"min_tests":7,"exact":true,"tests":["tests/test_the_whole_udp_chain_by_name_e2e.py::test_a_turn_srflx_by_name_arrives_through_the_relay_before_the_tick","tests/test_a_proxy_that_cannot_carry_udp_leaks_nothing_direct_e2e.py"],"marker":"e2e","needs_root":["linux"],"note":"Linux only, and not collected on Windows: the exit of the lab is a documentation address (198.51.100.9) added to lo with `ip addr add`, which needs root and iproute2; a mapped address in 127/8 would be thrown away by nICEr as bogus (stun_client_ctx.cpp nr_stun_transport_addr_check) and the pref that allows it is off in a product. The page reads a srflx equal to the gateway exit and the relay of the TURN server, the TURN name resolved by the DoH through the proxy, in the tick of 2 s. On the Windows runner of GitHub (administrator, the network of the runner) it could run too: not yet. A skipped test would turn the verdict red, hence a suite of its own. Its twin with the lab's exit on loopback and the pref stays in wrapper.e2e.udp on both systems, so that Windows keeps the walk of the chain by name.","linux_only":"The lab's exit is a documentation address the host must hold besides its loopback (nICEr throws away a mapped address in 127/8). Linux holds it on lo as root; Windows takes no extra address on its loopback pseudo-interface, and adding it to the runner's adapter took the runner off the network (runs 43314251547 and 43334169682 died in the test step). A Windows twin waits for a way that leaves the runner's network alone."},
{"id":"wrapper.e2e.udp.sandbox","giro":"G2","os":["linux"],"min_tests":13,"exact":true,"tests":["tests/test_the_socket_process_is_sandboxed_e2e.py","tests/test_webrtc_realness.py::test_the_gather_is_real_without_a_proxy","tests/test_webrtc_realness.py::test_a_gateway_with_coherent_udp_gives_the_page_a_srflx_born_through_its_relay","tests/test_ice_names_by_the_context_proxy_e2e.py::test_a_gateway_without_udp_resolves_the_ice_name_then_ends_in_701"],"marker":"e2e","needs_root":false,"note":"The browser WITH its sandbox, run by a normal user, as on any Linux that allows user namespaces. On the Ubuntu 24.04 runner AppArmor refuses them to a user, so every other non-root suite runs a browser WITHOUT the sandbox of its socket and content processes; the gate turns the restriction off for this leg (sysctl kernel.apparmor_restrict_unprivileged_userns=0) and the first test fails unless the socket and a tab process have a seccomp filter (Seccomp: 2). The three situations of the UDP line: A (a proxy that carries UDP: the srflx born through the relay), B (no proxy: the gather is real), C (a proxy with no UDP: the ICE server name goes by DoH through the proxy and the gather ends in 701). No root and no resolver trap needed.","linux_only":"It reads the seccomp filter of the socket and tab processes in /proc. The Windows twin reads the sandbox token of the same processes (integrity level, restrictions) and needs a measurement of the retail Firefox's tokens first; until then Linux only."},
{"id":"wrapper.e2e.web","giro":"G2","os":["linux","windows"],"min_tests":27,"exact":true,"tests":["tests/test_networkidle_through_a_served_browser_with_routes_e2e.py","tests/test_http3_through_the_proxy_e2e.py"],"marker":"e2e","needs_root":false,"note":"The networkidle e2e with routes and the HTTP/3 e2e, split from wrapper.e2e.udp (about 260 s of 500 on Linux; the whole suite did not fit the 15 minutes of Windows)."},
{"id":"wrapper.e2e.udp.sandbox","giro":"G2","os":["linux"],"min_tests":13,"exact":true,"tests":["tests/test_the_socket_process_is_sandboxed_e2e.py","tests/test_webrtc_realness.py::test_the_gather_is_real_without_a_proxy","tests/test_webrtc_realness.py::test_a_gateway_with_coherent_udp_gives_the_page_a_srflx_born_through_its_relay","tests/test_ice_names_by_the_context_proxy_e2e.py::test_a_gateway_without_udp_resolves_the_ice_name_then_ends_in_701"],"marker":"e2e","needs_root":false,"note":"The browser WITH its sandbox, run by a normal user, as on any Linux that allows user namespaces. On the Ubuntu 24.04 runner AppArmor refuses them to a user, so every other non-root suite runs a browser WITHOUT the sandbox of its socket and content processes; the gate turns the restriction off for this leg (sysctl kernel.apparmor_restrict_unprivileged_userns=0) and the first test fails unless the socket and a tab process have a seccomp filter (Seccomp: 2). The three situations of the UDP line: A (a proxy that carries UDP: the srflx born through the relay), B (no proxy: the gather is real), C (a proxy with no UDP: the ICE server name goes by DoH through the proxy and the gather ends in 701). No root and no resolver trap needed.","linux_only":"It reads the seccomp filter of the socket and tab processes in /proc. The Windows twin reads the sandbox token of the same processes (integrity level, restrictions) and needs a measurement of the retail Firefox's tokens first; until then Linux only.","needs_userns":true},
{"id":"wrapper.e2e.web","giro":"G2","os":["linux","windows"],"min_tests":27,"exact":true,"tests":["tests/test_networkidle_through_a_served_browser_with_routes_e2e.py","tests/test_http3_through_the_proxy_e2e.py"],"marker":"e2e","needs_root":false,"note":"The networkidle e2e with routes and the HTTP/3 e2e, split from wrapper.e2e.udp (about 260 s of 500 on Linux; the whole suite did not fit the 15 minutes of Windows).","moz_log":"nsHttp:5,neqo_http3:5"},
{"id":"wrapper.e2e.doh","giro":"G2","os":["linux","windows"],"min_tests":19,"exact":true,"tests":["tests/test_the_hosts_file_of_the_host_is_never_read_e2e.py","tests/test_resolver_race_e2e.py","tests/test_doh_under_stress_e2e.py","tests/test_context_proxy_only_resolves_by_doh_e2e.py","tests/test_doh_through_the_proxy_e2e.py","tests/test_ice_names_by_the_context_proxy_e2e.py"],"marker":"e2e","needs_root":["linux"],"note":"Linux needs root: the resolver trap of the file (ResolverTrap) points /etc/resolv.conf at a counting resolver on port 53. Su Windows il resolver trap non gira: l'asserzione sul resolver di sistema è l'unica omessa. Run it without xdist (port 53 is one per host). On the Linux leg the gate exports INVPW_REQUIRE_TRAP=1: a trap that cannot run or bind port 53 is a failure, not a skipped assertion."},
{"id":"wrapper.e2e.context.egress","giro":"G2","os":["linux","windows"],"min_tests":14,"exact":true,"tests":["tests/test_nothing_leaves_but_the_proxy_e2e.py","tests/test_a_turn_name_over_tcp_goes_through_the_proxy_of_the_context_e2e.py"],"marker":"e2e","needs_root":["linux"],"note":"Taken from the minimal-engine port (branch tests/minimal-port) unchanged but for the removed engine gate: 12 = 6 kinds of page work (hints, image/fetch/WebSocket/EventSource, WebRTC STUN and TURN-udp by name, geolocation, a service worker with push, a page still loading when its context closes) x 2 schemes (no proxy at launch and a gateway on the context; a launch gateway and a different one on the context), and 2 = the TURN server named over TCP in those two schemes. EXPECTED RED on the published firefox-63: the 2 TURN-by-name cases (the lookup of the TCP socket takes user context 0; fixed by commits ac0214bff4 and 058edd6cc6 of firefox-64). The 12 have not run on any engine yet. Like wrapper.e2e.doh: the Linux leg runs as root for the resolver trap (INVPW_REQUIRE_TRAP=1); on Windows the DoH log and the gateway's CONNECTs are the sink."},
{"id":"wrapper.e2e.context.sink","giro":"G2","os":["linux","windows"],"min_tests":35,"exact":true,"tests":["tests/test_nothing_of_a_context_leaves_but_through_its_proxy_e2e.py"],"marker":"e2e","needs_root":["linux"],"note":"The behavioural half of the class gate 'nothing of a context leaves but through its proxy', with a witness at an address of this host (no root, no address on lo) and the engine's own resolver log as the native-lookup sink. 35 = 31 + the 4 OCSP cases; the 31 are 19 probes (fetch, WebSocket, stun, turn over UDP, turn and turns over TCP, each by name, by IP and by a .local name, behind SOCKS5 and behind an HTTP proxy where the road differs) + 3 controls (the same probe by IP with no proxy IS heard by the witness) + 1 control of the native sink. + 4 PeerConnections built from a torn-down window (a detached iframe, a closed popup; behind SOCKS5 and behind HTTP; defect B3: EXPECTED RED on firefox-63, green on firefox-64) + 2 controls of them (the same PeerConnection from an attached iframe, green on both). + 2 cases of two contexts alive at once (each with its own proxy and DoH, a TURN server over TCP by a different name in each; behind SOCKS5 EXPECTED RED on firefox-63 like turn_tcp-name-socks5, behind HTTP green on both). EXPECTED RED on firefox-63: turn_tcp-name-socks5, turns_tcp-name-socks5 (user context 0, fixed in firefox-64) and the three .local cases fetch-local-socks5, stun-local-socks5, stun-local-http (audit B4, also red on firefox-64 until decided). The Linux leg runs as root so the resolver trap is a second sink. Windows reads the same engine log (its getaddrinfo lines are in the parent process file under the sandbox: run 43574494194), with the no-proxy native control as its positive control. THE OCSP CASES (4): a TLS page whose leaf, signed by a lab CA the engine trusts (put in the profile by the engine's xpcshell, no ignore_https_errors), names its OCSP responder by a NAME (ocsp-<nonce>.lab.test) and by an IP; a context behind the gateway loads it and the request must go through the gateway, never be looked up natively, in user context 0, or reach the responder (2 cases, EXPECTED RED on firefox-63, green on firefox-64); the same page in a context with no proxy IS asked of the responder (control); a page of an issuer the engine does not trust makes no OCSP request (negative control)."},
{"id":"wrapper.e2e.realness","giro":"G2","os":["linux","windows"],"min_tests":32,"exact":true,"tests":["tests/test_realness_behind_a_declared_exit_e2e.py"],"marker":"e2e","needs_root":["linux"],"note":"The realness check without a real proxy: six declared exits, the values a page reads, and the roads. Linux runs as root without xdist like the DoH suite (the resolver trap); on Windows the trap does not exist and the assertion on the system resolver is the only one omitted."},
{"id":"wrapper.unit.udp","giro":"G1","os":["linux","windows"],"min_tests":258,"exact":true,"tests":["tests/test_the_server_says_nothing_about_the_launch_counter.py","tests/test_the_witness_picks_a_port_both_sockets_bind.py","tests/test_preload_newtab_reaches_the_core_only_when_asked.py","tests/test_the_resolver_trap_counts_its_own_users.py","tests/test_the_doh_e2e_launch_on_a_virtual_display.py","tests/test_the_realness_helpers.py","tests/test_the_h3_line_helpers.py","tests/test_the_fake_doh_delays_and_refuses.py","tests/test_the_host_address_helper.py","tests/test_the_udp_chain_helper.py","tests/test_the_fake_doh_answers.py","tests/test_doh_session_prefs_unit.py","tests/test_the_leak_watcher_sees_a_direct_connection.py","tests/test_the_http_proxy_helper_asks_for_credentials.py","tests/test_every_route_command_is_answered_may_fail.py","tests/test_the_network_declaration_reaches_the_engine.py","tests/test_the_resolver_trap_is_required_by_the_gate.py","tests/test_the_exit_of_a_context_is_discovered_through_its_own_gateway.py","tests/test_the_witness_hears_a_direct_send.py","tests/test_the_egress_sink_helpers.py","tests/test_the_lab_ca_and_its_ocsp_leaf.py","tests/test_the_udp_bench_survives_what_a_loaded_machine_does_to_it.py"],"marker":"unit","needs_root":false,"note":"92 = 6+32+21+7+8+3+9+6. The leak watcher file defines exactly one of its two resolver-trap tests per host (7 everywhere), so no test is skipped. `exact`: min_tests is raised by hand when a test is added. The sink of the egress gate (tests/test_the_egress_sink_helpers.py, 20): the engine's log (the same on Linux and Windows) and the witness read on known inputs, and a blind log that must raise, never answer 'nothing'. The lab CA of its OCSP case (tests/test_the_lab_ca_and_its_ocsp_leaf.py, 17; tests/test_the_fake_doh_answers.py +1, the DoH serving a lab-CA leaf): the leaf's AIA, trusted and untrusted issuers, the responder, the xpcshell step."},
{"id":"wrapper.e2e.page","giro":"G2","os":["linux","windows"],"min_tests":120,"exact":true,"tests":["tests/test_a_tiny_download_on_a_served_browser_is_saved_e2e.py","tests/test_a_page_that_moves_on_e2e.py","tests/test_a_popup_is_reported_when_the_engine_says_it_is_ready_as_playwright_does_e2e.py","tests/test_a_popup_of_a_link_reaches_the_client_e2e.py","tests/test_popup_destinations_e2e.py","tests/test_popups_reach_the_client_e2e.py","tests/test_route_superseded_e2e.py","tests/test_closing_one_of_four_browsers_does_not_hold_the_loop_e2e.py"],"marker":"e2e","needs_root":false,"note":"114 + the 5 of test_closing_one_of_four_browsers_does_not_hold_the_loop_e2e.py (four browsers in one process, one closes: the loop is held less than 50 ms by the clock of its own thread, the other three keep answering; the control holds the loop on purpose). 114 = 100 + the 14 of test_a_page_that_moves_on_e2e.py (a navigation the page overtook with location.replace ends; the engine fix 860ef8a6d9 is proved by it). 100 counted at the collection; was 96 = 10+32+16+34+4 before the popup tests of 6200bc2). A page is handed over when the engine says Page.ready; a popup reaches the client (link, noopener, window.open; own site and another; with and without a route; in-process and over launch_server) as Playwright's does; a superseded route. Needs the candidate binary, and the stock Playwright client of the dev extra."},
{"id":"wrapper.e2e.context.sink","giro":"G2","os":["linux","windows"],"min_tests":36,"exact":true,"tests":["tests/test_nothing_of_a_context_leaves_but_through_its_proxy_e2e.py"],"marker":"e2e","needs_root":["linux"],"note":"The behavioural half of the class gate 'nothing of a context leaves but through its proxy', with a witness at an address of this host (no root, no address on lo) and the engine's own resolver log as the native-lookup sink. 35 = 31 + the 4 OCSP cases; the 31 are 19 probes (fetch, WebSocket, stun, turn over UDP, turn and turns over TCP, each by name, by IP and by a .local name, behind SOCKS5 and behind an HTTP proxy where the road differs) + 3 controls (the same probe by IP with no proxy IS heard by the witness) + 1 control of the native sink. + 4 PeerConnections built from a torn-down window (a detached iframe, a closed popup; behind SOCKS5 and behind HTTP; defect B3: EXPECTED RED on firefox-63, green on firefox-64) + 2 controls of them (the same PeerConnection from an attached iframe, green on both). + 2 cases of two contexts alive at once (each with its own proxy and DoH, a TURN server over TCP by a different name in each; behind SOCKS5 EXPECTED RED on firefox-63 like turn_tcp-name-socks5, behind HTTP green on both). EXPECTED RED on firefox-63: turn_tcp-name-socks5, turns_tcp-name-socks5 (user context 0, fixed in firefox-64) and the three .local cases fetch-local-socks5, stun-local-socks5, stun-local-http (audit B4, also red on firefox-64 until decided). The Linux leg runs as root so the resolver trap is a second sink. Windows reads the same engine log (its getaddrinfo lines are in the parent process file under the sandbox: run 43574494194), with the no-proxy native control as its positive control. THE OCSP CASES (4): a TLS page whose leaf, signed by a lab CA the engine trusts (put in the profile by the engine's xpcshell, no ignore_https_errors), names its OCSP responder by a NAME (ocsp-<nonce>.lab.test) and by an IP; a context behind the gateway loads it and the request must go through the gateway, never be looked up natively, in user context 0, or reach the responder (2 cases, EXPECTED RED on firefox-63, green on firefox-64); the same page in a context with no proxy IS asked of the responder (control); a page of an issuer the engine does not trust makes no OCSP request (negative control). THE CLOSED CONTEXT CASE (1, gated firefox-65): a beacon sent on pagehide as a proxied context closes, to a name never looked up, is resolved over the DoH through the context's gateway after the close; on firefox-64 it went to the machine's resolver every time (hunt 43733181674)."},
{"id":"wrapper.e2e.realness","giro":"G2","os":["linux","windows"],"min_tests":31,"exact":true,"tests":["tests/test_realness_behind_a_declared_exit_e2e.py"],"marker":"e2e","needs_root":["linux"],"note":"The realness check without a real proxy: six declared exits, the values a page reads, and the roads. Linux runs as root without xdist like the DoH suite (the resolver trap); on Windows the trap does not exist and the assertion on the system resolver is the only one omitted."},
{"id":"wrapper.unit.udp","giro":"G1","os":["linux","windows"],"min_tests":282,"exact":true,"tests":["tests/test_a_served_browser_keeps_the_udp_verdicts_of_its_proxies.py","tests/test_doh_session_prefs_unit.py","tests/test_every_route_command_is_answered_may_fail.py","tests/test_preload_newtab_is_written_only_when_asked.py","tests/test_the_doh_e2e_launch_on_a_virtual_display.py","tests/test_the_egress_sink_helpers.py","tests/test_the_exit_of_a_context_is_discovered_through_its_own_gateway.py","tests/test_the_fake_doh_answers.py","tests/test_the_fake_doh_delays_and_refuses.py","tests/test_the_h3_line_helpers.py","tests/test_the_host_address_helper.py","tests/test_the_http_proxy_helper_asks_for_credentials.py","tests/test_the_lab_ca_and_its_ocsp_leaf.py","tests/test_the_leak_watcher_sees_a_direct_connection.py","tests/test_the_network_declaration_reaches_the_engine.py","tests/test_the_realness_helpers.py","tests/test_the_resolver_trap_counts_its_own_users.py","tests/test_the_resolver_trap_is_required_by_the_gate.py","tests/test_the_server_says_nothing_about_the_launch_counter.py","tests/test_the_udp_bench_survives_what_a_loaded_machine_does_to_it.py","tests/test_the_udp_chain_helper.py","tests/test_the_witness_hears_a_direct_send.py","tests/test_the_witness_picks_a_port_both_sockets_bind.py"],"marker":"unit","needs_root":false,"note":"The leak watcher file defines exactly one of its two resolver-trap tests per host (7 everywhere), so no test is skipped. `exact`: min_tests is raised by hand when a test is added. The sink of the egress gate (tests/test_the_egress_sink_helpers.py, 20): the engine's log (the same on Linux and Windows) and the witness read on known inputs, and a blind log that must raise, never answer 'nothing'. The lab CA of its OCSP case (tests/test_the_lab_ca_and_its_ocsp_leaf.py, 17; tests/test_the_fake_doh_answers.py +1, the DoH serving a lab-CA leaf): the leaf's AIA, trusted and untrusted issuers, the responder, the xpcshell step."},
{"id":"wrapper.e2e.page","giro":"G2","os":["linux","windows"],"min_tests":130,"exact":true,"tests":["tests/test_a_tiny_download_on_a_served_browser_is_saved_e2e.py","tests/test_a_page_that_moves_on_e2e.py","tests/test_a_popup_is_reported_when_the_engine_says_it_is_ready_as_playwright_does_e2e.py","tests/test_a_popup_of_a_link_reaches_the_client_e2e.py","tests/test_popup_destinations_e2e.py","tests/test_popups_reach_the_client_e2e.py","tests/test_route_superseded_e2e.py","tests/test_closing_one_of_four_browsers_does_not_hold_the_loop_e2e.py","tests/test_a_drag_keeps_its_buttons_pressed_e2e.py"],"marker":"e2e","needs_root":false,"note":"130 = 126 + the 4 of test_a_drag_keeps_its_buttons_pressed_e2e.py (a drag reaches the page with the button it holds: event.buttons is 1 on every mousemove of a left drag, 2 on a right one, 0 after the release; with and without humanize). The 126 before it: 116 + the 9 of test_closing_one_of_four_browsers_does_not_hold_the_loop_e2e.py (four browsers in one process, one closes: the loop is never seen inside a step of the close, the removal of the profile is held still and reached on a thread of the reaper while the close has returned, the other three keep answering; one control holds the loop on purpose, the other leaves it late in its selector and must not be charged). 116 = 100 + the 16 of test_a_page_that_moves_on_e2e.py (a navigation the page overtook with location.replace ends; the engine fix 860ef8a6d9 is proved by it; 2 of them the strict networkidle cases, a document still arriving that moves). 100 counted at the collection; was 96 = 10+32+16+34+4 before the popup tests of 6200bc2). A page is handed over when the engine says Page.ready; a popup reaches the client (link, noopener, window.open; own site and another; with and without a route; in-process and over launch_server) as Playwright's does; a superseded route. Needs the candidate binary, and the stock Playwright client of the dev extra.","moz_log":"DocumentChannel:5,ProcessIsolation:5,nsDocShell:4,DocLoader:4","juggler_trace":true},
{"id":"wrapper.unit.page","giro":"G1","os":["linux","windows"],"min_tests":72,"exact":true,"tests":["tests/test_a_download_finished_before_it_was_announced_is_finished.py","tests/test_every_order_of_the_events_of_a_popup_gives_one_page_event.py","tests/test_ci_drive_gate_goes_through_the_core.py","tests/test_a_page_is_handed_over_only_when_the_engine_says_it_is_ready.py","tests/test_a_new_page_waits_for_the_engine.py","tests/test_page_number_follows_the_call.py","tests/test_a_commit_at_any_point_of_the_hand_over_reaches_the_client_once.py","tests/test_no_event_of_any_family_is_lost_by_the_hand_over.py","tests/test_the_hand_over_of_a_popup_holds_under_concurrency.py","tests/test_a_page_closed_before_its_announcement_is_not_announced.py","tests/test_a_live_event_does_not_overtake_the_replay_of_a_new_page.py"],"marker":"unit","needs_root":false,"note":"72 = 44 + 3+9+5+1+10 of the popup hand-over (24 counted at the collection before; was 20 = 3+8+1+8 before 6200bc2). The page dispatcher's wait for Page.ready and what it hands over; the drive gate goes through the core (the engine waits for the session's road)."},
{"id":"wrapper.e2e.compositing","giro":"G2","os":["linux","windows"],"min_tests":3,"exact":true,"tests":["tests/test_software_compositing_is_declared_e2e.py"],"marker":"e2e","needs_root":false,"note":"The engine DECLARES software compositing on every machine (core: the compositing entries of zoom.stealth.gfx.feature_status carry the VM decision, and on Windows gfx.webrender.software=true, gfx.webrender.software.d3d11=false). 3 = (1) the compositor read from a privileged context is 'WebRender (Software)' on Windows and on Linux (windowUtils.layerManagerType of each window: Troubleshoot.snapshot().graphics throws on this engine, `ext is null`, so it is not the route); (2) the GPU process uses under 1.5 s of CPU on the fixed 10-scene loop of one browser (Windows runner: 0.32 s declared, 2.7-4.2 s not, runs 43652292533 and 43642744101; on Linux it is held to the bound if a GPU process exists); (3) the 86 keys of the page-bytes probe plus the canvas 2D scenes (drawImage scaled with smoothing off/low/medium/high, text with linear/radial/conic gradients) equal tests/data/page_bytes_<os>.json, PNGs on decoded pixels. EXPECTED RED on the core 64.71.0 (tests 1 and 2 on Windows). The reference of Windows holds the 75 stable keys and 6 of the 11 PNG keys of run 43652292533; the five other PNG keys and the new canvas keys, and all of Linux, are written from the first run on the engine of the reference (the failure of test 3 prints RECORD-BEGIN ... RECORD-END with the entries to merge): a reference that is not complete is red, never skipped."},
{"id":"wrapper.unit.compositing","giro":"G1","os":["linux","windows"],"min_tests":19,"exact":true,"tests":["tests/test_the_page_bytes_reference_compares_decoded_pixels.py"],"marker":"unit","needs_root":false,"note":"The helpers of wrapper.e2e.compositing on known inputs, no browser: the PNG compared on decoded pixels (another deBG chunk and compression are the same, one pixel is not, every scanline filter), the comparison with a reference (changed, missing and extra keys named, the entry to record), the type of an engine process, an engine process known by its executable and not by the name it gives itself (Linux), and the CPU of a window, and the shape of the committed Windows reference."}
{"id":"wrapper.e2e.compositing","giro":"G2","os":["linux","windows"],"min_tests":9,"exact":true,"tests":["tests/test_software_compositing_is_declared_e2e.py","tests/test_a_screenshot_draws_the_text_of_the_bundled_fonts_as_the_content_does_e2e.py"],"marker":"e2e","needs_root":false,"note":"The engine DECLARES software compositing on every machine (core: the compositing entries of zoom.stealth.gfx.feature_status carry the VM decision, and on Windows gfx.webrender.software=true, gfx.webrender.software.d3d11=false). 3 = (1) the compositor read from a privileged context is 'WebRender (Software)' on Windows and on Linux (windowUtils.layerManagerType of each window: Troubleshoot.snapshot().graphics throws on this engine, `ext is null`, so it is not the route); (2) the GPU process uses under 1.5 s of CPU on the fixed 10-scene loop of one browser (Windows runner: 0.32 s declared, 2.7-4.2 s not, runs 43652292533 and 43642744101; on Linux it is held to the bound if a GPU process exists); (3) the 86 keys of the page-bytes probe plus the canvas 2D scenes (drawImage scaled with smoothing off/low/medium/high, text with linear/radial/conic gradients) equal tests/data/page_bytes_<os>.json, PNGs on decoded pixels. EXPECTED RED on the core 64.71.0 (tests 1 and 2 on Windows). The reference of Windows holds the 75 stable keys and 6 of the 11 PNG keys of run 43652292533; the five other PNG keys and the new canvas keys, and all of Linux, are written from the first run on the engine of the reference (the failure of test 3 prints RECORD-BEGIN ... RECORD-END with the entries to merge): a reference that is not complete is red, never skipped. 9 = those 3 + the 6 families of tests/test_a_screenshot_draws_the_text_of_the_bundled_fonts_as_the_content_does_e2e.py (from firefox-66, engine_at_least): a screenshot draws the text of Arial, Times New Roman, Consolas and Segoe UI, with accents, the typographic apostrophe, the euro sign, Chinese, Arabic and Russian, and of MS PGothic (face 2 of msgothic5_32.ttc: Japanese and Latin) and NSimSun (face 1 of simsun.ttc: Chinese), two faces that are not the first of their collection, with the same bytes as the content process drew them in a canvas (an SVG image with a foreignObject of the same markup), cut from the same page.screenshot, on both systems and with no threshold. EXPECTED RED on every engine that rebuilds the text in the parent with another font than the bundle (Linux: fontconfig answers DejaVu Sans), and skipped, hence red here, on an engine older than firefox-66. It saves the screenshot, the two boxes and a result.json under RUNNER_TEMP/invpw-evidence.","runner_image":{"windows":"windows-2022"}},
{"id":"wrapper.e2e.fakeweb","giro":"G2","os":["linux","windows"],"min_tests":7,"exact":true,"tests":["tests/test_fakeweb_p2_e2e.py","tests/test_fakeweb_p4_e2e.py"],"marker":"e2e","needs_root":false,"note":"The fake web, offline: our browser on the hard pages (profile P2: a reused routed page reaches networkidle every time, also under a load of three other browsers; the other site is another process) and on the 17-step journey of a person (profile P4: every step as stock, and every page left only once its noise is done), each judged against what stock Firefox does, as tests/fakeweb/pages.json declares it. 7 = 3 + 4 (the last two: a `load` that takes 20 s is a step that succeeds, and a `load` that never comes ends in an error that names the wait and the page). Stock itself is held to that declaration, and compared with ours step by step, by scripts/run_fakeweb.py in .github/workflows/fakeweb.yml. Needs the candidate binary (STEALTHFOX_E2E_BINARY).","stock_firefox":true,"extra_steps":["fakeweb_profiles"]},
{"id":"wrapper.e2e.stock_twin.dnd","giro":"G2","os":["linux","windows"],"min_tests":8,"exact":true,"tests":["tests/test_a_drag_from_the_top_into_a_frame_of_another_site_e2e.py","tests/test_a_press_outside_an_open_datalist_list_ends_as_on_stock_e2e.py"],"marker":"e2e","needs_root":false,"note":"Split from the row wrapper.e2e.stock_twin, which ran past the 25-minute limit of a leg: one leg. The twin of the real drag from the top into a frame of another site (4 scales): the same steps first on Playwright's own Firefox (stock_firefox), headed, driven by the stock Playwright client, and second on ours; the verdict is 'the same as the reference' (tests/_stock_twin.py). Each record keeps the page's and the chrome's devicePixelRatio and the real scale of the screen. The file is in no whole-suite row: the references are installed only for this row's legs. Second file: the twin of a press outside the open list of a datalist (4 scales): the list must be open in chrome on both before the press (else BROKEN CONTROL), and the events the page hears and the state of the list after must be the reference's (the leg took 2 minutes with one file).","stock_firefox":true},
{"id":"wrapper.e2e.stock_twin.select","giro":"G2","os":["linux","windows"],"min_tests":4,"exact":true,"tests":["tests/test_a_select_dropdown_opens_at_its_element_e2e.py"],"marker":"e2e","needs_root":false,"note":"Split from the row wrapper.e2e.stock_twin, which ran past the 25-minute limit of a leg: one file, one leg. The twin of the select dropdown (4 scales), measured from chrome scope against RETAIL Firefox 159 driven by Marionette alone, headed (the leg sets INVPW_RETAIL_FIREFOX to its firefox.exe), the reference first and ours second; the verdict is 'the same as the reference' (tests/_stock_twin.py, tests/_retail_reference.py). Each record keeps the page's and the chrome's devicePixelRatio and the real scale of the screen. The file is in no whole-suite row: the references are installed only for this row's legs.","stock_firefox":true},
{"id":"wrapper.e2e.stock_twin.tooltip","giro":"G2","os":["linux","windows"],"min_tests":6,"exact":true,"tests":["tests/test_a_tooltip_opens_at_the_pointer_e2e.py","tests/test_temp_a_listener_of_a_sandbox_world_is_recorded_on_retail_and_on_ours_e2e.py","tests/test_temp_the_planted_getters_are_recorded_on_retail_and_on_ours_e2e.py"],"marker":"e2e","needs_root":false,"note":"Split from the row wrapper.e2e.stock_twin, which ran past the 25-minute limit of a leg: one file, one leg. The twin of the tooltip (4 scales), measured from chrome scope against RETAIL Firefox 159 driven by Marionette alone, headed (the leg sets INVPW_RETAIL_FIREFOX to its firefox.exe), the reference first and ours second; the verdict is 'the same as the reference' (tests/_stock_twin.py, tests/_retail_reference.py). Each record keeps the page's and the chrome's devicePixelRatio and the real scale of the screen. The file is in no whole-suite row: the references are installed only for this row's legs. Second file (TEMPORARY, remove with the control it explains): the plant and the page's own read of the getters planted by tests/test_a_pages_own_hasinstance_is_never_called_while_the_client_listens_to_console_e2e.py, run on retail and on ours, dumped side by side to the evidence folder, no verdict about ours. Third file (TEMPORARY, same): what window.onerror is told when a listener registered from another script world (retail: the default sandbox of Marionette's ExecuteScript; ours: the client's evaluate) throws an Error and a non-error, against the page's own throwing listener as control, for the two listener cases of tests/test_a_page_function_called_by_the_client_sees_only_page_frames_e2e.py.","stock_firefox":true},
{"id":"wrapper.e2e.stock_twin.intersection","giro":"G2","os":["linux","windows"],"min_tests":8,"exact":true,"tests":["tests/test_intersection_and_lazy_loading_in_a_frame_of_another_site_e2e.py"],"marker":"e2e","needs_root":false,"note":"Split from the row wrapper.e2e.stock_twin, which ran past the 25-minute limit of a leg: one file, one leg. The twin of what the IntersectionObserver of a scrolled frame of another site reads (8 steps, 4 scales) and of when a lazy frame is requested (4 distances, 4 scales): the same steps first on Playwright's own Firefox (stock_firefox), headed, driven by the stock Playwright client, and second on ours; the verdict is 'the same as the reference' (tests/_stock_twin.py). Each record keeps the page's and the chrome's devicePixelRatio and the real scale of the screen. The file is in no whole-suite row: the references are installed only for this row's legs.","stock_firefox":true},
{"id":"wrapper.e2e.fontconfig","giro":"G2","os":["linux"],"min_tests":9,"exact":true,"tests":["tests/test_no_fontconfig_file_of_the_host_is_opened_and_the_screenshot_draws_the_bundle_linux_e2e.py","tests/test_the_host_fontconfig_rules_do_not_reach_the_text_pixels_linux_e2e.py","tests/test_the_parent_reads_the_bundle_from_fontconfig_s_cache_linux_e2e.py"],"marker":"e2e","needs_root":false,"linux_only":"Fontconfig exists only on Linux: the engine runs it on its own empty configuration, and the rules of a user and the files of the host are what these tests try to make reach it. On Windows DirectWrite draws the text from the path of the font, with no rule of a user and no configuration or cache of fonts to read, so these tests have no Windows counterpart.","note":"7 = (1-3) the fontconfig rules of a user do not reach the pixels of the text a page reads: seven launches of one seed, each with its own system-wide rule file (/etc/fonts/local.conf, written with sudo before the launch and put back after it; not the environment, which the core owns: it strips FONTCONFIG_*, and points XDG_CONFIG_HOME and XDG_CONFIG_DIRS at empty folders): nothing; rgba=none with lcdfilter=lcdnone; rgba=bgr; embeddedbitmap=false; autohint=true; hintstyle=hintfull with antialias=false; a strong prepend rule on system-ui. fc-match, in the same environment, must show each rule in force (a launch that measures nothing is red). Three tests: every rule in force in fc-match on the host; the hashes of the pixels of getImageData (an opaque canvas and the default one, Arial, SimSun, MS Gothic at 9-16 px) equal to those of the launch with nothing; the computed family and the widths of system-ui equal. (4-7) no fontconfig file of the host is opened and the screenshot draws the bundle: the stand-in that runs the engine under strace stays in the engine's place (a fake engine with a child, no browser); the caches $HOME/.fontconfig and $XDG_CACHE_HOME/fontconfig hold a valid cache of the bundle that lacks msgothic5_32.ttc (fc-list proves it); under strace no process opens a path under /etc/fonts, a fonts.conf or a *.cache-* file; the screenshot of Japanese text in MS PGothic equals the content's own drawing. Needs strace, fc-cache, fc-list, fc-match and sudo without a password on the runner: without them the tests are red, not skipped. Evidence in RUNNER_TEMP/invpw-evidence/fontconfig-rules and fontconfig-host-files. Also in the row until the 72 is released: the old file of the warm-cache test (2 tests, same ids), rewritten to assert the 72's behaviour: the stand-in, and two launches with the same XDG_CACHE_HOME and HOME under strace write no fontconfig cache file (*.cache-*, .NEW, .TMP-*) and no process opens one. E1 and E2 replace it; its retirement entry goes to main after the release of the 72."},
{"id":"wrapper.unit.compositing","giro":"G1","os":["linux","windows"],"min_tests":30,"exact":true,"tests":["tests/test_the_page_bytes_reference_compares_decoded_pixels.py"],"marker":"unit","needs_root":false,"note":"The helpers of wrapper.e2e.compositing on known inputs, no browser: the PNG compared on decoded pixels (another deBG chunk and compression are the same, one pixel is not, every scanline filter), the comparison with a reference (changed, missing and extra keys named, the entry to record), the type of an engine process, an engine process known by its executable and not by the name it gives itself (Linux), and the CPU of a window, and the shape of the committed Windows reference, and the box cut out of a screenshot (its pixels, a box outside the picture refused, written as a PNG and read back, two boxes told apart by a pixel that is named, the pixels that are not grey)."},
{"id":"wrapper.e2e.securitystate","giro":"G2","os":["linux","windows"],"min_tests":4,"exact":true,"tests":["tests/test_security_state_engine_e2e.py"],"marker":"e2e","needs_root":false,"note":"The security state the core declares, against the engine: the engine launched directly in its generate mode makes what it is given (the contract's result, security_state/ with the bytes of the full filter and of the delta, the core's own validation of it); a normal launch declares no pref of the mode and re-imports nothing; a certificate that Mozilla's CRLite test data say is revoked in a delta is refused at the first navigation (SEC_ERROR_REVOKED_CERTIFICATE) while a valid one loads, and the revoked one loads when the ready directory has no data; a ready directory with no or an empty security_state/ starts. Certificates made on the run (a fresh root trusted in cert9.db by the engine's own xpcshell, Mozilla's default test key as the key of CN=int), servers on loopback, no network. Red on firefox-67 (no generate mode).","core_dumps":"invpw-cores"},
{"id":"wrapper.e2e.suite.linux.3","giro":"G2","os":["linux"],"min_tests":396,"exact":true,"tests":["tests/test_a_click_in_an_iframe_lands_at_the_frames_own_screen_origin_e2e.py","tests/test_a_context_language_is_the_accept_language_of_every_request_e2e.py","tests/test_a_file_chooser_reaches_every_client_e2e.py","tests/test_a_frame_reads_only_declared_origins_while_it_loads_e2e.py","tests/test_a_goto_to_a_refused_port_ends_with_its_reason_e2e.py","tests/test_a_handle_action_walks_like_a_selector_action_e2e.py","tests/test_a_launch_and_a_context_timezone_reach_the_page_e2e.py","tests/test_a_navigation_that_moved_is_told_by_the_engine_e2e.py","tests/test_a_page_function_called_by_the_client_sees_only_page_frames_e2e.py","tests/test_a_page_sees_no_pointer_event_before_the_first_input_on_the_hidden_display_e2e.py","tests/test_a_pages_own_hasinstance_is_never_called_while_the_client_listens_to_console_e2e.py","tests/test_a_password_field_is_as_wide_as_on_retail_windows_e2e.py","tests/test_a_popup_moves_and_resizes_as_declared_e2e.py","tests/test_a_popup_of_a_link_reaches_the_client_e2e.py","tests/test_a_popup_reads_the_retail_sizes_of_a_maximized_main_window_e2e.py","tests/test_a_regional_indicator_pair_measures_the_same_first_and_after_other_families_e2e.py","tests/test_an_element_handle_serves_every_method_of_the_client_e2e.py","tests/test_audio_context_values_are_declared_e2e.py","tests/test_audio_noise_e2e.py","tests/test_audio_sample_rate_is_declared_e2e.py","tests/test_bundle_font_names_e2e.py","tests/test_canvas_create_pattern_projection_e2e.py","tests/test_canvas_measure_text_metrics_e2e.py","tests/test_css_media_reads_the_declared_screen_and_pointer_e2e.py","tests/test_dom_iterables_from_evaluate_e2e.py","tests/test_every_argument_reaches_the_page_e2e.py","tests/test_every_reader_of_a_webgl_canvas_agrees_e2e.py","tests/test_exslt_date_time_through_an_imported_stylesheet_is_in_the_declared_zone_e2e.py","tests/test_fakeweb_p2_e2e.py","tests/test_fission_frames_tree_input_and_pixels_e2e.py","tests/test_focus_survives_os_deactivation_e2e.py","tests/test_fullscreen_without_wm_e2e.py","tests/test_geolocation_reads_nothing_of_the_host_windows_e2e.py","tests/test_goto_and_every_way_it_is_stopped_e2e.py","tests/test_hardware_values_are_declared_e2e.py","tests/test_input_reaches_the_top_and_a_frame_of_another_site_at_every_scale_e2e.py","tests/test_ipv6_literal_connect_e2e.py","tests/test_moz_element_paints_a_webgl_canvas_as_drawn_e2e.py","tests/test_native_line_endings_are_windows_e2e.py","tests/test_nested_frame_actions.py","tests/test_networkidle_through_a_served_browser_with_routes_e2e.py","tests/test_nothing_leaves_but_the_proxy_e2e.py","tests/test_nothing_of_a_context_leaves_but_through_its_proxy_e2e.py","tests/test_page_element_atoms_run_in_a_sandbox_e2e.py","tests/test_popup_geometry_is_the_declared_frame_e2e.py","tests/test_script_cache_written_is_adopted_e2e.py","tests/test_the_branding_a_page_loads_is_the_declared_archive_e2e.py","tests/test_the_evaluated_code_has_no_debugger_name_e2e.py","tests/test_the_host_gl_probe_runs_only_on_an_undeclared_engine_linux_e2e.py","tests/test_the_launch_counter_is_one_plain_get_before_any_page_e2e.py","tests/test_the_maximized_window_frames_and_popups_read_retail_e2e.py","tests/test_the_parent_methods_of_the_window_origin_are_not_exposed_to_a_page_e2e.py","tests/test_the_shutdown_ping_leaves_by_the_background_task_e2e.py","tests/test_webgl_declared_parameters_e2e.py","tests/test_webgl_shader_language_e2e.py","tests/test_webgpu_adapter_is_declared_e2e.py","tests/test_webgpu_canvas_readback_is_noised_e2e.py","tests/test_webgpu_external_texture_e2e.py","tests/test_window_occlusion_e2e.py"],"marker":"e2e","needs_root":false,"windows_twin":"wrapper.e2e.suite.windows.3","note":"Part 2 of the whole e2e suite of the wrapper (every test that opens the browser: what e2e.yml runs on the published engine), on the engine under test, as two passes through scripts/ci_suite_run.py (4 browsers at once, then the wall_clock tests alone; no rerun). The files of the 2 rows of linux are the files of tests/ that tests/test_the_e2e_suite_is_accounted_for.py holds one by one: a file whole when every test of it is here, else its tests by name. Partition from the junits of runs 44942540063 and 44985244053, test time balanced (about 565 s of estimated wall time, 4 browsers). A new file is added by hand to a row of each system and the minimum of the row goes up by hand. Left out of every row, with the reason in the accounting test: the files and tests of wrapper.e2e.udp.exit and wrapper.e2e.udp.sandbox (root and user namespaces, their own rows), the files of the round after the publication (tests/_post_publication.py), and the tests that skip on linux (a skip is red in the verdict).","run":"suite_run"},
{"id":"wrapper.e2e.suite.windows.1","giro":"G2","os":["windows"],"min_tests":332,"exact":true,"tests":["tests/test_a_click_waits_for_the_navigation_it_plans_e2e.py","tests/test_a_closed_browser_leaves_the_others_alone_e2e.py","tests/test_a_context_init_script_runs_once_e2e.py","tests/test_a_goto_to_a_refused_port_ends_with_its_reason_e2e.py","tests/test_a_granted_permission_is_the_one_the_page_asks_for_e2e.py","tests/test_a_held_ice_port_blinds_the_loopback_checks_e2e.py","tests/test_a_left_documents_body_is_evicted_e2e.py","tests/test_a_page_cannot_probe_the_juggler_e2e.py","tests/test_a_screenshot_honours_its_scale_e2e.py","tests/test_a_screenshot_refuses_what_would_touch_the_page_e2e.py","tests/test_a_tiny_download_on_a_served_browser_is_saved_e2e.py","tests/test_a_worker_comes_back_with_its_page_from_the_cache_e2e.py","tests/test_browser_output_is_drained.py","tests/test_canvas_create_pattern_projection_e2e.py","tests/test_click_rhythm.py","tests/test_closing_one_of_four_browsers_does_not_hold_the_loop_e2e.py","tests/test_context_locale_e2e.py","tests/test_context_proxy_only_resolves_by_doh_e2e.py","tests/test_detectors_e2e.py","tests/test_download_is_intercepted_e2e.py","tests/test_e2e.py","tests/test_element_handle_actions.py","tests/test_every_page_draws_its_own_acts.py","tests/test_every_reader_of_a_webgl_canvas_agrees_e2e.py","tests/test_fission_identity_parity_e2e.py","tests/test_fission_iframe_crash_e2e.py","tests/test_focus_survives_os_deactivation_e2e.py","tests/test_geolocation_reads_nothing_of_the_host_windows_e2e.py","tests/test_goto_to_the_same_url_e2e.py","tests/test_ignore_https_errors_e2e.py","tests/test_juggler_actions.py","tests/test_juggler_transport.py","tests/test_keyboard_rhythm.py","tests/test_moz_element_paints_a_webgl_canvas_as_drawn_e2e.py","tests/test_nested_frame_actions.py","tests/test_popups_reach_the_client_e2e.py","tests/test_preload_newtab_turns_the_privileged_about_process_off_e2e.py","tests/test_route_superseded_e2e.py","tests/test_scroll_only_if_needed_e2e.py","tests/test_security_state_engine_e2e.py","tests/test_service_worker.py","tests/test_service_workers_blocked.py","tests/test_strict_and_force.py","tests/test_the_engine_is_born_in_the_job_e2e.py","tests/test_the_hosts_file_of_the_host_is_never_read_e2e.py","tests/test_the_shutdown_ping_leaves_by_the_background_task_e2e.py","tests/test_trial_does_not_act.py","tests/test_ua_widget_not_selectable.py","tests/test_webgpu_canvas_readback_is_noised_e2e.py"],"marker":"e2e","needs_root":false,"linux_twin":"wrapper.e2e.suite.linux.1","note":"Part 1 of the whole e2e suite of the wrapper (every test that opens the browser: what e2e.yml runs on the published engine), on the engine under test, as two passes through scripts/ci_suite_run.py (4 browsers at once, then the wall_clock tests alone; no rerun). The files of the 4 rows of windows are the files of tests/ that tests/test_the_e2e_suite_is_accounted_for.py holds one by one: a file whole when every test of it is here, else its tests by name. Partition from the junits of runs 44942540063 and 44985244053, test time balanced (about 609 s of estimated wall time, 4 browsers). A new file is added by hand to a row of each system and the minimum of the row goes up by hand. Left out of every row, with the reason in the accounting test: the files and tests of wrapper.e2e.udp.exit and wrapper.e2e.udp.sandbox (root and user namespaces, their own rows), the files of the round after the publication (tests/_post_publication.py), and the tests that skip on windows (a skip is red in the verdict).","runner_image":{"windows":"windows-2022"},"run":"suite_run"},
{"id":"wrapper.e2e.suite.windows.3","giro":"G2","os":["windows"],"min_tests":299,"exact":true,"tests":["tests/test_a_click_in_an_iframe_lands_at_the_frames_own_screen_origin_e2e.py","tests/test_a_context_that_ends_leaves_no_process_e2e.py","tests/test_a_cors_preflight_is_not_a_request_of_the_page_e2e.py","tests/test_a_launch_without_a_session_gets_one_e2e.py","tests/test_a_mouse_click_makes_one_mousemove_on_its_point_e2e.py","tests/test_a_page_function_called_by_the_client_sees_only_page_frames_e2e.py","tests/test_a_page_over_ipv6_gathers_on_a_machine_declared_without_it_e2e.py","tests/test_a_page_sees_no_pointer_event_before_the_first_input_on_the_hidden_display_e2e.py","tests/test_a_pages_own_hasinstance_is_never_called_while_the_client_listens_to_console_e2e.py","tests/test_a_password_field_is_as_wide_as_on_retail_windows_e2e.py","tests/test_a_served_browser_answers_a_plain_client_e2e.py","tests/test_actions_without_a_point.py","tests/test_audio_noise_e2e.py","tests/test_audio_sample_rate_is_declared_e2e.py","tests/test_bypass_csp_e2e.py","tests/test_control_a_selects_all_in_a_field_e2e.py","tests/test_cross_origin_iframe.py","tests/test_dom_iterables_from_evaluate_e2e.py","tests/test_drag_motion.py","tests/test_element_screenshot_e2e.py","tests/test_fakeweb_p4_e2e.py","tests/test_fingerprint_consistency.py","tests/test_first_launch_from_a_new_path.py","tests/test_fission_frames_history_and_processes_e2e.py","tests/test_fission_frames_workers_storage_and_special_frames_e2e.py","tests/test_fission_strategy1_bench.py","tests/test_goto_and_every_way_it_is_stopped_e2e.py","tests/test_http3_through_the_proxy_e2e.py","tests/test_input_is_born_before_the_page_sees_it_e2e.py","tests/test_ipv6_literal_connect_e2e.py","tests/test_networkidle_through_a_served_browser_with_routes_e2e.py","tests/test_page_number_follows_the_call.py","tests/test_persistent_profile_keeps_state.py","tests/test_pointer_position.py","tests/test_popup_destinations_e2e.py","tests/test_popup_pages.py","tests/test_proxy_http_auth_e2e.py","tests/test_requestless_navigation.py","tests/test_route_abort_code.py","tests/test_route_post_data_e2e.py","tests/test_same_document_navigation.py","tests/test_screencast.py","tests/test_screenshot_looks_where_you_are.py","tests/test_service_worker_controller_e2e.py","tests/test_set_input_files_payloads.py","tests/test_set_offline_e2e.py","tests/test_the_callers_code_is_not_counted_e2e.py","tests/test_the_callers_code_runs_once_e2e.py","tests/test_the_close_returns_when_the_browser_has_exited_e2e.py","tests/test_the_launch_counter_is_one_plain_get_before_any_page_e2e.py","tests/test_webgl_declared_parameters_e2e.py","tests/test_webgl_shader_language_e2e.py","tests/test_webgpu_adapter_is_declared_e2e.py","tests/test_webgpu_external_texture_e2e.py"],"marker":"e2e","needs_root":false,"linux_twin":"wrapper.e2e.suite.linux.1","note":"Part 3 of the whole e2e suite of the wrapper (every test that opens the browser: what e2e.yml runs on the published engine), on the engine under test, as two passes through scripts/ci_suite_run.py (4 browsers at once, then the wall_clock tests alone; no rerun). The files of the 4 rows of windows are the files of tests/ that tests/test_the_e2e_suite_is_accounted_for.py holds one by one: a file whole when every test of it is here, else its tests by name. Partition from the junits of runs 44942540063 and 44985244053, test time balanced (about 610 s of estimated wall time, 4 browsers). A new file is added by hand to a row of each system and the minimum of the row goes up by hand. Left out of every row, with the reason in the accounting test: the files and tests of wrapper.e2e.udp.exit and wrapper.e2e.udp.sandbox (root and user namespaces, their own rows), the files of the round after the publication (tests/_post_publication.py), and the tests that skip on windows (a skip is red in the verdict).","runner_image":{"windows":"windows-2022"},"run":"suite_run"},
{"id":"wrapper.e2e.suite.windows.4","giro":"G2","os":["windows"],"min_tests":334,"exact":true,"tests":["tests/test_a_context_language_is_the_accept_language_of_every_request_e2e.py","tests/test_a_declared_webgl_extension_survives_its_use_e2e.py","tests/test_a_drag_keeps_its_buttons_pressed_e2e.py","tests/test_a_field_is_typed_after_a_pause.py","tests/test_a_frame_reads_only_declared_origins_while_it_loads_e2e.py","tests/test_a_handle_action_walks_like_a_selector_action_e2e.py","tests/test_a_keepalive_request_reaches_the_client_e2e.py","tests/test_a_launch_and_a_context_timezone_reach_the_page_e2e.py","tests/test_a_page_that_moves_on_e2e.py","tests/test_a_pointer_event_is_handled_before_the_call_returns_e2e.py","tests/test_a_popup_is_reported_when_the_engine_says_it_is_ready_as_playwright_does_e2e.py","tests/test_a_popup_moves_and_resizes_as_declared_e2e.py","tests/test_a_popup_of_a_link_reaches_the_client_e2e.py","tests/test_a_popup_reads_the_retail_sizes_of_a_maximized_main_window_e2e.py","tests/test_a_request_says_what_it_is_e2e.py","tests/test_a_screenshot_draws_the_text_of_the_bundled_fonts_as_the_content_does_e2e.py","tests/test_accept_language_on_the_wire_e2e.py","tests/test_canvas_measure_text_metrics_e2e.py","tests/test_doh_through_the_proxy_e2e.py","tests/test_doh_under_stress_e2e.py","tests/test_exslt_date_time_through_an_imported_stylesheet_is_in_the_declared_zone_e2e.py","tests/test_fakeweb_p2_e2e.py","tests/test_file_chooser.py","tests/test_fingerprint_surface.py","tests/test_fission_frames_route_and_bindings_e2e.py","tests/test_fission_frames_tree_input_and_pixels_e2e.py","tests/test_frames_outlive_the_back_forward_cache_e2e.py","tests/test_hardware_values_are_declared_e2e.py","tests/test_injected_node_surface.py","tests/test_input_reaches_the_top_and_a_frame_of_another_site_at_every_scale_e2e.py","tests/test_juggler_connection.py","tests/test_juggler_event_listeners.py","tests/test_juggler_injected.py::test_a_javascript_that_THROWS_arrives_as_an_error_not_as_None","tests/test_juggler_injected.py::test_actionability_DISTINGUISHES_instead_of_always_saying_yes","tests/test_juggler_injected.py::test_reads_that_make_no_sense_are_REJECTED","tests/test_juggler_injected.py::test_states_DISCRIMINATE_instead_of_always_saying_true","tests/test_juggler_injected.py::test_the_DOM_READING_group","tests/test_juggler_injected.py::test_the_selector_engines_respond","tests/test_juggler_injected.py::test_the_text_reads","tests/test_mouse_events_keep_their_values_e2e.py","tests/test_navigation_response.py","tests/test_new_page_defaults.py","tests/test_oop_frame_element.py","tests/test_page_element_atoms_run_in_a_sandbox_e2e.py","tests/test_popup_geometry_is_the_declared_frame_e2e.py","tests/test_proxy_reaches_the_browser.py","tests/test_realness_behind_a_declared_exit_e2e.py","tests/test_route_header_order_e2e.py","tests/test_route_sends_a_navigation_elsewhere_e2e.py","tests/test_same_document_goto_e2e.py","tests/test_script_cache_written_is_adopted_e2e.py","tests/test_scroll_into_view.py","tests/test_shadow_trusted_input.py","tests/test_software_compositing_is_declared_e2e.py","tests/test_the_association_is_ready_when_the_peerconnection_is_born_e2e.py","tests/test_the_maximized_window_frames_and_popups_read_retail_e2e.py","tests/test_the_parent_methods_of_the_window_origin_are_not_exposed_to_a_page_e2e.py","tests/test_typing_a_character_without_a_key_e2e.py","tests/test_webgl_noise_active.py","tests/test_window_occlusion_e2e.py"],"marker":"e2e","needs_root":false,"linux_twin":"wrapper.e2e.suite.linux.2","note":"Part 4 of the whole e2e suite of the wrapper (every test that opens the browser: what e2e.yml runs on the published engine), on the engine under test, as two passes through scripts/ci_suite_run.py (4 browsers at once, then the wall_clock tests alone; no rerun). The files of the 4 rows of windows are the files of tests/ that tests/test_the_e2e_suite_is_accounted_for.py holds one by one: a file whole when every test of it is here, else its tests by name. Partition from the junits of runs 44942540063 and 44985244053, test time balanced (about 609 s of estimated wall time, 4 browsers). A new file is added by hand to a row of each system and the minimum of the row goes up by hand. Left out of every row, with the reason in the accounting test: the files and tests of wrapper.e2e.udp.exit and wrapper.e2e.udp.sandbox (root and user namespaces, their own rows), the files of the round after the publication (tests/_post_publication.py), and the tests that skip on windows (a skip is red in the verdict).","runner_image":{"windows":"windows-2022"},"run":"suite_run"},
{"id":"wrapper.e2e.suite.windows.control_a","giro":"G2","os":["windows"],"min_tests":20,"exact":true,"tests":["tests/test_control_a_selects_all_in_a_field_e2e.py"],"marker":"e2e","needs_root":false,"linux_twin":"wrapper.e2e.suite.linux.1","note":"The keyboard shortcut Control+A selects all in a field (5 ways to press it x an input and a textarea, in-process and served to the stock client), alone on its own Windows runner (windows-latest), as e2e.yml runs it on the published engine: the Windows keyboard of a real user is what it needs. The same file is in one of wrapper.e2e.suite.windows.1..4 and in wrapper.e2e.suite.linux.1.","run":"suite_run"},
{"id":"wrapper.e2e.ab_oracle","giro":"G2","os":["linux","windows"],"min_tests":1,"exact":true,"tests":["tests/test_ab_oracle_e2e.py"],"marker":"e2e","needs_root":false,"note":"Same seed, same bytes: the engine of the published set (the last published engine, with its own core and wrapper) against the candidate (with core_ref and wrapper_ref), on one machine, after the control: the published engine against ITSELF (the A/A; a difference is a broken control, exit 2, and the A/B is not run). On a pull request (no candidate: INVPW_BINARY_PATH is the published engine, no INVISIBLE_SEAL_FILE) the A/A is the whole test, on the first two seeds of the candidate set (all five when the pull request changes a file of this oracle: the step of e2e.yml that runs scripts/ci_ab_pr_seeds.py exports AB_ORACLE_PR_SEEDS), and saves both dumps and the diff under $AB_ORACLE_OUT or $RUNNER_TEMP/invpw-evidence/ab-oracle. scripts/ci_ab_oracle.py runs the host gate's dump (scripts/ci_host_gate.py dump: the persona seeds of ci/persona-seeds.json, each at its own DPR with nothing pinned, the whole page of scripts/host_gate; the `candidate` set of 5 seeds that reach every webgl renderer and every DPR, or with AB_ORACLE_SEED_SET=final and AB_ORACLE_SHARD=i/n the 20 seeds that reach every value of every dimension split over n jobs) twice, once with the published engine (fetched by the published set's own core under its own seal, which checks the archive's sha256, and dumped in that set's venv) and once with the candidate binary of the leg under its own seal, and compares every leaf of every visit: the only differences allowed are the `noise` entries of scripts/host_gate/exceptions.json and the diag. keys; anything else is red with the leaf, the two values and the seed; fewer leaves than the host gate's reference holds (16439 per visit; a DPR the reference does not record is held to the least of those it does) is red. The files (dump-<N>.json, dump-<N>-again.json for the tag of the published set, diff-a-a.json and, with a candidate, dump-candidate.json and diff.json) are the artifact ab-oracle-<os> of the leg. 1 = the one test; the comparator's own cases (51, the A/A's among them) are in tests/test_ab_oracle.py, the persona seeds' (15) in tests/test_persona_cover.py, in the rows of the whole unit suite. Needs the engine's binary (INVPW_BINARY_PATH) and, for the A/B, the candidate's seal (INVISIBLE_SEAL_FILE) and the network (the release assets of the published engine, and INVPW_PUBLISHED_PYTHON). Each engine runs with the core it was built for: a core that declares less than the published engine requires is no longer a red of this suite (it was: engine candidate 5, every A/B a broken control). THE CONTROL IS THE PUBLISHED SET, as a user installs it: the last invisible-playwright on the index, the invisible-core it pins exactly and the engine that core's seal pins, in a venv of their own (ci/py-lock/published.txt, installed by hash from the run's wheelhouse; scripts/ci_published_set.py; INVPW_PUBLISHED_PYTHON is its python). The candidate's side is the candidate engine with core_ref and wrapper_ref. No tag is written in a harness file.","timeout_minutes":50,"core_dumps":"cores","extra_steps":["keep_oracle_files"],"artifact":"ab-oracle"},
{"id":"wrapper.e2e.ab_network","giro":"G2","os":["linux","windows"],"min_tests":1,"exact":true,"tests":["tests/test_ab_network_e2e.py"],"marker":"e2e","needs_root":false,"note":"Network A/B oracle: the P4 journey, HTTPS h1/h2 (ClientHello, h2 frames, header order), HTTP/3 (transport parameters, H3 SETTINGS), WebRTC through the coherent SOCKS5 lab gateway, DNS through the fake DoH, and an idle launch; transcripts compared leaf by leaf, direct connections red on either side. A/A first (the published engine twice: a difference is a broken control; ci/ab-network-volatile.json holds the leaves the A/A proved volatile, and may only shrink), then the published engine against the candidate. Without a candidate (a PR's e2e) the A/A alone, on the first seed (all five when the pull request changes a file of this oracle: AB_NETWORK_PR_SEEDS), in jobs of its own in e2e.yml on Linux and on Windows (the shared e2e jobs leave this file out). THE CONTROL IS THE PUBLISHED SET, as a user installs it: the last invisible-playwright on the index, the invisible-core it pins exactly and the engine that core's seal pins, in a venv of their own (ci/py-lock/published.txt, installed by hash from the run's wheelhouse; scripts/ci_published_set.py; INVPW_PUBLISHED_PYTHON is its python). The candidate's side is the candidate engine with core_ref and wrapper_ref. No tag is written in a harness file.","timeout_minutes":75,"core_dumps":"cores","extra_steps":["keep_oracle_files"]},
{"id":"wrapper.e2e.ab_host","giro":"G2","os":["linux","windows"],"min_tests":1,"exact":true,"tests":["tests/test_ab_host_e2e.py"],"marker":"e2e","needs_root":false,"note":"Host A/B oracle: the whole TRACE of a closed run, from the launch to the exit of the browser, after the same journey. Compared: the processes by kind (the parent, -contentproc type, sandboxingKind, isForBrowser, the helpers by what they ran) with their count, except for the kinds of type tab whose count follows the idle time (only their presence counts), and the host paths the tree touched, judged by one rule (red if and only if a path is in all the measured launches of one engine and in no launch of the other, the long launches included; every other path that differs is listed in not-judged.json, not judged); what is ours (the package, the profile and temp dirs of the launch, the run cache, its own shared memory) leaves the comparison as a class. Linux: strace of the whole tree. Windows: the process-creation audit (event 4688, with the command line) and an ETW file trace of Kernel-File, which need an administrator. It has jobs of its own in e2e.yml on Linux and on Windows (a measurement shares the machine with no other browser), and its footprints keep the lifecycle of the tree (who started and ended when, how) and how the close ended. Each engine run starts with a discarded warm-up launch whose trace is kept and listed apart (what only the warm-up did, with the process that did it); only the tree of the launch is compared (a Windows service's paths are counted by process name and left out), and a path or a kind that differs names the processes to blame. A/A first, then the published engine against the candidate; the one declared difference (Linux glxtest, gone on the 69) is in ci/ab-host-expected.json, applied by kind, a list that may only shrink. There is no list of noise. Without a candidate (a PR e2e) the A/A alone, on the first two seeds (all five when the pull request changes a file of this oracle: AB_HOST_PR_SEEDS). THE CONTROL IS THE PUBLISHED SET, as a user installs it: the last invisible-playwright on the index, the invisible-core it pins exactly and the engine that core's seal pins, in a venv of their own (ci/py-lock/published.txt, installed by hash from the run's wheelhouse; scripts/ci_published_set.py; INVPW_PUBLISHED_PYTHON is its python). The candidate's side is the candidate engine with core_ref and wrapper_ref. No tag is written in a harness file.","runner_image":{"windows":"windows-2022"},"timeout_minutes":50,"core_dumps":"cores","stock_firefox":["windows"],"location_service":["windows"],"extra_steps":["keep_oracle_files"]},
{"id":"wrapper.e2e.ab_host_crash","giro":"G2","os":["linux"],"min_tests":1,"exact":true,"tests":["tests/test_ab_host_crash_linux_e2e.py"],"marker":"e2e","needs_root":false,"linux_only":"A signal sent to the parent of the browser with os.kill, the core the kernel writes and gdb reads, and the signal line of strace exist on Linux only: Windows has no counterpart of this test. What a Windows launch that did not end with 0 leaves (the `.extra` files and the minidump names, read from the crash folders) is held by the unit tests of the recorder with fake launches, and by every Windows leg of the three oracles, which are red on any parent that does not end with 0.","note":"The recorder of the host oracle, tested on a launch that dies on purpose: scripts/ci_ab_host.py crash-probe launches the engine once under the oracle's stand-in (strace of the tree, cores enabled, a crash watcher), sends SIGSEGV to the browser's parent with os.kill and closes it as the oracle closes its launches; the test passes when the oracle reports RED (exit 1, `FAIL the parent process exited with code ...: seed N, launch crash`) and the artifact (RUNNER_TEMP/invpw-evidence/ab-host-crash) holds the signal line of the strace log (strace-signals.txt, strace-tail.txt), the core run through gdb (gdb-core.*.txt: `thread apply all bt`, the MOZ_CRASH reason, `info sharedlibrary`), the build ids and what the collectors did not find (said.txt). It fails when the oracle says green for a launch that died, when the evidence is missing and when the probe did not run; the red of the probe does not make the job red. It runs in the job of the host oracle on Linux (e2e-host: strace, gdb and elfutils installed, kernel.core_pattern pointed at INVPW_CORE_DIR), after the A/A, and is left out of the shared e2e job (OWN_JOB_FILES).","timeout_minutes":35,"core_dumps":"cores","extra_steps":["keep_oracle_files"]}
"about":"What retail Firefox on Windows reads on a password field in the page tests/data/password_mask_page.html (the width of 40 x 'a' in Arial 16px, which is 40 times the advance of the mask character), extracted by scripts/extract_retail_password_mask.py. Never edited by hand.",
"about":"What retail Firefox reads in a popup opened from a maximized main window, per display case and feature string, extracted by scripts/extract_retail_popup_sizes.py. Never edited by hand.",
{"file":"tests/test_css_calc_is_windows_e2e.py","reason":"feature cancelled with the 69 backlog (21/11)","date":"2026-11-21","tests":{"wrapper.unit.all.linux":1,"wrapper.unit.all.windows":1}},
{"file":"tests/test_math_sin_cos_tan_are_windows_e2e.py","reason":"feature cancelled with the 69 backlog (21/11)","date":"2026-11-21","tests":{"wrapper.unit.all.linux":1,"wrapper.unit.all.windows":1}},
{"file":"tests/test_system_fonts_and_colors_are_windows_e2e.py","reason":"feature cancelled with the 69 backlog (21/11)","date":"2026-11-21","tests":{"wrapper.unit.all.linux":1,"wrapper.unit.all.windows":1}},
{"file":"tests/test_webgl_dot_has_the_declared_gpu_s_bits_e2e.py","reason":"feature cancelled with the 69 backlog (21/11)","date":"2026-11-21","tests":{"wrapper.unit.all.linux":3,"wrapper.unit.all.windows":3}},
{"file":"tests/unit/test_canvas_icc_refs.py","reason":"feature cancelled with the 69 backlog (21/11)","date":"2026-11-21","tests":{"wrapper.unit.all.linux":9,"wrapper.unit.all.windows":9}},
{"file":"tests/unit/test_canvas_text_colors_refs.py","reason":"feature cancelled with the 69 backlog (21/11)","date":"2026-11-21","tests":{"wrapper.unit.all.linux":8,"wrapper.unit.all.windows":8}},
{"file":"tests/unit/test_canvas_text_refs.py","reason":"feature cancelled with the 69 backlog (21/11)","date":"2026-11-21","tests":{"wrapper.unit.all.linux":7,"wrapper.unit.all.windows":7}},
{"file":"tests/unit/test_compare_canvas_text_runs.py","reason":"feature cancelled with the 69 backlog (21/11)","date":"2026-11-21","tests":{"wrapper.unit.all.linux":3,"wrapper.unit.all.windows":3}},
{"file":"tests/unit/test_fontconfig_criterion.py","reason":"feature cancelled with the 69 backlog (21/11)","date":"2026-11-21","tests":{"wrapper.unit.all.linux":5,"wrapper.unit.all.windows":5}},
{"file":"tests/unit/test_theme_refusal_drop.py","reason":"feature cancelled with the 69 backlog (21/11)","date":"2026-11-21","tests":{"wrapper.unit.all.linux":3,"wrapper.unit.all.windows":3}},
{"nodeid":"tests/test_detectors_e2e.py::test_the_headless_detector_sees_no_headless_and_no_proxy_tell","suite":"wrapper.e2e.suite.linux.1","count":1,"from_min_tests":449,"reason":"removed with the vendored bundle whose licence notice cannot ship without a studied system's name (pm, 27/11)","decided_by":"pm","date":"2026-11-27"},
{"nodeid":"tests/test_realness_behind_a_declared_exit_e2e.py::test_the_vendored_detection_page_finds_nothing_behind_the_gateway","suite":"wrapper.e2e.suite.linux.1","count":1,"from_min_tests":449,"reason":"removed with the vendored bundle whose licence notice cannot ship without a studied system's name (pm, 27/11)","decided_by":"pm","date":"2026-11-27"},
{"nodeid":"tests/test_detectors_e2e.py::test_the_headless_detector_sees_no_headless_and_no_proxy_tell","suite":"wrapper.e2e.suite.windows.1","count":1,"from_min_tests":333,"reason":"removed with the vendored bundle whose licence notice cannot ship without a studied system's name (pm, 27/11)","decided_by":"pm","date":"2026-11-27"},
{"nodeid":"tests/test_realness_behind_a_declared_exit_e2e.py::test_the_vendored_detection_page_finds_nothing_behind_the_gateway","suite":"wrapper.e2e.suite.windows.4","count":1,"from_min_tests":274,"reason":"removed with the vendored bundle whose licence notice cannot ship without a studied system's name (pm, 27/11)","decided_by":"pm","date":"2026-11-27"},
{"nodeid":"tests/test_realness_behind_a_declared_exit_e2e.py::test_the_vendored_detection_page_finds_nothing_behind_the_gateway","suite":"wrapper.e2e.realness","count":1,"from_min_tests":32,"reason":"removed with the vendored bundle whose licence notice cannot ship without a studied system's name (pm, 27/11)","decided_by":"pm","date":"2026-11-27"}
"comment":"The ready security state every job of ci.yml launches with (STEALTHFOX_SECURITY_STATE, set at the top of the workflow): a result with NO data (format 1, ok, no CRLite hashes, zero timestamps, no engine) and no security_state/ directory, so a launch copies nothing and no job asks Mozilla for anything or runs the engine's generate mode (the core neither downloads nor generates when the variable is set). To change it, change ci/security-state/securitystate-result.json and sha256 here in one commit; tests/test_ci_sets_the_security_state.py fails when they differ.",
| SOCKS5 proxy whose UDP relay works and exits from the same address as its TCP | through the proxy's UDP relay | present, equal to the proxy exit | mDNS names, UDP and TCP | none |
| SOCKS5 proxy that cannot carry UDP, or SOCKS4 | nowhere | absent | mDNS names, UDP and TCP | one `701` for the STUN request, after about eleven seconds, when gathering ends |
| HTTP or HTTPS proxy | nowhere (CONNECT carries no UDP) | absent | mDNS names, UDP and TCP | same as the row above |
| No proxy | directly from the machine, as in any browser | present when the STUN server answers: the line's real public address | mDNS names | none |
How to recognise each one from `about:webrtc` or from the `icecandidate` and
`icecandidateerror` events of your own `RTCPeerConnection`:
- **The relay carried it.** A `typ srflx` line whose address equals the address the
proxy exits from, and no error event. Behind a SOCKS5 proxy this is the only shape
in which a `srflx` appears.
- **The proxy does not carry coherent UDP.** Host candidates only, then a single `701`
`icecandidateerror` for the STUN request about eleven seconds after the offer, at the
moment gathering finishes, and no `srflx`. This covers a SOCKS5 proxy that refuses
UDP ASSOCIATE, a relay that never answers, a relay whose UDP leaves from an address
other than the TCP exit, and SOCKS4. An error that arrives at once instead of after
about eleven seconds points at a STUN server name that did not resolve, not at the proxy.
- **An HTTP or HTTPS proxy.** The same picture as the previous case: CONNECT carries
no UDP, so the STUN request goes nowhere and ends in one `701`.
- **No proxy.** A `typ srflx` line, present when the STUN server answers: the line's
real public address, as in any browser.
This is not the "suppressed" state from the table above. The host candidates are
there; only the `srflx` is missing, and the `701` tells you why.
Three things hold in every case:
- Host candidates are mDNS names (`<uuid>.local`), never an address of the machine.
The browser does not read the machine's network interfaces; the session declares one
plausible home network.
- No IPv6 candidate is produced, with or without a proxy.
- The names of STUN and TURN servers in `iceServers` are resolved by the browser over
DNS-over-HTTPS through the proxy of the context, not by the machine's resolver.
Without a proxy the system resolver is used, as in retail Firefox.
The decision is made by the library, not by you. Before launch, and before a context
that brings its own SOCKS5 proxy, it opens a SOCKS5 UDP ASSOCIATE, sends a STUN Binding
request through the relay and compares the address the STUN server saw with the proxy's
TCP exit. Only if a reply comes back and the two addresses are equal does the browser
send WebRTC's UDP through the relay; anything else is treated as a router that drops
UDP. No option forces UDP on. The measurement uses two public STUN servers by default;
to choose them, pass IPv4 literals, for example `udp_stun_servers=["192.0.2.10:3478"]`,
to `InvisiblePlaywright`. Each context uses its own proxy for WebRTC, so a context with
its own SOCKS5 proxy gets its own `srflx`.
## Driving the same session from Playwright
The manual read is for exploring. Once you know which candidate line matters, you want
@@ -151,7 +207,11 @@ with InvisiblePlaywright(seed=42, proxy=PROXY) as browser:
page.goto("https://example.com")
page.evaluate("""
async () => {
const pc = new RTCPeerConnection();
const pc = new RTCPeerConnection({
// Use a STUN server you can reach: with an unreachable one a 701 is
// expected in every case, and the cases cannot be told apart.
@@ -23,7 +23,7 @@ That is a real limit on what this page can say with a straight face. Arkose does
## What practitioner reverse engineering has converged on
Multiple independent writeups, none of them Arkose's own source, describe a broadly consistent picture of what the client-side script collects before a puzzle appears: device and browser fingerprint (screen resolution, installed fonts, navigator properties), canvas, WebGL and AudioContext rendering output, the same category of signal [CreepJS](creepjs-explained.md) and [BotD](botd-explained.md) read, and continuous mouse-movement telemetry once the puzzle itself is on screen.
Multiple independent writeups, none of them Arkose's own source, describe a broadly consistent picture of what the client-side script collects before a puzzle appears: device and browser fingerprint (screen resolution, installed fonts, navigator properties), canvas, WebGL and AudioContext rendering output, the same category of signal [a consistency checker](consistency-checker-explained.md) and [BotD](botd-explained.md) read, and continuous mouse-movement telemetry once the puzzle itself is on screen.
The mouse-movement layer is where the writeups get specific enough to be worth quoting carefully, with the caveat that this is reconstructed from the outside, not confirmed by Arkose: one practitioner account describes the script computing cursor acceleration ahead of a click, flagging a straight-line `mouse.move()` path (the kind a naive automation script produces) as an anomaly, and treating a press-to-release interval under roughly 50 milliseconds as evidence of programmatic input, on the reasoning that human physiology puts a real click closer to 70 to 100 milliseconds. None of these specific thresholds appear in Arkose's own public materials as retrieved for this page; they are practitioner reconstructions and should be weighed accordingly, the same caveat this corpus applies to reconstructed internals for [Kasada](kasada-explained.md) and [DataDome](datadome-explained.md).
@@ -39,7 +39,7 @@ Time pressure is part of the same mechanism by the same accounts: a stalled chal
Two different layers are worth separating cleanly here, because collapsing them is exactly the framing this page is built to avoid.
The **fingerprint layer**, canvas, WebGL, AudioContext, navigator properties, is the same category of check covered throughout this corpus: a genuinely real browser engine, patched below the JavaScript layer rather than overridden from a content script, produces these values honestly because it is not simulating them, it is generating them the normal way. That argument holds here exactly as it does for [CreepJS](creepjs-explained.md) and [PerimeterX](perimeterx-explained.md), and it says nothing puzzle-specific: it only affects whether the fingerprint half of Arkose's risk read looks honest or contradictory.
The **fingerprint layer**, canvas, WebGL, AudioContext, navigator properties, is the same category of check covered throughout this corpus: a genuinely real browser engine, patched below the JavaScript layer rather than overridden from a content script, produces these values honestly because it is not simulating them, it is generating them the normal way. That argument holds here exactly as it does for [a consistency checker](consistency-checker-explained.md) and another bot-detection service, and it says nothing puzzle-specific: it only affects whether the fingerprint half of Arkose's risk read looks honest or contradictory.
The **puzzle itself is a different kind of gate entirely**, the same structural point [made about Cloudflare Turnstile's checkbox tier](cloudflare-turnstile-explained.md): once risk scoring has decided a session needs a challenge, solving a 3D rotation puzzle is an interactive task, not a value a browser engine reports about itself. No amount of engine-level fidelity upstream makes that requirement disappear, because the requirement was never a fingerprint question in the first place. And the mouse-dynamics telemetry collected during the solve is a property of whatever is driving the pointer, human or scripted, [which has its own separate treatment in this corpus](mouse-dynamics-behavioural-biometrics.md), not a property of the rendering engine underneath.
@@ -61,7 +61,7 @@ The **puzzle itself is a different kind of gate entirely**, the same structural
**Why does Arkose escalate a stalled puzzle after about fifteen seconds?** By practitioner accounts, an unsolved challenge sitting past that window gets swapped or escalated rather than left open, which works against slow or hesitant automation the same way it works against a distracted human.
**See also:** [How Cloudflare Turnstile actually works](cloudflare-turnstile-explained.md) for the same fingerprint-versus-human-gate distinction at a vendor whose interactive tier is a click rather than a puzzle; [What are mouse-dynamics behavioural biometrics?](mouse-dynamics-behavioural-biometrics.md) for the pointer-telemetry layer in depth; and [How CreepJS decides you are lying](creepjs-explained.md) for the fingerprint-consistency argument this page leans on.
**See also:** [How Cloudflare Turnstile actually works](cloudflare-turnstile-explained.md) for the same fingerprint-versus-human-gate distinction at a vendor whose interactive tier is a click rather than a puzzle; [What are mouse-dynamics behavioural biometrics?](mouse-dynamics-behavioural-biometrics.md) for the pointer-telemetry layer in depth; and [How a consistency checker decides you are lying](consistency-checker-explained.md) for the fingerprint-consistency argument this page leans on.
@@ -54,7 +54,7 @@ AWS is also explicit about a category it treats differently from everything abov
## What an engine answers honestly, and what a browser cannot touch
`SignalAutomatedBrowser`, `TGT_SignalBrowserAutomationExtension`, and `TGT_SignalBrowserInconsistency` are the rules a real, engine-level browser answers by construction: a genuinely real Firefox, patched below the JavaScript layer, not scripted from a content script, does not carry automation-framework tells, does not have a Selenium-style extension installed, and does not produce internally inconsistent browser-interrogation data, because nothing is faking any of those signals from the inside. That is the same argument this corpus makes for [BotD](botd-explained.md) and [CreepJS](creepjs-explained.md), applied to a managed rule group instead of an open-source script.
`SignalAutomatedBrowser`, `TGT_SignalBrowserAutomationExtension`, and `TGT_SignalBrowserInconsistency` are the rules a real, engine-level browser answers by construction: a genuinely real Firefox, patched below the JavaScript layer, not scripted from a content script, does not carry automation-framework tells, does not have a Selenium-style extension installed, and does not produce internally inconsistent browser-interrogation data, because nothing is faking any of those signals from the inside. That is the same argument this corpus makes for [BotD](botd-explained.md) and [a consistency checker](consistency-checker-explained.md), applied to a managed rule group instead of an open-source script.
Several rule families sit entirely outside what any browser engine can affect. `SignalKnownBotDataCenter` and the cloud-service-provider signal read the network origin, not the browser. The `TGT_VolumetricSession` and `TGT_TokenReuseIp/Country/Asn` families score session and token behavior across time and across requests, a property of how the automation is orchestrated (how many machines, how many networks, how fast) rather than of the browser rendering any one page. And `TGT_ML_CoordinatedActivity`, by AWS's own description, runs on aggregate traffic statistics across a site's whole visitor population, comparing against a baseline no single session's engine fidelity can influence.
title: "Browser trust scores explained: what the number means"
description: "CreepJS trust, FingerprintJS confidence and reCAPTCHA v3 score measure different things: what each trust score means and why one green does not imply the rest."
description: "consistency-checker trust, fingerprinting-library confidence and reCAPTCHA v3 score measure different things: what each trust score means and why one green does not imply the rest."
parent: "Detectors, Explained"
grand_parent: "Guides"
nav_order: 8
@@ -9,7 +9,7 @@ nav_order: 8
# Browser trust scores explained: what the number means
CreepJS trust, FingerprintJS confidence and a reCAPTCHA v3 score all look like the
consistency-checker trust, fingerprinting-library confidence and a reCAPTCHA v3 score all look like the
same kind of number, and they are not: one counts contradictions, one measures how
sure a match is, and one estimates behavioural risk. A high number from one says
almost nothing about what the next one will read, and treating them as interchangeable
@@ -22,12 +22,12 @@ number moved.
## Three numbers, three different questions
The three numbers answer three unrelated questions: CreepJS trust asks whether your
The three numbers answer three unrelated questions: consistency-checker trust asks whether your
values contradict each other, a FingerprintJS visitor ID asks whether you are the same
visitor as last time, and a reCAPTCHA v3 score asks how risky your behaviour and history
look. Line them up and the confusion evaporates:
- **CreepJS trust** is a consistency and lie count. It is high when nothing you report
- **consistency-checker trust** is a consistency and lie count. It is high when nothing you report
contradicts anything else you report and nothing looks tampered with. It is not a
rarity score, and being unusual does not lower it.
- **A FingerprintJS visitor ID** is a hash, and the thing next to it labelled
@@ -39,16 +39,16 @@ look. Line them up and the confusion evaporates:
| Number | The question it answers | What it reads | What moves it |
|---|---|---|---|
| CreepJS trust | Do my reported values contradict each other? | Descriptors, prototypes, stack traces, canvas and font surfaces | A patched or blocked probe, or two fields that disagree |
| consistency-checker trust | Do my reported values contradict each other? | Descriptors, prototypes, stack traces, canvas and font surfaces | A patched or blocked probe, or two fields that disagree |
| FingerprintJS visitor ID (+ confidence) | Am I the same visitor as before? | A hash of the browser's components, in a fixed order | Any one component changing changes the whole ID |
| reCAPTCHA v3 score | How risky do my behaviour and history look? | Interaction, cookies, storage and exit reputation, not the DOM | A warmed-up profile and realistic behaviour, not a cleaner fingerprint |
Different inputs, different outputs, different failure modes. The rest of this page is
one section per number, then why they do not move together.
## CreepJS trust: a lie count, not a rarity score
## consistency-checker trust: a lie count, not a rarity score
[CreepJS records a blocked probe as a lie](creepjs-explained.md) and walks
[a consistency checker records a blocked probe as a lie](consistency-checker-explained.md) and walks
descriptors, prototypes and stack traces looking for values that were patched after
the fact. Its trust figure goes up when the surfaces agree with each other and down
when one of them looks edited or refuses to answer.
@@ -106,18 +106,18 @@ none of which a fingerprint layer can supply.
The three numbers are independent, so a high score on one predicts nothing about the
other two. Put them side by side and the independence is obvious:
- You can score high on CreepJS trust and low on reCAPTCHA v3, because a perfectly
- You can score high on consistency-checker trust and low on reCAPTCHA v3, because a perfectly
consistent browser with no history is exactly what a consistent bot also looks like.
- You can have a stable, high-confidence FingerprintJS ID and still fail CreepJS,
- You can have a stable, high-confidence fingerprinting-library ID and still fail a consistency checker,
because a stable ID only means your components did not move, not that they are
telling the truth.
- You can pass reCAPTCHA v3 on a warmed profile and fail CreepJS, because behavioural
- You can pass reCAPTCHA v3 on a warmed profile and fail a consistency checker, because behavioural
reputation says nothing about whether a descriptor was patched.
They cross-cut. Each of the [five detector deep-dives in this set](how-to-test-bot-detection.md)
measures a different axis, and a green on one axis is not a green on the others. The
practical rule is to name which number you are looking at before you react to it,
because the fix for a low CreepJS trust (consistency) is not the fix for a low
because the fix for a low consistency-checker trust (consistency) is not the fix for a low
reCAPTCHA v3 score (history), and applying one to the other wastes days.
## A blocked probe lowers the score, it does not hide from it
@@ -129,7 +129,7 @@ is nothing here for it to punish.
Every one of those is counted against you, not for you:
- CreepJS records a blocked probe as a lie by name, so blocking lowers trust directly.
- A consistency checker records a blocked probe as a lie by name, so blocking lowers trust directly.
- A value that changes on every read is a tampering tell, and a per-call-changing
canvas or audio hash reads as randomisation rather than a real device.
- A missing signal is still a signal. An empty result where a real browser has data is
@@ -171,7 +171,7 @@ with sf as browser:
Reading the same value twice in one session is the cheapest consistency check there
is: if `first` and `second` disagree, something is randomising per call, which is the
exact tampering pattern that costs you CreepJS trust. Here they match, which is the
exact tampering pattern that costs you consistency-checker trust. Here they match, which is the
behaviour you want.
Now confirm it is stable across sessions too, which is what keeps a FingerprintJS ID
@@ -198,14 +198,14 @@ That reproducibility is what lets you attribute a score change to the one thing
changed. If you have not passed a seed, log `sf.seed` from the instance first so a run
that scored interestingly can be replayed exactly.
The honest boundary, again: this makes the CreepJS-style consistency axis and the
The honest boundary, again: this makes the consistency-checker-style consistency axis and the
FingerprintJS linkability axis controllable and repeatable. It does not warm up a
profile, and the reCAPTCHA v3 number will still start low on a session with no past no
matter how clean the fingerprint is.
## Conclusion
Three numbers, three axes. CreepJS trust counts contradictions and lies, a
Three numbers, three axes. consistency-checker trust counts contradictions and lies, a
FingerprintJS ID and its confidence measure whether you are the same visitor as before,
and a reCAPTCHA v3 score estimates risk from behaviour and history. Passing one is not
passing another, suppressing a signal lowers the two that read the DOM rather than
@@ -215,7 +215,7 @@ react to the number, and the contradictory results stop being contradictory.
## Short answers to the questions that lead here
**Is a CreepJS trust score the same as a reCAPTCHA score?** No. CreepJS trust counts
**Is a consistency-checker trust score the same as a reCAPTCHA score?** No. consistency-checker trust counts
internal contradictions and tampering; a reCAPTCHA v3 score is a 0.0 to 1.0 risk
estimate built mostly from behaviour and history. A high one does not predict the
other.
@@ -224,11 +224,11 @@ other.
this visitor ID matches the same visitor as before. It is about the reliability of the
match, not about whether the browser looks automated.
**I pass CreepJS but still get a low reCAPTCHA score, why?** Because reCAPTCHA v3 is
**I pass a consistency checker but still get a low reCAPTCHA score, why?** Because reCAPTCHA v3 is
mostly reading history and behaviour, and a fresh profile has neither. A clean
fingerprint does not supply a past, and past is what this score is missing.
**Does a rare fingerprint lower my trust score?** No. CreepJS trust is about
**Does a rare fingerprint lower my trust score?** No. consistency-checker trust is about
consistency, not rarity. An unusual but coherent identity can score perfectly; a common
but contradictory one scores badly.
@@ -237,14 +237,14 @@ recorded as a lie, and a value that changes per read is a tampering tell. Answer
every probe with a coherent value scores better than refusing.
**Which score should I optimise for?** The one your target actually uses. Optimise
consistency for a CreepJS-style check, a warmed profile and realistic behaviour for a
consistency for a consistency-checker-style check, a warmed profile and realistic behaviour for a
reCAPTCHA-style score, and decide whether you want the FingerprintJS ID to stay put or
change.
## Sources
- The three detectors named above, each with its own page in this set, read from their
own source rather than from a rendered verdict: [CreepJS](https://github.com/abrahamjuliot/creepjs)
own source rather than from a rendered verdict: a consistency checker
on tampering, [FingerprintJS](https://github.com/fingerprintjs/fingerprintjs) on
the hashed visitor ID and its confidence, and [reCAPTCHA v3](https://developers.google.com/recaptcha/docs/v3)
on the behavioural score, retrieved 2026-08-28.
@@ -252,7 +252,7 @@ change.
byte-identical canvas output within and across sessions, which is the property a
consistency check rewards.
**See also:** [how CreepJS decides you are lying](creepjs-explained.md) for the
**See also:** [how a consistency checker decides you are lying](consistency-checker-explained.md) for the
consistency axis, [why a fresh browser scores low on reCAPTCHA v3](recaptcha-v3-score.md)
for the history axis, and [how to test whether your browser is detected](how-to-test-bot-detection.md)
for the compare-against-a-stock-browser method that keeps these numbers honest.
title: "BrowserLeaks canvas and WebGL hash, explained"
description: "The BrowserLeaks canvas and WebGL signature is a hash of a pixel readback, not your GPU. What it measures, and why one seed gives a byte-identical hash."
title: "The canvas and WebGL readback hash, explained"
description: "The canvas and WebGL signature a raw-value inspector shows is a hash of a pixel readback, not your GPU. What it measures, and why one seed gives a byte-identical hash."
parent: "Detectors, Explained"
grand_parent: "Guides"
nav_order: 6
---
# BrowserLeaks canvas and WebGL hash, explained
# The canvas and WebGL readback hash, explained
The BrowserLeaks canvas and WebGL signature is a hash of the pixels a readback call
The canvas and WebGL signature a raw-value inspector shows is a hash of the pixels a readback call
returns, not a fingerprint of your GPU. It sits at the very end of the render pipeline,
which is why editing a reported renderer string never moves it, and why the only way to
control it is to control the bytes handed back at the readback boundary. Get that boundary
right and one seed produces a byte-identical hash on Windows and Linux alike.
BrowserLeaks shows you a canvas "signature" and a WebGL "signature" and treats each as a
stable identifier for your machine (see [what each BrowserLeaks panel tests](browserleaks-explained.md)
A raw-value inspector shows you a canvas "signature" and a WebGL "signature" and treats each as a
stable identifier for your machine (see [what each raw-value inspector panel tests](raw-value-inspector-explained.md)
for the wider tour). People read those short hex strings as a fingerprint
of the GPU, and then try to change the GPU to change them. That is the wrong layer. The
signature is a hash of one specific thing, and once you know which thing, the whole
@@ -26,7 +26,7 @@ This page is what the signature measures, where in the pipeline it is actually t
has to be true for two machines to produce the same one, and how to read both values
yourself against a stock browser.
## What BrowserLeaks calls a signature
## What a raw-value inspector calls a signature
The canvas test draws text and shapes into an off-screen canvas, then asks the page to
read the resulting pixels back out and hashes them. The WebGL test does the same with a
@@ -90,7 +90,7 @@ between Windows and Linux. The honest test is not "did the hash change", it is "
different hosts, same seed, produce the same hash to the byte".
Measured on this build, same seed on Windows and on Linux, read in the page the way
BrowserLeaks reads it: the canvas signature is `df2a9319` on both, and the WebGL signature
a raw-value inspector reads it: the canvas signature is `df2a9319` on both, and the WebGL signature
is `0df1d6f8` on both. Not close, identical.
| Signature | Windows | Linux | Match |
@@ -189,7 +189,7 @@ seeded one gives the same answer on a second machine and the stock one does not.
## Conclusion
The BrowserLeaks canvas and WebGL signatures are hashes of a readback, and the readback is
The canvas and WebGL signatures a raw-value inspector shows are hashes of a readback, and the readback is
the only place a page can observe a render at all. That single fact is what makes the
surface tractable: substitute the bytes at the readback boundary with a function of the
seed, and the signature becomes seed-determined instead of GPU-determined, byte-identical
@@ -200,7 +200,7 @@ byte on two different hosts, with zero cross-host failures across sixteen seeds.
## Short answers to the questions that lead here
**What does the BrowserLeaks canvas signature actually measure?** The hash of the pixels a
**What does the raw-value inspector canvas signature actually measure?** The hash of the pixels a
readback call returns, not any property of your GPU. It is downstream of the entire render
pipeline, which is why editing a renderer string does not move it.
@@ -225,10 +225,8 @@ signature is the pixels, the renderer string is a reported value, and both have
## Sources
- BrowserLeaks canvas and WebGL pages, read for how the signature is computed: a hash over
@@ -41,7 +41,7 @@ AI Labyrinth was one early piece of a larger shift in how Cloudflare treats AI c
## What this means for a real, engine-level browser
This is worth being direct about, because it is a genuinely different kind of mechanism from everything else in this corpus: **AI Labyrinth is not a fingerprint check at all.** It does not read canvas output, WebGL parameters, TLS handshakes, or navigator properties. It is triggered by crawling behavior, following invisible links a normal rendering and interaction pattern never reaches, after a site's crawl preferences have already been ignored. There is no honest-engine argument to make here the way there is for [CreepJS](creepjs-explained.md) or [DataDome's device layer](datadome-explained.md), because nothing about being a genuinely real browser engine changes whether a crawling process follows every link it finds on a page, including invisible ones humans never see.
This is worth being direct about, because it is a genuinely different kind of mechanism from everything else in this corpus: **AI Labyrinth is not a fingerprint check at all.** It does not read canvas output, WebGL parameters, TLS handshakes, or navigator properties. It is triggered by crawling behavior, following invisible links a normal rendering and interaction pattern never reaches, after a site's crawl preferences have already been ignored. There is no honest-engine argument to make here the way there is for [a consistency checker](consistency-checker-explained.md) or a bot-detection service's device layer, because nothing about being a genuinely real browser engine changes whether a crawling process follows every link it finds on a page, including invisible ones humans never see.
`invisible_playwright` is browser-automation infrastructure, not a crawling framework, and this project makes no claim about how any particular scraping logic built on top of it handles hidden links or robots.txt. What is worth stating plainly: a scraper that respects a site's stated crawl preferences and does not follow invisible, `nofollow`-tagged links in the first place never encounters this mechanism at all. AI Labyrinth is aimed at crawlers that have already chosen not to do that.
description: "invisible_playwright against the closest alternatives at each layer - Camoufox, Patchright, nodriver, playwright-stealth - plus the engine question underneath all of them: Firefox or Chromium."
description: "invisible_playwright against the closest alternatives at each layer - Patchright, nodriver, playwright-stealth - plus the engine question underneath all of them: Firefox or Chromium."
has_children: true
nav_order: 4
---
@@ -28,7 +28,6 @@ browser. An engine-level patch changed the binary, so there is no lie left to re
@@ -65,7 +64,6 @@ need rendering. Each page below states where the other tool covers more.
## Patched-engine, driver-patch and stealth-plugin tools
- [invisible_playwright vs Camoufox: two patched Firefoxes](vs-camoufox.md) - Both patch Firefox in C++; how each builds its fingerprint and whether a run replays.
- [invisible_playwright vs Patchright: driver vs engine](vs-patchright.md) - Patchright patches the Playwright driver on Chromium; this patches Firefox itself. Often you need both.
- [invisible_playwright vs rebrowser-patches: the same CDP fix](vs-rebrowser-patches.md) - Fixes the Runtime.enable CDP leak on Chromium; reaches neither Firefox nor fonts, GPU, canvas, audio.
- [undetected-playwright vs a patched Firefox binary](vs-undetected-playwright.md) - Hides Playwright's init-script and bindings tells; a patched Firefox closes the fingerprint layer.
@@ -73,12 +73,15 @@ row is for a specific situation.
|---|---|
| `INVISIBLE_PLAYWRIGHT_CACHE_DIR` | Put the cache somewhere else - another drive, a shared location, a path your CI already caches. It holds the engine and this machine's state (the GeoIP database, the font manifest) |
| `INVISIBLE_PLAYWRIGHT_ENGINE_DIR` | Keep the engine apart from the state, for example on a read-only disk built once per release: `invisible-playwright fetch` with it set fills it, and a launch only reads it. The cache directory must still be writable |
| `INVPW_BINARY_PATH` | Point at a binary you already have, and skip the download |
| `STEALTHFOX_GITHUB_TOKEN` | A rate-limited or corporate network that refuses anonymous GitHub downloads |
| `INVISIBLE_PLAYWRIGHT_SKEW=allow` | Run a Playwright version outside the tested range anyway |
| `INVPW_CURSOR_ENGINE` | `python` (default), `binary`, or `off` |
| `INVPW_CURSOR_ENGINE` | `python` (default, same as unset) or `off`. Any other value stops the launch with an error that lists these two |
| `INVISIBLE_DOWNLOAD_DEADLINE` | Seconds allowed for one engine download, default `1800`. Raise it on a very slow link; `0` removes the bound |
A binary you already have is not an environment variable: pass it as
`binary_path=` to `InvisiblePlaywright(...)`. That route skips the download, and the
engine is still checked against the sealed build, so a different one is refused.
description: "CreepJS asks whether a browser is telling the truth, not just what it reports. Read from its own source: how it detects a lie and why spoofing scores worse."
title: "How a consistency checker decides you are lying"
description: "A consistency checker asks whether a browser is telling the truth, not just what it reports. Read from its own source: how it detects a lie and why spoofing scores worse."
parent: "Detectors, Explained"
grand_parent: "Guides"
nav_order: 2
---
# How CreepJS decides you are lying
# How a consistency checker decides you are lying
Most fingerprinting tests ask what your browser reports. CreepJS mostly asks whether
Most fingerprinting tests ask what your browser reports. A consistency checker mostly asks whether
your browser is *telling the truth*, which is a different question and a much harder
one to pass by spoofing.
Read from the source on 2026-07-27 ([`abrahamjuliot/creepjs`](https://github.com/abrahamjuliot/creepjs),
`src/lies/index.ts` and the module layout) and not from the rendered page, because
Read from the source on 2026-07-27 (the open-source code of a public
consistency-checking test page: its tampering module and the module layout) and not from the rendered page, because
the interesting part is the method instead of the numbers it prints.
and [`Object.getPrototypeOf()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/getPrototypeOf),
retrieved 2026-08-28, for the four native APIs CreepJS's tampering checks are built on.
retrieved 2026-08-28, for the four native APIs a consistency checker's tampering checks are built on.
- Mozilla's own [Fingerprinting wiki page](https://wiki.mozilla.org/Security/Fingerprinting),
retrieved 2026-08-28, for Firefox's `resistFingerprinting` mode, which CreepJS's own
retrieved 2026-08-28, for Firefox's `resistFingerprinting` mode, which consistency checker's own
`resistance` module identifies.
- This project's own testing: a live, unmodified Playwright-driven Chromium session run
directly against CreepJS's headless module, for the 0% headless / 0% stealth scores
directly against a consistency checker's headless module, for the 0% headless / 0% stealth scores
quoted above.
**See also:** [what sannysoft checks](sannysoft-explained.md), whose canvas-in-iframe test is the same idea in miniature, [the three levels](playwright-stealth-levels.md), and [AudioContext fingerprinting](audiocontext-fingerprinting.md), where its silent-buffer check is worked through in detail.
@@ -169,5 +169,5 @@ JavaScript layer there is no override to find and no seam to detect.
---
*From the notes of [invisible_playwright](https://github.com/oss-invisible/playwright).
CreepJS is a release gate here. The lie names above are quoted from its source and
A consistency checker is a release gate here. The lie names above are quoted from its source and
not paraphrased, because the exact strings are what you will see in a report.*
@@ -51,7 +51,7 @@ Fastly's broader materials name additional categories without publishing the sam
## What an engine answers honestly, and what stays server-side
The headless-detection script's whole premise is that a headless or automation-driven environment behaves detectably differently from a real, rendering browser: missing APIs, timing that does not match real hardware, environment properties a genuine browser always has. A Firefox that is genuinely the engine it claims to be, patched below the JavaScript layer rather than scripted from a content script, answers that probe honestly because there is no simulated environment for the script to catch, the same argument this corpus makes for [CreepJS](creepjs-explained.md) and [BotD](botd-explained.md). The `CLIENTSIDE-COOKIE-VALID` signal in particular is close to a tautology for a real browser: a real engine that runs the script produces the cookie because it actually ran the script, not because anything faked having run it.
The headless-detection script's whole premise is that a headless or automation-driven environment behaves detectably differently from a real, rendering browser: missing APIs, timing that does not match real hardware, environment properties a genuine browser always has. A Firefox that is genuinely the engine it claims to be, patched below the JavaScript layer rather than scripted from a content script, answers that probe honestly because there is no simulated environment for the script to catch, the same argument this corpus makes for [a consistency checker](consistency-checker-explained.md) and [BotD](botd-explained.md). The `CLIENTSIDE-COOKIE-VALID` signal in particular is close to a tautology for a real browser: a real engine that runs the script produces the cookie because it actually ran the script, not because anything faked having run it.
What sits outside that: the server-side, pre-cache header and protocol analysis Fastly runs on every request regardless of JavaScript, which reads the connection and headers rather than anything a browser engine renders; the behavioral correlation "over time" Fastly's own materials describe, which is a property of the session and its history rather than the engine underneath any single request; and whatever Fastly's `BOT-ANALYSIS` signal and its underlying model actually weigh, which Fastly has not published in enough detail for this page to describe with confidence.
description: "How specific, well-known detectors actually work - sannysoft, CreepJS, BotD, FingerprintJS, reCAPTCHA v3 - read from their own source rather than reverse-engineered from behaviour."
description: "How specific, well-known detectors actually work - a basic bot-test page, a consistency checker, BotD, an open-source fingerprinting library, reCAPTCHA v3 - read from their own source rather than reverse-engineered from behaviour."
parent: "Guides"
has_children: true
nav_order: 6
@@ -18,13 +18,13 @@ whether a browser is telling the truth about what it claims to be.
## Named detectors and trust scores
- [What BotD actually detects, and what it does not](botd-explained.md) - what BotD's twenty detectors check, read from source: mostly engine truth, not automation.
- [How CreepJS decides you are lying](creepjs-explained.md) - CreepJS asks whether a browser tells the truth; how it detects a lie, from source.
- [How a consistency checker decides you are lying](consistency-checker-explained.md) - a consistency checker asks whether a browser tells the truth; how it detects a lie, from source.
- [What bot.sannysoft.com actually checks, row by row](sannysoft-explained.md) - which rows still mean something in 2026, which are relics, and the canvas check nobody reads.
- [What BrowserLeaks actually tests, surface by surface](browserleaks-explained.md) - canvas hash, WebGL, WebRTC, fonts, ClientRects; why a unique panel is not a fail.
- [BrowserLeaks canvas and WebGL hash, explained](browserleaks-canvas-webgl-hash.md) - the signature is a hash of a pixel readback, not your GPU.
- [What a raw-value inspector actually tests, surface by surface](raw-value-inspector-explained.md) - canvas hash, WebGL, WebRTC, fonts, ClientRects; why a unique panel is not a fail.
- [The canvas and WebGL readback hash, explained](canvas-webgl-readback-hash-explained.md) - the signature is a hash of a pixel readback, not your GPU.
- [Why a FingerprintJS visitor ID changes](fingerprintjs-visitor-id.md) - a visitor ID is a hash of 41 components; why it changes or stays.
- [reCAPTCHA v3 score: why a fresh browser scores badly](recaptcha-v3-score.md) - a fresh automated browser scores low even with a clean fingerprint. The reason is history.
- [Browser trust scores explained: what the number means](browser-trust-score-explained.md) - CreepJS trust, FingerprintJS confidence and reCAPTCHA v3 score measure different things; one green is not the rest.
- [Browser trust scores explained: what the number means](browser-trust-score-explained.md) - consistency-checker trust, fingerprinting-library confidence and reCAPTCHA v3 score measure different things; one green is not the rest.
- [How Cloudflare Turnstile actually works](cloudflare-turnstile-explained.md) - a signal-gathering decision engine, not a puzzle: non-interactive JS checks, proof-of-work, and a risk-scored escalation to a checkbox.
- [How DataDome's bot detection actually works](datadome-explained.md) - TLS/HTTP fingerprint, a JS device and behavior collector, and a cookie that remembers the verdict.
- [How Kasada's bot detection actually works](kasada-explained.md) - an obfuscated bytecode VM and a proof-of-work token that keeps renewing through the session.
@@ -51,11 +51,11 @@ which is exactly why it is worth understanding on its own.
## WebRTC candidates and leaks
- [WebRTC leak with a proxy in Playwright and Selenium](webrtc-leak-proxy.md) - A SOCKS5 proxy does not stop a leak, and disabling WebRTC trades it for a detectable signature.
- [WebRTC IP that matches the proxy exit, by design](webrtc-ip-match-proxy-exit.md) - The server-reflexive candidate equals the exit IP, with the real NAT port preserved.
- [WebRTC IPv6 leak: why a proxy does not stop it](webrtc-ipv6-leak-proxy.md) - A SOCKS proxy carries only TCP, so an IPv6 host still emits its real global address.
- [WebRTC has no ICE candidates behind a proxy](webrtc-no-candidates-behind-proxy.md) - An empty candidate list reads as tampering: why residential proxies drop the UDP STUN needs.
- [WebRTC IP that matches the proxy exit, by design](webrtc-ip-match-proxy-exit.md) - Behind a SOCKS5 proxy whose UDP relay works, the server-reflexive candidate is the proxy exit; behind any other proxy there is none.
- [WebRTC IPv6 leak: why a proxy does not stop it](webrtc-ipv6-leak-proxy.md) - A stock browser sends WebRTC's UDP from the machine's own interface, outside the proxy, so an IPv6 host can still expose its real address; here no IPv6 candidate is produced.
- [No public ICE candidate behind a proxy](webrtc-no-candidates-behind-proxy.md) - Most residential exits cannot carry the UDP that STUN needs: without it there is no server-reflexive candidate, only `.local` host candidates and one gathering error.
- [WebRTC ICE candidate spoofing: the fields that give it away](webrtc-ice-candidate-spoofing.md) - Priority, foundation and arrival time are all checkable, not just the address.
- [about:webrtc: read your real ICE candidates](about-webrtc-debug-ice-candidates.md) - Tell a real LAN-IP leak from a masked .local host and a proxy-egress srflx line.
- [about:webrtc: read your real ICE candidates](about-webrtc-debug-ice-candidates.md) - Tell a real LAN-IP leak from a masked .local host and, behind a UDP-capable SOCKS5 proxy, a proxy-egress srflx line.
@@ -44,7 +44,7 @@ telling the difference before you ship a fix, not after.
- [Playwright detected as a bot on one site: a checklist](playwright-detected-as-bot.md) - a checklist that checks the free fixes first, before buying a better proxy on day one.
- [Why Does My Playwright Script Get Blocked?](why-does-my-playwright-script-get-blocked.md) - a four-layer diagnostic across fingerprint, IP reputation, rate and quota, and behaviour.
- [Why am I blocked with a clean fingerprint?](why-blocked-with-a-clean-fingerprint.md) - you pass CreepJS, BotD and sannysoft and still get blocked; how to isolate which of four layers is failing.
- [Why am I blocked with a clean fingerprint?](why-blocked-with-a-clean-fingerprint.md) - you pass a consistency checker, BotD and a basic bot-test page and still get blocked; how to isolate which of four layers is failing.
- [Why Playwright Works Locally but Fails in the Cloud](why-playwright-works-locally-fails-in-cloud.md) - the same script fails on CI because the exit IP moved from residential to datacenter, not because your code changed.
This is what a real machine behind NAT produces, and its address is what a remote peer
would see.
- **The server-reflexive candidate that the proxy allows.** Behind a SOCKS5 proxy whose UDP
relay works and exits from the same address as its TCP, expect a `typ srflx` whose address
equals the proxy egress IP. This is what a real machine behind NAT produces, and its
address is what a remote peer would see. Behind an HTTP or HTTPS proxy, SOCKS4, or a
SOCKS5 proxy that cannot carry UDP, expect no `srflx` at all, and one `icecandidateerror`
(701) for the STUN request when gathering ends, after about eleven seconds. No datagram
leaves the machine in that case, so an absent `srflx` is the correct state, not a leak.
- **The gathering completes.** The page finishes, not "Computing" forever.
A patched engine driven through stock Playwright produces this shape on its own: the host
candidate is masked to `<uuid>.local`, and the server-reflexive candidate carries the
proxy exit address, matching a real browser behind NAT rather than a suppressed one. Your
candidate is masked to `<uuid>.local`, and behind a SOCKS5 proxy whose UDP relay works the
server-reflexive candidate comes from a real STUN reply through that relay, so it carries the
proxy exit address. Your
job in a leak check is to confirm those values, not to hope for silence. For the full
account of why the standard "just disable WebRTC" advice fails this bar, see
[WebRTC leak with a proxy](webrtc-leak-proxy.md).
@@ -86,17 +90,17 @@ each one hides:
| Surface | Positive value to confirm | The false "no leak" it hides |
|---|---|---|
| WebRTC | Host masked to `.local`, server-reflexive equal to the egress, gathering complete | WebRTC gathered nothing at all |
| IPv6 | No global IPv6 candidate, while the v4 server-reflexive one still appears | Gathering never ran, so no v6 could appear |
| WebRTC | Host masked to `.local`, gathering complete, and with a UDP-capable SOCKS5 proxy a server-reflexive equal to the egress | WebRTC gathered nothing at all |
| IPv6 | No IPv6 candidate, while the `.local` host candidates still appear | Gathering never ran, so no v6 could appear |
| DNS | Resolution happens at the proxy exit, not your local resolver | DNS never resolved |
| Timezone and locale | Browser clock matches the exit country | Timezone API returned undefined |
- **WebRTC** is the loud one, covered above: host masked to `.local`, server-reflexive
equal to the egress, gathering complete.
- **IPv6** leaks past a v4-only proxy when the host has native IPv6 and a candidate carries
a global v6 address. The correct state here is that no global IPv6 candidate appears while
the v4 server-reflexive one still does. That is an absence you can only trust because the
v4 candidate proves gathering ran.
- **WebRTC** is the loud one, covered above: host masked to `.local`, gathering complete,
and the server-reflexive equal to the egress when the proxy carries UDP.
- **IPv6** leaks past a v4-only proxy in a stock browser when the host has native IPv6 and a
candidate carries a global v6 address. No IPv6 candidate is produced here, with or without
a proxy. That is an absence you can only trust because the`.local` host candidates prove
gathering ran.
- **DNS** should resolve through the proxy, not your local resolver. With a SOCKS proxy
this is the [remote-DNS behaviour](does-a-proxy-leak-dns-doh-explained.md); confirm
resolution happens at the exit rather than leaking your ISP's resolver. See
@@ -137,22 +141,34 @@ with InvisiblePlaywright(seed=42, proxy=PROXY) as browser:
@@ -103,13 +103,12 @@ build runner mounts a persistent volume, point
entirely - `fetch` checks the cached tree against the seal first and only
downloads if it does not match, so a warm cache makes the step nearly free.
The three environment variables that matter in a container build:
The two environment variables that matter in a container build:
| Environment variable | What it does | Documented in |
|---|---|---|
| `STEALTHFOX_GITHUB_TOKEN` | Authenticates the engine download when a CI runner or corporate network rate-limits or blocks anonymous GitHub downloads | [Configuration](configuration.md) |
| `INVISIBLE_PLAYWRIGHT_CACHE_DIR` | Points the binary cache at a path the build persists between runs, so a rebuild skips the ~238 MB download | [Configuration](configuration.md) |
| `INVPW_BINARY_PATH` | Uses a binary already baked into the image and skips the `fetch` step entirely | [Configuration](configuration.md) |
## Running headless in the container
@@ -170,8 +169,8 @@ actually has, which is the gap [the container detection
page](playwright-docker-detection.md) describes as the one thing a stock
setup cannot fix without help.
A fingerprinting test page such as [CreepJS](creepjs-explained.md) or
[BrowserLeaks](browserleaks-explained.md) will show the same thing from
A fingerprinting test page such as [a consistency checker](consistency-checker-explained.md) or
[a raw-value inspector](raw-value-inspector-explained.md) will show the same thing from
the outside: the same seed renders the same panel whether the browser
sits on your laptop or inside this container, because the font set
travels with the engine rather than being read off the box it happens to
@@ -223,8 +222,8 @@ container would answer with the container's own defaults instead, which
by field.
**Can I skip the download and bring my own binary into the image?** Yes,
set `INVPW_BINARY_PATH` to a binary already baked into the image and the
fetch step is skipped entirely. Covered in
pass `binary_path=` for a binary already baked into the image and the
fetch step is skipped entirely. The binary must be the sealed build; see
[Configuration](configuration.md).
**Do I need a real GPU for this to work in a container?** Not for the
@@ -238,14 +237,13 @@ is a rendering-quality question, not a detection one.
the detection-level page this tutorial complements.
- [Installation](installation.md) and the [CLI reference](cli-reference.md)
for the exact `fetch` behaviour and environment variables used above.
- [Configuration](configuration.md) for `INVISIBLE_PLAYWRIGHT_CACHE_DIR`,
`INVPW_BINARY_PATH` and `STEALTHFOX_GITHUB_TOKEN`.
- [Configuration](configuration.md) for `INVISIBLE_PLAYWRIGHT_CACHE_DIR`
and `STEALTHFOX_GITHUB_TOKEN`.
- Playwright documentation, [Docker](https://playwright.dev/python/docs/docker), for the
base image and its version tags, retrieved 2026-08-28.
@@ -40,7 +40,7 @@ Two things are worth being direct about. First, none of the specific field value
## What an engine answers honestly, and what does not touch a browser at all
The sensor's rendering and environment-consistency checks, canvas output, WebGL parameters, AudioContext behavior, navigator fields, are the same category [covered at length for CreepJS](creepjs-explained.md) and [PerimeterX](perimeterx-explained.md): a genuinely real browser engine, patched below the JavaScript layer rather than scripted from a content script, produces these values as an honest side effect of actually being that engine. There is no override to catch, because nothing overrode anything.
The sensor's rendering and environment-consistency checks, canvas output, WebGL parameters, AudioContext behavior, navigator fields, are the same category [covered at length for a consistency checker](consistency-checker-explained.md) and another bot-detection service: a genuinely real browser engine, patched below the JavaScript layer rather than scripted from a content script, produces these values as an honest side effect of actually being that engine. There is no override to catch, because nothing overrode anything.
That says nothing about the network-layer fingerprint, which depends on the TLS stack and the exit connection, not the rendering engine; nothing about Imperva's threat-intelligence feeds, which score reputation this project has no visibility into and no way to influence; and nothing about the CAPTCHA tier itself, which is a human-verification gate, not a fingerprint check, the same structural point made about [Cloudflare Turnstile's checkbox](cloudflare-turnstile-explained.md).
That last line is the one detectors actually run. `'connection' in navigator` is a
one-token check that returns `false` on every real Firefox and `true` on every real
Chromium. It costs nothing, cannot be argued with, and it is exactly the kind of
member-existence probe that suites like CreepJS and BotD lean on to decide which engine
member-existence probe that suites like a consistency checker and BotD lean on to decide which engine
you *really* are, regardless of what the user-agent string says.
So the failure mode is not "Firefox leaks connection data". Firefox has no connection
Loaded 100 of 752 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.