mirror of
https://github.com/servo/servo.git
synced 2025-10-04 10:39:16 +01:00
Add origin to Location and Url API. The origin field is part of location and url spec but hasn't been implemented in servo yet. https://html.spec.whatwg.org/multipage/browsers.html#dom-location-origin https://url.spec.whatwg.org/#dom-url-origin All of the logic to calculate the url origin exists in https://github.com/servo/rust-url This review threads through rust-url origin implementation into the servo location and url API. This fixes one websockets test: servo/tests/wpt/web-platform-tests/websockets/opening-handshake/003.html testing done: ./mach test-wpt tests/wpt/web-platform-tests/websockets/ I'm brand new to rust so feedback is appreciated, thanks! <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9367) <!-- Reviewable:end --> |
||
---|---|---|
.. | ||
docs | ||
dom | ||
parse | ||
build.rs | ||
Cargo.toml | ||
clipboard_provider.rs | ||
cors.rs | ||
devtools.rs | ||
document_loader.rs | ||
layout_interface.rs | ||
lib.rs | ||
makefile.cargo | ||
mem.rs | ||
network_listener.rs | ||
page.rs | ||
reporter.rs | ||
script_thread.rs | ||
textinput.rs | ||
timers.rs | ||
unpremultiplytable.rs | ||
webdriver_handlers.rs |