Skip to content

Remove the legacy networking stack. - #14360

Merged
bors-servo merged 9 commits into
masterfrom
fetch
Nov 24, 2016
Merged

bors-servo merged 9 commits into
masterfrom
fetch

Conversation

@Ms2ger

@Ms2ger Ms2ger commented Nov 24, 2016 •

Copy link
Copy Markdown
Contributor

This change is Reviewable

Also remove now-dead code that rustc warns about.

It turns out that we lost support for some of our custom URL schemes; I intend
to reimplement them, but I believe this will be significantly easier to do
once the legacy code is out of the way.
The change to the unit test is necessary because the resource thread is not
resilient against either of these Senders being dropped while the resource
thread is running. Before this change, it held clones of those senders itself
(public_setup_chan_clone, private_setup_chan_clone).
@highfive

Copy link
Copy Markdown

Heads up! This PR modifies the following files:

  • @fitzgen: components/script/dom/xmlhttprequest.rs, components/script_traits/lib.rs, components/script_traits/lib.rs
  • @KiChjang: components/net/Cargo.toml, components/net/about_loader.rs, components/net/fetch/methods.rs, components/net/chrome_loader.rs, components/net/resource_thread.rs, components/net/lib.rs, components/net/data_loader.rs, components/net/file_loader.rs, components/net/http_loader.rs, components/script/dom/xmlhttprequest.rs, components/net/blob_loader.rs, components/net_traits/lib.rs, components/net_traits/lib.rs, components/script_traits/lib.rs, components/script_traits/lib.rs, components/net/filemanager_thread.rs

@highfive highfive added the S-awaiting-review There is new code that needs to be reviewed. label Nov 24, 2016
@nox

nox commented Nov 24, 2016

Copy link
Copy Markdown
Contributor

@bors-servo r+

@bors-servo

Copy link
Copy Markdown
Contributor

📌 Commit 761524c has been approved by nox

@highfive highfive added S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. and removed S-awaiting-review There is new code that needs to be reviewed. labels Nov 24, 2016
@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit 761524c with merge 1321c07...

bors-servo pushed a commit that referenced this pull request Nov 24, 2016
Remove the legacy networking stack.

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/14360)
<!-- Reviewable:end -->
@bors-servo

Copy link
Copy Markdown
Contributor

💔 Test failed - mac-rel-wpt2

@highfive highfive added S-tests-failed The changes caused existing tests to fail. and removed S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. labels Nov 24, 2016
@Ms2ger

Ms2ger commented Nov 24, 2016

Copy link
Copy Markdown
Contributor Author

@bors-servo retry # #14323

@bors-servo

Copy link
Copy Markdown
Contributor

⚡ Previous build results for arm32, arm64, linux-dev, linux-rel-wpt, mac-dev-unit, windows-dev are reusable. Rebuilding only linux-rel-css, mac-rel-css, mac-rel-wpt1, mac-rel-wpt2...

@bors-servo

Copy link
Copy Markdown
Contributor

@bors-servo
bors-servo merged commit 761524c into master Nov 24, 2016
@Ms2ger
Ms2ger deleted the fetch branch November 24, 2016 12:58
@Ms2ger Ms2ger mentioned this pull request Nov 24, 2016
31 tasks done
}
}

fn update_sts_list_from_response(url: &ServoUrl, response: &HttpResponse, hsts_list: &Arc<RwLock<HstsList>>) {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Let's at least file an issue about reimplementing STS for fetch.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

}
}

fn set_auth_header(headers: &mut Headers,

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Let's file an issue about reimplementing HTTP auth for fetch.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

mrobinson added a commit to mrobinson/servo that referenced this pull request Apr 15, 2026
This tests a feature (`about:sslfail`) that was removed in servo#14360 and
has been flaky for years. At this point, the test has been flaking for a
decade longer after the original feature existed! We can just go ahead
and remove it I think.

Signed-off-by: Martin Robinson <[email protected]>
github-merge-queue Bot pushed a commit that referenced this pull request Apr 15, 2026
This tests a feature (`about:sslfail`) that was removed in #14360 and
has been flaky for years. At this point, the test has been flaking for a
decade longer after the original feature existed! We can just go ahead
and remove it I think.

Testing: This change just removes a test, so doesn't need new tests.
Fixes: #10760

Signed-off-by: Martin Robinson <[email protected]>
jschwe pushed a commit to jschwe/servo that referenced this pull request Jun 26, 2026
This tests a feature (`about:sslfail`) that was removed in servo#14360 and
has been flaky for years. At this point, the test has been flaking for a
decade longer after the original feature existed! We can just go ahead
and remove it I think.

Testing: This change just removes a test, so doesn't need new tests.
Fixes: servo#10760

Signed-off-by: Martin Robinson <[email protected]>
(cherry picked from commit d4729c0)
jschwe pushed a commit that referenced this pull request Jun 26, 2026
This tests a feature (`about:sslfail`) that was removed in #14360 and
has been flaky for years. At this point, the test has been flaking for a
decade longer after the original feature existed! We can just go ahead
and remove it I think.

Testing: This change just removes a test, so doesn't need new tests.
Fixes: #10760

Signed-off-by: Martin Robinson <[email protected]>
(cherry picked from commit d4729c0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-tests-failed The changes caused existing tests to fail.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants