Skip to content

build(deps): bump stylo from c756a21 to 0eaeea3 - #36545

Merged
Loirooriol merged 1 commit into
servo:mainfrom
sidntrivedi:check-stylo-pr
Apr 15, 2025
Merged

Loirooriol merged 1 commit into
servo:mainfrom
sidntrivedi:check-stylo-pr

Conversation

@sidntrivedi

@sidntrivedi sidntrivedi commented Apr 15, 2025 •

Copy link
Copy Markdown
Contributor

This PR bumps stylo from c756a21 to 0eaeea3.

@Loirooriol

Loirooriol commented Apr 15, 2025 •

Copy link
Copy Markdown
Contributor

@sidntrivedi
sidntrivedi force-pushed the check-stylo-pr branch 2 times, most recently from 1fafcfe to 9291f5b Compare April 15, 2025 15:09
@sidntrivedi

Copy link
Copy Markdown
Contributor Author

@Loirooriol I have made some changes. Have rebased my stylo branch with main and have also updated every stylo github repository reference to my fork and branch in servo's Cargo.toml. With these changes and then running ./mach build locally, getting the following error:

   Compiling compositing v0.0.1 (/Users/phoenix/Code/servo/components/compositing)
warning: unknown lint: `crown_is_not_used`
  --> components/script_bindings/lib.rs:11:9
   |
11 | #![deny(crown_is_not_used)]
   |         ^^^^^^^^^^^^^^^^^
   |
   = note: `#[warn(unknown_lints)]` on by default

error[E0277]: the trait bound `*const js::jsapi::Handle<js::jsapi::PropertyDescriptor>: From<js::rust::Handle<'_, js::jsapi::PropertyDescriptor>>` is not satisfied
   --> components/script_bindings/proxyhandler.rs:574:27
    |
574 |         own_desc.handle().into(),
    |                           ^^^^ the trait `From<js::rust::Handle<'_, js::jsapi::PropertyDescriptor>>` is not implemented for `*const js::jsapi::Handle<js::jsapi::PropertyDescriptor>`
    |
    = help: the trait `From<js::rust::Handle<'_, js::jsapi::PropertyDescriptor>>` is not implemented for `*const js::jsapi::Handle<js::jsapi::PropertyDescriptor>`
            but it is implemented for `js::jsapi::Handle<js::jsapi::PropertyDescriptor>`
    = help: for that trait implementation, expected `js::jsapi::Handle<js::jsapi::PropertyDescriptor>`, found `*const js::jsapi::Handle<js::jsapi::PropertyDescriptor>`
    = note: required for `js::rust::Handle<'_, js::jsapi::PropertyDescriptor>` to implement `Into<*const js::jsapi::Handle<js::jsapi::PropertyDescriptor>>`

For more information about this error, try `rustc --explain E0277`.
warning: `script_bindings` (lib) generated 1 warning
error: could not compile `script_bindings` (lib) due to 1 previous error; 1 warning emitted
      Timing report saved to /Users/phoenix/Code/servo/target/cargo-timings/cargo-timing-20250415T150643Z.html
Failed in 0:02:22

Any pointers as to what might be going wrong here?

@Loirooriol

Copy link
Copy Markdown
Contributor

There are some weird changes in the Cargo.lock, you are updating arboard and a bunch of things.
Try git checkout main -- Cargo.lock and then ./mach build again.

@sidntrivedi

Copy link
Copy Markdown
Contributor Author

Yes, even I am not sure why so many dependencies are getting updated. I am manually changing the repository from servo/stylo to my fork and similarly for the branch name. Post this, I ran cargo update -p stylo.

@sidntrivedi

Copy link
Copy Markdown
Contributor Author

@Loirooriol I have fixed the changes. Can you please approve the actions?

@nicoburns

Copy link
Copy Markdown
Contributor

@sidntrivedi012 You need to fix the "DCO" check. The easiest way to do this is git rebase --signoff main.

@sidntrivedi

Copy link
Copy Markdown
Contributor Author

@nicoburns I can fix the check but are we planning to merge this PR? I thought its only for validating the stylo changes.

@Loirooriol

Copy link
Copy Markdown
Contributor

After merging the Stylo PR then you should undo the Cargo.toml changes, but update Cargo.lock to the new Stylo commit. And then land that here.

@sidntrivedi

Copy link
Copy Markdown
Contributor Author

Got it. I just force pushed so that added a new action in the queue. The older action workflow for build is running here: https://github.com/servo/servo/actions/runs/14473861239.

@sidntrivedi

Copy link
Copy Markdown
Contributor Author

@nicoburns nicoburns added the T-linux-wpt Do a try run of the WPT label Apr 15, 2025
@github-actions github-actions Bot removed the T-linux-wpt Do a try run of the WPT label Apr 15, 2025
@github-actions

Copy link
Copy Markdown

🔨 Triggering try run (#14475374353) for Linux (WPT)

@github-actions

Copy link
Copy Markdown

Test results for linux-wpt from try job (#14475374353):

Flaky unexpected result (23)
  • OK /content-security-policy/generic/invalid-characters-in-policy.html (#36505)
    • FAIL [expected PASS] subtest: Should load image without any CSP - meta tag

      assert_equals: expected "img loaded" but got "img not loaded"
      

    • FAIL [expected PASS] subtest: Should load image without any CSP - HTTP header

      assert_equals: expected "img loaded" but got "img not loaded"
      

    • PASS [expected FAIL] subtest: Should not load image with 'none' CSP - meta tag
    • PASS [expected FAIL] subtest: Should not load image with 'none' CSP - HTTP header
    • FAIL [expected PASS] subtest: Non-ASCII character in directive value should drop the whole directive. - meta tag

      assert_equals: expected "img loaded" but got "img not loaded"
      

    • FAIL [expected PASS] subtest: Non-ASCII character in directive value should drop the whole directive. - HTTP header

      assert_equals: expected "img loaded" but got "img not loaded"
      

    • FAIL [expected PASS] subtest: Non-ASCII quote character in directive value should drop the whole directive. - meta tag

      assert_equals: expected "img loaded" but got "img not loaded"
      

    • FAIL [expected PASS] subtest: Non-ASCII quote character in directive value should drop the whole directive. - HTTP header

      assert_equals: expected "img loaded" but got "img not loaded"
      

    • PASS [expected FAIL] subtest: Non-ASCII character in directive value should not affect other directives. - meta tag
    • PASS [expected FAIL] subtest: Non-ASCII character in directive value should not affect other directives. - HTTP header
    • And 2 more unexpected results...
  • TIMEOUT /content-security-policy/generic/only-valid-whitespaces-are-allowed.html (#36505)
    • FAIL [expected PASS] subtest: Should load image without any CSP - meta tag

      assert_equals: expected "img loaded" but got "img not loaded"
      

    • FAIL [expected PASS] subtest: Should load image without any CSP - HTTP header

      assert_equals: expected "img loaded" but got "img not loaded"
      

    • PASS [expected FAIL] subtest: Should not load image with 'none' CSP - meta tag
    • PASS [expected FAIL] subtest: Should not load image with 'none' CSP - HTTP header
    • PASS [expected FAIL] subtest: U+0009 TAB should be properly parsed between directive name and value - meta tag
    • PASS [expected FAIL] subtest: U+0009 TAB should be properly parsed between directive name and value - HTTP header
    • PASS [expected FAIL] subtest: U+000C FF should be properly parsed between directive name and value - meta tag
    • PASS [expected FAIL] subtest: U+000A LF should be properly parsed between directive name and value - meta tag
    • PASS [expected FAIL] subtest: U+000D CR should be properly parsed between directive name and value - meta tag
    • PASS [expected FAIL] subtest: U+0020 SPACE should be properly parsed between directive name and value - meta tag
    • And 12 more unexpected results...
  • FAIL [expected PASS] /css/css-fonts/font-palette-30.html
  • OK /css/css-fonts/variations/at-font-face-font-matching.html (#20684)
    • FAIL [expected PASS] subtest: Matching font-weight: '399' should prefer '200 300' over '400'

      assert_equals: Unexpected font on test element expected 487 but got 532
      

  • OK [expected ERROR] /fetch/fetch-later/quota/same-origin-iframe/empty-payload.tentative.https.window.html (#35176)
  • OK [expected ERROR] /fetch/fetch-later/quota/same-origin-iframe/oversized-payload.tentative.https.window.html (#35210)
  • 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/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-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/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/element/canvas-host/2d.canvas.host.size.large.html (#36155)
  • OK [expected ERROR] /html/canvas/element/manual/imagebitmap/createImageBitmap-colorSpaceConversion.html (#34151)
  • OK /html/semantics/embedded-content/the-iframe-element/iframe-loading-lazy-nav-location-replace-set-src.html (#32697)
    • PASS [expected FAIL] subtest: Navigating iframe loading='lazy' and then setting src: location.replace
  • OK [expected TIMEOUT] /html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_escaping-3.html (#24057)
    • 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"
      

  • OK /html/semantics/forms/form-submission-0/multipart-formdata.window.html (#28725)
    • PASS [expected FAIL] subtest: multipart/form-data: 0x00 in name (normal form)
  • OK [expected TIMEOUT] /html/semantics/forms/form-submission-0/reparent-form-during-planned-navigation-task.html (#29724)
    • PASS [expected TIMEOUT] subtest: reparent-form-during-planned-navigation-task
  • OK /html/semantics/forms/form-submission-0/urlencoded2.window.html (#28687)
    • PASS [expected FAIL] subtest: application/x-www-form-urlencoded: Basic test (formdata event)
  • OK /html/semantics/scripting-1/the-script-element/module/dynamic-import/blob-url.any.worker.html (#33909)
    • FAIL [expected PASS] subtest: Revoking a blob URL immediately after calling import will not fail

      promise_test: Unhandled rejection with value: object "TypeError: Dynamic import failed"
      

  • OK /resize-observer/eventloop.html (#33599)
    • FAIL [expected PASS] subtest: test0: multiple notifications inside same event loop

      assert_equals: new loop expected 1 but got 0
      

  • TIMEOUT [expected OK] /resource-timing/nested-context-navigations-iframe.html (#24311)
    • TIMEOUT [expected PASS] subtest: Test that cross-site iframe navigations are not observable by the parent, even after history navigations by the parent

      Test timed out
      

    • 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 /service-workers/idlharness.https.any.html (#36250)
    • PASS [expected TIMEOUT] subtest: ServiceWorkerContainer interface: operation register((TrustedScriptURL or USVString), optional RegistrationOptions)
    • PASS [expected TIMEOUT] subtest: NavigationPreloadManager interface: operation enable()
    • PASS [expected TIMEOUT] subtest: NavigationPreloadManager interface: operation disable()
    • PASS [expected TIMEOUT] subtest: NavigationPreloadManager interface: operation setHeaderValue(ByteString)
    • PASS [expected TIMEOUT] subtest: NavigationPreloadManager interface: operation getState()
  • CRASH [expected OK] /webaudio/the-audio-api/the-audiocontext-interface/audiocontext-state-change-after-close.http.window.html (#36368)
  • 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
      

Stable unexpected results that are known to be intermittent (20)
  • OK /FileAPI/url/url-with-fetch.any.worker.html (#21517)
    • PASS [expected FAIL] subtest: Revoke blob URL after calling fetch, fetch should succeed
  • OK /_webgl/conformance/textures/misc/texture-upload-size.html (#21770)
    • FAIL [expected PASS] subtest: WebGL test #60

      assert_true: could not create image (SVG) expected true got false
      

  • OK /content-security-policy/frame-ancestors/frame-ancestors-path-ignored.window.html (#36468)
    • FAIL [expected PASS] subtest: A 'frame-ancestors' CSP directive with a URL that includes a path should be ignored.

      assert_unreached: The IFrame should have been blocked (or cross-origin). It wasn't. Reached unreachable code
      

  • FAIL [expected PASS] /css/compositing/mix-blend-mode/mix-blend-mode-video-sibling.html (#32849)
  • OK /fetch/metadata/generated/css-font-face.https.sub.tentative.html (#32732)
    • PASS [expected FAIL] subtest: sec-fetch-user
  • OK /html/browsers/browsing-the-web/navigating-across-documents/009.html (#24456)
    • FAIL [expected PASS] subtest: Link with onclick form submit to javascript url with document.write and href navigation

      assert_array_equals: expected property 1 to be "href" but got "click" (expected array ["write", "href"] got ["write", "click"])
      

  • 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"
      

    • FAIL [expected PASS] subtest: Navigating to a different document with form submission

      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.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_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
  • FAIL [expected PASS] /html/canvas/element/manual/text/canvas.2d.disconnected.html (#30063)
  • TIMEOUT [expected OK] /html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_escaping-1.html (#22647)
  • TIMEOUT [expected OK] /html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_escaping-2.html (#22667)
    • TIMEOUT [expected FAIL] subtest: Check that popups from a sandboxed iframe escape the sandbox if allow-popups-to-escape-sandbox is used

      Test timed out
      

  • TIMEOUT [expected OK] /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 [expected TIMEOUT] /html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_nonescaping-3.html (#24066)
  • OK /html/semantics/forms/form-submission-0/jsurl-form-submit.tentative.html (#36489)
    • FAIL [expected PASS] subtest: Verifies that form submissions scheduled inside javascript: urls take precedence over the javascript: url's return value.

      assert_equals: expected "/html/semantics/forms/form-submission-0/resources/form.html" but got "blank"
      

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

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

  • OK /webaudio/the-audio-api/the-audiobuffersourcenode-interface/sub-sample-buffer-stitching.html (#22849)
    • FAIL [expected PASS] subtest: X Stitched sine-wave buffers at sample rate 43800 does not equal [0,0.06264832615852356,0.12505052983760834,0.18696144223213196,0.24813786149024963,0.308339387178421,0.36732959747314453,0.4248766601085663,0.480754554271698,0.5347436666488647,0.5866320133209229,0.6362156271934509,0.6832997798919678,0.7276994585990906,0.7692402601242065,0.8077589869499207...] with an element-wise tolerance of {"absoluteThreshold":0.0038986,"relativeThreshold":0}. Index Actual Expected AbsError RelError Test threshold [14680] 9.8465761280000000e+9 2.0512369275093079e-1 9.8465761277948761e+9 4.8003114587796417e+10 3.8985999999999999e-3 [14681] 1.1480505578219891e-2 1.4340442419052124e-1 1.3192391861230135e-1 9.1994315626575540e-1 3.8985999999999999e-3 Max AbsError of 9.8465761277948761e+9 at index of 14680. Max RelError of 4.8003114587796417e+10 at index of 14680.

      assert_true: expected true got false
      

    • FAIL [expected PASS] subtest: X SNR (-156.43161891504243 dB) is not greater than or equal to 65.737. Got -156.43161891504243.

      assert_true: expected true got false
      

  • OK [expected ERROR] /webxr/render_state_update.https.html (#27535)

@github-actions

Copy link
Copy Markdown

✨ Try run (#14475374353) succeeded.

@sidntrivedi sidntrivedi changed the title test: verify the changes made in stylo for image size build(deps): bump stylo from c756a21 to 0eaeea3 Apr 15, 2025
@sidntrivedi
sidntrivedi marked this pull request as ready for review April 15, 2025 18:15
@sidntrivedi

Copy link
Copy Markdown
Contributor Author

@nicoburns @Loirooriol the PR is ready for review.

@Loirooriol
Loirooriol added this pull request to the merge queue Apr 15, 2025
@Loirooriol
Loirooriol removed this pull request from the merge queue due to a manual request Apr 15, 2025
@Loirooriol

Copy link
Copy Markdown
Contributor

I have edited the top comment, since that will be the commit description.

@Loirooriol
Loirooriol added this pull request to the merge queue Apr 15, 2025
@sidntrivedi

Copy link
Copy Markdown
Contributor Author

@Loirooriol do we need to add the T-linux-wpt label again for the wpt tests to start running on latest pushed commit?

@Loirooriol

Copy link
Copy Markdown
Contributor

Not necessary, the merge queue will run the tests again anyways.

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.

3 participants