Repository navigation
script: Small clean-up in HTMLScriptElement's get_script_type - #48831
Merged
Merged
Conversation
Signed-off-by: Gae24 <[email protected]>
Signed-off-by: Gae24 <[email protected]>
Gae24
force-pushed
the
get-script-type
branch
from
October 12, 2026 09:18
121ec71 to
f3ce0d9
Compare
Narfinger
reviewed
Oct 12, 2026
Narfinger
reviewed
Oct 12, 2026
Narfinger
reviewed
Oct 12, 2026
Narfinger
reviewed
Oct 12, 2026
Narfinger
reviewed
Oct 12, 2026
Narfinger
requested changes
Oct 12, 2026
Narfinger
left a comment
Contributor
There was a problem hiding this comment.
Good, except a couple of nits while we are at it.
Co-authored-by: Narfinger <[email protected]> Signed-off-by: Gae24 <[email protected]>
Gae24
force-pushed
the
get-script-type
branch
from
October 12, 2026 12:35
2a4780b to
fe8f62e
Compare
Narfinger
approved these changes
Oct 12, 2026
philocalyst
added a commit
to philocalyst/servo
that referenced
this pull request
Oct 13, 2026
* upstream/main: (1116 commits) base: Use serde_json::from_reader instead of allocating a string (servo#48843) script_bindings/script: Unify valid_floating_point_number_string (servo#48844) script: Update radio group when checked radio button joins by changing form owner (servo#48069) Font: avoid copying memory mapped font data on macOS (servo#48841) script: Small clean-up in `HTMLScriptElement`'s `get_script_type` (servo#48831) script: set checked element state when cloning input element (servo#48845) layout: Treat preserved tabs as conditionally hanging under `white-space: pre-wrap` (servo#48753) pixels: avoid snapshot copies in single-process mode (servo#48836) url: Faster url to string conversion (servo#48838) layout: Split `accessibility/mod.rs` into separate files (servo#48830) devtools: feature guard (servo#47255) script: Fix assertion failure when track with no cues is rendered (servo#48827) deny: Allow unused-allowed-org (servo#46281) a11y: Add more helper functions in integration test. (servo#48777) net: Avoid cloning the whole CorsCache when cleaning (servo#48828) layout: Replace `Direction` with `LogicalAxis` (servo#48815) Bump to Stylo with legacy justify-align fix (servo#48806) build: bump ohos-abilitykit-sys from 0.1.6 to 0.1.7 (servo#48822) build: bump thin-vec from 0.2.20 to 0.2.21 (servo#48821) build: bump hyper from 1.11.1 to 1.12.0 (servo#48820) ... # Conflicts: # components/config/prefs.rs # components/layout/display_list/mod.rs # components/layout/flow/inline/mod.rs # components/layout/flow/inline/text_run.rs # components/layout/layout_impl.rs
log101
pushed a commit
to log101/servo
that referenced
this pull request
Oct 14, 2026
…rvo#48831) Switch to `get_attribute_string_ref` and updates the logic to reflect the specification changes in whatwg/html#13031. Also, `script_text` was changed to a `TracedDOMString`. Testing: Test expectations updated --------- Signed-off-by: Gae24 <[email protected]> Co-authored-by: Narfinger <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Switch to
get_attribute_string_refand updates the logic to reflect the specification changes in whatwg/html#13031.Also,
script_textwas changed to aTracedDOMString.Testing: Test expectations updated