Skip to content

Add support for Upgrade request to a potentially trustworthy URL.#34986

Merged
jdm merged 2 commits intoservo:mainfrom
shubhamg13:unsecure
Feb 5, 2025
Merged

Add support for Upgrade request to a potentially trustworthy URL.#34986
jdm merged 2 commits intoservo:mainfrom
shubhamg13:unsecure

Conversation

@shubhamg13
Copy link
Copy Markdown
Member

Add support for Upgrade request to a potentially trustworthy URL.


  • ./mach build -d does not report any errors
  • ./mach test-tidy does not report any errors
  • These changes fix #___ (GitHub issue number if applicable)
  • There are tests for these changes OR
  • These changes do not require tests because ___

@shubhamg13
Copy link
Copy Markdown
Member Author

Hi @jdm , Please take a look.

Copy link
Copy Markdown
Contributor

@simonwuelker simonwuelker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, just one more question and a couple of nits.

You will likely also need to update the test expectations, as new tests will probably pass as a result of this PR.

@simonwuelker simonwuelker added the T-linux-wpt Do a try run of the WPT label Jan 16, 2025
@github-actions github-actions bot removed the T-linux-wpt Do a try run of the WPT label Jan 16, 2025
@github-actions
Copy link
Copy Markdown

🔨 Triggering try run (#12802527980) for Linux WPT

@github-actions
Copy link
Copy Markdown

Test results for linux-wpt-layout-2020 from try job (#12802527980):

Flaky unexpected result (19)
  • PASS [expected FAIL] /css/compositing/mix-blend-mode/mix-blend-mode-video-sibling.html (#32849)
  • FAIL [expected PASS] /css/css-overflow/overflow-video.html (#34720)
  • FAIL [expected PASS] /css/css-sizing/dynamic-available-size-iframe.html (#31559)
  • OK /encoding/legacy-mb-japanese/euc-jp/eucjp-encode-form-cseucpkdfmtjapanese.html?1-1000
    • FAIL [expected PASS] subtest: U+A5 ¥ %5C

      assert_equals: expected "%5C" but got ""
      

    • FAIL [expected PASS] subtest: U+A7 § %A1%F8

      str is undefined
      

    • FAIL [expected PASS] subtest: U+A8 ¨ %A1%AF

      str is undefined
      

    • FAIL [expected PASS] subtest: U+B0 ° %A1%EB

      str is undefined
      

    • FAIL [expected PASS] subtest: U+B1 ± %A1%DE

      str is undefined
      

    • FAIL [expected PASS] subtest: U+B4 ´ %A1%AD

      str is undefined
      

    • FAIL [expected PASS] subtest: U+B6 ¶ %A2%F9

      str is undefined
      

    • FAIL [expected PASS] subtest: U+D7 × %A1%DF

      str is undefined
      

    • FAIL [expected PASS] subtest: U+F7 ÷ %A1%E0

      str is undefined
      

    • FAIL [expected PASS] subtest: U+391 Α %A6%A1

      str is undefined
      

    • And 390 more unexpected results...
  • OK /fetch/private-network-access/worker-blob-fetch.tentative.window.html (#30064)
    • PASS [expected FAIL] subtest: treat-as-public to public: success.
  • OK /html/browsers/browsing-the-web/navigating-across-documents/navigation-unload-same-origin-fragment.html (#20768)
    • FAIL [expected PASS] subtest: Tests that a fragment navigation in the unload handler will not block the initial navigation

      assert_equals: expected "" but got "#fragment"
      

  • OK /html/browsers/browsing-the-web/navigating-across-documents/navigation-unload-same-origin.window.html (#29049)
    • FAIL [expected PASS] subtest: Same-origin navigation started from unload handler must be ignored

      assert_equals: expected "?pass" but got "?fail"
      

  • OK /html/browsers/browsing-the-web/navigating-across-documents/refresh/same-document-refresh.html (#34597)
    • FAIL [expected PASS] subtest: Same-Document Referrer from Refresh

      assert_equals: original page loads expected "http://web-platform.test:8000/html/browsers/browsing-the-web/navigating-across-documents/refresh/resources/refresh-with-section.sub.html?url=%23section" but got "http://web-platform.test:8000/html/browsers/browsing-the-web/navigating-across-documents/refresh/resources/refresh-with-section.sub.html?url=%23section#section"
      

  • OK /html/browsers/windows/browsing-context-names/duplicate-name-order.html (#34623)
    • PASS [expected FAIL] subtest: Duplicate name lookup order
  • FAIL [expected PASS] /html/canvas/element/manual/text/canvas.2d.disconnected.html (#30063)
  • CRASH [expected OK] /html/canvas/offscreen/canvas-host/2d.canvas.host.size.large.worker.html (#30164)
  • TIMEOUT [expected OK] /html/infrastructure/urls/base-url/document-base-url-window-initiator-is-not-opener.https.window.html (#30970)
  • TIMEOUT [expected OK] /html/interaction/focus/the-autofocus-attribute/autofocus-dialog.html (#29087)
    • TIMEOUT [expected FAIL] subtest: <dialog>-contained autofocus element gets focused when the dialog is shown

      Test timed out
      

  • CRASH [expected TIMEOUT] /html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_escaping-3.html (#24057)
  • OK [expected TIMEOUT] /html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_nonescaping-3.html (#24066)
    • FAIL [expected NOTRUN] subtest: Check that popups from a sandboxed iframe do not escape the sandbox

      assert_equals: It came from a sandboxed iframe expected "null" but got "http://web-platform.test:8000"
      

  • OK /html/semantics/embedded-content/the-video-element/intrinsic_sizes.htm (#34434)
    • FAIL [expected PASS] subtest: default object size after src is removed

      assert_equals: expected "300px" but got "320px"
      

  • OK /html/semantics/forms/form-submission-0/multipart-formdata.window.html (#28725)
    • PASS [expected FAIL] subtest: multipart/form-data: single quote in name (normal form)
    • PASS [expected FAIL] subtest: multipart/form-data: backslash in value (normal form)
  • OK /html/semantics/forms/form-submission-0/text-plain.window.html (#28687)
    • PASS [expected FAIL] subtest: text/plain: \r\n in filename (formdata event)
  • OK [expected TIMEOUT] /webstorage/localstorage-about-blank-3P-iframe-opens-3P-window.partitioned.html (#29053)
    • PASS [expected TIMEOUT] subtest: StorageKey: test 3P about:blank window opened from a 3P iframe
Stable unexpected results that are known to be intermittent (14)
  • FAIL [expected PASS] /_mozilla/css/dirty_viewport.html (#13731)
  • FAIL [expected PASS] /_mozilla/css/iframe/hide_and_show.html (#15265)
  • OK /css/css-grid/alignment/grid-content-alignment-with-abspos-001.html (#34339)
    • FAIL [expected PASS] subtest: .grid 1

      assert_equals: 
      <div class="grid" data-expected-width="800" data-expected-height="600">
          <div class="a" id="item" data-offset-x="329" data-offset-y="269" data-expected-width="142" data-expected-height="62" style="place-self: center;"></div>
        </div>
      offsetLeft expected 329 but got 0
      

  • OK /fetch/metadata/generated/css-font-face.https.sub.tentative.html (#32732)
    • PASS [expected FAIL] subtest: sec-fetch-user
    • PASS [expected FAIL] subtest: sec-fetch-storage-access - Cross-site
    • PASS [expected FAIL] subtest: sec-fetch-storage-access - Same site
  • OK /fetch/metadata/generated/css-font-face.sub.tentative.html (#34624)
    • PASS [expected FAIL] subtest: sec-fetch-storage-access - Not sent to non-trustworthy cross-site destination
  • TIMEOUT [expected OK] /html/browsers/browsing-the-web/navigating-across-documents/006.html (#21382)
    • TIMEOUT [expected FAIL] subtest: Link with onclick form submit and href navigation

      Test timed out
      

  • OK /html/browsers/browsing-the-web/navigating-across-documents/initial-empty-document/iframe-src-aboutblank-navigate-immediately.html (#29048)
    • PASS [expected FAIL] subtest: Navigating to a different document with link click
  • TIMEOUT [expected ERROR] /html/canvas/element/manual/imagebitmap/createImageBitmap-serializable.html (#34120)
  • CRASH [expected TIMEOUT] /html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_escaping-1.html (#22647)
  • OK [expected CRASH] /html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_escaping-2.html (#22667)
    • FAIL [expected TIMEOUT] subtest: Check that popups from a sandboxed iframe escape the sandbox if allow-popups-to-escape-sandbox is used

      assert_equals: It came from a sandboxed iframe expected "null" but got "http://web-platform.test:8000"
      

  • TIMEOUT /html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_nonescaping-2.html (#22154)
    • NOTRUN [expected FAIL] subtest: Check that popups from a sandboxed iframe do not escape the sandbox
  • OK /html/semantics/forms/form-submission-0/submit-entity-body.html (#14140)
    • FAIL [expected PASS] subtest: form submission from form should navigate to url with x-www-form-urlencoded

      assert_equals: expected "OK" but got "\n  Error loading page\n\n\n  Could not load the requested page: client error (Connect)\n\n\n"
      

    • FAIL [expected PASS] subtest: form submission from button should navigate to url with x-www-form-urlencoded

      assert_equals: expected "OK" but got "\n  Error loading page\n\n\n  Could not load the requested page: client error (Connect)\n\n\n"
      

    • FAIL [expected PASS] subtest: form submission from input should navigate to url with x-www-form-urlencoded

      assert_equals: expected "OK" but got "\n  Error loading page\n\n\n  Could not load the requested page: client error (Connect)\n\n\n"
      

    • FAIL [expected PASS] subtest: form submission from submit input should contain submit button value

      assert_equals: expected "OK" but got "\n  Error loading page\n\n\n  Could not load the requested page: client error (Connect)\n\n\n"
      

    • FAIL [expected PASS] subtest: form submission from submit button should contain submit button value

      assert_equals: expected "OK" but got "\n  Error loading page\n\n\n  Could not load the requested page: client error (Connect)\n\n\n"
      

  • OK /html/semantics/forms/historical.html (#28568)
    • FAIL [expected PASS] subtest: <input name=isindex> should not be supported

      assert_regexp_match: expected object "/\?isindex=x$/" but got "about:blank"
      

  • OK /navigation-timing/test-navigation-type-reload.html (#33334)
    • PASS [expected FAIL] subtest: Reload domComplete > Original domComplete
    • PASS [expected FAIL] subtest: Reload domContentLoadedEventStart > Original domContentLoadedEventStart
    • PASS [expected FAIL] subtest: Reload domInteractive > Original domInteractive
    • PASS [expected FAIL] subtest: Reload fetchStart > Original fetchStart
    • PASS [expected FAIL] subtest: Reload loadEventEnd > Original loadEventEnd
    • PASS [expected FAIL] subtest: Reload loadEventStart > Original loadEventStart
Stable unexpected results (24)
  • ERROR [expected OK] /fetch/origin/assorted.window.html
    • TIMEOUT [expected FAIL] subtest: Origin header and POST navigation

      Test timed out
      

    • NOTRUN [expected PASS] subtest: Origin header and POST same-origin navigation with Referrer-Policy no-referrer
    • NOTRUN [expected PASS] subtest: Origin header and POST same-origin fetch no-cors mode with Referrer-Policy no-referrer
    • NOTRUN [expected PASS] subtest: Origin header and POST same-origin fetch cors mode with Referrer-Policy no-referrer
    • NOTRUN [expected PASS] subtest: Origin header and GET same-origin fetch cors mode with Referrer-Policy no-referrer
    • NOTRUN [expected PASS] subtest: Origin header and POST cross-origin navigation with Referrer-Policy no-referrer
    • NOTRUN [expected PASS] subtest: Origin header and POST cross-origin fetch no-cors mode with Referrer-Policy no-referrer
    • NOTRUN [expected PASS] subtest: Origin header and POST cross-origin fetch cors mode with Referrer-Policy no-referrer
    • NOTRUN [expected PASS] subtest: Origin header and GET cross-origin fetch cors mode with Referrer-Policy no-referrer
    • NOTRUN [expected PASS] subtest: Origin header and POST same-origin navigation with Referrer-Policy same-origin
    • And 31 more unexpected results...
  • OK /fetch/redirect-navigate/302-found-post.html
    • FAIL [expected PASS] subtest: HTTP 302 Found POST Navigation

      assert_equals: expected "OK" but got "\n  Could not load the requested page: client error (Connect)\n\n\n"
      

  • TIMEOUT [expected OK] /html/browsers/browsing-the-web/navigating-across-documents/anchor-fragment-form-submit-longfragment.html
    • TIMEOUT [expected PASS] subtest: Anchor element with onclick form submission and href to fragment

      Test timed out
      

  • TIMEOUT [expected OK] /html/browsers/browsing-the-web/navigating-across-documents/anchor-fragment-form-submit-withpath.html
    • TIMEOUT [expected PASS] subtest: Anchor element with onclick form submission and href to fragment

      Test timed out
      

  • TIMEOUT [expected OK] /html/browsers/browsing-the-web/navigating-across-documents/anchor-fragment-form-submit.html
    • TIMEOUT [expected PASS] subtest: Anchor element with onclick form submission and href to fragment

      Test timed out
      

  • TIMEOUT [expected OK] /html/browsers/browsing-the-web/navigating-across-documents/anchor-jsurl-form-submit.html
    • TIMEOUT [expected PASS] subtest: Anchor element with onclick form submission and href to javascript: url

      Test timed out
      

  • TIMEOUT [expected OK] /html/browsers/browsing-the-web/navigating-across-documents/child-navigates-parent-same-origin.window.html
    • TIMEOUT [expected PASS] subtest: Child document navigates same-origin parent via form submission

      Test timed out
      

  • TIMEOUT [expected OK] /html/browsers/browsing-the-web/navigating-across-documents/navigation-unload-form-submit.html
    • TIMEOUT [expected PASS] subtest: Tests that navigation during an unload caused by a form submit does nothing

      Test timed out
      

  • TIMEOUT [expected OK] /html/browsers/browsing-the-web/navigating-across-documents/replace-before-load/form-submit-cross-frame-crossorigin.sub.html
    • TIMEOUT [expected PASS] subtest: No replace before load, triggered by cross-iframe formElement.submit() [iframe is cross-origin]

      Test timed out
      

  • TIMEOUT [expected OK] /html/browsers/browsing-the-web/navigating-across-documents/replace-before-load/form-submit-cross-frame.html
    • TIMEOUT [expected PASS] subtest: No replace before load, triggered by cross-iframe formElement.submit()

      Test timed out
      

  • TIMEOUT [expected OK] /html/browsers/browsing-the-web/navigating-across-documents/replace-before-load/form-submit-popup-crossorigin.sub.html
    • TIMEOUT [expected PASS] subtest: No replace before load, triggered by formElement.submit() in the opener window, after the opener has loaded [window is cross-origin]

      Test timed out
      

  • TIMEOUT [expected OK] /html/browsers/browsing-the-web/navigating-across-documents/replace-before-load/form-submit-popup.html
    • TIMEOUT [expected PASS] subtest: No replace before load, triggered by formElement.submit() in the opener window, after the opener has loaded

      Test timed out
      

  • TIMEOUT [expected OK] /html/browsers/history/the-session-history-of-browsing-contexts/navigation-in-onload.html
    • NOTRUN [expected FAIL] subtest: Navigation in onload handler
  • TIMEOUT /html/browsers/windows/dangling-markup-window-name.html
    • FAIL [expected PASS] subtest: Dangling Markup with "\n" in target is reset when set by <a> tag

      assert_unreached: Stash result does not equal expected result. Reached unreachable code
      

    • FAIL [expected PASS] subtest: Dangling Markup with "\r" in target is reset when set by <a> tag

      assert_unreached: Stash result does not equal expected result. Reached unreachable code
      

    • FAIL [expected PASS] subtest: Dangling Markup with "\t" in target is reset when set by <a> tag

      assert_unreached: Stash result does not equal expected result. Reached unreachable code
      

    • TIMEOUT [expected PASS] subtest: Dangling Markup in target is reset when set by <form> tag

      Test timed out
      

    • NOTRUN [expected PASS] subtest: Dangling Markup in target is reset when set by <base> tag
  • OK /html/semantics/forms/form-submission-target/form-target-iframe.html
    • FAIL [expected PASS] subtest: Form targetted at iframe

      assert_equals: expected "OK" but got "\n  Could not load the requested page: client error (Connect)\n\n\n"
      

  • TIMEOUT [expected OK] /html/semantics/forms/form-submission-target/form-target-request-header.html
    • TIMEOUT [expected PASS] subtest: Verify the content-type exist during a form submission toward "_blank"

      Test timed out
      

  • TIMEOUT [expected OK] /html/semantics/forms/form-submission-target/rel-button-target.html
    • TIMEOUT [expected FAIL] subtest: <form rel=""> with <button formtarget>

      Test timed out
      

    • NOTRUN [expected FAIL] subtest: <form rel="noopener"> with <button formtarget>
    • NOTRUN [expected PASS] subtest: <form rel="noreferrer"> with <button formtarget>
    • NOTRUN [expected FAIL] subtest: <form rel="opener"> with <button formtarget>
    • NOTRUN [expected PASS] subtest: <form rel="noopener noreferrer"> with <button formtarget>
    • NOTRUN [expected PASS] subtest: <form rel="noreferrer opener"> with <button formtarget>
    • NOTRUN [expected FAIL] subtest: <form rel="opener noopener"> with <button formtarget>
  • TIMEOUT [expected OK] /html/semantics/forms/form-submission-target/rel-form-target.html
    • TIMEOUT [expected FAIL] subtest: <form rel=""> with <form target>

      Test timed out
      

    • NOTRUN [expected FAIL] subtest: <form rel="noopener"> with <form target>
    • NOTRUN [expected PASS] subtest: <form rel="noreferrer"> with <form target>
    • NOTRUN [expected FAIL] subtest: <form rel="opener"> with <form target>
    • NOTRUN [expected PASS] subtest: <form rel="noopener noreferrer"> with <form target>
    • NOTRUN [expected PASS] subtest: <form rel="noreferrer opener"> with <form target>
    • NOTRUN [expected FAIL] subtest: <form rel="opener noopener"> with <form target>
  • TIMEOUT [expected OK] /html/semantics/forms/form-submission-target/rel-input-target.html
    • TIMEOUT [expected FAIL] subtest: <form rel=""> with <input formtarget>

      Test timed out
      

    • NOTRUN [expected FAIL] subtest: <form rel="noopener"> with <input formtarget>
    • NOTRUN [expected PASS] subtest: <form rel="noreferrer"> with <input formtarget>
    • NOTRUN [expected FAIL] subtest: <form rel="opener"> with <input formtarget>
    • NOTRUN [expected PASS] subtest: <form rel="noopener noreferrer"> with <input formtarget>
    • NOTRUN [expected PASS] subtest: <form rel="noreferrer opener"> with <input formtarget>
    • NOTRUN [expected FAIL] subtest: <form rel="opener noopener"> with <input formtarget>
  • TIMEOUT [expected OK] /html/semantics/forms/the-form-element/form-action-submission-with-base-url.html
    • TIMEOUT [expected PASS] subtest: An action URL should be resolved relative to the document's base URL (not document URL)

      Test timed out
      

    • NOTRUN [expected PASS] subtest: An empty-string action should submit the form to its containing document's URL (not its base URL)
    • NOTRUN [expected PASS] subtest: A missing action should submit the form to its containing document's URL (not its base URL)
  • TIMEOUT [expected OK] /html/semantics/forms/the-form-element/form-action-submission.html
    • TIMEOUT [expected PASS] subtest: An action URL should be resolved relative to the document's base URL (= document's URL in this case)

      Test timed out
      

    • NOTRUN [expected PASS] subtest: An empty-string action should submit the form to the document's URL (= document's base URL in this case)
    • NOTRUN [expected PASS] subtest: A missing action should submit the form to the document's URL (= document's base URL in this case)
  • TIMEOUT [expected OK] /html/semantics/forms/the-input-element/hidden-charset-case-sensitive.html
    • TIMEOUT [expected PASS] subtest: keyword _charset_

      Test timed out
      

  • TIMEOUT [expected OK] /html/semantics/forms/the-textarea-element/wrap-enumerated-ascii-case-insensitive.html
    • TIMEOUT [expected FAIL] subtest: keywords

      Test timed out
      

  • OK [expected TIMEOUT] /navigation-timing/navigation-type-post-backforward.html
    • FAIL [expected TIMEOUT] subtest: Navigation type after posting and navigating away and back should be back_forward.

      promise_test: Unhandled rejection with value: object "TypeError: frame.contentWindow.document.getElementsByTagName(...)[0] is undefined"
      

@github-actions
Copy link
Copy Markdown

⚠️ Try run (#12802527980) failed.

@jdm
Copy link
Copy Markdown
Member

jdm commented Jan 16, 2025

@jdm
Copy link
Copy Markdown
Member

jdm commented Jan 16, 2025

I've started sketching some code to support 1) reading the CSP policy to enforce upgrading requests, 2) inheriting the policy value into nested documents/browsing contexts, 3) storing the computed policy value in the request object. I'll see if I can get it finished tonight and put up a pull request.

@jdm
Copy link
Copy Markdown
Member

jdm commented Jan 17, 2025

Done: shubhamg13#1

@jdm
Copy link
Copy Markdown
Member

jdm commented Jan 17, 2025

If we rebase on top of the latest changes on main (including #34952) then we'll be able to see just the tests that now pass.

@shubhamg13
Copy link
Copy Markdown
Member Author

@xiaochengh

@jdm jdm added the T-linux-wpt Do a try run of the WPT label Jan 17, 2025
@github-actions github-actions bot removed the T-linux-wpt Do a try run of the WPT label Jan 17, 2025
@github-actions
Copy link
Copy Markdown

🔨 Triggering try run (#12832486991) for Linux WPT

@jdm
Copy link
Copy Markdown
Member

jdm commented Jan 17, 2025

Huh, where did my commit from the other PR go? Did it get lost in the rebase?

@github-actions
Copy link
Copy Markdown

Test results for linux-wpt-layout-2020 from try job (#12832486991):

Flaky unexpected result (24)
  • TIMEOUT [expected PASS] /_mozilla/gfx-rs-gecko/descriptor-ranges.html (#23258)
  • TIMEOUT [expected OK] /_mozilla/mozilla/cache_crossorigin_response.sub.html
    • TIMEOUT [expected PASS] subtest: Cached cross-origin response doesn't hang

      Test timed out
      

  • OK /_webgl/conformance/rendering/texture-switch-performance.html (#23384)
    • FAIL [expected PASS] subtest: WebGL test #0: Texture switching significantly hurt performance - achieved 853 frames in 2.024 seconds (0.59 times baseline performance)

      assert_true: Texture switching significantly hurt performance - achieved 853 frames in 2.024 seconds (0.59 times baseline performance) expected true got false
      

  • PASS [expected FAIL] /css/css-overflow/line-clamp/line-clamp-with-floats-010.tentative.html (#35018)
  • PASS [expected FAIL] /css/css-position/sticky/position-sticky-left-003.html
  • FAIL [expected PASS] /css/css-sizing/dynamic-available-size-iframe.html (#31559)
  • FAIL [expected PASS] /css/css-tables/table-cell-overflow-auto-scrolled.html (#35011)
  • OK /css/css-text/white-space/trailing-space-position-001.html (#24585)
    • FAIL [expected PASS] subtest: CSS Test: Positions of trailing collapsible spaces 1

      assert_equals: expected 0 but got 1
      

  • PASS [expected FAIL] /css/selectors/invalidation/any-link-attribute-removal.html
  • OK /custom-elements/form-associated/ElementInternals-setFormValue.html (#29174)
    • PASS [expected FAIL] subtest: Single value - Non-empty name exists
  • OK /fetch/metadata/generated/css-font-face.https.sub.tentative.html (#32732)
    • PASS [expected FAIL] subtest: sec-fetch-site - Same-Site -> Same Origin
    • PASS [expected FAIL] subtest: sec-fetch-user
    • PASS [expected FAIL] subtest: sec-fetch-storage-access - Cross-site
  • OK /html/browsers/browsing-the-web/navigating-across-documents/empty-iframe-load-event.html (#29066)
    • PASS [expected FAIL] subtest: Check execution order on load handler
    • PASS [expected FAIL] subtest: Check execution order from nested timeout
  • OK /html/browsers/browsing-the-web/navigating-across-documents/javascript-url-return-value-handling-dynamic.html (#28066)
    • FAIL [expected PASS] subtest: 0041 set in href="" targeting a frame and clicked

      assert_equals: expected "A" but got ""
      

    • FAIL [expected PASS] subtest: 0080 00FF set in href="" targeting a frame and clicked

      assert_equals: expected "�ÿ" but got ""
      

    • FAIL [expected PASS] subtest: 0080 00FF 0100 set in href="" targeting a frame and clicked

      assert_equals: expected "�ÿĀ" but got ""
      

    • FAIL [expected PASS] subtest: D83D DE0D set in href="" targeting a frame and clicked

      assert_equals: expected "😍" but got ""
      

    • FAIL [expected PASS] subtest: DE0D 0041 set in href="" targeting a frame and clicked

      assert_equals: expected "\ufffdA" but got ""
      

  • OK /html/browsers/browsing-the-web/navigating-across-documents/navigation-unload-cross-origin.sub.window.html (#29056)
    • PASS [expected FAIL] subtest: Cross-origin navigation started from unload handler must be ignored
  • OK /html/browsers/history/the-history-interface/traverse_the_history_2.html (#21383)
    • PASS [expected FAIL] subtest: Multiple history traversals, last would be aborted
  • OK /html/browsers/windows/embedded-opener-remove-frame.html (#23867)
    • PASS [expected FAIL] subtest: opener of discarded auxiliary browsing context
  • ERROR [expected TIMEOUT] /html/canvas/element/manual/imagebitmap/createImageBitmap-serializable.html (#34120)
  • TIMEOUT [expected ERROR] /html/canvas/element/manual/imagebitmap/createImageBitmap-transfer.html (#34119)
  • OK /html/interaction/focus/the-autofocus-attribute/document-with-fragment-valid.html (#28259)
    • PASS [expected FAIL] subtest: Autofocus elements in top-level browsing context's documents with URL fragments should be skipped.
  • OK /html/semantics/embedded-content/the-iframe-element/iframe-loading-lazy-nav-link-click.html (#32664)
    • FAIL [expected PASS] subtest: Navigating iframe loading='lazy' before it is loaded: link click

      uncaught exception: Error: assert_equals: expected "http://web-platform.test:8000/html/semantics/embedded-content/the-iframe-element/support/blank.htm?nav" but got "http://web-platform.test:8000/html/semantics/embedded-content/the-iframe-element/support/blank.htm?src"
      

  • OK /html/semantics/embedded-content/the-iframe-element/iframe-loading-lazy-nav-window-open.html (#32596)
    • FAIL [expected PASS] subtest: Navigating iframe loading='lazy' before it is loaded: location.replace

      uncaught exception: Error: assert_equals: expected "http://web-platform.test:8000/html/semantics/embedded-content/the-iframe-element/support/blank.htm?nav" but got "http://web-platform.test:8000/html/semantics/embedded-content/the-iframe-element/support/blank.htm?src"
      

  • TIMEOUT [expected CRASH] /html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_nonescaping-1.html (#24066)
  • TIMEOUT [expected OK] /resource-timing/nested-context-navigations-iframe.html (#24311)
    • TIMEOUT [expected PASS] subtest: Test that iframe navigations are not observable by the parent, even after history navigations by the parent

      Test timed out
      

    • NOTRUN [expected PASS] subtest: Test that crossorigin iframe navigations are not observable by the parent, even after history navigations by the parent
    • NOTRUN [expected PASS] subtest: Test that cross-site iframe navigations are not observable by the parent, even after history navigations by the parent
    • NOTRUN [expected PASS] subtest: Test that iframe navigations are not observable by the parent
    • NOTRUN [expected PASS] subtest: Test that crossorigin iframe navigations are not observable by the parent
    • NOTRUN [expected PASS] subtest: Test that cross-site iframe navigations are not observable by the parent
    • NOTRUN [expected PASS] subtest: Test that iframe refreshes are not observable by the parent
    • NOTRUN [expected PASS] subtest: Test that crossorigin iframe refreshes are not observable by the parent
    • NOTRUN [expected PASS] subtest: Test that cross-site iframe refreshes are not observable by the parent
  • ERROR [expected OK] /workers/constructors/Worker/Worker-constructor.html (#22991)
Stable unexpected results that are known to be intermittent (16)
  • FAIL [expected PASS] /css/compositing/mix-blend-mode/mix-blend-mode-video-sibling.html (#32849)
  • OK /fetch/metadata/generated/css-font-face.sub.tentative.html (#34624)
    • FAIL [expected PASS] subtest: sec-fetch-storage-access - Not sent to non-trustworthy same-site destination

      promise_test: Unhandled rejection with value: object "Error: Failed to query for recorded headers."
      

  • TIMEOUT [expected OK] /html/browsers/browsing-the-web/navigating-across-documents/006.html (#21382)
    • TIMEOUT [expected FAIL] subtest: Link with onclick form submit and href navigation

      Test timed out
      

  • OK /html/browsers/browsing-the-web/navigating-across-documents/initial-empty-document/iframe-src-aboutblank-navigate-immediately.html (#29048)
    • FAIL [expected PASS] subtest: Navigating to a different document with link click

      assert_equals: expected "http://web-platform.test:8000/common/blank.html?1" but got "about:blank"
      

  • OK /html/browsers/browsing-the-web/navigating-across-documents/navigation-unload-same-origin-fragment.html (#20768)
    • FAIL [expected PASS] subtest: Tests that a fragment navigation in the unload handler will not block the initial navigation

      assert_equals: expected "" but got "#fragment"
      

  • OK /html/browsers/browsing-the-web/navigating-across-documents/refresh/same-document-refresh.html (#34597)
    • PASS [expected FAIL] subtest: Same-Document Referrer from Refresh
  • OK /html/browsers/browsing-the-web/navigating-across-documents/replace-before-load/a-click.html (#28697)
    • PASS [expected FAIL] subtest: aElement.click() before the load event must NOT replace
  • OK /html/browsers/history/the-history-interface/traverse_the_history_3.html (#21383)
    • PASS [expected FAIL] subtest: Multiple history traversals, last would be aborted
  • CRASH [expected OK] /html/canvas/offscreen/canvas-host/2d.canvas.host.size.large.worker.html (#30164)
  • CRASH [expected OK] /html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_escaping-1.html (#22647)
  • CRASH [expected TIMEOUT] /html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_escaping-2.html (#22667)
  • CRASH [expected TIMEOUT] /html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_escaping-3.html (#24057)
  • TIMEOUT /html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_nonescaping-3.html (#24066)
    • NOTRUN [expected FAIL] subtest: Check that popups from a sandboxed iframe do not escape the sandbox
  • OK /html/semantics/forms/form-submission-0/submit-entity-body.html (#14140)
    • FAIL [expected PASS] subtest: form submission from form should navigate to url with x-www-form-urlencoded

      assert_equals: expected "OK" but got "\n  Error loading page\n\n\n  Could not load the requested page: client error (Connect)\n\n\n"
      

    • FAIL [expected PASS] subtest: form submission from button should navigate to url with x-www-form-urlencoded

      assert_equals: expected "OK" but got "\n  Error loading page\n\n\n  Could not load the requested page: client error (Connect)\n\n\n"
      

    • FAIL [expected PASS] subtest: form submission from input should navigate to url with x-www-form-urlencoded

      assert_equals: expected "OK" but got "\n  Error loading page\n\n\n  Could not load the requested page: client error (Connect)\n\n\n"
      

    • FAIL [expected PASS] subtest: form submission from submit input should contain submit button value

      assert_equals: expected "OK" but got "\n  Error loading page\n\n\n  Could not load the requested page: client error (Connect)\n\n\n"
      

    • FAIL [expected PASS] subtest: form submission from submit button should contain submit button value

      assert_equals: expected "OK" but got "\n  Error loading page\n\n\n  Could not load the requested page: client error (Connect)\n\n\n"
      

  • OK /html/semantics/forms/form-submission-0/text-plain.window.html (#28687)
    • FAIL [expected PASS] subtest: text/plain: non-ASCII in filename (formdata event)

      assert_equals: expected "a=�.txt\r\n" but got ""
      

  • OK /html/semantics/forms/historical.html (#28568)
    • FAIL [expected PASS] subtest: <input name=isindex> should not be supported

      assert_regexp_match: expected object "/\?isindex=x$/" but got "about:blank"
      

Stable unexpected results (24)
  • ERROR [expected OK] /fetch/origin/assorted.window.html
    • TIMEOUT [expected FAIL] subtest: Origin header and POST navigation

      Test timed out
      

    • NOTRUN [expected PASS] subtest: Origin header and POST same-origin navigation with Referrer-Policy no-referrer
    • NOTRUN [expected PASS] subtest: Origin header and POST same-origin fetch no-cors mode with Referrer-Policy no-referrer
    • NOTRUN [expected PASS] subtest: Origin header and POST same-origin fetch cors mode with Referrer-Policy no-referrer
    • NOTRUN [expected PASS] subtest: Origin header and GET same-origin fetch cors mode with Referrer-Policy no-referrer
    • NOTRUN [expected PASS] subtest: Origin header and POST cross-origin navigation with Referrer-Policy no-referrer
    • NOTRUN [expected PASS] subtest: Origin header and POST cross-origin fetch no-cors mode with Referrer-Policy no-referrer
    • NOTRUN [expected PASS] subtest: Origin header and POST cross-origin fetch cors mode with Referrer-Policy no-referrer
    • NOTRUN [expected PASS] subtest: Origin header and GET cross-origin fetch cors mode with Referrer-Policy no-referrer
    • NOTRUN [expected PASS] subtest: Origin header and POST same-origin navigation with Referrer-Policy same-origin
    • And 31 more unexpected results...
  • OK /fetch/redirect-navigate/302-found-post.html
    • FAIL [expected PASS] subtest: HTTP 302 Found POST Navigation

      assert_equals: expected "OK" but got "\n  Could not load the requested page: client error (Connect)\n\n\n"
      

  • TIMEOUT [expected OK] /html/browsers/browsing-the-web/navigating-across-documents/anchor-fragment-form-submit-longfragment.html
    • TIMEOUT [expected PASS] subtest: Anchor element with onclick form submission and href to fragment

      Test timed out
      

  • TIMEOUT [expected OK] /html/browsers/browsing-the-web/navigating-across-documents/anchor-fragment-form-submit-withpath.html
    • TIMEOUT [expected PASS] subtest: Anchor element with onclick form submission and href to fragment

      Test timed out
      

  • TIMEOUT [expected OK] /html/browsers/browsing-the-web/navigating-across-documents/anchor-fragment-form-submit.html
    • TIMEOUT [expected PASS] subtest: Anchor element with onclick form submission and href to fragment

      Test timed out
      

  • TIMEOUT [expected OK] /html/browsers/browsing-the-web/navigating-across-documents/anchor-jsurl-form-submit.html
    • TIMEOUT [expected PASS] subtest: Anchor element with onclick form submission and href to javascript: url

      Test timed out
      

  • TIMEOUT [expected OK] /html/browsers/browsing-the-web/navigating-across-documents/child-navigates-parent-same-origin.window.html
    • TIMEOUT [expected PASS] subtest: Child document navigates same-origin parent via form submission

      Test timed out
      

  • TIMEOUT [expected OK] /html/browsers/browsing-the-web/navigating-across-documents/navigation-unload-form-submit.html
    • TIMEOUT [expected PASS] subtest: Tests that navigation during an unload caused by a form submit does nothing

      Test timed out
      

  • TIMEOUT [expected OK] /html/browsers/browsing-the-web/navigating-across-documents/replace-before-load/form-submit-cross-frame-crossorigin.sub.html
    • TIMEOUT [expected PASS] subtest: No replace before load, triggered by cross-iframe formElement.submit() [iframe is cross-origin]

      Test timed out
      

  • TIMEOUT [expected OK] /html/browsers/browsing-the-web/navigating-across-documents/replace-before-load/form-submit-cross-frame.html
    • TIMEOUT [expected PASS] subtest: No replace before load, triggered by cross-iframe formElement.submit()

      Test timed out
      

  • TIMEOUT [expected OK] /html/browsers/browsing-the-web/navigating-across-documents/replace-before-load/form-submit-popup-crossorigin.sub.html
    • TIMEOUT [expected PASS] subtest: No replace before load, triggered by formElement.submit() in the opener window, after the opener has loaded [window is cross-origin]

      Test timed out
      

  • TIMEOUT [expected OK] /html/browsers/browsing-the-web/navigating-across-documents/replace-before-load/form-submit-popup.html
    • TIMEOUT [expected PASS] subtest: No replace before load, triggered by formElement.submit() in the opener window, after the opener has loaded

      Test timed out
      

  • TIMEOUT [expected OK] /html/browsers/history/the-session-history-of-browsing-contexts/navigation-in-onload.html
    • NOTRUN [expected FAIL] subtest: Navigation in onload handler
  • TIMEOUT /html/browsers/windows/dangling-markup-window-name.html
    • FAIL [expected PASS] subtest: Dangling Markup with "\n" in target is reset when set by <a> tag

      assert_unreached: Stash result does not equal expected result. Reached unreachable code
      

    • FAIL [expected PASS] subtest: Dangling Markup with "\r" in target is reset when set by <a> tag

      assert_unreached: Stash result does not equal expected result. Reached unreachable code
      

    • FAIL [expected PASS] subtest: Dangling Markup with "\t" in target is reset when set by <a> tag

      assert_unreached: Stash result does not equal expected result. Reached unreachable code
      

    • TIMEOUT [expected PASS] subtest: Dangling Markup in target is reset when set by <form> tag

      Test timed out
      

    • NOTRUN [expected PASS] subtest: Dangling Markup in target is reset when set by <base> tag
  • OK /html/semantics/forms/form-submission-target/form-target-iframe.html
    • FAIL [expected PASS] subtest: Form targetted at iframe

      assert_equals: expected "OK" but got "\n  Could not load the requested page: client error (Connect)\n\n\n"
      

  • TIMEOUT [expected OK] /html/semantics/forms/form-submission-target/form-target-request-header.html
    • TIMEOUT [expected PASS] subtest: Verify the content-type exist during a form submission toward "_blank"

      Test timed out
      

  • TIMEOUT [expected OK] /html/semantics/forms/form-submission-target/rel-button-target.html
    • TIMEOUT [expected FAIL] subtest: <form rel=""> with <button formtarget>

      Test timed out
      

    • NOTRUN [expected FAIL] subtest: <form rel="noopener"> with <button formtarget>
    • NOTRUN [expected PASS] subtest: <form rel="noreferrer"> with <button formtarget>
    • NOTRUN [expected FAIL] subtest: <form rel="opener"> with <button formtarget>
    • NOTRUN [expected PASS] subtest: <form rel="noopener noreferrer"> with <button formtarget>
    • NOTRUN [expected PASS] subtest: <form rel="noreferrer opener"> with <button formtarget>
    • NOTRUN [expected FAIL] subtest: <form rel="opener noopener"> with <button formtarget>
  • TIMEOUT [expected OK] /html/semantics/forms/form-submission-target/rel-form-target.html
    • TIMEOUT [expected FAIL] subtest: <form rel=""> with <form target>

      Test timed out
      

    • NOTRUN [expected FAIL] subtest: <form rel="noopener"> with <form target>
    • NOTRUN [expected PASS] subtest: <form rel="noreferrer"> with <form target>
    • NOTRUN [expected FAIL] subtest: <form rel="opener"> with <form target>
    • NOTRUN [expected PASS] subtest: <form rel="noopener noreferrer"> with <form target>
    • NOTRUN [expected PASS] subtest: <form rel="noreferrer opener"> with <form target>
    • NOTRUN [expected FAIL] subtest: <form rel="opener noopener"> with <form target>
  • TIMEOUT [expected OK] /html/semantics/forms/form-submission-target/rel-input-target.html
    • TIMEOUT [expected FAIL] subtest: <form rel=""> with <input formtarget>

      Test timed out
      

    • NOTRUN [expected FAIL] subtest: <form rel="noopener"> with <input formtarget>
    • NOTRUN [expected PASS] subtest: <form rel="noreferrer"> with <input formtarget>
    • NOTRUN [expected FAIL] subtest: <form rel="opener"> with <input formtarget>
    • NOTRUN [expected PASS] subtest: <form rel="noopener noreferrer"> with <input formtarget>
    • NOTRUN [expected PASS] subtest: <form rel="noreferrer opener"> with <input formtarget>
    • NOTRUN [expected FAIL] subtest: <form rel="opener noopener"> with <input formtarget>
  • TIMEOUT [expected OK] /html/semantics/forms/the-form-element/form-action-submission-with-base-url.html
    • TIMEOUT [expected PASS] subtest: An action URL should be resolved relative to the document's base URL (not document URL)

      Test timed out
      

    • NOTRUN [expected PASS] subtest: An empty-string action should submit the form to its containing document's URL (not its base URL)
    • NOTRUN [expected PASS] subtest: A missing action should submit the form to its containing document's URL (not its base URL)
  • TIMEOUT [expected OK] /html/semantics/forms/the-form-element/form-action-submission.html
    • TIMEOUT [expected PASS] subtest: An action URL should be resolved relative to the document's base URL (= document's URL in this case)

      Test timed out
      

    • NOTRUN [expected PASS] subtest: An empty-string action should submit the form to the document's URL (= document's base URL in this case)
    • NOTRUN [expected PASS] subtest: A missing action should submit the form to the document's URL (= document's base URL in this case)
  • TIMEOUT [expected OK] /html/semantics/forms/the-input-element/hidden-charset-case-sensitive.html
    • TIMEOUT [expected PASS] subtest: keyword _charset_

      Test timed out
      

  • TIMEOUT [expected OK] /html/semantics/forms/the-textarea-element/wrap-enumerated-ascii-case-insensitive.html
    • TIMEOUT [expected FAIL] subtest: keywords

      Test timed out
      

  • OK [expected TIMEOUT] /navigation-timing/navigation-type-post-backforward.html
    • FAIL [expected TIMEOUT] subtest: Navigation type after posting and navigating away and back should be back_forward.

      promise_test: Unhandled rejection with value: object "TypeError: frame.contentWindow.document.getElementsByTagName(...)[0] is undefined"
      

@github-actions github-actions bot removed the T-linux-wpt Do a try run of the WPT label Jan 18, 2025
@github-actions
Copy link
Copy Markdown

🔨 Triggering try run (#12839868453) for Linux WPT

@github-actions
Copy link
Copy Markdown

Test results for linux-wpt-layout-2020 from try job (#12839868453):

Flaky unexpected result (26)
  • OK /_webgl/conformance2/rendering/texture-switch-performance.html (#23384)
    • FAIL [expected PASS] subtest: WebGL test #0: Texture switching significantly hurt performance - achieved 787 frames in 2.001 seconds (0.74 times baseline performance)

      assert_true: Texture switching significantly hurt performance - achieved 787 frames in 2.001 seconds (0.74 times baseline performance) expected true got false
      

  • PASS [expected FAIL] /css/css-position/sticky/position-sticky-top-002.html
  • FAIL [expected PASS] /css/css-tables/table-cell-overflow-auto-scrolled.html (#35011)
  • OK /custom-elements/form-associated/ElementInternals-setFormValue.html (#29174)
    • PASS [expected FAIL] subtest: Single value - name is missing
  • OK /encoding/legacy-mb-korean/euc-kr/euckr-encode-form-cseuckr.html?1-1000
    • FAIL [expected PASS] subtest: U+2533 ┳ %A6%B3

      assert_equals: expected "%A6%B3" but got ""
      

    • FAIL [expected PASS] subtest: U+2534 ┴ %A6%AA

      str is undefined
      

    • FAIL [expected PASS] subtest: U+2535 ┵ %A6%D5

      str is undefined
      

    • FAIL [expected PASS] subtest: U+2536 ┶ %A6%D6

      str is undefined
      

    • FAIL [expected PASS] subtest: U+2537 ┷ %A6%BA

      str is undefined
      

    • FAIL [expected PASS] subtest: U+2538 ┸ %A6%BF

      str is undefined
      

    • FAIL [expected PASS] subtest: U+2539 ┹ %A6%D7

      str is undefined
      

    • FAIL [expected PASS] subtest: U+253A ┺ %A6%D8

      str is undefined
      

    • FAIL [expected PASS] subtest: U+253B ┻ %A6%B5

      str is undefined
      

    • FAIL [expected PASS] subtest: U+253C ┼ %A6%AB

      str is undefined
      

    • And 390 more unexpected results...
  • OK /encoding/legacy-mb-korean/euc-kr/euckr-encode-form-windows-949.html?1-1000
    • FAIL [expected PASS] subtest: U+2533 ┳ %A6%B3

      assert_equals: expected "%A6%B3" but got ""
      

    • FAIL [expected PASS] subtest: U+2534 ┴ %A6%AA

      str is undefined
      

    • FAIL [expected PASS] subtest: U+2535 ┵ %A6%D5

      str is undefined
      

    • FAIL [expected PASS] subtest: U+2536 ┶ %A6%D6

      str is undefined
      

    • FAIL [expected PASS] subtest: U+2537 ┷ %A6%BA

      str is undefined
      

    • FAIL [expected PASS] subtest: U+2538 ┸ %A6%BF

      str is undefined
      

    • FAIL [expected PASS] subtest: U+2539 ┹ %A6%D7

      str is undefined
      

    • FAIL [expected PASS] subtest: U+253A ┺ %A6%D8

      str is undefined
      

    • FAIL [expected PASS] subtest: U+253B ┻ %A6%B5

      str is undefined
      

    • FAIL [expected PASS] subtest: U+253C ┼ %A6%AB

      str is undefined
      

    • And 390 more unexpected results...
  • OK /encoding/legacy-mb-korean/euc-kr/euckr-encode-form.html?1-1000
    • FAIL [expected PASS] subtest: U+A1 ¡ %A2%AE

      assert_equals: expected "%A2%AE" but got ""
      

    • FAIL [expected PASS] subtest: U+A4 ¤ %A2%B4

      str is undefined
      

    • FAIL [expected PASS] subtest: U+A7 § %A1%D7

      str is undefined
      

    • FAIL [expected PASS] subtest: U+A8 ¨ %A1%A7

      str is undefined
      

    • FAIL [expected PASS] subtest: U+AA ª %A8%A3

      str is undefined
      

    • FAIL [expected PASS] subtest: U+AD ­ %A1%A9

      str is undefined
      

    • FAIL [expected PASS] subtest: U+AE ® %A2%E7

      str is undefined
      

    • FAIL [expected PASS] subtest: U+B0 ° %A1%C6

      str is undefined
      

    • FAIL [expected PASS] subtest: U+B1 ± %A1%BE

      str is undefined
      

    • FAIL [expected PASS] subtest: U+B2 ² %A9%F7

      str is undefined
      

    • And 390 more unexpected results...
  • OK /html/browsers/browsing-the-web/navigating-across-documents/empty-iframe-load-event.html (#29066)
    • PASS [expected FAIL] subtest: Check execution order on load handler
    • PASS [expected FAIL] subtest: Check execution order from nested timeout
  • OK /html/browsers/browsing-the-web/navigating-across-documents/javascript-url-return-value-handling-dynamic.html (#28066)
    • FAIL [expected PASS] subtest: 0041 set in href="" targeting a frame and clicked

      assert_equals: expected "A" but got ""
      

    • FAIL [expected PASS] subtest: 0080 00FF set in href="" targeting a frame and clicked

      assert_equals: expected "�ÿ" but got ""
      

    • FAIL [expected PASS] subtest: 0080 00FF 0100 set in href="" targeting a frame and clicked

      assert_equals: expected "�ÿĀ" but got ""
      

    • FAIL [expected PASS] subtest: D83D DE0D set in href="" targeting a frame and clicked

      assert_equals: expected "😍" but got ""
      

    • FAIL [expected PASS] subtest: DE0D 0041 set in href="" targeting a frame and clicked

      assert_equals: expected "\ufffdA" but got ""
      

  • OK /html/browsers/browsing-the-web/navigating-across-documents/replace-before-load/a-click.html (#28697)
    • PASS [expected FAIL] subtest: aElement.click() before the load event must NOT replace
  • OK /html/browsers/browsing-the-web/overlapping-navigations-and-traversals/cross-document-nav-cross-document-nav.html (#29181)
    • PASS [expected FAIL] subtest: cross-document navigation then cross-document navigation
  • OK /html/browsers/history/the-history-interface/traverse_the_history_3.html (#21383)
    • PASS [expected FAIL] subtest: Multiple history traversals, last would be aborted
  • OK /html/browsers/history/the-history-interface/traverse_the_history_4.html (#21383)
    • PASS [expected FAIL] subtest: Multiple history traversals, last would be aborted
  • OK /html/browsers/history/the-history-interface/traverse_the_history_5.html (#21383)
    • PASS [expected FAIL] subtest: Multiple history traversals, last would be aborted
  • TIMEOUT [expected OK] /html/browsers/history/the-history-interface/traverse_the_history_write_onload_1.html (#21581)
    • TIMEOUT [expected PASS] subtest: Traverse the history when a history entry is written in the load event

      Test timed out
      

  • OK /html/rendering/non-replaced-elements/flow-content-0/dialog.html (#34147)
    • FAIL [expected PASS] subtest: Closed dialog in width: 538px iframe

      Value is not an object.
      

    • FAIL [expected PASS] subtest: Open dialog in width: 538px iframe

      Value is not an object.
      

  • OK /html/semantics/embedded-content/the-iframe-element/iframe-loading-lazy-reload-location-reload.html (#32595)
    • FAIL [expected PASS] subtest: Reloading iframe loading='lazy' before it is loaded: location.reload

      uncaught exception: Error: assert_equals: expected "http://web-platform.test:8000/html/semantics/embedded-content/the-iframe-element/support/blank.htm?src" but got "about:blank"
      

  • TIMEOUT [expected CRASH] /html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_nonescaping-1.html (#24066)
  • OK /html/semantics/forms/form-submission-0/form-submit-iframe-then-location-navigate.html (#29634)
    • PASS [expected FAIL] subtest: Verifies that location navigations take precedence when following form submissions.
  • OK /html/semantics/forms/form-submission-0/urlencoded2.window.html (#28687)
    • PASS [expected FAIL] subtest: application/x-www-form-urlencoded: 0x00 in name (normal form)
  • OK /html/semantics/forms/historical.html (#28568)
    • FAIL [expected PASS] subtest: <input name=isindex> should not be supported

      assert_regexp_match: expected object "/\?isindex=x$/" but got "about:blank"
      

  • OK /navigation-timing/test-navigation-type-reload.html (#33334)
    • PASS [expected FAIL] subtest: Reload domComplete > Original domComplete
    • PASS [expected FAIL] subtest: Reload domContentLoadedEventEnd > Original domContentLoadedEventEnd
    • PASS [expected FAIL] subtest: Reload loadEventEnd > Original loadEventEnd
    • PASS [expected FAIL] subtest: Reload loadEventStart > Original loadEventStart
  • OK /navigation-timing/test-timing-reload.html
    • FAIL [expected PASS] subtest: fetchStart is different after the reload.

      assert_not_equals: fetchStart is different after the reload. got disallowed value 3.85
      

  • TIMEOUT [expected OK] /performance-timeline/navigation-id-detached-frame.tentative.html (#34773)
    • TIMEOUT [expected PASS] subtest: The navigation_id getter does not crash a window of detached frame

      Test timed out
      

  • OK [expected ERROR] /webxr/render_state_update.https.html (#27535)
  • OK /workers/WorkerGlobalScope-close.html (#23064)
    • PASS [expected FAIL] subtest: Test sending a message after closing.
Stable unexpected results that are known to be intermittent (19)
  • FAIL [expected PASS] /css/compositing/mix-blend-mode/mix-blend-mode-video-sibling.html (#32849)
  • PASS [expected FAIL] /css/css-overflow/line-clamp/line-clamp-with-floats-010.tentative.html (#35018)
  • OK /fetch/metadata/generated/css-font-face.sub.tentative.html (#34624)
    • FAIL [expected PASS] subtest: sec-fetch-storage-access - Not sent to non-trustworthy same-site destination

      promise_test: Unhandled rejection with value: object "Error: Failed to query for recorded headers."
      

    • PASS [expected FAIL] subtest: sec-fetch-storage-access - Not sent to non-trustworthy cross-site destination
  • OK /html/browsers/browsing-the-web/navigating-across-documents/initial-empty-document/iframe-nosrc.html (#34819)
    • PASS [expected FAIL] subtest: form submission
  • OK /html/browsers/browsing-the-web/navigating-across-documents/initial-empty-document/iframe-src-aboutblank-navigate-immediately.html (#29048)
    • FAIL [expected PASS] subtest: Navigating to a different document with link click

      assert_equals: expected "http://web-platform.test:8000/common/blank.html?1" but got "about:blank"
      

  • OK /html/browsers/browsing-the-web/navigating-across-documents/navigation-unload-same-origin-fragment.html (#20768)
    • FAIL [expected PASS] subtest: Tests that a fragment navigation in the unload handler will not block the initial navigation

      assert_equals: expected "" but got "#fragment"
      

  • OK /html/browsers/browsing-the-web/navigating-across-documents/navigation-unload-same-origin.window.html (#29049)
    • FAIL [expected PASS] subtest: Same-origin navigation started from unload handler must be ignored

      assert_equals: expected "?pass" but got "?fail"
      

  • OK /html/browsers/browsing-the-web/navigating-across-documents/refresh/same-document-refresh.html (#34597)
    • PASS [expected FAIL] subtest: Same-Document Referrer from Refresh
  • OK /html/browsers/history/the-history-interface/traverse_the_history_2.html (#21383)
    • PASS [expected FAIL] subtest: Multiple history traversals, last would be aborted
  • OK /html/browsers/windows/browsing-context-names/duplicate-name-order.html (#34623)
    • PASS [expected FAIL] subtest: Duplicate name lookup order
  • ERROR [expected TIMEOUT] /html/canvas/element/manual/imagebitmap/createImageBitmap-serializable.html (#34120)
  • TIMEOUT [expected ERROR] /html/canvas/element/manual/imagebitmap/createImageBitmap-transfer.html (#34119)
  • OK /html/semantics/embedded-content/the-iframe-element/iframe-loading-lazy-nav-location-replace.html (#32604)
    • FAIL [expected PASS] subtest: Navigating iframe loading='lazy' before it is loaded: location.replace

      uncaught exception: Error: assert_equals: expected "http://web-platform.test:8000/html/semantics/embedded-content/the-iframe-element/support/blank.htm?nav" but got "http://web-platform.test:8000/html/semantics/embedded-content/the-iframe-element/support/blank.htm?src"
      

  • TIMEOUT [expected OK] /html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_escaping-1.html (#22647)
  • CRASH [expected TIMEOUT] /html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_escaping-3.html (#24057)
  • OK [expected TIMEOUT] /html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_nonescaping-2.html (#22154)
    • FAIL [expected NOTRUN] subtest: Check that popups from a sandboxed iframe do not escape the sandbox

      assert_equals: It came from a sandboxed iframe expected "null" but got "http://web-platform.test:8000"
      

  • OK [expected TIMEOUT] /html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_nonescaping-3.html (#24066)
  • OK /html/semantics/forms/form-submission-0/text-plain.window.html (#28687)
    • FAIL [expected PASS] subtest: text/plain: non-ASCII in filename (formdata event)

      assert_equals: expected "a=�.txt\r\n" but got ""
      

  • ERROR [expected OK] /workers/constructors/Worker/Worker-constructor.html (#22991)
Stable unexpected results (22)
  • OK /upgrade-insecure-requests/gen/iframe-blank-inherit.meta/upgrade/fetch.https.html
    • PASS [expected FAIL] subtest: Upgrade-Insecure-Requests: Expects allowed for fetch to cross-http-downgrade origin and downgrade redirection from https context.
    • PASS [expected FAIL] subtest: Upgrade-Insecure-Requests: Expects allowed for fetch to cross-http-downgrade origin and no-redirect redirection from https context.
    • PASS [expected FAIL] subtest: Upgrade-Insecure-Requests: Expects allowed for fetch to cross-https origin and downgrade redirection from https context.
    • PASS [expected FAIL] subtest: Upgrade-Insecure-Requests: Expects allowed for fetch to same-http-downgrade origin and downgrade redirection from https context.
    • PASS [expected FAIL] subtest: Upgrade-Insecure-Requests: Expects allowed for fetch to same-http-downgrade origin and no-redirect redirection from https context.
    • PASS [expected FAIL] subtest: Upgrade-Insecure-Requests: Expects allowed for fetch to same-https origin and downgrade redirection from https context.
  • OK /upgrade-insecure-requests/gen/iframe-blank-inherit.meta/upgrade/img-tag.https.html
    • PASS [expected FAIL] subtest: Upgrade-Insecure-Requests: Expects allowed for img-tag to cross-http-downgrade origin and downgrade redirection from https context.
    • PASS [expected FAIL] subtest: Upgrade-Insecure-Requests: Expects allowed for img-tag to cross-http-downgrade origin and no-redirect redirection from https context.
    • PASS [expected FAIL] subtest: Upgrade-Insecure-Requests: Expects allowed for img-tag to cross-https origin and downgrade redirection from https context.
    • PASS [expected FAIL] subtest: Upgrade-Insecure-Requests: Expects allowed for img-tag to same-http-downgrade origin and downgrade redirection from https context.
    • PASS [expected FAIL] subtest: Upgrade-Insecure-Requests: Expects allowed for img-tag to same-http-downgrade origin and no-redirect redirection from https context.
    • PASS [expected FAIL] subtest: Upgrade-Insecure-Requests: Expects allowed for img-tag to same-https origin and downgrade redirection from https context.
  • OK /upgrade-insecure-requests/gen/iframe-blank-inherit.meta/upgrade/worker-classic.https.html
    • PASS [expected FAIL] subtest: Upgrade-Insecure-Requests: Expects allowed for worker-classic to same-http-downgrade origin and downgrade redirection from https context.
    • PASS [expected FAIL] subtest: Upgrade-Insecure-Requests: Expects allowed for worker-classic to same-http-downgrade origin and no-redirect redirection from https context.
    • PASS [expected FAIL] subtest: Upgrade-Insecure-Requests: Expects allowed for worker-classic to same-https origin and downgrade redirection from https context.
  • OK /upgrade-insecure-requests/gen/iframe-blank-inherit.meta/upgrade/worker-module.https.html
    • PASS [expected FAIL] subtest: Upgrade-Insecure-Requests: Expects allowed for worker-module to same-http-downgrade origin and downgrade redirection from https context.
    • PASS [expected FAIL] subtest: Upgrade-Insecure-Requests: Expects allowed for worker-module to same-http-downgrade origin and no-redirect redirection from https context.
    • PASS [expected FAIL] subtest: Upgrade-Insecure-Requests: Expects allowed for worker-module to same-https origin and downgrade redirection from https context.
  • OK /upgrade-insecure-requests/gen/iframe-blank-inherit.meta/upgrade/xhr.https.html
    • PASS [expected FAIL] subtest: Upgrade-Insecure-Requests: Expects allowed for xhr to cross-http-downgrade origin and downgrade redirection from https context.
    • PASS [expected FAIL] subtest: Upgrade-Insecure-Requests: Expects allowed for xhr to cross-http-downgrade origin and no-redirect redirection from https context.
    • PASS [expected FAIL] subtest: Upgrade-Insecure-Requests: Expects allowed for xhr to cross-https origin and downgrade redirection from https context.
    • PASS [expected FAIL] subtest: Upgrade-Insecure-Requests: Expects allowed for xhr to same-http-downgrade origin and downgrade redirection from https context.
    • PASS [expected FAIL] subtest: Upgrade-Insecure-Requests: Expects allowed for xhr to same-http-downgrade origin and no-redirect redirection from https context.
    • PASS [expected FAIL] subtest: Upgrade-Insecure-Requests: Expects allowed for xhr to same-https origin and downgrade redirection from https context.
  • OK /upgrade-insecure-requests/gen/srcdoc-inherit.meta/upgrade/fetch.https.html
    • PASS [expected FAIL] subtest: Upgrade-Insecure-Requests: Expects allowed for fetch to cross-http-downgrade origin and downgrade redirection from https context.
    • PASS [expected FAIL] subtest: Upgrade-Insecure-Requests: Expects allowed for fetch to cross-http-downgrade origin and no-redirect redirection from https context.
    • PASS [expected FAIL] subtest: Upgrade-Insecure-Requests: Expects allowed for fetch to cross-https origin and downgrade redirection from https context.
    • PASS [expected FAIL] subtest: Upgrade-Insecure-Requests: Expects allowed for fetch to same-http-downgrade origin and downgrade redirection from https context.
    • PASS [expected FAIL] subtest: Upgrade-Insecure-Requests: Expects allowed for fetch to same-http-downgrade origin and no-redirect redirection from https context.
    • PASS [expected FAIL] subtest: Upgrade-Insecure-Requests: Expects allowed for fetch to same-https origin and downgrade redirection from https context.
  • OK /upgrade-insecure-requests/gen/srcdoc-inherit.meta/upgrade/img-tag.https.html
    • PASS [expected FAIL] subtest: Upgrade-Insecure-Requests: Expects allowed for img-tag to cross-http-downgrade origin and downgrade redirection from https context.
    • PASS [expected FAIL] subtest: Upgrade-Insecure-Requests: Expects allowed for img-tag to cross-http-downgrade origin and no-redirect redirection from https context.
    • PASS [expected FAIL] subtest: Upgrade-Insecure-Requests: Expects allowed for img-tag to cross-https origin and downgrade redirection from https context.
    • PASS [expected FAIL] subtest: Upgrade-Insecure-Requests: Expects allowed for img-tag to same-http-downgrade origin and downgrade redirection from https context.
    • PASS [expected FAIL] subtest: Upgrade-Insecure-Requests: Expects allowed for img-tag to same-http-downgrade origin and no-redirect redirection from https context.
    • PASS [expected FAIL] subtest: Upgrade-Insecure-Requests: Expects allowed for img-tag to same-https origin and downgrade redirection from https context.
  • OK /upgrade-insecure-requests/gen/srcdoc-inherit.meta/upgrade/worker-classic.https.html
    • PASS [expected FAIL] subtest: Upgrade-Insecure-Requests: Expects allowed for worker-classic to same-http-downgrade origin and downgrade redirection from https context.
    • PASS [expected FAIL] subtest: Upgrade-Insecure-Requests: Expects allowed for worker-classic to same-http-downgrade origin and no-redirect redirection from https context.
    • PASS [expected FAIL] subtest: Upgrade-Insecure-Requests: Expects allowed for worker-classic to same-https origin and downgrade redirection from https context.
  • OK /upgrade-insecure-requests/gen/srcdoc-inherit.meta/upgrade/worker-module.https.html
    • PASS [expected FAIL] subtest: Upgrade-Insecure-Requests: Expects allowed for worker-module to same-http-downgrade origin and downgrade redirection from https context.
    • PASS [expected FAIL] subtest: Upgrade-Insecure-Requests: Expects allowed for worker-module to same-http-downgrade origin and no-redirect redirection from https context.
    • PASS [expected FAIL] subtest: Upgrade-Insecure-Requests: Expects allowed for worker-module to same-https origin and downgrade redirection from https context.
  • OK /upgrade-insecure-requests/gen/srcdoc-inherit.meta/upgrade/xhr.https.html
    • PASS [expected FAIL] subtest: Upgrade-Insecure-Requests: Expects allowed for xhr to cross-http-downgrade origin and downgrade redirection from https context.
    • PASS [expected FAIL] subtest: Upgrade-Insecure-Requests: Expects allowed for xhr to cross-http-downgrade origin and no-redirect redirection from https context.
    • PASS [expected FAIL] subtest: Upgrade-Insecure-Requests: Expects allowed for xhr to cross-https origin and downgrade redirection from https context.
    • PASS [expected FAIL] subtest: Upgrade-Insecure-Requests: Expects allowed for xhr to same-http-downgrade origin and downgrade redirection from https context.
    • PASS [expected FAIL] subtest: Upgrade-Insecure-Requests: Expects allowed for xhr to same-http-downgrade origin and no-redirect redirection from https context.
    • PASS [expected FAIL] subtest: Upgrade-Insecure-Requests: Expects allowed for xhr to same-https origin and downgrade redirection from https context.
  • OK /upgrade-insecure-requests/gen/top.http-rp/upgrade/fetch.https.html
    • PASS [expected FAIL] subtest: Upgrade-Insecure-Requests: Expects allowed for fetch to cross-http-downgrade origin and downgrade redirection from https context.
    • PASS [expected FAIL] subtest: Upgrade-Insecure-Requests: Expects allowed for fetch to cross-http-downgrade origin and no-redirect redirection from https context.
    • PASS [expected FAIL] subtest: Upgrade-Insecure-Requests: Expects allowed for fetch to cross-https origin and downgrade redirection from https context.
    • PASS [expected FAIL] subtest: Upgrade-Insecure-Requests: Expects allowed for fetch to same-http-downgrade origin and downgrade redirection from https context.
    • PASS [expected FAIL] subtest: Upgrade-Insecure-Requests: Expects allowed for fetch to same-http-downgrade origin and no-redirect redirection from https context.
    • PASS [expected FAIL] subtest: Upgrade-Insecure-Requests: Expects allowed for fetch to same-https origin and downgrade redirection from https context.
  • OK /upgrade-insecure-requests/gen/top.http-rp/upgrade/img-tag.https.html
    • PASS [expected FAIL] subtest: Upgrade-Insecure-Requests: Expects allowed for img-tag to cross-http-downgrade origin and downgrade redirection from https context.
    • PASS [expected FAIL] subtest: Upgrade-Insecure-Requests: Expects allowed for img-tag to cross-http-downgrade origin and no-redirect redirection from https context.
    • PASS [expected FAIL] subtest: Upgrade-Insecure-Requests: Expects allowed for img-tag to cross-https origin and downgrade redirection from https context.
    • PASS [expected FAIL] subtest: Upgrade-Insecure-Requests: Expects allowed for img-tag to same-http-downgrade origin and downgrade redirection from https context.
    • PASS [expected FAIL] subtest: Upgrade-Insecure-Requests: Expects allowed for img-tag to same-http-downgrade origin and no-redirect redirection from https context.
    • PASS [expected FAIL] subtest: Upgrade-Insecure-Requests: Expects allowed for img-tag to same-https origin and downgrade redirection from https context.
  • OK /upgrade-insecure-requests/gen/top.http-rp/upgrade/worker-classic.https.html
    • PASS [expected FAIL] subtest: Upgrade-Insecure-Requests: Expects allowed for worker-classic to same-http-downgrade origin and downgrade redirection from https context.
    • PASS [expected FAIL] subtest: Upgrade-Insecure-Requests: Expects allowed for worker-classic to same-http-downgrade origin and no-redirect redirection from https context.
    • PASS [expected FAIL] subtest: Upgrade-Insecure-Requests: Expects allowed for worker-classic to same-https origin and downgrade redirection from https context.
  • OK /upgrade-insecure-requests/gen/top.http-rp/upgrade/worker-module.https.html
    • PASS [expected FAIL] subtest: Upgrade-Insecure-Requests: Expects allowed for worker-module to same-http-downgrade origin and downgrade redirection from https context.
    • PASS [expected FAIL] subtest: Upgrade-Insecure-Requests: Expects allowed for worker-module to same-http-downgrade origin and no-redirect redirection from https context.
    • PASS [expected FAIL] subtest: Upgrade-Insecure-Requests: Expects allowed for worker-module to same-https origin and downgrade redirection from https context.
  • OK /upgrade-insecure-requests/gen/top.http-rp/upgrade/xhr.https.html
    • PASS [expected FAIL] subtest: Upgrade-Insecure-Requests: Expects allowed for xhr to cross-http-downgrade origin and downgrade redirection from https context.
    • PASS [expected FAIL] subtest: Upgrade-Insecure-Requests: Expects allowed for xhr to cross-http-downgrade origin and no-redirect redirection from https context.
    • PASS [expected FAIL] subtest: Upgrade-Insecure-Requests: Expects allowed for xhr to cross-https origin and downgrade redirection from https context.
    • PASS [expected FAIL] subtest: Upgrade-Insecure-Requests: Expects allowed for xhr to same-http-downgrade origin and downgrade redirection from https context.
    • PASS [expected FAIL] subtest: Upgrade-Insecure-Requests: Expects allowed for xhr to same-http-downgrade origin and no-redirect redirection from https context.
    • PASS [expected FAIL] subtest: Upgrade-Insecure-Requests: Expects allowed for xhr to same-https origin and downgrade redirection from https context.
  • OK /upgrade-insecure-requests/gen/top.meta/upgrade/fetch.https.html
    • PASS [expected FAIL] subtest: Upgrade-Insecure-Requests: Expects allowed for fetch to cross-http-downgrade origin and downgrade redirection from https context.
    • PASS [expected FAIL] subtest: Upgrade-Insecure-Requests: Expects allowed for fetch to cross-http-downgrade origin and no-redirect redirection from https context.
    • PASS [expected FAIL] subtest: Upgrade-Insecure-Requests: Expects allowed for fetch to cross-https origin and downgrade redirection from https context.
    • PASS [expected FAIL] subtest: Upgrade-Insecure-Requests: Expects allowed for fetch to same-http-downgrade origin and downgrade redirection from https context.
    • PASS [expected FAIL] subtest: Upgrade-Insecure-Requests: Expects allowed for fetch to same-http-downgrade origin and no-redirect redirection from https context.
    • PASS [expected FAIL] subtest: Upgrade-Insecure-Requests: Expects allowed for fetch to same-https origin and downgrade redirection from https context.
  • OK /upgrade-insecure-requests/gen/top.meta/upgrade/img-tag.https.html
    • PASS [expected FAIL] subtest: Upgrade-Insecure-Requests: Expects allowed for img-tag to cross-http-downgrade origin and downgrade redirection from https context.
    • PASS [expected FAIL] subtest: Upgrade-Insecure-Requests: Expects allowed for img-tag to cross-http-downgrade origin and no-redirect redirection from https context.
    • PASS [expected FAIL] subtest: Upgrade-Insecure-Requests: Expects allowed for img-tag to cross-https origin and downgrade redirection from https context.
    • PASS [expected FAIL] subtest: Upgrade-Insecure-Requests: Expects allowed for img-tag to same-http-downgrade origin and downgrade redirection from https context.
    • PASS [expected FAIL] subtest: Upgrade-Insecure-Requests: Expects allowed for img-tag to same-http-downgrade origin and no-redirect redirection from https context.
    • PASS [expected FAIL] subtest: Upgrade-Insecure-Requests: Expects allowed for img-tag to same-https origin and downgrade redirection from https context.
  • OK /upgrade-insecure-requests/gen/top.meta/upgrade/worker-classic.https.html
    • PASS [expected FAIL] subtest: Upgrade-Insecure-Requests: Expects allowed for worker-classic to same-http-downgrade origin and downgrade redirection from https context.
    • PASS [expected FAIL] subtest: Upgrade-Insecure-Requests: Expects allowed for worker-classic to same-http-downgrade origin and no-redirect redirection from https context.
    • PASS [expected FAIL] subtest: Upgrade-Insecure-Requests: Expects allowed for worker-classic to same-https origin and downgrade redirection from https context.
  • OK /upgrade-insecure-requests/gen/top.meta/upgrade/worker-module.https.html
    • PASS [expected FAIL] subtest: Upgrade-Insecure-Requests: Expects allowed for worker-module to same-http-downgrade origin and downgrade redirection from https context.
    • PASS [expected FAIL] subtest: Upgrade-Insecure-Requests: Expects allowed for worker-module to same-http-downgrade origin and no-redirect redirection from https context.
    • PASS [expected FAIL] subtest: Upgrade-Insecure-Requests: Expects allowed for worker-module to same-https origin and downgrade redirection from https context.
  • OK /upgrade-insecure-requests/gen/top.meta/upgrade/xhr.https.html
    • PASS [expected FAIL] subtest: Upgrade-Insecure-Requests: Expects allowed for xhr to cross-http-downgrade origin and downgrade redirection from https context.
    • PASS [expected FAIL] subtest: Upgrade-Insecure-Requests: Expects allowed for xhr to cross-http-downgrade origin and no-redirect redirection from https context.
    • PASS [expected FAIL] subtest: Upgrade-Insecure-Requests: Expects allowed for xhr to cross-https origin and downgrade redirection from https context.
    • PASS [expected FAIL] subtest: Upgrade-Insecure-Requests: Expects allowed for xhr to same-http-downgrade origin and downgrade redirection from https context.
    • PASS [expected FAIL] subtest: Upgrade-Insecure-Requests: Expects allowed for xhr to same-http-downgrade origin and no-redirect redirection from https context.
    • PASS [expected FAIL] subtest: Upgrade-Insecure-Requests: Expects allowed for xhr to same-https origin and downgrade redirection from https context.
  • OK /upgrade-insecure-requests/gen/worker-classic-data.meta/upgrade/fetch.https.html
    • PASS [expected FAIL] subtest: Upgrade-Insecure-Requests: Expects allowed for fetch to cross-http-downgrade origin and downgrade redirection from https context.
    • PASS [expected FAIL] subtest: Upgrade-Insecure-Requests: Expects allowed for fetch to cross-http-downgrade origin and no-redirect redirection from https context.
    • PASS [expected FAIL] subtest: Upgrade-Insecure-Requests: Expects allowed for fetch to cross-https origin and downgrade redirection from https context.
    • PASS [expected FAIL] subtest: Upgrade-Insecure-Requests: Expects allowed for fetch to same-http-downgrade origin and downgrade redirection from https context.
    • PASS [expected FAIL] subtest: Upgrade-Insecure-Requests: Expects allowed for fetch to same-http-downgrade origin and no-redirect redirection from https context.
    • PASS [expected FAIL] subtest: Upgrade-Insecure-Requests: Expects allowed for fetch to same-https origin and downgrade redirection from https context.
  • OK /upgrade-insecure-requests/gen/worker-classic-data.meta/upgrade/xhr.https.html
    • PASS [expected FAIL] subtest: Upgrade-Insecure-Requests: Expects allowed for xhr to cross-http-downgrade origin and downgrade redirection from https context.
    • PASS [expected FAIL] subtest: Upgrade-Insecure-Requests: Expects allowed for xhr to cross-http-downgrade origin and no-redirect redirection from https context.
    • PASS [expected FAIL] subtest: Upgrade-Insecure-Requests: Expects allowed for xhr to cross-https origin and downgrade redirection from https context.
    • PASS [expected FAIL] subtest: Upgrade-Insecure-Requests: Expects allowed for xhr to same-http-downgrade origin and downgrade redirection from https context.
    • PASS [expected FAIL] subtest: Upgrade-Insecure-Requests: Expects allowed for xhr to same-http-downgrade origin and no-redirect redirection from https context.
    • PASS [expected FAIL] subtest: Upgrade-Insecure-Requests: Expects allowed for xhr to same-https origin and downgrade redirection from https context.

@github-actions
Copy link
Copy Markdown

⚠️ Try run (#12839868453) failed.

@jdm
Copy link
Copy Markdown
Member

jdm commented Jan 22, 2025

@shubhamg13 Can you update the expected test results now that there are passing tests?

@shubhamg13 shubhamg13 force-pushed the unsecure branch 3 times, most recently from f77018b to 8709051 Compare January 27, 2025 04:15
@shubhamg13
Copy link
Copy Markdown
Member Author

@shubhamg13 Can you update the expected test results now that there are passing tests?

I just updated the tests, sorry for delay I was away for some other work.

@jdm
Copy link
Copy Markdown
Member

jdm commented Jan 27, 2025

@simonwuelker Would you like to review the second commit here, since I wrote it?

Copy link
Copy Markdown
Contributor

@simonwuelker simonwuelker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM with two nits

Comment on lines +926 to +927
let content_type = request.headers.typed_get::<ContentType>();
if content_type.is_some_and(|ct| {
let mime: Mime = ct.clone().into();
mime.type_() == mime::APPLICATION && mime.subtype() == mime::WWW_FORM_URLENCODED
}) {
return None;
}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you get any clarification from WebAppsWG regarding the definition of a form submission request?

I also suggest wrapping these lines into a utility function, since these checks are heuristic-based and there might be a possibility we need to change them later.

Copy link
Copy Markdown
Member Author

@shubhamg13 shubhamg13 Feb 5, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I got a response like it "when they wrote it, there wasn't much spec-level plumbing for same and it should be easy to do so". And later @jdm suggested that this topic need investigation in future.

Added a utility function,PTAL.

@shubhamg13 shubhamg13 force-pushed the unsecure branch 3 times, most recently from d7a4d30 to f66ec4a Compare February 5, 2025 05:51
@jdm jdm enabled auto-merge February 5, 2025 05:59
auto-merge was automatically disabled February 5, 2025 06:05

Head branch was pushed to by a user without write access

Copy link
Copy Markdown
Contributor

@xiaochengh xiaochengh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good in general, with some minor comments.

@jdm jdm added this pull request to the merge queue Feb 5, 2025
Merged via the queue into servo:main with commit 1e16473 Feb 5, 2025
@shubhamg13 shubhamg13 deleted the unsecure branch February 6, 2025 02:08
shubhamg13 added a commit to shubhamg13/servo that referenced this pull request Feb 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants