In bug 1220810, we are adding tests for that purpose: dom/security/test/gtest/TestSecureContext.cpp dom/security/test/unit/test_isOriginPotentiallyTrustworthy.js It does not seem the change affects the WPT results and I can only find internal tests at https://chromium-review.googlesource.com/c/chromium/src/+/598068/ https://chromium-review.googlesource.com/c/chromium/src/+/2002584 I'm not yet sure whether there is something that makes testing this in WPT difficult, but I'm opening this bug for the record.
Bug 1672323 Comment 0 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
In bug 1220810, we are adding tests to check that locahost and *.localhost are Potentially Trustworthy dom/security/test/gtest/TestSecureContext.cpp dom/security/test/unit/test_isOriginPotentiallyTrustworthy.js It does not seem the change affects the WPT results and I can only find internal tests at https://chromium-review.googlesource.com/c/chromium/src/+/598068/ https://chromium-review.googlesource.com/c/chromium/src/+/2002584 I'm not yet sure whether there is something that makes testing this in WPT difficult, but I'm opening this bug for the record.