Skip to content

Make fetch happen - #11556

Merged
bors-servo merged 12 commits into
servo:masterfrom
Manishearth:make-fetch-happen
Jun 12, 2016
Merged

bors-servo merged 12 commits into
servo:masterfrom
Manishearth:make-fetch-happen

Conversation

@Manishearth

@Manishearth Manishearth commented Jun 2, 2016 •

Copy link
Copy Markdown
Member

Moves XHR over to the fetch backend.

Previous PR: #11439


  • ./mach build -d does not report any errors
  • ./mach test-tidy does not report any errors (Will fix later)
  • There are tests for these changes OR
  • These changes do not require tests because _____

This change is Reviewable

@highfive

highfive commented Jun 2, 2016

Copy link
Copy Markdown

Heads up! This PR modifies the following files:

  • @KiChjang: components/net/fetch/methods.rs, components/net/resource_thread.rs, components/net/http_loader.rs, components/script/script_thread.rs, components/script/network_listener.rs, components/script/dom/xmlhttprequest.rs, components/script/dom/htmllinkelement.rs, components/net_traits/lib.rs, components/net_traits/lib.rs, components/script/dom/htmlscriptelement.rs, components/script/dom/htmlmediaelement.rs, components/net_traits/response.rs, components/net_traits/response.rs, components/net/websocket_loader.rs, components/net_traits/request.rs, components/net_traits/request.rs

@highfive highfive added the S-awaiting-review There is new code that needs to be reviewed. label Jun 2, 2016
@Manishearth

Copy link
Copy Markdown
Member Author

Latest wpt results: http://hastebin.com/jigerupena.sm

Ran 198 tests finished in 118.0 seconds.
  • 183 ran as expected. 2 tests skipped.
  • 2 tests timed out unexpectedly
  • 15 tests had unexpected subtest results

Of those 15 unexpected, 4 are unexpected passes

The timeouts are due to response body progress, which hasn't been implemented properly yet. I'd like to wait for SharedIPCMemory to be viable before doing this, but it might just be better to switch back to sending bytes across.

Other failures are due to:

  • Lack of preserved headers
  • No gzip
  • Issues with redirection which I need to debug (/XMLHttpRequest/responseurl.html, /XMLHttpRequest/responsexml-document-properties.htm, /XMLHttpRequest/open-url-worker-origin.htm, /XMLHttpRequest/send-redirect.htm, /XMLHttpRequest/send-redirect-to-cors.htm)
  • authentication
  • Charset roundtripping adding extra things

@jdm jdm added S-needs-code-changes Changes have not yet been made that were requested by a reviewer. S-fails-tidy `./mach test-tidy` reported errors. labels Jun 2, 2016
@jdm

jdm commented Jun 2, 2016

Copy link
Copy Markdown
Member

Updating unit tests and tidying will need to be done at some point. I will review regardless.

@Manishearth

Copy link
Copy Markdown
Member Author

Right, I'll be doing that eventually. I'm focusing on wpt right now

@jdm jdm removed the S-awaiting-review There is new code that needs to be reviewed. label Jun 2, 2016
@jdm

jdm commented Jun 2, 2016

Copy link
Copy Markdown
Member

-S-awaiting-review

Previously, Manishearth (Manish Goregaokar) wrote…

Right, I'll be doing that eventually. I'm focusing on wpt right now


Reviewed 5 of 5 files at r1, 5 of 5 files at r2, 7 of 7 files at r3, 2 of 2 files at r4, 4 of 4 files at r5, 7 of 7 files at r6.
Review status: all files reviewed at latest revision, 20 unresolved discussions, some commit checks failed.


components/net/resource_thread.rs, line 503 [r2] (raw file):

                request.use_cors_preflight = cors.preflight;
            }
            // XXXManishearth: Check origin against pipeline id

Not sure what this means.


components/net/resource_thread.rs, line 510 [r2] (raw file):

                request.referer = Referer::RefererUrl(referer);
            }
            // todo worker stuff

?


components/net/resource_thread.rs, line 505 [r6] (raw file):

            let mut target = Some(Box::new(sender) as Box<FetchTaskTarget + Send + 'static>);
            let response = fetch(Rc::new(request), &mut target, http_state);
            target.unwrap().fetch_done(&response, sync);

I'm unclear on why this is necessary. The notifications that are sent as part of the fetch should be processed by the loop in XMLHttpRequest::fetch, so this should be redundant.


components/net/fetch/methods.rs, line 256 [r1] (raw file):

    // Step 18
    if request.synchronous {
        if !response.is_network_error() {

I'm still unclear about this change - why do we need this particular check? Why can't we send a message on the channel instead for network errors?


components/net/fetch/methods.rs, line 272 [r1] (raw file):

            // the body got sent in one chunk
            target.process_request_body(&request);
            target.process_request_eof(&request);

These don't match the spec's fetch-request-done that's requested; what's the story here?


components/net/fetch/methods.rs, line 276 [r1] (raw file):

    }

    {

No need for this scope now.


components/net/fetch/methods.rs, line 283 [r1] (raw file):

        // Step 21
        if !response.is_network_error() {

Same question as earlier; noting for consistency.


components/net/fetch/methods.rs, line 289 [r1] (raw file):

        }

        // Step 22

Step 23, and add a TODO for 22.


components/net/fetch/methods.rs, line 647 [r6] (raw file):

    };

    println!("ncf {:?}", http_request.body);

This will need to be removed.


components/net_traits/lib.rs, line 203 [r2] (raw file):

    fn process_response_eof(&mut self, response: &response::Response) {
        if response.is_network_error() {

Given the later changes for the metadata method, we should only trigger ProcessResponseEOF messages here, and they should contain an error if this is a network error.


components/net_traits/lib.rs, line 418 [r5] (raw file):

    /// Request the data associated with a particular URL
    Load(LoadData, LoadConsumer, Option<IpcSender<ResourceId>>),
    Fetch(request::RequestInit, IpcSender<FetchResponseMsg>),

Add a use statement for this?


components/net_traits/lib.rs, line 238 [r6] (raw file):

    }

    fn fetch_done(&mut self, response: &response::Response, sync: bool) {

This appears to duplicate the earlier actions; why is this necessary?


components/net_traits/request.rs, line 118 [r5] (raw file):

    pub same_origin_data: bool,
    pub body: Option<Vec<u8>>,
    // TODO: cleint object

client


components/net_traits/request.rs, line 222 [r5] (raw file):

        req.credentials_mode = init.credentials_mode;
        req.use_url_credentials = init.use_url_credentials;
        *req.origin.borrow_mut() = Origin::Origin(init.origin.origin());

This can be passed as an argument to Request::new instead.


components/net_traits/response.rs, line 225 [r2] (raw file):

    }

    pub fn metadata(&self) -> Result<Metadata, NetworkError> {

We should return an error from this method if the response is a network error.


components/net_traits/response.rs, line 229 [r2] (raw file):

            Metadata::default(url.clone())
        } else {
            return Err(NetworkError::Internal("No url found".to_string()));

"No url found in response"


components/script/dom/xmlhttprequest.rs, line 232 [r4] (raw file):

                        Err(e) => {
                            let rv = self.xhr.root().process_response_complete(self.gen_id, Err(e));
                            *self.sync_status.borrow_mut() = Some(rv);

This could move after the match.


components/script/dom/xmlhttprequest.rs, line 818 [r4] (raw file):

        };

        // todo allow cors in mozbrowser

I assume there's a test in mozbrowser/ that will fail until this is fixed.


components/script/dom/xmlhttprequest.rs, line 559 [r5] (raw file):

        };
        let use_url_credentials = if let Some(ref url) = *self.request_url.borrow() {
            url.username().len() != 0 || url.password().is_some()

!url.username().is_empty()


tests/unit/net/fetch.rs, line 78 [r1] (raw file):

    let wrapped_request = Rc::new(request);

    let fetch_response = fetch(wrapped_request, None);

Add a fetch_sync to wrap this.


Comments from Reviewable

@bors-servo

Copy link
Copy Markdown
Contributor

☔ The latest upstream changes (presumably #11468) made this pull request unmergeable. Please resolve the merge conflicts.

@highfive highfive added S-needs-rebase There are merge conflict errors. S-awaiting-review There is new code that needs to be reviewed. and removed S-needs-code-changes Changes have not yet been made that were requested by a reviewer. labels Jun 3, 2016
@Manishearth

Copy link
Copy Markdown
Member Author

Review status: 10 of 14 files reviewed at latest revision, 20 unresolved discussions, some commit checks failed.


components/net/resource_thread.rs, line 503 [r2] (raw file):

Previously, jdm (Josh Matthews) wrote…

Not sure what this means.

We need to ensure that the origin sent by content is genuine for sandboxing to work.

components/net/resource_thread.rs, line 510 [r2] (raw file):

Previously, jdm (Josh Matthews) wrote…

?

Service worker stuff -- initiating the client and all. I probably won't implement this, but I'll leave blanks for creativcoder to fill in

components/net/resource_thread.rs, line 505 [r6] (raw file):

Previously, jdm (Josh Matthews) wrote…

I'm unclear on why this is necessary. The notifications that are sent as part of the fetch should be processed by the loop in XMLHttpRequest::fetch, so this should be redundant.

Sync fetch terminates before the "process response foo" events are triggered. XHR async initiates the fetch algorithm and listens for the process events; XHR sync initiates fetch and waits for the result. These are two different modes of operation

components/net/fetch/methods.rs, line 256 [r1] (raw file):

Previously, jdm (Josh Matthews) wrote…

I'm still unclear about this change - why do we need this particular check? Why can't we send a message on the channel instead for network errors?

I'll remove this check. It's not necessary, I kept it there for additional redundancy.

components/net/fetch/methods.rs, line 272 [r1] (raw file):

Previously, jdm (Josh Matthews) wrote…

These don't match the spec's fetch-request-done that's requested; what's the story here?

I was going to wait for IPCSharedMemory to happen before I fix this up, but since we're not doing that for now I'll make fetch work on chunks as well.

components/net_traits/lib.rs, line 238 [r6] (raw file):

Previously, jdm (Josh Matthews) wrote…

This appears to duplicate the earlier actions; why is this necessary?

See comments on sync fetch

Comments from Reviewable

@Manishearth

Manishearth commented Jun 3, 2016 •

Copy link
Copy Markdown
Member Author

Thinking about the data chunks, there's a bit of a dilemma in sending them across. Initially, I was thinking of passing target to the fetch worker thread and having it send chunks down a new method on the target. This would be more in line with the old design, where we receive chunks to build a buffer on the XHR side and then the process_response_eof/fetch_done messages themselves don't contain any data (aside from error info).

However, this isn't so straightforward:

  • http_network_fetch can get called multiple times in a single fetch. We want only the last one to send data
  • I would prefer if process_response_chunk was always called after process_response (which sends response metadata), but these are called from the fetch worker and main fetch thread respectively; with no synchronization.

I see two solutions to this.

The first is to not follow the spec exactly. We figure out whether or not this is the last fetch before spawning the fetch worker, and only then spawn the worker, triggering process_response right before. Proposed heuristic would involve checking if done_chan is Some (this skips cors preflights), and checking that the response status (which we know before creating the fetch worker) is not a redirect. I think this will work. But it feels brittle to me.

Advantages:

  • Avoids extra pointless threads on redirects (these are cheap threads though, which end almost immediately)
  • We don't have to think about concurrency

Disadvantages:

  • Brittle
  • Doesn't exactly follow the spec, which may bite us later.

The second is simpler -- the buffered data is sent down through done_chan, which is changed to have Payload/Done messages, and the step in the main fetch thread which waits on done_chan instead proxies the payload messages through process_response_chunk

Advantages:

  • Simple

Disadvantage:

  • Inefficient with extra buffer copying

(There's a third solution which does some extra signalling with a bidirectional done_chan, but I'm not very fond of it since it's confusing and has no advantages)

I prefer the second solution, since I think we can get rid of the excessive copying when we make it use IPCSharedMemory later. @jdm, what do you think?

@Manishearth

Copy link
Copy Markdown
Member Author

Unused commit: 23a2598, replaces target with an Arc. Unnecessary for now.

@Manishearth

Copy link
Copy Markdown
Member Author

Added support for chunks. progress-based tests should pass now (need to check).

Also got rid of fetch_done, we now instead just call process_response_* at the end of a sync fetch

Previously, Manishearth (Manish Goregaokar) wrote…

Unused commit: 23a2598, replaces target with an Arc. Unnecessary for now.


Review status: 10 of 14 files reviewed at latest revision, 20 unresolved discussions, some commit checks failed.


Comments from Reviewable

@Manishearth

Copy link
Copy Markdown
Member Author

@Manishearth

Copy link
Copy Markdown
Member Author

The "expected <web-platform.test url> found <localhost url>" errors are because of a missing Host header

@Manishearth

Copy link
Copy Markdown
Member Author

The latest commit adds support for modifying headers, including the host header, but it also adds the accept headers.

The spec says

Accept, Accept-Charset, and Accept-Language must not be included at this point.

so I might need to tweak that further

@Manishearth

Copy link
Copy Markdown
Member Author

@Manishearth

Copy link
Copy Markdown
Member Author

Gzip fixed. Somehow send-usp times out when run with other tests in parallel, but not on its own.

Tried to rebase over Rebecca's referrer changes; however I'm unable to cross layout (it gets stuck at LLVM module passes). The branch is https://github.com/Manishearth/servo/tree/make-fetch-happen-rebase if anyone wants to try it out.

@Manishearth

Copy link
Copy Markdown
Member Author

@Manishearth

Copy link
Copy Markdown
Member Author

And now 4 (of which one is spurious -- that test shouldn't have passed in the first place): https://gist.github.com/Manishearth/3a547954ed0dac4f6288004fdc39fe62

Not sure why the shift-jis charset thing is failing

@bors-servo

Copy link
Copy Markdown
Contributor

💔 Test failed - linux-rel

@highfive

Copy link
Copy Markdown
  ▶ FAIL [expected PASS] /css-transforms-1_dev/html/transform3d-translatez-001.htm
  └   → /css-transforms-1_dev/html/transform3d-translatez-001.htm 902d90a8d198625335e738587fdfe81dcc90392d
/css-transforms-1_dev/html/reference/transform3d-translatez-ref.htm b14318ccfd8a59b7b249d41521e178d617678823
Testing 902d90a8d198625335e738587fdfe81dcc90392d == b14318ccfd8a59b7b249d41521e178d617678823
/css-transforms-1_dev/html/transform3d-translatez-001.htm 902d90a8d198625335e738587fdfe81dcc90392d
/css-transforms-1_dev/html/reference/transform3d-translatez-notref.htm 902d90a8d198625335e738587fdfe81dcc90392d
Testing 902d90a8d198625335e738587fdfe81dcc90392d != 902d90a8d198625335e738587fdfe81dcc90392d

@Manishearth

Copy link
Copy Markdown
Member Author

@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit 9deecd7 with merge 40d5432...

@bors-servo

Copy link
Copy Markdown
Contributor

💔 Test failed - mac-rel-css

@highfive

Copy link
Copy Markdown
  ▶ FAIL [expected PASS] /css-transforms-1_dev/html/transform-abspos-002.htm
  └   → /css-transforms-1_dev/html/transform-abspos-002.htm b8e11894fc87a1b1a2130bc2f522ce5dd20a0b4d
/css-transforms-1_dev/html/reference/transform-abspos-ref.htm 9531333297f9339df08ebd5395fdab407f71a7ef
Testing b8e11894fc87a1b1a2130bc2f522ce5dd20a0b4d == 9531333297f9339df08ebd5395fdab407f71a7ef

@Manishearth

Copy link
Copy Markdown
Member Author

@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit 9deecd7 with merge 5e6bbd3...

@bors-servo

Copy link
Copy Markdown
Contributor

💔 Test failed - mac-rel-css

@metajack

Copy link
Copy Markdown
Collaborator

@bors-servo retry

  • infra (git failure)

@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit 9deecd7 with merge fba0b5e...

@bors-servo

Copy link
Copy Markdown
Contributor

💔 Test failed - mac-rel-css

@jdm

jdm commented Jun 11, 2016

Copy link
Copy Markdown
Member

@bors-servo: retry

  • infra (git failure)

@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit 9deecd7 with merge 074c807...

@bors-servo

Copy link
Copy Markdown
Contributor

💔 Test failed - mac-rel-wpt

@highfive

Copy link
Copy Markdown
  ▶ TIMEOUT [expected OK] /websockets/interfaces/WebSocket/close/close-nested.html?wss

  ▶ TIMEOUT [expected OK] /websockets/interfaces/WebSocket/close/close-replace.html

  ▶ TIMEOUT [expected OK] /websockets/interfaces/WebSocket/close/close-replace.html?wss

  ▶ TIMEOUT [expected OK] /websockets/interfaces/WebSocket/close/close-return.html

  ▶ TIMEOUT [expected OK] /websockets/interfaces/WebSocket/close/close-return.html?wss

  ▶ TIMEOUT [expected OK] /websockets/interfaces/WebSocket/constants/001.html

  ▶ TIMEOUT [expected OK] /websockets/interfaces/WebSocket/constants/001.html?wss

  ▶ TIMEOUT [expected OK] /websockets/interfaces/WebSocket/constants/002.html

  ▶ TIMEOUT [expected OK] /websockets/interfaces/WebSocket/constants/002.html?wss

  ▶ TIMEOUT [expected OK] /websockets/interfaces/WebSocket/constants/003.html

  ▶ TIMEOUT [expected OK] /websockets/interfaces/WebSocket/constants/003.html?wss

  ▶ TIMEOUT [expected OK] /websockets/interfaces/WebSocket/constants/004.html

  ▶ TIMEOUT [expected OK] /websockets/interfaces/WebSocket/constants/004.html?wss

  ▶ TIMEOUT [expected OK] /websockets/interfaces/WebSocket/constants/005.html

  ▶ TIMEOUT [expected OK] /websockets/interfaces/WebSocket/constants/005.html?wss

  ▶ TIMEOUT [expected OK] /websockets/interfaces/WebSocket/constants/006.html

  ▶ TIMEOUT [expected OK] /websockets/interfaces/WebSocket/constants/006.html?wss

  ▶ TIMEOUT [expected OK] /websockets/interfaces/WebSocket/events/001.html

  ▶ TIMEOUT [expected OK] /websockets/interfaces/WebSocket/events/001.html?wss

  ▶ TIMEOUT [expected OK] /websockets/interfaces/WebSocket/events/002.html

  ▶ TIMEOUT [expected OK] /websockets/interfaces/WebSocket/events/002.html?wss

  ▶ TIMEOUT [expected OK] /websockets/interfaces/WebSocket/events/003.html

  ▶ TIMEOUT [expected OK] /websockets/interfaces/WebSocket/events/003.html?wss

  ▶ TIMEOUT [expected OK] /websockets/interfaces/WebSocket/events/004.html

  ▶ TIMEOUT [expected OK] /websockets/interfaces/WebSocket/events/004.html?wss

  ▶ TIMEOUT [expected OK] /websockets/interfaces/WebSocket/events/006.html

  ▶ TIMEOUT [expected OK] /websockets/interfaces/WebSocket/events/006.html?wss

@jdm

jdm commented Jun 11, 2016

Copy link
Copy Markdown
Member

@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit 9deecd7 with merge 0c11e83...

@bors-servo

Copy link
Copy Markdown
Contributor

💔 Test failed - mac-rel-wpt

@highfive

Copy link
Copy Markdown
  ▶ CRASH [expected OK] /_mozilla/mozilla/htmllabel-activation.html
  │ 
  │ ERROR:js::rust: Error at :0:0: Error: assert_unreached: disabled submit should not have been activated Reached unreachable code
  │ 
  │ ERROR:constellation::constellation: Panic: called `Option::unwrap()` on a `None` value
  │ ERROR:constellation::constellation: Backtrace:
  │ frame #0  - 0x000000010c6b6afe - backtrace::backtrace::trace::hccde8df28b4db2a2
  │ frame #1  - 0x000000010c6b6a81 - backtrace::capture::Backtrace::new::h42f95930bb8c5ee8
  │ frame #2  - 0x000000010bbea956 - _&lt;F as alloc..boxed..FnBox&lt;A&gt;&gt;::call_box::h6bf1f1518fe13d1a
  │ frame #3  - 0x000000010c69c337 - util::panicking::initiate_panic_hook::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::ha2bd86c312dc8d7a
  │ frame #4  - 0x000000010c8ab294 - std::panicking::rust_panic_with_hook::h983af77c1a2e581b
  │ frame #5  - 0x000000010c8c40c6 - std::panicking::begin_panic::he426e15a3766089a
  │ frame #6  - 0x000000010c8ac8d8 - std::panicking::begin_panic_fmt::hdddb415186c241e7
  │ frame #7  - 0x000000010c8c3d1f - rust_begin_unwind
  │ frame #8  - 0x000000010c8eaba0 - core::panicking::panic_fmt::hf4e16cb7f0d41a25
  │ frame #9  - 0x000000010c8eae9c - core::panicking::panic::h907815f47e914305
  │ frame #10 - 0x000000010b9f4635 - script::dom::event::Event::new_uninitialized::hbe1c501952cb3ade
  │ frame #11 - 0x000000010b9fca77 - script::dom::event::Event::new::he12802174a68bb2b
  │ frame #12 - 0x000000010ba439ce - script::dom::eventtarget::EventTarget::fire_event::h88220d4f0eb73529
  │ frame #13 - 0x000000010bc6b10a - script::task_source::dom_manipulation::DOMManipulationTask::handle_task::h3f45a410de5af916
  │ frame #14 - 0x000000010bbf579e - script::script_thread::ScriptThread::handle_msg_from_script::h7ec8c452adacf223
  │ frame #15 - 0x000000010bc4e151 - script::script_thread::ScriptThread::handle_msgs::_$u7b$$u7b$closure$u7d$$u7d$::h3fbc4a043ad52356
  │ frame #16 - 0x000000010bc34321 - script::script_thread::ScriptThread::handle_msgs::h6a699373a020da16
  │ frame #17 - 0x000000010bbe9127 - std::panicking::try::call::hb8565a24f25031fc
  │ frame #18 - 0x000000010c8c6dab - __rust_try
  │ frame #19 - 0x000000010c8c6d45 - __rust_maybe_catch_panic
  │ frame #20 - 0x000000010bbea384 - _&lt;F as alloc..boxed..FnBox&lt;A&gt;&gt;::call_box::h78c73797281bb868
  │ frame #21 - 0x000000010c8c2828 - std::sys::thread::Thread::new::thread_start::h9c883b6d445ece46
  │ frame #22 - 0x00007fff8e158059 - _pthread_body
  │ frame #23 - 0x00007fff8e157fd6 - _pthread_start
  │ 
  └ ERROR:constellation::constellation: Pipeline failed in hard-fail mode.  Crashing!

@cbrewster

Copy link
Copy Markdown
Contributor

@bors-servo

Copy link
Copy Markdown
Contributor

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

@bors-servo

Copy link
Copy Markdown
Contributor

💔 Test failed - mac-rel-wpt

@highfive

Copy link
Copy Markdown
  ▶ Unexpected subtest result in /webgl/conformance-1.0.3/conformance/textures/default-texture.html:
  │ FAIL [expected PASS] WebGL test #0: at (0, 0) expected: 0,0,0,255 was 255,255,255,255
  │   → assert_true: at (0, 0) expected: 0,0,0,255 was 255,255,255,255 expected true got false
  │ 
  │ reportTestResultsToHarness/&lt;@http://web-platform.test:8000/webgl/conformance-1.0.3/resources/js-test-pre.js:87:9
  │ Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:1397:20
  │ test@http://web-platform.test:8000/resources/testharness.js:495:9
  │ reportTestResultsToHarness@http://web-platform.test:8000/webgl/conformance-1.0.3/resources/js-test-pre.js:86:7
  │ testFailed@http://web-platform.test:8000/webgl/conformance-1.0.3/resources/js-test-pre.js:152:5
  │ checkCanvasRectColor@http://web-platform.test:8000/webgl/conformance-1.0.3/conformance/resources/webgl-test-utils.js:1046:9
  │ checkCanvasRect@http://web-platform.test:8000/webgl/conformance-1.0.3/conformance/resources/webgl-test-utils.js:1072:3
  │ checkCanvas@http://web-platform.test:8000/webgl/conformance-1.0.3/conformance/resources/webgl-test-utils.js:1095:3
  └ @http://web-platform.test:8000/webgl/conformance-1.0.3/conformance/textures/default-texture.html:14:1

  ▶ TIMEOUT [expected OK] /websockets/constructor/020.html?wss

  ▶ TIMEOUT [expected OK] /websockets/constructor/021.html

  ▶ TIMEOUT [expected OK] /websockets/constructor/021.html?wss

  ▶ TIMEOUT [expected OK] /websockets/constructor/022.html

  ▶ TIMEOUT [expected OK] /websockets/constructor/022.html?wss

  ▶ TIMEOUT [expected OK] /websockets/cookies/001.html

  ▶ TIMEOUT [expected OK] /websockets/cookies/001.html?wss

  ▶ TIMEOUT [expected OK] /websockets/cookies/002.html

  ▶ TIMEOUT [expected OK] /websockets/cookies/002.html?wss

  ▶ TIMEOUT [expected OK] /websockets/cookies/003.html

  ▶ TIMEOUT [expected OK] /websockets/cookies/003.html?wss

  ▶ TIMEOUT [expected OK] /websockets/cookies/004.html

  ▶ TIMEOUT [expected OK] /websockets/cookies/004.html?wss

  ▶ TIMEOUT [expected OK] /websockets/cookies/006.html?wss

  ▶ TIMEOUT [expected OK] /websockets/eventhandlers.html

  ▶ TIMEOUT [expected OK] /websockets/interfaces/CloseEvent/clean-close.html

  ▶ TIMEOUT [expected OK] /websockets/interfaces/CloseEvent/clean-close.html?wss

  ▶ TIMEOUT [expected OK] /websockets/interfaces/CloseEvent/constructor.html

@Manishearth

Copy link
Copy Markdown
Member Author

@bors-servo

Copy link
Copy Markdown
Contributor

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

@bors-servo

Copy link
Copy Markdown
Contributor

☀️ Test successful - android, arm32, arm64, linux-dev, linux-rel, mac-dev-unit, mac-rel-css, mac-rel-wpt, windows

@nickolay

Copy link
Copy Markdown

@Manishearth this change seems to have introduced:

servo/components/script/dom/xmlhttprequest.rs:1044:5: 1048:6 warning: method is never used: insert_trusted_header, #[warn(dead_code)] on by default

@jdm

jdm commented Jun 17, 2016

Copy link
Copy Markdown
Member

Yes. We filed #11760 to deal with it.

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.

10 participants