Skip to content

Truly independent web browser

test-web: Stop setting verification variables that nothing reads

Aliaksandr Kalenikb543cfd1efd5
diff --git a/Documentation/Style/StyleEngineTesting.md b/Documentation/Style/StyleEngineTesting.md
index 80d57c67ac1..d964850b2ed 100644
--- a/Documentation/Style/StyleEngineTesting.md
+++ b/Documentation/Style/StyleEngineTesting.md
@@ -34,7 +34,7 @@ A focused loop for style work:
./bin/test-web --verify-style -f Text/input/css/style-engine/ -f Text/input/css/style-invalidation/
```
-The gates are per-mechanism checks that run at their mechanism's site. Some re-derive incremental results through the exact cold evaluator and compare (`LIBWEB_VERIFY_STYLE_ANSWER_PATCH`, `LIBWEB_VERIFY_SELECTOR_TRUTH_DERIVATION`, `LIBWEB_VERIFY_CASCADE_WINNERS`); others assert structural properties (`LIBWEB_VERIFY_STYLE_PLAN_PROVENANCE`, `LIBWEB_VERIFY_PUBLISHED_STYLE_TRANSACTION`), and two C++-side gates cover the computed closure and the style-diff fast path (`LIBWEB_VERIFY_COMPUTED_CLOSURE`, `LIBWEB_VERIFY_STYLE_DIFF_FAST_PATH`).
+The gates are per-mechanism checks that run at their mechanism's site. Some re-derive incremental results through the exact cold evaluator and compare (`LIBWEB_VERIFY_STYLE_ANSWER_PATCH`, `LIBWEB_VERIFY_SELECTOR_TRUTH_DERIVATION`, `LIBWEB_VERIFY_CASCADE_WINNERS`); and others assert structural properties (`LIBWEB_VERIFY_STYLE_PLAN_PROVENANCE`, `LIBWEB_VERIFY_PUBLISHED_STYLE_TRANSACTION`).
`LIBWEB_VERIFY_PREFIX_RELATION` compares every live element's maintained prefix memberships with scalar prefix matching after construction and updates. It also verifies retained membership storage accounting, and runs unconditionally in Rust unit tests.
diff --git a/Tests/LibWeb/test-web/Application.cpp b/Tests/LibWeb/test-web/Application.cpp
index 8960bfcf5f3..768f32e42b8 100644
--- a/Tests/LibWeb/test-web/Application.cpp
+++ b/Tests/LibWeb/test-web/Application.cpp
@@ -86,9 +86,6 @@ void Application::create_platform_options(WebView::BrowserOptions& browser_optio
"LIBWEB_VERIFY_STYLE_ANSWER_PATCH"sv,
"LIBWEB_VERIFY_CASCADE_WINNERS"sv,
"LIBWEB_VERIFY_PREFIX_RELATION"sv,
- "LIBWEB_VERIFY_COMPUTED_CLOSURE"sv,
- "LIBWEB_VERIFY_STYLE_DIFF_FAST_PATH"sv,
- "LIBWEB_VERIFY_SCROLL_OFFSET_FLAGS"sv,
};
for (auto variable : verification_variables)
MUST(Core::Environment::set(variable, "1"sv, Core::Environment::Overwrite::Yes));