Closed Bug 1773955 Opened 4 years ago Closed 4 years ago

[wpt-sync] Sync PR 34389 - Fix wpt/resource-timing/entries-for-network-errors.sub.https.html

Categories

(Core :: Performance: General, task, P4)

task

Tracking

()

RESOLVED FIXED
104 Branch
Tracking Status
firefox104 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 34389 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/34389
Details from upstream follow.

Yutaka Hirano <yhirano@chromium.org> wrote:

Fix wpt/resource-timing/entries-for-network-errors.sub.https.html

  • Add a timing entry when resource loading is blocked.
  • cache: 'only-if-cached' must be used with the same-origin mode. Fix
    the test case.
  • entry.duration can be zero. Fix the test case.

Bug: 1275564
Change-Id: I9fec4450cdc099202e6dbd138996387bdd3d765b
Reviewed-on: https://chromium-review.googlesource.com/3702411
WPT-Export-Revision: 91bb94b9162c9f14ea6243112d1fde0c03c33e73

Component: web-platform-tests → Performance
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream error]

CI Results

Ran 10 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 30 tests and 6 subtests

Status Summary

Firefox

OK : 22[Gecko-android-em-7.0-x86_64-lite-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-32-2004-qr-debug, Gecko-windows10-32-2004-qr-opt, Gecko-windows10-64-2004-qr-debug, Gecko-windows10-64-2004-qr-opt] 25[GitHub]
PASS : 134[Gecko-android-em-7.0-x86_64-lite-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-32-2004-qr-debug, Gecko-windows10-32-2004-qr-opt, Gecko-windows10-64-2004-qr-debug, Gecko-windows10-64-2004-qr-opt] 135[GitHub]
FAIL : 9[Gecko-android-em-7.0-x86_64-lite-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-32-2004-qr-debug, Gecko-windows10-32-2004-qr-opt, Gecko-windows10-64-2004-qr-debug, Gecko-windows10-64-2004-qr-opt] 11[GitHub]
TIMEOUT : 3[Gecko-android-em-7.0-x86_64-lite-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-32-2004-qr-debug, Gecko-windows10-32-2004-qr-opt, Gecko-windows10-64-2004-qr-debug, Gecko-windows10-64-2004-qr-opt] 9[GitHub]
ERROR : 1
NOTRUN : 9

Chrome

OK : 26
PASS : 155
TIMEOUT : 6
ERROR : 1
NOTRUN : 2

Safari

OK : 15
PASS : 21
FAIL : 32
PRECONDITION_FAILED: 6
TIMEOUT : 17
ERROR : 1
NOTRUN : 92

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

  • /content-security-policy/prefetch-src/prefetch-allowed.html [wpt.fyi]: OK [GitHub], SKIP [Gecko-android-em-7.0-x86_64-lite-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-32-2004-qr-debug, Gecko-windows10-32-2004-qr-opt, Gecko-windows10-64-2004-qr-debug, Gecko-windows10-64-2004-qr-opt] (Chrome: OK, Safari: PRECONDITION_FAILED)
  • /content-security-policy/prefetch-src/prefetch-blocked-by-default.html [wpt.fyi]: OK [GitHub], SKIP [Gecko-android-em-7.0-x86_64-lite-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-32-2004-qr-debug, Gecko-windows10-32-2004-qr-opt, Gecko-windows10-64-2004-qr-debug, Gecko-windows10-64-2004-qr-opt] (Chrome: OK, Safari: PRECONDITION_FAILED)
    • default-src-blocked prefetch generates report.: FAIL (Chrome: PASS)
  • /content-security-policy/prefetch-src/prefetch-blocked.html [wpt.fyi]: SKIP [Gecko-android-em-7.0-x86_64-lite-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-32-2004-qr-debug, Gecko-windows10-32-2004-qr-opt, Gecko-windows10-64-2004-qr-debug, Gecko-windows10-64-2004-qr-opt], TIMEOUT [GitHub] (Chrome: OK, Safari: PRECONDITION_FAILED)
    • Blocked prefetch generates report.: TIMEOUT (Chrome: PASS)
  • /content-security-policy/prefetch-src/prefetch-header-allowed.html [wpt.fyi]: SKIP [Gecko-android-em-7.0-x86_64-lite-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-32-2004-qr-debug, Gecko-windows10-32-2004-qr-opt, Gecko-windows10-64-2004-qr-debug, Gecko-windows10-64-2004-qr-opt], TIMEOUT [GitHub] (Chrome: TIMEOUT, Safari: PRECONDITION_FAILED)
    • Prefetch via Link header succeeds when allowed by prefetch-src: TIMEOUT (Chrome: TIMEOUT)
  • /content-security-policy/prefetch-src/prefetch-header-blocked-by-default.html [wpt.fyi]: OK [GitHub], SKIP [Gecko-android-em-7.0-x86_64-lite-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-32-2004-qr-debug, Gecko-windows10-32-2004-qr-opt, Gecko-windows10-64-2004-qr-debug, Gecko-windows10-64-2004-qr-opt] (Chrome: OK, Safari: PRECONDITION_FAILED)
    • Prefetch via Link header blocked when allowed by default-src: FAIL (Chrome: PASS)
  • /content-security-policy/prefetch-src/prefetch-header-blocked.html [wpt.fyi]: SKIP [Gecko-android-em-7.0-x86_64-lite-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-32-2004-qr-debug, Gecko-windows10-32-2004-qr-opt, Gecko-windows10-64-2004-qr-debug, Gecko-windows10-64-2004-qr-opt], TIMEOUT [GitHub] (Chrome: OK, Safari: PRECONDITION_FAILED)
    • Prefetch via Link header blocked when allowed by prefetch-src: TIMEOUT (Chrome: PASS)
  • /resource-timing/entries-for-network-errors.sub.https.html [wpt.fyi]: TIMEOUT (Chrome: TIMEOUT, Safari: TIMEOUT)
    • A ResourceTiming entry should be created for network error of type non-HTTP redirect: FAIL (Chrome: PASS, Safari: NOTRUN)
    • A ResourceTiming entry should be created for network error of type Mixed content: TIMEOUT (Chrome: TIMEOUT, Safari: NOTRUN)
    • A ResourceTiming entry should be created for network error of type only-if-cached resource that was not cached: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
    • A ResourceTiming entry should be created for network error of type too many redirects: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
  • /resource-timing/iframe-failed-commit.html [wpt.fyi]: ERROR (Chrome: ERROR, Safari: ERROR)
    • Test iframe from non-existent host gets reported: TIMEOUT (Chrome: PASS, Safari: TIMEOUT)
    • Test iframe redirecting to non-existent host gets reported: NOTRUN (Chrome: PASS, Safari: NOTRUN)
    • Same-origin iframe that complies with CSP attribute gets reported: NOTRUN (Chrome: PASS, Safari: NOTRUN)
    • Same-origin iframe that doesn't comply with CSP attribute gets reported: NOTRUN (Chrome: PASS, Safari: NOTRUN)
    • Cross-origin iframe that complies with CSP attribute gets reported: NOTRUN (Chrome: PASS, Safari: NOTRUN)
    • Cross-origin iframe that doesn't comply with CSP attribute gets reported: NOTRUN (Chrome: PASS, Safari: NOTRUN)
    • Same-origin empty iframe with a 200 status gets reported: NOTRUN (Chrome: PASS, Safari: NOTRUN)
    • Cross-origin empty iframe with a 200 status gets reported: NOTRUN (Chrome: PASS, Safari: NOTRUN)
  • /resource-timing/same-origin-from-cross-origin-redirect.html [wpt.fyi]
    • Verify that cross origin resources' timings are exposed when the final resource at the end of an HTTP redirect chain is same-origin.: FAIL (Chrome: PASS, Safari: FAIL)
  • /resource-timing/sizes-redirect-img.html [wpt.fyi]
    • PerformanceResourceTiming sizes redirect image - direct URL: FAIL (Chrome: PASS, Safari: FAIL)
    • PerformanceResourceTiming sizes redirect image - same origin redirect: FAIL (Chrome: PASS, Safari: FAIL)
    • PerformanceResourceTiming sizes redirect image - cross origin redirect: FAIL (Chrome: PASS, Safari: FAIL)
    • PerformanceResourceTiming sizes redirect image - cross origin to same origin redirect: FAIL (Chrome: PASS, Safari: FAIL)
    • PerformanceResourceTiming sizes redirect image - same origin to remote origin to same origin redirect: FAIL (Chrome: PASS, Safari: FAIL)
  • /resource-timing/workerStart-tao-protected.https.html [wpt.fyi]
    • A resource from a cross-origin service worker must expose workerStart when there is a TAO match: FAIL (Chrome: PASS, Safari: FAIL)
  • /resource-timing/initiator-type/dynamic-insertion.html [wpt.fyi]
    • A font should have the 'css' initiator type.: FAIL (Chrome: PASS, Safari: TIMEOUT)

Tests Disabled in Gecko Infrastructure

  • /content-security-policy/prefetch-src/prefetch-allowed.html [wpt.fyi]: OK [GitHub], SKIP [Gecko-android-em-7.0-x86_64-lite-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-32-2004-qr-debug, Gecko-windows10-32-2004-qr-opt, Gecko-windows10-64-2004-qr-debug, Gecko-windows10-64-2004-qr-opt] (Chrome: OK, Safari: PRECONDITION_FAILED)
  • /content-security-policy/prefetch-src/prefetch-blocked-by-default.html [wpt.fyi]: OK [GitHub], SKIP [Gecko-android-em-7.0-x86_64-lite-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-32-2004-qr-debug, Gecko-windows10-32-2004-qr-opt, Gecko-windows10-64-2004-qr-debug, Gecko-windows10-64-2004-qr-opt] (Chrome: OK, Safari: PRECONDITION_FAILED)
  • /content-security-policy/prefetch-src/prefetch-blocked.html [wpt.fyi]: SKIP [Gecko-android-em-7.0-x86_64-lite-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-32-2004-qr-debug, Gecko-windows10-32-2004-qr-opt, Gecko-windows10-64-2004-qr-debug, Gecko-windows10-64-2004-qr-opt], TIMEOUT [GitHub] (Chrome: OK, Safari: PRECONDITION_FAILED)
  • /content-security-policy/prefetch-src/prefetch-header-allowed.html [wpt.fyi]: SKIP [Gecko-android-em-7.0-x86_64-lite-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-32-2004-qr-debug, Gecko-windows10-32-2004-qr-opt, Gecko-windows10-64-2004-qr-debug, Gecko-windows10-64-2004-qr-opt], TIMEOUT [GitHub] (Chrome: TIMEOUT, Safari: PRECONDITION_FAILED)
  • /content-security-policy/prefetch-src/prefetch-header-blocked-by-default.html [wpt.fyi]: OK [GitHub], SKIP [Gecko-android-em-7.0-x86_64-lite-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-32-2004-qr-debug, Gecko-windows10-32-2004-qr-opt, Gecko-windows10-64-2004-qr-debug, Gecko-windows10-64-2004-qr-opt] (Chrome: OK, Safari: PRECONDITION_FAILED)
  • /content-security-policy/prefetch-src/prefetch-header-blocked.html [wpt.fyi]: SKIP [Gecko-android-em-7.0-x86_64-lite-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-32-2004-qr-debug, Gecko-windows10-32-2004-qr-opt, Gecko-windows10-64-2004-qr-debug, Gecko-windows10-64-2004-qr-opt], TIMEOUT [GitHub] (Chrome: OK, Safari: PRECONDITION_FAILED)
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/ece22045c4f0 [wpt PR 34389] - Fix wpt/resource-timing/entries-for-network-errors.sub.https.html, a=testonly https://hg.mozilla.org/integration/autoland/rev/b5e0b0d110c0 [wpt PR 34389] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 104 Branch
You need to log in before you can comment on or make changes to this bug.