| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
const pattern = encodeURIComponent("/fetch/compression-dictionary/resources/echo-headers2.py");nit: some hardening to make sure new tests don't accidentally not pass in a dictionary ID.
```suggestion
assert_true(typeof dictionary_id === 'string' && dictionary_id.length > 0,
'registerAltDictionaryAndWait requires a valid dictionary_id');
const pattern = encodeURIComponent("/fetch/compression-dictionary/resources/echo-headers2.py");
```
await waitUntilHeader(
t, 'dictionary-id',
{expected_header: `"${dictionary_id}"`, use_alt_path: true});`waitUntilHeader` returns an error string (`'"dictionary-id" header is not available'`) on timeout after 10 retries. `registerAltDictionaryAndWait` awaits `waitUntilHeader` without inspecting or asserting the returned string, causing timeout failures to silently resolve as success.
```suggestion
const res = await waitUntilHeader(
t, 'dictionary-id',
{expected_header: `"${dictionary_id}"`, use_alt_path: true});
assert_equals(res, `"${dictionary_id}"`);
```
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Commit-Queue | +2 |
const pattern = encodeURIComponent("/fetch/compression-dictionary/resources/echo-headers2.py");nit: some hardening to make sure new tests don't accidentally not pass in a dictionary ID.
```suggestion
assert_true(typeof dictionary_id === 'string' && dictionary_id.length > 0,
'registerAltDictionaryAndWait requires a valid dictionary_id');
const pattern = encodeURIComponent("/fetch/compression-dictionary/resources/echo-headers2.py");
```
Done
await waitUntilHeader(
t, 'dictionary-id',
{expected_header: `"${dictionary_id}"`, use_alt_path: true});`waitUntilHeader` returns an error string (`'"dictionary-id" header is not available'`) on timeout after 10 retries. `registerAltDictionaryAndWait` awaits `waitUntilHeader` without inspecting or asserting the returned string, causing timeout failures to silently resolve as success.
```suggestion
const res = await waitUntilHeader(
t, 'dictionary-id',
{expected_header: `"${dictionary_id}"`, use_alt_path: true});
assert_equals(res, `"${dictionary_id}"`);
```
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Exportable changes to web-platform-tests were detected in this CL and a pull request in the upstream repo has been made: https://github.com/web-platform-tests/wpt/pull/61534.
When this CL lands, the bot will automatically merge the PR on GitHub if the required GitHub checks pass; otherwise, ecosystem-infra@ team will triage the failures and may contact you.
WPT Export docs:
https://chromium.googlesource.com/chromium/src/+/main/docs/testing/web_platform_tests.md#Automatic-export-process
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Commit-Queue | +2 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |