Skip to content

ReadableStream: remove the use of get_js_stream and use DomRoot<ReadableStream>#34836

Merged
Taym95 merged 2 commits intoservo:mainfrom
Taym95:Remove-the-current-use-of-get_js_stream-and-use-ReadableStream
Jan 5, 2025
Merged

ReadableStream: remove the use of get_js_stream and use DomRoot<ReadableStream>#34836
Taym95 merged 2 commits intoservo:mainfrom
Taym95:Remove-the-current-use-of-get_js_stream-and-use-ReadableStream

Conversation

@Taym95
Copy link
Copy Markdown
Member

@Taym95 Taym95 commented Jan 4, 2025

part of #34676


  • ./mach build -d does not report any errors
  • ./mach test-tidy does not report any errors
  • There are tests for these changes

@Taym95 Taym95 requested a review from gterzian as a code owner January 4, 2025 15:20
@Taym95 Taym95 requested a review from jdm January 4, 2025 15:20
@Taym95 Taym95 added the T-linux-wpt Do a try run of the WPT label Jan 4, 2025
@github-actions github-actions bot removed the T-linux-wpt Do a try run of the WPT label Jan 4, 2025
@github-actions
Copy link
Copy Markdown

github-actions bot commented Jan 4, 2025

🔨 Triggering try run (#12611611270) for Linux WPT

@github-actions
Copy link
Copy Markdown

github-actions bot commented Jan 4, 2025

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

Flaky unexpected result (20)
  • PASS [expected FAIL] /css/compositing/mix-blend-mode/mix-blend-mode-video-sibling.html (#32849)
  • OK /css/css-grid/alignment/grid-content-alignment-with-abspos-001.html (#34339)
    • FAIL [expected PASS] subtest: .grid 1

      assert_equals: 
      &lt;div class="grid" data-expected-width="800" data-expected-height="600"&gt;
          &lt;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;"&gt;&lt;/div&gt;
        &lt;/div&gt;
      offsetLeft expected 329 but got 0
      

  • FAIL [expected PASS] /css/css-overflow/overflow-video.html (#34720)
  • OK /custom-elements/form-associated/ElementInternals-setFormValue.html (#29174)
    • PASS [expected FAIL] subtest: Multiple values - name content attribute is ignored
  • OK /encoding/legacy-mb-japanese/shift_jis/sjis-encode-form-shift-jis.html?1-1000
    • FAIL [expected PASS] subtest: U+80 � %80

      assert_equals: expected "%80" but got ""
      

    • FAIL [expected PASS] subtest: U+A5 ¥ %5C

      str is undefined
      

    • FAIL [expected PASS] subtest: U+A7 § %81%98

      str is undefined
      

    • FAIL [expected PASS] subtest: U+A8 ¨ %81%4E

      str is undefined
      

    • FAIL [expected PASS] subtest: U+B0 ° %81%8B

      str is undefined
      

    • FAIL [expected PASS] subtest: U+B1 ± %81%7D

      str is undefined
      

    • FAIL [expected PASS] subtest: U+B4 ´ %81%4C

      str is undefined
      

    • FAIL [expected PASS] subtest: U+B6 ¶ %81%F7

      str is undefined
      

    • FAIL [expected PASS] subtest: U+D7 × %81%7E

      str is undefined
      

    • FAIL [expected PASS] subtest: U+F7 ÷ %81%80

      str is undefined
      

    • And 390 more unexpected results...
  • OK /fetch/metadata/generated/css-font-face.sub.tentative.html (#34624)
    • PASS [expected FAIL] subtest: sec-fetch-storage-access - Not sent to non-trustworthy same-site destination
  • 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/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/embedded-opener-remove-frame.html (#23867)
    • PASS [expected FAIL] subtest: opener of discarded auxiliary browsing context
  • 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/supported-elements.html (#24145)
    • TIMEOUT [expected FAIL] subtest: Element with tabindex should support autofocus

      Test timed out
      

    • NOTRUN [expected PASS] subtest: Non-HTMLElement should not support autofocus
    • NOTRUN [expected FAIL] subtest: Host element with delegatesFocus should support autofocus
    • NOTRUN [expected FAIL] subtest: Host element with delegatesFocus including no focusable descendants should be skipped
    • NOTRUN [expected FAIL] subtest: Area element should support autofocus
  • TIMEOUT [expected CRASH] /html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_escaping-2.html (#22667)
  • TIMEOUT [expected CRASH] /html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_nonescaping-2.html (#22154)
  • OK /html/semantics/forms/form-submission-0/urlencoded2.window.html (#28687)
    • PASS [expected FAIL] subtest: application/x-www-form-urlencoded: single quote in value (formdata event)
  • OK /html/semantics/forms/historical.html (#28568)
    • PASS [expected FAIL] subtest: &lt;input name=isindex&gt; should not be supported
  • CRASH [expected OK] /html/semantics/forms/the-fieldset-element/disabled-003.html (#31730)
  • 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
  • TIMEOUT [expected OK] /webmessaging/with-ports/018.html (#24485)
    • TIMEOUT [expected PASS] subtest: origin of the script that invoked the method, javascript:

      Test timed out
      

  • OK /workers/WorkerGlobalScope-close.html (#23064)
    • PASS [expected FAIL] subtest: Test sending a message after closing.
  • OK /xhr/open-url-multi-window-5.htm (#23360)
    • FAIL [expected PASS] subtest: XMLHttpRequest: open() resolving URLs (multi-Window; 5)

      assert_throws_dom: function "function() {client.open("GET", "...") }" did not throw
      

Stable unexpected results that are known to be intermittent (9)
  • TIMEOUT /FileAPI/url/url-in-tags-revoke.window.html (#19978)
    • PASS [expected TIMEOUT] subtest: Fetching a blob URL immediately before revoking it works in &lt;script&gt; tags.
  • FAIL [expected PASS] /_mozilla/css/dirty_viewport.html (#13731)
  • OK /fetch/metadata/generated/css-font-face.https.sub.tentative.html (#32732)
    • PASS [expected FAIL] subtest: sec-fetch-storage-access - Cross-site
  • OK /html/browsers/browsing-the-web/navigating-across-documents/initial-empty-document/load-pageshow-events-window-open.html (#28691)
    • PASS [expected FAIL] subtest: load event does not fire on window.open('about:blank')
  • CRASH [expected TIMEOUT] /html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_escaping-3.html (#24057)
  • TIMEOUT [expected CRASH] /html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_nonescaping-1.html (#24066)
    • NOTRUN [expected FAIL] subtest: Check that popups from a sandboxed iframe do not escape the sandbox
  • OK /navigation-timing/test-navigation-type-reload.html (#33334)
    • PASS [expected FAIL] subtest: Reload domContentLoadedEventStart &gt; Original domContentLoadedEventStart
    • PASS [expected FAIL] subtest: Reload fetchStart &gt; Original fetchStart
  • 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] /workers/semantics/run-a-worker/003.html (#22765)

@github-actions
Copy link
Copy Markdown

github-actions bot commented Jan 4, 2025

✨ Try run (#12611611270) succeeded.

@Taym95 Taym95 mentioned this pull request Jan 4, 2025
27 tasks
Copy link
Copy Markdown
Member

@jdm jdm left a comment

Choose a reason for hiding this comment

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

Only one question. Thanks!

@Taym95 Taym95 enabled auto-merge January 5, 2025 11:01
@Taym95 Taym95 added this pull request to the merge queue Jan 5, 2025
Merged via the queue into servo:main with commit bcad0d5 Jan 5, 2025
@Taym95 Taym95 deleted the Remove-the-current-use-of-get_js_stream-and-use-ReadableStream branch January 5, 2025 12:36
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.

2 participants