Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Partially enable referrer-policy tests with some modifications #11429

Merged
merged 3 commits into from May 27, 2016

Conversation

@nox
Copy link
Member

nox commented May 25, 2016

This is a part of @rebstar6's work on #11422, with only her test fixes and the enabling of them, to ease review on the actual implementation.


This change is Reviewable

rebstar6 added 2 commits May 21, 2016
It's origin-when-cross-origin, not origin-when-crossorigin.
We plan to make the xhr-request tests pass first.
@highfive
Copy link

highfive commented May 25, 2016

Heads up! This PR modifies the following files:

@nox
Copy link
Member Author

nox commented May 25, 2016

r? @jdm

@highfive highfive assigned jdm and unassigned glennw May 25, 2016
@jdm
Copy link
Member

jdm commented May 25, 2016

@bors-servo
Copy link
Contributor

bors-servo commented May 25, 2016

📌 Commit 449ae10 has been approved by jdm

@nox nox mentioned this pull request May 25, 2016
4 of 5 tasks complete
@bors-servo
Copy link
Contributor

bors-servo commented May 26, 2016

Testing commit 449ae10 with merge 27d61fa...

bors-servo added a commit that referenced this pull request May 26, 2016
Partially enable referrer-policy tests with some modifications

This is a part of @rebstar6's work on #11422, with only her test fixes and the enabling of them, to ease review on the actual implementation.

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

bors-servo commented May 26, 2016

💔 Test failed - mac-rel-css

@mbrubeck
Copy link
Contributor

mbrubeck commented May 26, 2016

The mac-rel-css build hit an infrastructure issue, but mac-rel-wpt shows a large number of timeouts in the referrer-policy tests.

@nox nox force-pushed the nox:unlimited-referrer-works branch from 449ae10 to f5f6690 May 26, 2016
@highfive
Copy link

highfive commented May 26, 2016

New code was committed to pull request.

@nox
Copy link
Member Author

nox commented May 26, 2016

I had forgotten an async xhr in common.js, this is fixed now.

@bors-servo r=jdm

@bors-servo
Copy link
Contributor

bors-servo commented May 26, 2016

📌 Commit f5f6690 has been approved by jdm

@bors-servo
Copy link
Contributor

bors-servo commented May 26, 2016

Testing commit f5f6690 with merge 7ba96cc...

bors-servo added a commit that referenced this pull request May 26, 2016
Partially enable referrer-policy tests with some modifications

This is a part of @rebstar6's work on #11422, with only her test fixes and the enabling of them, to ease review on the actual implementation.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11429)
<!-- Reviewable:end -->
@nox
Copy link
Member Author

nox commented May 26, 2016

Damn it, this failed again. http://build.servo.org/builders/linux-rel/builds/1266

Weirdly I can't reproduce locally. :(

@bors-servo
Copy link
Contributor

bors-servo commented May 26, 2016

💔 Test failed - mac-rel-wpt

@highfive
Copy link

highfive commented May 26, 2016

  ▶ TIMEOUT [expected OK] /html/dom/reflection-forms.html
  │ 
  │ thread &#39;http_loader for http://web-platform.test:8000/html/dom/test-valueOf&#39; panicked at &#39;could not initialize thread_rng: Too many open files (os error 24)&#39;, ../src/libstd/rand/mod.rs:159
  │ stack backtrace:
  │    1:        0x110f7f9a8 - std::sys::backtrace::tracing::imp::write::h9fb600083204ae7f
  │    2:        0x110f85ef5 - std::panicking::default_hook::_$u7b$$u7b$closure$u7d$$u7d$::hca543c34f11229ac
  │    3:        0x110f85b0e - std::panicking::default_hook::hc2c969e7453d080c
  │    4:        0x110cf9122 - util::panicking::initiate_panic_hook::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::ha2bd86c312dc8d7a
  │    5:        0x110f6cfb2 - std::panicking::rust_panic_with_hook::hfe203e3083c2b544
  │    6:        0x110f864b6 - std::panicking::begin_panic::h4889569716505182
  │    7:        0x110f6e8a8 - std::panicking::begin_panic_fmt::h484cd47786497f03
  │    8:        0x110f86929 - std::rand::thread_rng::THREAD_RNG_KEY::__init::h536e3917997a1628
  │    9:        0x110f6d5bc - std::rand::thread_rng::h789d00d1fce4f79b
  │   10:        0x10f6ff51c - _&lt;collections..hash..map..RandomState as core..default..Default&gt;::default::ha847494db5044892
  │   11:        0x10f746244 - net::http_loader::load::h4cdeddfa5dca9e93
  │   12:        0x10f74277c - std::panicking::try::call::h2f55588c0568c703
  │   13:        0x110f8967b - __rust_try
  │   14:        0x110f89615 - __rust_maybe_catch_panic
  │   15:        0x10f744784 - _&lt;F as std..boxed..FnBox&lt;A&gt;&gt;::call_box::ha5012a14880088fa
  │   16:        0x110f84e58 - std::sys::thread::Thread::new::thread_start::h6f266e069bf4ec2b
  │   17:     0x7fff9534f059 - _pthread_body
  │   18:     0x7fff9534efd6 - _pthread_start
  │ thread &#39;http_loader for http://web-platform.test:8000/html/dom/test-valueOf&#39; panicked at &#39;could not initialize thread_rng: Too many open files (os error 24)&#39;, ../src/libstd/rand/mod.rs:159
  │ stack backtrace:
  │ thread &#39;http_loader for http://web-platform.test:8000/html/dom/test-valueOf&#39; panicked at &#39;could not initialize thread_rng: Too many open files (os error 24)&#39;, ../src/libstd/rand/mod.rs:159
  │    1:        0x110f7f9a8 - std::sys::backtrace::tracing::imp::write::h9fb600083204ae7f
  │    2:        0x110f85ef5 - std::panicking::default_hook::_$u7b$$u7b$closure$u7d$$u7d$::hca543c34f11229ac
  │ thread &#39;http_loader for http://web-platform.test:8000/html/dom/test-valueOf&#39; panicked at &#39;could not initialize thread_rng: Too many open files (os error 24)&#39;, ../src/libstd/rand/mod.rs:159
  │    3:        0x110f85b0e - std::panicking::default_hook::hc2c969e7453d080c
  │    4:        0x110cf9122 - util::panicking::initiate_panic_hook::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::ha2bd86c312dc8d7a
  │    5:        0x110f6cfb2 - std::panicking::rust_panic_with_hook::hfe203e3083c2b544
  │    6:        0x110f864b6 - std::panicking::begin_panic::h4889569716505182
  │    7:        0x110f6e8a8 - std::panicking::begin_panic_fmt::h484cd47786497f03
  │    8:        0x110f86929 - std::rand::thread_rng::THREAD_RNG_KEY::__init::h536e3917997a1628
  │    9:        0x110f6d5bc - std::rand::thread_rng::h789d00d1fce4f79b
  │   10:        0x10f6ff51c - _&lt;collections..hash..map..RandomState as core..default..Default&gt;::default::ha847494db5044892
  │   11:        0x10f746244 - net::http_loader::load::h4cdeddfa5dca9e93
  │   12:        0x10f74277c - std::panicking::try::call::h2f55588c0568c703
  │   13:        0x110f8967b - __rust_try
  │   14:        0x110f89615 - __rust_maybe_catch_panic
  │   15:        0x10f744784 - _&lt;F as std..boxed..FnBox&lt;A&gt;&gt;::call_box::ha5012a14880088fa
  │   16:        0x110f84e58 - std::sys::thread::Thread::new::thread_start::h6f266e069bf4ec2b
  │   17:     0x7fff9534f059 - _pthread_body
  │   18:     0x7fff9534efd6 - _pthread_start
  │ stack backtrace:
  │    1:        0x110f7f9a8 - std::sys::backtrace::tracing::imp::write::h9fb600083204ae7f
  │    2:        0x110f85ef5 - std::panicking::default_hook::_$u7b$$u7b$closure$u7d$$u7d$::hca543c34f11229ac
  │    3:        0x110f85b0e - std::panicking::default_hook::hc2c969e7453d080c
  │    4:        0x110cf9122 - util::panicking::initiate_panic_hook::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::ha2bd86c312dc8d7a
  │    5:        0x110f6cfb2 - std::panicking::rust_panic_with_hook::hfe203e3083c2b544
  │    6:        0x110f864b6 - std::panicking::begin_panic::h4889569716505182
  │    7:        0x110f6e8a8 - std::panicking::begin_panic_fmt::h484cd47786497f03
  │    8:   thread &#39; http_loader for http://web-platform.test:8000/html/dom/test-valueOf&#39; panicked at &#39;could not initialize thread_rng: Too many open files (os error 24) &#39;, ../src/libstd/rand/mod.rs:159
  │    0x110f86929 - std::rand::thread_rng::THREAD_RNG_KEY::__init::h536e3917997a1628
  │ thread &#39;htt</span><span class="stdout">p_loader for http://web-platform.test:8000/html/dom/test-valueOf&#39; panicked at &#39;could not initialize thread_rng: Too many open files (os error 24)&#39;, ../src/libstd/rand/mod.rs:159
  │ thread &#39;http_loader for http://web-platform.test:8000/html/dom/test-valueOf&#39; panicked at &#39;could not initialize thread_rng: Too many open files (os error 24)&#39;, ../src/libstd/rand/mod.rs:159
  │ thread &#39;http_loader for http://web-platform.test:8000/html/dom/test-valueOf&#39; panicked at &#39;could not initialize thread_rng: Too many open files (os error 24)&#39;, ../src/libstd/rand/mod.rs:159
  │    9:        0x110f6d5bc - std::rand::thread_rng::h789d00d1fce4f79b
  │   10:        0x10f6ff51c - _&lt;collections..hash..map..RandomState as core..default..Default&gt;::default::ha847494db5044892
  │ thread &#39;http_loader for http://web-platform.test:8000/html/dom/test-valueOf&#39; panicked at &#39;could not initialize thread_rng: Too many open files (os error 24)&#39;, ../src/libstd/rand/mod.rs:159
  │   11:        0x10f746244 - net::http_loader::load::h4cdeddfa5dca9e93
  │   12:        0x10f74277c - std::panicking::try::call::h2f55588c0568c703
  │   13:        0x110f8967b - __rust_try
  │   14:        0x110f89615 - __rust_maybe_catch_panic
  │   15:        0x10f744784 - _&lt;F as std..boxed..FnBox&lt;A&gt;&gt;::call_box::ha5012a14880088fa
  │   16:        0x110f84e58 - std::sys::thread::Thread::new::thread_start::h6f266e069bf4ec2b
  │   17:     0x7fff9534f059 - _pthread_body
  │   18:     0x7fff9534efd6 - _pthread_start
  │ stack backtrace:
  │    1:        0x110f7f9a8 - std::sys::backtrace::tracing::imp::write::h9fb600083204ae7f
  │    2:        0x110f85ef5 - std::panicking::default_hook::_$u7b$$u7b$closure$u7d$$u7d$::hca543c34f11229ac
  │    3:        0x110f85b0e - std::panicking::default_hook::hc2c969e7453d080c
  │    4:        0x110cf9122 - util::panicking::initiate_panic_hook::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::ha2bd86c312dc8d7a
  │    5:        0x110f6cfb2 - std::panicking::rust_panic_with_hook::hfe203e3083c2b544
  │    6:        0x110f864b6 - std::panicking::begin_panic::h4889569716505182
  │    7:        0x110f6e8a8 - std::panicking::begin_panic_fmt::h484cd47786497f03
  │    8:        0x110f86929 - std::rand::thread_rng::THREAD_RNG_KEY::__init::h536e3917997a1628
  │    9:        0x110f6d5bc - std::rand::thread_rng::h789d00d1fce4f79b
  │   10:        0x10f6ff51c - _&lt;collections..hash..map..RandomState as core..default..Default&gt;::default::ha847494db5044892
  │   11:        0x10f746244 - net::http_loader::load::h4cdeddfa5dca9e93
  │   12:        0x10f74277c - std::panicking::try::call::h2f55588c0568c703
  │   13:        0x110f8967b - __rust_try
  │   14:        0x110f89615 - __rust_maybe_catch_panic
  │   15:        0x10f744784 - _&lt;F as std..boxed..FnBox&lt;A&gt;&gt;::call_box::ha5012a14880088fa
  │   16:        0x110f84e58 - std::sys::thread::Thread::new::thread_start::h6f266e069bf4ec2b
  │   17:     0x7fff9534f059 - _pthread_body
  │   18:     0x7fff9534efd6 - _pthread_start
  │ stack backtrace:
  │    1:        0x110f7f9a8 - std::sys::backtrace::tracing::imp::write::h9fb600083204ae7f
  │    2:        0x110f85ef5 - std::panicking::default_hook::_$u7b$$u7b$closure$u7d$$u7d$::hca543c34f11229ac
  │    3:        0x110f85b0e - std::panicking::default_hook::hc2c969e7453d080c
  │    4:        0x110cf9122 - util::panicking::initiate_panic_hook::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::ha2bd86c312dc8d7a
  │    5:        0x110f6cfb2 - std::panicking::rust_panic_with_hook::hfe203e3083c2b544
  │    6:        0x110f864b6 - std::panicking::begin_panic::h4889569716505182
  │    7:        0x110f6e8a8 - std::panicking::begin_panic_fmt::h484cd47786497f03
  │    8:        0x110f86929 - std::rand::thread_rng::THREAD_RNG_KEY::__init::h536e3917997a1628
  │    9:        0x110f6d5bc - std::rand::thread_rng::h789d00d1fce4f79b
  │   10:        0x10f6ff51c - _&lt;collections..hash..map..RandomState as core..default..Default&gt;::default::ha847494db5044892
  │   11:        0x10f746244 - net::http_loader::load::h4cdeddfa5dca9e93
  │   12:        0x10f74277c - std::panicking::try::call::h2f55588c0568c703
  │   13:        0x110f8967b - __rust_try
  │   14:        0x110f89615 - __rust_maybe_catch_panic
  │   15:        0x10f744784 - _&lt;F as std..boxed..FnBox&lt;A&gt;&gt;::call_box::ha5012a14880088fa
  │   16:        0x110f84e58 - std::sys::thread::Thread::new::thread_start::h6f266e069bf4ec2b
  │   17:     0x7fff9534f059 - _pthread_body
  │   18:     0x7fff9534efd6 - _pthread_start
  │ stack backtrace:
  │    1:        0x110f7f9a8 - std::sys::backtrace::tracing::imp::write::h9fb600083204ae7f
  │    2:        0x110f85ef5 - std::panicking::default_hook::_$u7b$$u7b$closure$u7d$$u7d$::hca543c34f11229ac
  │    3:        0x110f85b0e - std::panicking::default_hook::hc2c969e7453d080c
  │    4:        0x110cf9122 - util::panicking::initiate_panic_hook::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::ha2bd86c312dc8d7a
  │    5:        0x110f6cfb2 - std::panicking::rust_panic_with_hook::hfe203e3083c2b544
  │    6:        0x110f864b6 - std::panicking::begin_panic::h4889569716505182
  │    7:        0x110f6e8a8 - std::panicking::begin_panic_fmt::h484cd47786497f03
  │    8:        0x110f86929 - std::rand::thread_rng::THREAD_RNG_KEY::__init::h536e3917997a1628
  │    9:        0x110f6d5bc - std::rand::thread_rng::h789d00d1fce4f79b
  │   10:        0x10f6ff51c - _&lt;collections..hash..map..RandomState as core..default..Default&gt;::default::ha847494db5044892
  │   11:        0x10f746244 - net::http_loader::load::h4cdeddfa5dca9e93
  │   12:        0x10f74277c - std::panicking::try::call::h2f55588c0568c703
  │   13:        0x110f8967b - __rust_try
  │   14:        0x110f89615 - __rust_maybe_catch_panic
  │   15:        0x10f744784 - _&lt;F as std..boxed..FnBox&lt;A&gt;&gt;::call_box::ha5012a14880088fa
  │   16:        0x110f84e58 - std::sys::thread::Thread::new::thread_start::h6f266e069bf4ec2b
  │   17:     0x7fff9534f059 - _pthread_body
  │   18:     0x7fff9534efd6 - _pthread_start
  │ stack backtrace:
  │    1:        0x110f7f9a8 - std::sys::backtrace::tracing::imp::write::h9fb600083204ae7f
  │    2:        0x110f85ef5 - std::panicking::default_hook::_$u7b$$u7b$closure$u7d$$u7d$::hca543c34f11229ac
  │    3:        0x110f85b0e - std::panicking::default_hook::hc2c969e7453d080c
  │    4:        0x110cf9122 - util::panicking::initiate_panic_hook::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::ha2bd86c312dc8d7a
  │    5:        0x110f6cfb2 - std::panicking::rust_panic_with_hook::hfe203e3083c2b544
  │    6:        0x110f864b6 - std::panicking::begin_panic::h4889569716505182
  │    7:        0x110f6e8a8 - std::panicking::begin_panic_fmt::h484cd47786497f03
  │    8:        0x110f86929 - std::rand::thread_rng::THREAD_RNG_KEY::__init::h536e3917997a1628
  │    9:        0x110f6d5bc - std::rand::thread_rng::h789d00d1fce4f79b
  │   10:        0x10f6ff51c - _&lt;collections..hash..map..RandomState as core..default..Default&gt;::default::ha847494db5044892
  │   11:        0x10f746244 - net::http_loader::load::h4cdeddfa5dca9e93
  │   12:        0x10f74277c - std::panicking::try::call::h2f55588c0568c703
  │   13:        0x110f8967b - __rust_try
  │   14:        0x110f89615 - __rust_maybe_catch_panic
  │   15:        0x10f744784 - _&lt;F as std..boxed..FnBox&lt;A&gt;&gt;::call_box::ha5012a14880088fa
  │   16:        0x110f84e58 - std::sys::thread::Thread::new::thread_start::h6f266e069bf4ec2b
  │   17:     0x7fff9534f059 - _pthread_body
  │   18:     0x7fff9534efd6 - _pthread_start
  │ stack backtrace:
  │    1:        0x110f7f9a8 - std::sys::backtrace::tracing::imp::write::h9fb600083204ae7f
  │    2:        0x110f85ef5 - std::panicking::default_hook::_$u7b$$u7b$closure$u7d$$u7d$::hca543c34f11229ac
  │    3:        0x110f85b0e - std::panicking::default_hook::hc2c969e7453d080c
  │    4:        0x110cf9122 - util::panicking::initiate_panic_hook::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::ha2bd86c312dc8d7a
  │    5:        0x110f6cfb2 - std::panicking::rust_panic_with_hook::hfe203e3083c2b544
  │    6:        0x110f864b6 - std::panicking::begin_panic::h4889569716505182
  │    7:        0x110f6e8a8 - std::panicking::begin_panic_fmt::h484cd47786497f03
  │    8:        0x110f86929 - std::rand::thread_rng::THREAD_RNG_KEY::__init::h536e3917997a1628
  │    9:        0x110f6d5bc - std::rand::thread_rng::h789d00d1fce4f79b
  │   10:        0x10f6ff51c - _&lt;collections..hash..map..RandomState as core..default..Default&gt;::default::ha847494db5044892
  │   11:        0x10f746244 - net::http_loader::load::h4cdeddfa5dca9e93
  │   12:        0x10f74277c - std::panicking::try::call::h2f55588c0568c703
  │   13:        0x110f8967b - __rust_try
  │   14:        0x110f89615 - __rust_maybe_catch_panic
  │   15:        0x10f744784 - _&lt;F as std..boxed..FnBox&lt;A&gt;&gt;::call_box::ha5012a14880088fa
  │   16:        0x110f84e58 - std::sys::thread::Thread::new::thread_start::h6f266e069bf4ec2b
  │   17:     0x7fff9534f059 - _pthread_body
  │   18:     0x7fff9534efd6 - _pthread_start
  │ stack backtrace:
  │    1:        0x110f7f9a8 - std::sys::backtrace::tracing::imp::write::h9fb600083204ae7f
  │    2:        0x110f85ef5 - std::panicking::default_hook::_$u7b$$u7b$closure$u7d$$u7d$::hca543c34f11229ac
  │    3:        0x110f85b0e - std::panicking::default_hook::hc2c969e7453d080c
  │    4:        0x110cf9122 - util::panicking::initiate_panic_hook::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::ha2bd86c312dc8d7a
  │    5:        0x110f6cfb2 - std::panicking::rust_panic_with_hook::hfe203e3083c2b544
  │    6:        0x110f864b6 - std::panicking::begin_panic::h4889569716505182
  │    7:        0x110f6e8a8 - std::panicking::begin_panic_fmt::h484cd47786497f03
  │    8:        0x110f86929 - std::rand::thread_rng::THREAD_RN</span><span class="stdout">G_KEY::__init::h536e3917997a1628
  │    9:        0x110f6d5bc - std::rand::thread_rng::h789d00d1fce4f79b
  │   10:        0x10f6ff51c - _&lt;collections..hash..map..RandomState as core..default..Default&gt;::default::ha847494db5044892
  │   11:        0x10f746244 - net::http_loader::load::h4cdeddfa5dca9e93
  │   12:        0x10f74277c - std::panicking::try::call::h2f55588c0568c703
  │   13:        0x110f8967b - __rust_try
  │   14:        0x110f89615 - __rust_maybe_catch_panic
  │   15:        0x10f744784 - _&lt;F as std..boxed..FnBox&lt;A&gt;&gt;::call_box::ha5012a14880088fa
  │   16:        0x110f84e58 - std::sys::thread::Thread::new::thread_start::h6f266e069bf4ec2b
  │   17:     0x7fff9534f059 - _pthread_body
  └   18:     0x7fff9534efd6 - _pthread_start

  ▶ TIMEOUT [expected OK] /_mozilla/mozilla/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/iframe-tag/insecure-protocol.keep-origin-redirect.http.html
  │ 
  │ ERROR:js::rust: Error at http://www1.web-platform.test:8000/_mozilla/mozilla/referrer-policy/generic/subresource/document.py:3:9: document.referrer is undefined
  │ 
  │ ERROR:js::rust: Error at http://web-platform.test:8000/_mozilla/mozilla/referrer-policy/generic/common.js:116:29: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data
  └ 

  ▶ Unexpected subtest result in /_mozilla/mozilla/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/iframe-tag/insecure-protocol.keep-origin-redirect.http.html:
  └ NOTRUN [expected FAIL] The referrer URL is stripped-referrer when a\n                                 document served over http requires an http\n                                 sub-resource via iframe-tag using the meta-referrer\n                                 delivery method with keep-origin-redirect and when\n                                 the target request is cross-origin.

  ▶ TIMEOUT [expected OK] /_mozilla/mozilla/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/iframe-tag/insecure-protocol.no-redirect.http.html
  │ 
  │ ERROR:js::rust: Error at http://www1.web-platform.test:8000/_mozilla/mozilla/referrer-policy/generic/subresource/document.py?redirection=no-redirect&amp;cache_destroyer=1464253885016&amp;id=9e242f38-8c4f-487a-93a7-d5124a1f2dd5:3:9: document.referrer is undefined
  │ 
  │ ERROR:js::rust: Error at http://web-platform.test:8000/_mozilla/mozilla/referrer-policy/generic/common.js:116:29: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data
  └ 

  ▶ Unexpected subtest result in /_mozilla/mozilla/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/iframe-tag/insecure-protocol.no-redirect.http.html:
  └ NOTRUN [expected FAIL] The referrer URL is stripped-referrer when a\n                                 document served over http requires an http\n                                 sub-resource via iframe-tag using the meta-referrer\n                                 delivery method with no-redirect and when\n                                 the target request is cross-origin.

  ▶ TIMEOUT [expected OK] /_mozilla/mozilla/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/iframe-tag/insecure-protocol.keep-origin-redirect.http.html
  │ 
  │ ERROR:js::rust: Error at http://web-platform.test:8000/_mozilla/mozilla/referrer-policy/generic/subresource/document.py:3:9: document.referrer is undefined
  │ 
  │ ERROR:js::rust: Error at http://web-platform.test:8000/_mozilla/mozilla/referrer-policy/generic/common.js:116:29: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data
  └ 

  ▶ Unexpected subtest result in /_mozilla/mozilla/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/iframe-tag/insecure-protocol.keep-origin-redirect.http.html:
  └ NOTRUN [expected FAIL] The referrer URL is stripped-referrer when a\n                                 document served over http requires an http\n                                 sub-resource via iframe-tag using the meta-referrer\n                                 delivery method with keep-origin-redirect and when\n                                 the target request is same-origin.

  ▶ TIMEOUT [expected OK] /_mozilla/mozilla/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/iframe-tag/insecure-protocol.swap-origin-redirect.http.html
  │ 
  │ ERROR:js::rust: Error at http://web-platform.test:8000/_mozilla/mozilla/referrer-policy/generic/subresource/document.py:3:9: document.referrer is undefined
  │ 
  │ ERROR:js::rust: Error at http://web-platform.test:8000/_mozilla/mozilla/referrer-policy/generic/common.js:116:29: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data
  └ 

  ▶ Unexpected subtest result in /_mozilla/mozilla/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/iframe-tag/insecure-protocol.swap-origin-redirect.http.html:
  └ NOTRUN [expected FAIL] The referrer URL is stripped-referrer when a\n                                 document served over http requires an http\n                                 sub-resource via iframe-tag using the meta-referrer\n                                 delivery method with swap-origin-redirect and when\n                                 the target request is cross-origin.

  ▶ TIMEOUT [expected OK] /_mozilla/mozilla/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/iframe-tag/insecure-protocol.no-redirect.http.html
  │ 
  │ ERROR:js::rust: Error at http://web-platform.test:8000/_mozilla/mozilla/referrer-policy/generic/subresource/document.py?redirection=no-redirect&amp;cache_destroyer=1464253885073&amp;id=8c6196ba-94a5-4cd3-bcb9-84efcff067d8:3:9: document.referrer is undefined
  │ 
  │ ERROR:js::rust: Error at http://web-platform.test:8000/_mozilla/mozilla/referrer-policy/generic/common.js:116:29: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data
  └ 

  ▶ Unexpected subtest result in /_mozilla/mozilla/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/iframe-tag/insecure-protocol.no-redirect.http.html:
  └ NOTRUN [expected FAIL] The referrer URL is stripped-referrer when a\n                                 document served over http requires an http\n                                 sub-resource via iframe-tag using the meta-referrer\n                                 delivery method with no-redirect and when\n                                 the target request is same-origin.

  ▶ TIMEOUT [expected OK] /_mozilla/mozilla/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/iframe-tag/insecure-protocol.swap-origin-redirect.http.html
  │ 
  │ ERROR:js::rust: Error at http://www1.web-platform.test:8000/_mozilla/mozilla/referrer-policy/generic/subresource/document.py:3:9: document.referrer is undefined
  │ 
  │ ERROR:js::rust: Error at http://web-platform.test:8000/_mozilla/mozilla/referrer-policy/generic/common.js:116:29: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data
  └ 

  ▶ Unexpected subtest result in /_mozilla/mozilla/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/iframe-tag/insecure-protocol.swap-origin-redirect.http.html:
  └ NOTRUN [expected FAIL] The referrer URL is stripped-referrer when a\n                                 document served over http requires an http\n                                 sub-resource via iframe-tag using the meta-referrer\n                                 delivery method with swap-origin-redirect and when\n                                 the target request is same-origin.

  ▶ TIMEOUT [expected OK] /_mozilla/mozilla/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/iframe-tag/generic.keep-origin-redirect.http.html
  │ 
  │ ERROR:js::rust: Error at http://www1.web-platform.test:8000/_mozilla/mozilla/referrer-policy/generic/subresource/document.py:3:9: document.referrer is undefined
  │ 
  │ ERROR:js::rust: Error at http://web-platform.test:8000/_mozilla/mozilla/referrer-policy/generic/common.js:116:29: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data
  └ 

  ▶ Unexpected subtest result in /_mozilla/mozilla/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/iframe-tag/generic.keep-origin-redirect.http.html:
  └ NOTRUN [expected PASS] The referrer URL is omitted when a\n                                 document served over http requires an http\n                                 sub-resource via iframe-tag using the meta-referrer\n                                 delivery method with keep-origin-redirect and when\n                                 the target request is cross-origin.

  ▶ TIMEOUT [expected OK] /_mozilla/mozilla/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/iframe-tag/generic.no-redirect.http.html
  │ 
  │ ERROR:js::rust: Error at http://www1.web-platform.test:8000/_mozilla/mozilla/referrer-policy/generic/subresource/document.py?redirection=no-redirect&amp;cache_destroyer=1464253885704&amp;id=5b874201-2b93-4c37-baae-be14efcc7bac:3:9: document.referrer is undefined
  │ 
  │ ERROR:js::rust: Error at http://web-platform.test:8000/_mozilla/mozilla/referrer-policy/generic/common.js:116:29: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data
  └ 

  ▶ Unexpected subtest result in /_mozilla/mozilla/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/iframe-tag/generic.no-redirect.http.html:
  └ NOTRUN [expected PASS] The referrer URL is omitted when a\n                                 document served over http requires an http\n                                 sub-resource via iframe-tag using the meta-referrer\n                                 delivery method with no-redirect and when\n                  </span><span class="stdout">               the target request is cross-origin.

  ▶ TIMEOUT [expected OK] /_mozilla/mozilla/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/iframe-tag/generic.swap-origin-redirect.http.html
  │ 
  │ ERROR:js::rust: Error at http://web-platform.test:8000/_mozilla/mozilla/referrer-policy/generic/subresource/document.py:3:9: document.referrer is undefined
  │ 
  │ ERROR:js::rust: Error at http://web-platform.test:8000/_mozilla/mozilla/referrer-policy/generic/common.js:116:29: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data
  └ 

  ▶ Unexpected subtest result in /_mozilla/mozilla/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/iframe-tag/generic.swap-origin-redirect.http.html:
  └ NOTRUN [expected PASS] The referrer URL is omitted when a\n                                 document served over http requires an http\n                                 sub-resource via iframe-tag using the meta-referrer\n                                 delivery method with swap-origin-redirect and when\n                                 the target request is cross-origin.

  ▶ TIMEOUT [expected OK] /_mozilla/mozilla/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/iframe-tag/generic.keep-origin-redirect.http.html
  │ 
  │ ERROR:js::rust: Error at http://web-platform.test:8000/_mozilla/mozilla/referrer-policy/generic/subresource/document.py:3:9: document.referrer is undefined
  │ 
  │ ERROR:js::rust: Error at http://web-platform.test:8000/_mozilla/mozilla/referrer-policy/generic/common.js:116:29: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data
  └ 

  ▶ Unexpected subtest result in /_mozilla/mozilla/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/iframe-tag/generic.keep-origin-redirect.http.html:
  └ NOTRUN [expected PASS] The referrer URL is omitted when a\n                                 document served over http requires an http\n                                 sub-resource via iframe-tag using the meta-referrer\n                                 delivery method with keep-origin-redirect and when\n                                 the target request is same-origin.

  ▶ TIMEOUT [expected OK] /_mozilla/mozilla/referrer-policy/origin-only/meta-referrer/cross-origin/http-http/iframe-tag/generic.keep-origin-redirect.http.html
  │ 
  │ ERROR:js::rust: Error at http://www1.web-platform.test:8000/_mozilla/mozilla/referrer-policy/generic/subresource/document.py:3:9: document.referrer is undefined
  │ 
  │ ERROR:js::rust: Error at http://web-platform.test:8000/_mozilla/mozilla/referrer-policy/generic/common.js:116:29: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data
  └ 

  ▶ Unexpected subtest result in /_mozilla/mozilla/referrer-policy/origin-only/meta-referrer/cross-origin/http-http/iframe-tag/generic.keep-origin-redirect.http.html:
  └ NOTRUN [expected FAIL] The referrer URL is origin when a\n                                 document served over http requires an http\n                                 sub-resource via iframe-tag using the meta-referrer\n                                 delivery method with keep-origin-redirect and when\n                                 the target request is cross-origin.

  ▶ TIMEOUT [expected OK] /_mozilla/mozilla/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/iframe-tag/generic.no-redirect.http.html
  │ 
  │ ERROR:js::rust: Error at http://web-platform.test:8000/_mozilla/mozilla/referrer-policy/generic/subresource/document.py?redirection=no-redirect&amp;cache_destroyer=1464253895616&amp;id=0a7820ba-b4b1-412c-b734-b89a7af7e09d:3:9: document.referrer is undefined
  │ 
  │ ERROR:js::rust: Error at http://web-platform.test:8000/_mozilla/mozilla/referrer-policy/generic/common.js:116:29: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data
  └ 

  ▶ Unexpected subtest result in /_mozilla/mozilla/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/iframe-tag/generic.no-redirect.http.html:
  └ NOTRUN [expected PASS] The referrer URL is omitted when a\n                                 document served over http requires an http\n                                 sub-resource via iframe-tag using the meta-referrer\n                                 delivery method with no-redirect and when\n                                 the target request is same-origin.

  ▶ TIMEOUT [expected OK] /_mozilla/mozilla/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/iframe-tag/generic.swap-origin-redirect.http.html
  │ 
  │ ERROR:js::rust: Error at http://www1.web-platform.test:8000/_mozilla/mozilla/referrer-policy/generic/subresource/document.py:3:9: document.referrer is undefined
  │ 
  │ ERROR:js::rust: Error at http://web-platform.test:8000/_mozilla/mozilla/referrer-policy/generic/common.js:116:29: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data
  └ 

  ▶ Unexpected subtest result in /_mozilla/mozilla/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/iframe-tag/generic.swap-origin-redirect.http.html:
  └ NOTRUN [expected PASS] The referrer URL is omitted when a\n                                 document served over http requires an http\n                                 sub-resource via iframe-tag using the meta-referrer\n                                 delivery method with swap-origin-redirect and when\n                                 the target request is same-origin.

  ▶ TIMEOUT [expected OK] /_mozilla/mozilla/referrer-policy/origin-only/meta-referrer/cross-origin/http-http/iframe-tag/generic.no-redirect.http.html
  │ 
  │ ERROR:js::rust: Error at http://www1.web-platform.test:8000/_mozilla/mozilla/referrer-policy/generic/subresource/document.py?redirection=no-redirect&amp;cache_destroyer=1464253895643&amp;id=4968033c-1968-4ef0-aa0d-beee76e52151:3:9: document.referrer is undefined
  │ 
  │ ERROR:js::rust: Error at http://web-platform.test:8000/_mozilla/mozilla/referrer-policy/generic/common.js:116:29: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data
  └ 

  ▶ Unexpected subtest result in /_mozilla/mozilla/referrer-policy/origin-only/meta-referrer/cross-origin/http-http/iframe-tag/generic.no-redirect.http.html:
  └ NOTRUN [expected FAIL] The referrer URL is origin when a\n                                 document served over http requires an http\n                                 sub-resource via iframe-tag using the meta-referrer\n                                 delivery method with no-redirect and when\n                                 the target request is cross-origin.

  ▶ TIMEOUT [expected OK] /_mozilla/mozilla/referrer-policy/origin-only/meta-referrer/cross-origin/http-http/iframe-tag/generic.swap-origin-redirect.http.html
  │ 
  │ ERROR:js::rust: Error at http://web-platform.test:8000/_mozilla/mozilla/referrer-policy/generic/subresource/document.py:3:9: document.referrer is undefined
  │ 
  │ ERROR:js::rust: Error at http://web-platform.test:8000/_mozilla/mozilla/referrer-policy/generic/common.js:116:29: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data
  └ 

  ▶ Unexpected subtest result in /_mozilla/mozilla/referrer-policy/origin-only/meta-referrer/cross-origin/http-http/iframe-tag/generic.swap-origin-redirect.http.html:
  └ NOTRUN [expected FAIL] The referrer URL is origin when a\n                                 document served over http requires an http\n                                 sub-resource via iframe-tag using the meta-referrer\n                                 delivery method with swap-origin-redirect and when\n                                 the target request is cross-origin.

  ▶ TIMEOUT [expected OK] /_mozilla/mozilla/referrer-policy/origin-only/meta-referrer/same-origin/http-http/iframe-tag/generic.keep-origin-redirect.http.html
  │ 
  │ ERROR:js::rust: Error at http://web-platform.test:8000/_mozilla/mozilla/referrer-policy/generic/subresource/document.py:3:9: document.referrer is undefined
  │ 
  │ ERROR:js::rust: Error at http://web-platform.test:8000/_mozilla/mozilla/referrer-policy/generic/common.js:116:29: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data
  └ 

  ▶ Unexpected subtest result in /_mozilla/mozilla/referrer-policy/origin-only/meta-referrer/same-origin/http-http/iframe-tag/generic.keep-origin-redirect.http.html:
  └ NOTRUN [expected FAIL] The referrer URL is origin when a\n                                 document served over http requires an http\n                                 sub-resource via iframe-tag using the meta-referrer\n                                 delivery method with keep-origin-redirect and when\n                                 the target request is same-origin.

  ▶ TIMEOUT [expected OK] /_mozilla/mozilla/referrer-policy/origin-only/meta-referrer/same-origin/http-http/iframe-tag/generic.no-redirect.http.html
  │ 
  │ ERROR:js::rust: Error at http://web-platform.test:8000/_mozilla/mozilla/referrer-policy/generic/subresource/document.py?redirection=no-redirect&amp;cache_destroyer=1464253905585&amp;id=ccdd61d6-8643-4b56-85cc-e471daff1aac:3:9: document.referrer is undefined
  │ 
  │ ERROR:js::rust: Error at http://web-platform.test:8000/_mozilla/mozilla/referrer-policy/generic/common.js:116:29: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data
  └ 

  ▶ Unexpected subtest result in /_mozilla/mozilla/referrer-policy/origin-only/meta-referrer/same-origin/http-http/iframe-tag/generic.no-redirect.http.html:
  └ NOTRUN [expected FAIL] The referrer URL is origin when a\n                                 document served over http requires an http\n                                 sub-resource via iframe-tag using the meta-referrer\n                                 delivery method with no-redirect and when\n                             </span><span class="stdout">    the target request is same-origin.

  ▶ TIMEOUT [expected OK] /_mozilla/mozilla/referrer-policy/origin-only/meta-referrer/same-origin/http-http/iframe-tag/generic.swap-origin-redirect.http.html
  │ 
  │ ERROR:js::rust: Error at http://www1.web-platform.test:8000/_mozilla/mozilla/referrer-policy/generic/subresource/document.py:3:9: document.referrer is undefined
  │ 
  │ ERROR:js::rust: Error at http://web-platform.test:8000/_mozilla/mozilla/referrer-policy/generic/common.js:116:29: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data
  └ 

  ▶ Unexpected subtest result in /_mozilla/mozilla/referrer-policy/origin-only/meta-referrer/same-origin/http-http/iframe-tag/generic.swap-origin-redirect.http.html:
  └ NOTRUN [expected FAIL] The referrer URL is origin when a\n                                 document served over http requires an http\n                                 sub-resource via iframe-tag using the meta-referrer\n                                 delivery method with swap-origin-redirect and when\n                                 the target request is same-origin.

  ▶ TIMEOUT [expected OK] /_mozilla/mozilla/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/iframe-tag/cross-origin.no-redirect.http.html
  │ 
  │ ERROR:js::rust: Error at http://www1.web-platform.test:8000/_mozilla/mozilla/referrer-policy/generic/subresource/document.py?redirection=no-redirect&amp;cache_destroyer=1464253906055&amp;id=734bcd67-712f-4743-9aac-38af0d08b986:3:9: document.referrer is undefined
  │ 
  │ ERROR:js::rust: Error at http://web-platform.test:8000/_mozilla/mozilla/referrer-policy/generic/common.js:116:29: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data
  └ 

  ▶ Unexpected subtest result in /_mozilla/mozilla/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/iframe-tag/cross-origin.no-redirect.http.html:
  └ NOTRUN [expected FAIL] The referrer URL is origin when a\n                                 document served over http requires an http\n                                 sub-resource via iframe-tag using the meta-referrer\n                                 delivery method with no-redirect and when\n                                 the target request is cross-origin.

  ▶ TIMEOUT [expected OK] /_mozilla/mozilla/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/iframe-tag/cross-origin.keep-origin-redirect.http.html
  │ 
  │ ERROR:js::rust: Error at http://www1.web-platform.test:8000/_mozilla/mozilla/referrer-policy/generic/subresource/document.py:3:9: document.referrer is undefined
  │ 
  │ ERROR:js::rust: Error at http://web-platform.test:8000/_mozilla/mozilla/referrer-policy/generic/common.js:116:29: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data
  └ 

  ▶ Unexpected subtest result in /_mozilla/mozilla/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/iframe-tag/cross-origin.keep-origin-redirect.http.html:
  └ NOTRUN [expected FAIL] The referrer URL is origin when a\n                                 document served over http requires an http\n                                 sub-resource via iframe-tag using the meta-referrer\n                                 delivery method with keep-origin-redirect and when\n                                 the target request is cross-origin.

  ▶ TIMEOUT [expected OK] /_mozilla/mozilla/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/iframe-tag/same-origin-insecure.keep-origin-redirect.http.html
  │ 
  │ ERROR:js::rust: Error at http://web-platform.test:8000/_mozilla/mozilla/referrer-policy/generic/subresource/document.py:3:9: document.referrer is undefined
  │ 
  │ ERROR:js::rust: Error at http://web-platform.test:8000/_mozilla/mozilla/referrer-policy/generic/common.js:116:29: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data
  └ 

  ▶ Unexpected subtest result in /_mozilla/mozilla/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/iframe-tag/same-origin-insecure.keep-origin-redirect.http.html:
  └ NOTRUN [expected FAIL] The referrer URL is stripped-referrer when a\n                                 document served over http requires an http\n                                 sub-resource via iframe-tag using the meta-referrer\n                                 delivery method with keep-origin-redirect and when\n                                 the target request is same-origin.

  ▶ TIMEOUT [expected OK] /_mozilla/mozilla/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/iframe-tag/cross-origin.swap-origin-redirect.http.html
  │ 
  │ ERROR:js::rust: Error at http://web-platform.test:8000/_mozilla/mozilla/referrer-policy/generic/subresource/document.py:3:9: document.referrer is undefined
  │ 
  │ ERROR:js::rust: Error at http://web-platform.test:8000/_mozilla/mozilla/referrer-policy/generic/common.js:116:29: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data
  └ 

  ▶ Unexpected subtest result in /_mozilla/mozilla/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/iframe-tag/cross-origin.swap-origin-redirect.http.html:
  └ NOTRUN [expected FAIL] The referrer URL is origin when a\n                                 document served over http requires an http\n                                 sub-resource via iframe-tag using the meta-referrer\n                                 delivery method with swap-origin-redirect and when\n                                 the target request is cross-origin.

  ▶ TIMEOUT [expected OK] /_mozilla/mozilla/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/iframe-tag/same-origin-insecure.no-redirect.http.html
  │ 
  │ ERROR:js::rust: Error at http://web-platform.test:8000/_mozilla/mozilla/referrer-policy/generic/subresource/document.py?redirection=no-redirect&amp;cache_destroyer=1464253906447&amp;id=5653e042-50f0-4736-88e8-f7c89d2ccecd:3:9: document.referrer is undefined
  │ 
  │ ERROR:js::rust: Error at http://web-platform.test:8000/_mozilla/mozilla/referrer-policy/generic/common.js:116:29: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data
  └ 

  ▶ Unexpected subtest result in /_mozilla/mozilla/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/iframe-tag/same-origin-insecure.no-redirect.http.html:
  └ NOTRUN [expected FAIL] The referrer URL is stripped-referrer when a\n                                 document served over http requires an http\n                                 sub-resource via iframe-tag using the meta-referrer\n                                 delivery method with no-redirect and when\n                                 the target request is same-origin.

  ▶ TIMEOUT [expected OK] /_mozilla/mozilla/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/iframe-tag/same-origin-insecure.swap-origin-redirect.http.html
  │ 
  │ ERROR:js::rust: Error at http://www1.web-platform.test:8000/_mozilla/mozilla/referrer-policy/generic/subresource/document.py:3:9: document.referrer is undefined
  │ 
  │ ERROR:js::rust: Error at http://web-platform.test:8000/_mozilla/mozilla/referrer-policy/generic/common.js:116:29: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data
  └ 

  ▶ Unexpected subtest result in /_mozilla/mozilla/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/iframe-tag/same-origin-insecure.swap-origin-redirect.http.html:
  └ NOTRUN [expected FAIL] The referrer URL is origin when a\n                                 document served over http requires an http\n                                 sub-resource via iframe-tag using the meta-referrer\n                                 delivery method with swap-origin-redirect and when\n                                 the target request is same-origin.

  ▶ TIMEOUT [expected OK] /_mozilla/mozilla/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/iframe-tag/generic.keep-origin-redirect.http.html
  │ 
  │ ERROR:js::rust: Error at http://www1.web-platform.test:8000/_mozilla/mozilla/referrer-policy/generic/subresource/document.py:3:9: document.referrer is undefined
  │ 
  │ ERROR:js::rust: Error at http://web-platform.test:8000/_mozilla/mozilla/referrer-policy/generic/common.js:116:29: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data
  └ 

  ▶ Unexpected subtest result in /_mozilla/mozilla/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/iframe-tag/generic.keep-origin-redirect.http.html:
  └ NOTRUN [expected FAIL] The referrer URL is stripped-referrer when a\n                                 document served over http requires an http\n                                 sub-resource via iframe-tag using the meta-referrer\n                                 delivery method with keep-origin-redirect and when\n                                 the target request is cross-origin.

  ▶ TIMEOUT [expected OK] /_mozilla/mozilla/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/iframe-tag/generic.no-redirect.http.html
  │ 
  │ ERROR:js::rust: Error at http://www1.web-platform.test:8000/_mozilla/mozilla/referrer-policy/generic/subresource/document.py?redirection=no-redirect&amp;cache_destroyer=1464253916357&amp;id=fb91db80-6648-478a-97e0-7f464caef508:3:9: document.referrer is undefined
  │ 
  │ ERROR:js::rust: Error at http://web-platform.test:8000/_mozilla/mozilla/referrer-policy/generic/common.js:116:29: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data
  └ 

  ▶ Unexpected subtest result in /_mozilla/mozilla/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/iframe-tag/generic.no-redirect.http.html:
  └ NOTRUN [expected FAIL] The refer</span><span class="stdout">rer URL is stripped-referrer when a\n                                 document served over http requires an http\n                                 sub-resource via iframe-tag using the meta-referrer\n                                 delivery method with no-redirect and when\n                                 the target request is cross-origin.

  ▶ TIMEOUT [expected OK] /_mozilla/mozilla/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/iframe-tag/generic.swap-origin-redirect.http.html
  │ 
  │ ERROR:js::rust: Error at http://web-platform.test:8000/_mozilla/mozilla/referrer-policy/generic/subresource/document.py:3:9: document.referrer is undefined
  │ 
  │ ERROR:js::rust: Error at http://web-platform.test:8000/_mozilla/mozilla/referrer-policy/generic/common.js:116:29: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data
  └ 

  ▶ Unexpected subtest result in /_mozilla/mozilla/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/iframe-tag/generic.swap-origin-redirect.http.html:
  └ NOTRUN [expected FAIL] The referrer URL is stripped-referrer when a\n                                 document served over http requires an http\n                                 sub-resource via iframe-tag using the meta-referrer\n                                 delivery method with swap-origin-redirect and when\n                                 the target request is cross-origin.

  ▶ TIMEOUT [expected OK] /_mozilla/mozilla/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/iframe-tag/generic.keep-origin-redirect.http.html
  │ 
  │ ERROR:js::rust: Error at http://web-platform.test:8000/_mozilla/mozilla/referrer-policy/generic/subresource/document.py:3:9: document.referrer is undefined
  │ 
  │ ERROR:js::rust: Error at http://web-platform.test:8000/_mozilla/mozilla/referrer-policy/generic/common.js:116:29: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data
  └ 

  ▶ Unexpected subtest result in /_mozilla/mozilla/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/iframe-tag/generic.keep-origin-redirect.http.html:
  └ NOTRUN [expected FAIL] The referrer URL is stripped-referrer when a\n                                 document served over http requires an http\n                                 sub-resource via iframe-tag using the meta-referrer\n                                 delivery method with keep-origin-redirect and when\n                                 the target request is same-origin.

  ▶ TIMEOUT [expected OK] /_mozilla/mozilla/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/iframe-tag/generic.no-redirect.http.html
  │ 
  │ ERROR:js::rust: Error at http://web-platform.test:8000/_mozilla/mozilla/referrer-policy/generic/subresource/document.py?redirection=no-redirect&amp;cache_destroyer=1464253916718&amp;id=e012c678-4156-4d22-a8b7-2ddc67baf1a4:3:9: document.referrer is undefined
  │ 
  │ ERROR:js::rust: Error at http://web-platform.test:8000/_mozilla/mozilla/referrer-policy/generic/common.js:116:29: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data
  └ 

  ▶ Unexpected subtest result in /_mozilla/mozilla/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/iframe-tag/generic.no-redirect.http.html:
  └ NOTRUN [expected FAIL] The referrer URL is stripped-referrer when a\n                                 document served over http requires an http\n                                 sub-resource via iframe-tag using the meta-referrer\n                                 delivery method with no-redirect and when\n                                 the target request is same-origin.

  ▶ TIMEOUT [expected OK] /_mozilla/mozilla/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/iframe-tag/generic.swap-origin-redirect.http.html
  │ 
  │ ERROR:js::rust: Error at http://www1.web-platform.test:8000/_mozilla/mozilla/referrer-policy/generic/subresource/document.py:3:9: document.referrer is undefined
  │ 
  │ ERROR:js::rust: Error at http://web-platform.test:8000/_mozilla/mozilla/referrer-policy/generic/common.js:116:29: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data
  └ 

  ▶ Unexpected subtest result in /_mozilla/mozilla/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/iframe-tag/generic.swap-origin-redirect.http.html:
  └ NOTRUN [expected FAIL] The referrer URL is stripped-referrer when a\n                                 document served over http requires an http\n                                 sub-resource via iframe-tag using the meta-referrer\n                                 delivery method with swap-origin-redirect and when\n                                 the target request is same-origin.
@nox nox force-pushed the nox:unlimited-referrer-works branch from f5f6690 to 57998d7 May 26, 2016
@highfive
Copy link

highfive commented May 26, 2016

New code was committed to pull request.

@nox
Copy link
Member Author

nox commented May 26, 2016

I think the paths were incorrect in tests/wpt/mozilla/tests/mozilla/referrer-policy/spec_json.js but this is a wild guess. Trying.

@bors-servo try

@bors-servo
Copy link
Contributor

bors-servo commented May 26, 2016

Trying commit 57998d7 with merge c9f0cac...

bors-servo added a commit that referenced this pull request May 26, 2016
Partially enable referrer-policy tests with some modifications

This is a part of @rebstar6's work on #11422, with only her test fixes and the enabling of them, to ease review on the actual implementation.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11429)
<!-- Reviewable:end -->
@nox
Copy link
Member Author

nox commented May 26, 2016

@jdm These errors make no sense:

  │ ERROR:js::rust: Error at http://www1.web-platform.test:8000/_mozilla/mozilla/referrer-policy/generic/subresource/document.py:3:9: document.referrer is undefined

The only place where there is a document.referrer at line 3 of a script is in the original document template.

@nox nox force-pushed the nox:unlimited-referrer-works branch from 57998d7 to b08f0b5 May 26, 2016
@nox
Copy link
Member Author

nox commented May 26, 2016

So the tests were failing because all tests run in the same Python process. I renamed 'subresource' to 'mozresource' and everything passes now.

@bors-servo r=jdm

@bors-servo
Copy link
Contributor

bors-servo commented May 26, 2016

📌 Commit 6a540cf has been approved by jdm

@bors-servo
Copy link
Contributor

bors-servo commented May 26, 2016

Testing commit 6a540cf with merge e8607dc...

bors-servo added a commit that referenced this pull request May 26, 2016
Partially enable referrer-policy tests with some modifications

This is a part of @rebstar6's work on #11422, with only her test fixes and the enabling of them, to ease review on the actual implementation.

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

bors-servo commented May 26, 2016

💔 Test failed - mac-rel-wpt

@highfive
Copy link

highfive commented May 26, 2016

  ▶ TIMEOUT [expected OK] /cors/redirect-origin.htm
  │ 
  │ thread &#39;http_loader for http://www1.web-platform.test:8000/cors/resources/cors-makeheader.py?origin=*&amp;location=http%3A%2F%2Fwww1.web-platform.test%3A8000%2Fcors%2Fresources%2Fcors-makeheader.py%3Forigin%3Dhttp%3A%2F%2Fwww1.web-platform.test%3A8000%26get_value%3Dlast%2640_1&amp;40_0&#39; panicked at &#39;could not initialize thread_rng: Too many open files (os error 24)&#39;, /Users/servo/.cargo/registry/src/github.com-1ecc6299db9ec823/rand-0.3.14/src/lib.rs:873
  │ stack backtrace:
  │    1:        0x10242cf28 - std::sys::backtrace::tracing::imp::write::h9fb600083204ae7f
  │    2:        0x102433475 - std::panicking::default_hook::_$u7b$$u7b$closure$u7d$$u7d$::hca543c34f11229ac
  │    3:        0x10243308e - std::panicking::default_hook::hc2c969e7453d080c
  │    4:        0x1021a66a2 - util::panicking::initiate_panic_hook::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::ha2bd86c312dc8d7a
  │    5:        0x10241a532 - std::panicking::rust_panic_with_hook::hfe203e3083c2b544
  │    6:        0x102433a36 - std::panicking::begin_panic::h4889569716505182
  │    7:        0x10241be28 - std::panicking::begin_panic_fmt::h484cd47786497f03
  │    8:        0x102402c1f - rand::thread_rng::THREAD_RNG_KEY::__init::h4e1387a2e4a21393
  │    9:        0x102402a5c - rand::thread_rng::he394b446ab605489
  │ thread &#39;http_loader for http://www1.web-platform.test:8000/cors/resources/cors-makeheader.py?origin=*&amp;location=http%3A%2F%2Fwww2.web-platform.test%3A8000%2Fcors%2Fresources%2Fcors-makeheader.py%3Forigin%3Dhttp%3A%2F%2Fwww1.web-platform.test%3A8000%26get_value%3Dlast%2641_1&amp;41_0&#39; panicked at &#39;could not initialize thread_rng: Too many open files (os error 24)&#39;, ../src/libstd/rand/mod.rs:159
  │ thread &#39;http_loader for http://www1.web-platform.test:8000/cors/resources/cors-makeheader.py?origin=http://www1.web-platform.test:8000&amp;location=http%3A%2F%2Fwww1.web-platform.test%3A8000%2Fcors%2Fresources%2Fcors-makeheader.py%3Forigin%3D*%26get_value%3Dlast%2642_1&amp;42_0&#39; panicked at &#39;could not initialize thread_rng: Too many open files (os error 24)&#39;, ../src/libstd/rand/mod.rs:159
  │   10:        0x102401942 - uuid::Uuid::new_v4::hc206acac9c7e580d
  │   11:        0x100bf5a6d - net::http_loader::load::h4cdeddfa5dca9e93
  │   12:        0x100bf066c - std::panicking::try::call::h2f55588c0568c703
  │   13:        0x102436bfb - __rust_try
  │   14:        0x102436b95 - __rust_maybe_catch_panic
  │   15:        0x100bf2674 - _&lt;F as std..boxed..FnBox&lt;A&gt;&gt;::call_box::ha5012a14880088fa
  │   16:        0x1024323d8 - std::sys::thread::Thread::new::thread_start::h6f266e069bf4ec2b
  │   17:     0x7fff8e158059 - _pthread_body
  │   18:     0x7fff8e157fd6 - _pthread_start
  │ stack backtrace:
  │    1:        0x10242cf28 - std::sys::backtrace::tracing::imp::write::h9fb600083204ae7f
  │    2:        0x102433475 - std::panicking::default_hook::_$u7b$$u7b$closure$u7d$$u7d$::hca543c34f11229ac
  │    3:        0x10243308e - std::panicking::default_hook::hc2c969e7453d080c
  │    4:        0x1021a66a2 - util::panicking::initiate_panic_hook::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::ha2bd86c312dc8d7a
  │    5:        0x10241a532 - std::panicking::rust_panic_with_hook::hfe203e3083c2b544
  │    6:        0x102433a36 - std::panicking::begin_panic::h4889569716505182
  │    7:        0x10241be28 - std::panicking::begin_panic_fmt::h484cd47786497f03
  │    8:        0x102433ea9 - std::rand::thread_rng::THREAD_RNG_KEY::__init::h536e3917997a1628
  │    9:        0x10241ab3c - std::rand::thread_rng::h789d00d1fce4f79b
  │   10:        0x100bad40c - _&lt;collections..hash..map..RandomState as core..default..Default&gt;::default::ha847494db5044892
  │   11:        0x100bf4134 - net::http_loader::load::h4cdeddfa5dca9e93
  │   12:        0x100bf066c - std::panicking::try::call::h2f55588c0568c703
  │   13:        0x102436bfb - __rust_try
  │   14:        0x102436b95 - __rust_maybe_catch_panic
  │   15:        0x100bf2674 - _&lt;F as std..boxed..FnBox&lt;A&gt;&gt;::call_box::ha5012a14880088fa
  │   16:        0x1024323d8 - std::sys::thread::Thread::new::thread_start::h6f266e069bf4ec2b
  │   17:     0x7fff8e158059 - _pthread_body
  │   18:     0x7fff8e157fd6 - _pthread_start
  │ stack backtrace:
  │    1:        0x10242cf28 - std::sys::backtrace::tracing::imp::write::h9fb600083204ae7f
  │    2:        0x102433475 - std::panicking::default_hook::_$u7b$$u7b$closure$u7d$$u7d$::hca543c34f11229ac
  │    3:        0x10243308e - std::panicking::default_hook::hc2c969e7453d080c
  │    4:        0x1021a66a2 - util::panicking::initiate_panic_hook::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::ha2bd86c312dc8d7a
  │    5:        0x10241a532 - std::panicking::rust_panic_with_hook::hfe203e3083c2b544
  │    6:        0x102433a36 - std::panicking::begin_panic::h4889569716505182
  │    7:        0x10241be28 - std::panicking::begin_panic_fmt::h484cd47786497f03
  │    8:        0x102433ea9 - std::rand::thread_rng::THREAD_RNG_KEY::__init::h536e3917997a1628
  │    9:        0x10241ab3c - std::rand::thread_rng::h789d00d1fce4f79b
  │   10:        0x100bad40c - _&lt;collections..hash..map..RandomState as core..default..Default&gt;::default::ha847494db5044892
  │   11:        0x100bf4134 - net::http_loader::load::h4cdeddfa5dca9e93
  │   12:        0x100bf066c - std::panicking::try::call::h2f55588c0568c703
  │   13:        0x102436bfb - __rust_try
  │   14:        0x102436b95 - __rust_maybe_catch_panic
  │   15:        0x100bf2674 - _&lt;F as std..boxed..FnBox&lt;A&gt;&gt;::call_box::ha5012a14880088fa
  │   16:        0x1024323d8 - std::sys::thread::Thread::new::thread_start::h6f266e069bf4ec2b
  │   17:     0x7fff8e158059 - _pthread_body
  └   18:     0x7fff8e157fd6 - _pthread_start

  ▶ Unexpected subtest result in /cors/redirect-origin.htm:
  │ TIMEOUT [expected PASS] remote (*) to remote (http://www1.web-platform.test:8000), expect to fail
  └   → Test timed out

  ▶ Unexpected subtest result in /cors/redirect-origin.htm:
  │ TIMEOUT [expected PASS] remote (*) to remote2 (http://www1.web-platform.test:8000), expect to fail
  └   → Test timed out

  ▶ Unexpected subtest result in /cors/redirect-origin.htm:
  │ TIMEOUT [expected FAIL] remote (http://www1.web-platform.test:8000) to remote (*), expect to fail
  └   → Test timed out
@nox
Copy link
Member Author

nox commented May 26, 2016

@nox
Copy link
Member Author

nox commented May 26, 2016

@bors-servo
Copy link
Contributor

bors-servo commented May 26, 2016

Testing commit 6a540cf with merge 76ab412...

bors-servo added a commit that referenced this pull request May 26, 2016
Partially enable referrer-policy tests with some modifications

This is a part of @rebstar6's work on #11422, with only her test fixes and the enabling of them, to ease review on the actual implementation.

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

bors-servo commented May 26, 2016

💔 Test failed - mac-rel-wpt

@highfive
Copy link

highfive commented May 26, 2016

  ▶ TIMEOUT [expected OK] /cors/redirect-origin.htm
  │ 
  │ thread &#39;http_loader for http://www1.web-platform.test:8000/cors/resources/cors-makeheader.py?origin=http://www1.web-platform.test:8000&amp;location=http%3A%2F%2Fwww1.web-platform.test%3A8000%2Fcors%2Fresources%2Fcors-makeheader.py%3Forigin%3D*%26get_value%3Dlast%2642_1&amp;42_0thread &#39;thread &#39;http_loader for http://www1.web-platform.test:8000/cors/resources/cors-makeheader.py?origin=*&amp;location=http%3A%2F%2Fwww1.web-platform.test%3A8000%2Fcors%2Fresources%2Fcors-makeheader.py%3Forigin%3Dhttp%3A%2F%2Fwww1.web-platform.test%3A8000%26get_value%3Dlast%2640_1&amp;40_0http_loader for http://www1.web-platform.test:8000/cors/resources/cors-makeheader.py?origin=null&amp;location=http%3A%2F%2Fwww2.web-platform.test%3A8000%2Fcors%2Fresources%2Fcors-makeheader.py%3Forigin%3D*%26get_value%3Dlast%2638_1&amp;38_0&#39; panicked at &#39;&#39; panicked at &#39;could not initialize thread_rng: Too many open files (os error 24)failed to create an OS RNG: Error { repr: Os { code: 24, message: &#34;Too many open files&#34; } }&#39;, &#39;, /Users/servo/.cargo/registry/src/github.com-1ecc6299db9ec823/rand-0.3.14/src/lib.rs../src/libcore/result.rs&#39; panicked at &#39;::873
  │ stack backtrace:
  │ could not initialize thread_rng: Too many open files (os error 24)785
  │ &#39;, /Users/servo/.cargo/registry/src/github.com-1ecc6299db9ec823/rand-0.3.14/src/lib.rs:873
  │    1:        0x109f48608 - std::sys::backtrace::tracing::imp::write::h9fb600083204ae7f
  │    2:        0x109f4e9b5 - std::panicking::default_hook::_$u7b$$u7b$closure$u7d$$u7d$::hca543c34f11229ac
  │    3:        0x109f4e5ce - std::panicking::default_hook::hc2c969e7453d080c
  │    4:        0x109cc1eb2 - util::panicking::initiate_panic_hook::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::ha2bd86c312dc8d7a
  │    5:        0x109f35df2 - std::panicking::rust_panic_with_hook::hfe203e3083c2b544
  │    6:        0x109f4ef76 - std::panicking::begin_panic::h4889569716505182
  │    7:        0x109f37658 - std::panicking::begin_panic_fmt::h484cd47786497f03
  │    8:        0x109f1e58f - rand::thread_rng::THREAD_RNG_KEY::__init::h4e1387a2e4a21393
  │    9:        0x109f1e3cc - rand::thread_rng::he394b446ab605489
  │   10:        0x109f1d2b2 - uuid::Uuid::new_v4::hc206acac9c7e580d
  │   11:        0x1087106a0 - net::http_loader::load::h4cdeddfa5dca9e93
  │   12:        0x10870b23c - std::panicking::try::call::h2f55588c0568c703
  │   13:        0x109f51c5b - __rust_try
  │   14:        0x109f51bf5 - __rust_maybe_catch_panic
  │   15:        0x10870d244 - _&lt;F as alloc..boxed..FnBox&lt;A&gt;&gt;::call_box::ha5012a14880088fa
  │   16:        0x109f4d918 - std::sys::thread::Thread::new::thread_start::h6f266e069bf4ec2b
  │   17:     0x7fff88bee059 - _pthread_body
  │   18:     0x7fff88bedfd6 - _pthread_start
  │ stack backtrace:
  │    1:        0x109f48608 - std::sys::backtrace::tracing::imp::write::h9fb600083204ae7f
  │    2:        0x109f4e9b5 - std::panicking::default_hook::_$u7b$$u7b$closure$u7d$$u7d$::hca543c34f11229ac
  │    3:        0x109f4e5ce - std::panicking::default_hook::hc2c969e7453d080c
  │    4:        0x109cc1eb2 - util::panicking::initiate_panic_hook::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::ha2bd86c312dc8d7a
  │    5:        0x109f35df2 - std::panicking::rust_panic_with_hook::hfe203e3083c2b544
  │    6:        0x109f4ef76 - std::panicking::begin_panic::h4889569716505182
  │    7:        0x109f37658 - std::panicking::begin_panic_fmt::h484cd47786497f03
  │    8:        0x109f4ebcf - rust_begin_unwind
  │    9:        0x109f75880 - core::panicking::panic_fmt::h257ceb0aa351d801
  │   10:        0x109f363cf - core::result::unwrap_failed::h8630b273acce548f
  │   11:        0x109f3632d - std::collections::hash::map::RandomState::new::KEYS::__init::h8d537887bbfb1e53
  │   12:        0x10870ed2c - net::http_loader::load::h4cdeddfa5dca9e93
  │   13:        0x10870b23c - std::panicking::try::call::h2f55588c0568c703
  │   14:        0x109f51c5b - __rust_try
  │   15:        0x109f51bf5 - __rust_maybe_catch_panic
  │   16:        0x10870d244 - _&lt;F as alloc..boxed..FnBox&lt;A&gt;&gt;::call_box::ha5012a14880088fa
  │   17:        0x109f4d918 - std::sys::thread::Thread::new::thread_start::h6f266e069bf4ec2b
  │   18:     0x7fff88bee059 - _pthread_body
  │   19:     0x7fff88bedfd6 - _pthread_start
  │ stack backtrace:
  │    1:        0x109f48608 - std::sys::backtrace::tracing::imp::write::h9fb600083204ae7f
  │    2:        0x109f4e9b5 - std::panicking::default_hook::_$u7b$$u7b$closure$u7d$$u7d$::hca543c34f11229ac
  │    3:        0x109f4e5ce - std::panicking::default_hook::hc2c969e7453d080c
  │    4:        0x109cc1eb2 - util::panicking::initiate_panic_hook::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::ha2bd86c312dc8d7a
  │    5:        0x109f35df2 - std::panicking::rust_panic_with_hook::hfe203e3083c2b544
  │    6:        0x109f4ef76 - std::panicking::begin_panic::h4889569716505182
  │    7:        0x109f37658 - std::panicking::begin_panic_fmt::h484cd47786497f03
  │    8:        0x109f1e58f - rand::thread_rng::THREAD_RNG_KEY::__init::h4e1387a2e4a21393
  │    9:        0x109f1e3cc - rand::thread_rng::he394b446ab605489
  │   10:        0x109f1d2b2 - uuid::Uuid::new_v4::hc206acac9c7e580d
  │   11:        0x1087106a0 - net::http_loader::load::h4cdeddfa5dca9e93
  │   12:        0x10870b23c - std::panicking::try::call::h2f55588c0568c703
  │   13:        0x109f51c5b - __rust_try
  │   14:        0x109f51bf5 - __rust_maybe_catch_panic
  │   15:        0x10870d244 - _&lt;F as alloc..boxed..FnBox&lt;A&gt;&gt;::call_box::ha5012a14880088fa
  │   16:        0x109f4d918 - std::sys::thread::Thread::new::thread_start::h6f266e069bf4ec2b
  │   17:     0x7fff88bee059 - _pthread_body
  └   18:     0x7fff88bedfd6 - _pthread_start

  ▶ Unexpected subtest result in /cors/redirect-origin.htm:
  │ TIMEOUT [expected FAIL] remote (null) to remote2 (*), expect to fail
  └   → Test timed out

  ▶ Unexpected subtest result in /cors/redirect-origin.htm:
  │ TIMEOUT [expected PASS] remote (*) to remote (http://www1.web-platform.test:8000), expect to fail
  └   → Test timed out

  ▶ Unexpected subtest result in /cors/redirect-origin.htm:
  │ TIMEOUT [expected FAIL] remote (http://www1.web-platform.test:8000) to remote (*), expect to fail
  └   → Test timed out
@emilio
Copy link
Member

emilio commented May 26, 2016

@bors-servo
Copy link
Contributor

bors-servo commented May 26, 2016

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
Contributor

bors-servo commented May 26, 2016

💔 Test failed - mac-rel-wpt

@highfive
Copy link

highfive commented May 26, 2016

  ▶ TIMEOUT [expected OK] /cors/redirect-origin.htm
  │ 
  │ thread &#39;http_loader for http://www1.web-platform.test:8000/cors/resources/cors-makeheader.py?origin=http://www1.web-platform.test:8000&amp;location=http%3A%2F%2Fwww1.web-platform.test%3A8000%2Fcors%2Fresources%2Fcors-makeheader.py%3Forigin%3D*%26get_value%3Dlast%2642_1&amp;42_0&#39; panicked at &#39;failed to create an OS RNG: Error { repr: Os { code: 24, message: &#34;Too many open files&#34; } }&#39;, ../src/libcore/result.rs:785
  │ stack backtrace:
  │    1:        0x110957588 - std::sys::backtrace::tracing::imp::write::h9fb600083204ae7f
  │    2:        0x11095d935 - std::panicking::default_hook::_$u7b$$u7b$closure$u7d$$u7d$::hca543c34f11229ac
  │    3:        0x11095d54e - std::panicking::default_hook::hc2c969e7453d080c
  │    4:        0x1106d0e32 - util::panicking::initiate_panic_hook::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::ha2bd86c312dc8d7a
  │    5:        0x110944d72 - std::panicking::rust_panic_with_hook::hfe203e3083c2b544
  │    6:        0x11095def6 - std::panicking::begin_panic::h4889569716505182
  │    7:        0x1109465d8 - std::panicking::begin_panic_fmt::h484cd47786497f03
  │    8:        0x11095db4f - rust_begin_unwind
  │    9:        0x110984800 - core::panicking::panic_fmt::h257ceb0aa351d801
  │   10:        0x11094534f - core::result::unwrap_failed::h8630b273acce548f
  │   11:        0x1109452ad - std::collections::hash::map::RandomState::new::KEYS::__init::h8d537887bbfb1e53
  │   12:        0x10f11dcac - net::http_loader::load::h4cdeddfa5dca9e93
  │   13:        0x10f11a1bc - std::panicking::try::call::h2f55588c0568c703
  │   14:        0x110960bdb - __rust_try
  │   15:        0x110960b75 - __rust_maybe_catch_panic
  │   16:        0x10f11c1c4 - _&lt;F as alloc..boxed..FnBox&lt;A&gt;&gt;::call_box::ha5012a14880088fa
  │   17:        0x11095c898 - std::sys::thread::Thread::new::thread_start::h6f266e069bf4ec2b
  │   18:     0x7fff9534f059 - _pthread_body
  └   19:     0x7fff9534efd6 - _pthread_start

  ▶ Unexpected subtest result in /cors/redirect-origin.htm:
  │ TIMEOUT [expected FAIL] remote (http://www1.web-platform.test:8000) to remote (*), expect to fail
  └   → Test timed out
@jdm
Copy link
Member

jdm commented May 26, 2016

@jdm
Copy link
Member

jdm commented May 26, 2016

I wonder if the extra set of new tests causes cors-redirect.html to run at the same time as some other tests that cause a bunch of file handles to be consumed, leading to the timeout each time?

@bors-servo
Copy link
Contributor

bors-servo commented May 26, 2016

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
Contributor

bors-servo commented May 26, 2016

💔 Test failed - mac-rel-wpt

@highfive
Copy link

highfive commented May 26, 2016

  ▶ TIMEOUT [expected OK] /cors/redirect-origin.htm
  │ 
  │ thread &#39;http_loader for http://www1.web-platform.test:8000/cors/resources/cors-makeheader.py?origin=*&amp;location=http%3A%2F%2Fwww2.web-platform.test%3A8000%2Fcors%2Fresources%2Fcors-makeheader.py%3Forigin%3Dhttp%3A%2F%2Fwww1.web-platform.test%3A8000%26get_value%3Dlast%2641_1&amp;41_0&#39; panicked at &#39;failed to create an OS RNG: Error { repr: Os { code: 24, message: &#34;Too many open files&#34; } }&#39;, ../src/libcore/result.rs:785
  │ stack backtrace:
  │    1:        0x1119d0588 - std::sys::backtrace::tracing::imp::write::h9fb600083204ae7f
  │    2:        0x1119d6935 - std::panicking::default_hook::_$u7b$$u7b$closure$u7d$$u7d$::hca543c34f11229ac
  │    3:        0x1119d654e - std::panicking::default_hook::hc2c969e7453d080c
  │    4:     thread &#39;http_loader for http://www1.web-platform.test:8000/cors/resources/cors-makeheader.py?origin=*&amp;location=http%3A%2F%2Fwww1.web-platform.test%3A8000%2Fcors%2Fresources%2Fcors-makeheader.py%3Forigin%3Dhttp%3A%2F%2Fwww1.web-platform.test%3A8000%26get_value%3Dlast%2640_1&amp;40_0&#39; panicked at &#39;could not initialize thread_rng: Too many open files (os error 24)&#39;,    0x111749e32 - /Users/servo/.cargo/registry/src/github.com-1ecc6299db9ec823/rand-0.3.14/src/lib.rsutil::panicking:873
  │ ::initiate_panic_hook::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::ha2bd86c312dc8d7a
  │ thread &#39;http_loader for http://www1.web-platform.test:8000/cors/resources/cors-makeheader.py?origin=http://www1.web-platform.test:8000&amp;location=http%3A%2F%2Fwww1.web-platform.test%3A8000%2Fcors%2Fresources%2Fcors-makeheader.py%3Forigin%3D*%26get_value%3Dlast%2642_1&amp;42_0&#39; panicked at &#39;failed to create an OS RNG: Error { repr: Os { code: 24, message: &#34;Too many open files&#34; } }&#39;, ../src/libcore/result.rs:785
  │    5:        0x1119bdd72 - std::panicking::rust_panic_with_hook::hfe203e3083c2b544
  │    6:        0x1119d6ef6 - std::panicking::begin_panic::h4889569716505182
  │    7:        0x1119bf5d8 - std::panicking::begin_panic_fmt::h484cd47786497f03
  │    8:        0x1119d6b4f - rust_begin_unwind
  │    9:        0x1119fd800 - core::panicking::panic_fmt::h257ceb0aa351d801
  │   10:        0x1119be34f - core::result::unwrap_failed::h8630b273acce548f
  │   11:        0x1119be2ad - std::collections::hash::map::RandomState::new::KEYS::__init::h8d537887bbfb1e53
  │   12:        0x110196cac - net::http_loader::load::h4cdeddfa5dca9e93
  │   13:        0x1101931bc - std::panicking::try::call::h2f55588c0568c703
  │   14:        0x1119d9bdb - __rust_try
  │   15:        0x1119d9b75 - __rust_maybe_catch_panic
  │   16:        0x1101951c4 - _&lt;F as alloc..boxed..FnBox&lt;A&gt;&gt;::call_box::ha5012a14880088fa
  │   17:        0x1119d5898 - std::sys::thread::Thread::new::thread_start::h6f266e069bf4ec2b
  │   18:     0x7fff8e158059 - _pthread_body
  │   19:     0x7fff8e157fd6 - _pthread_start
  │ stack backtrace:
  │    1:        0x1119d0588 - std::sys::backtrace::tracing::imp::write::h9fb600083204ae7f
  │    2:        0x1119d6935 - std::panicking::default_hook::_$u7b$$u7b$closure$u7d$$u7d$::hca543c34f11229ac
  │    3:        0x1119d654e - std::panicking::default_hook::hc2c969e7453d080c
  │    4:        0x111749e32 - util::panicking::initiate_panic_hook::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::ha2bd86c312dc8d7a
  │    5:        0x1119bdd72 - std::panicking::rust_panic_with_hook::hfe203e3083c2b544
  │    6:        0x1119d6ef6 - std::panicking::begin_panic::h4889569716505182
  │    7:        0x1119bf5d8 - std::panicking::begin_panic_fmt::h484cd47786497f03
  │    8:        0x1119a650f - rand::thread_rng::THREAD_RNG_KEY::__init::h4e1387a2e4a21393
  │    9:        0x1119a634c - rand::thread_rng::he394b446ab605489
  │   10:        0x1119a5232 - uuid::Uuid::new_v4::hc206acac9c7e580d
  │   11:        0x110198620 - net::http_loader::load::h4cdeddfa5dca9e93
  │   12:        0x1101931bc - std::panicking::try::call::h2f55588c0568c703
  │   13:        0x1119d9bdb - __rust_try
  │   14:        0x1119d9b75 - __rust_maybe_catch_panic
  │   15:        0x1101951c4 - _&lt;F as alloc..boxed..FnBox&lt;A&gt;&gt;::call_box::ha5012a14880088fa
  │   16:        0x1119d5898 - std::sys::thread::Thread::new::thread_start::h6f266e069bf4ec2b
  │   17:     0x7fff8e158059 - _pthread_body
  │   18:     0x7fff8e157fd6 - _pthread_start
  │ stack backtrace:
  │    1:        0x1119d0588 - std::sys::backtrace::tracing::imp::write::h9fb600083204ae7f
  │    2:        0x1119d6935 - std::panicking::default_hook::_$u7b$$u7b$closure$u7d$$u7d$::hca543c34f11229ac
  │    3:        0x1119d654e - std::panicking::default_hook::hc2c969e7453d080c
  │    4:        0x111749e32 - util::panicking::initiate_panic_hook::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::ha2bd86c312dc8d7a
  │    5:        0x1119bdd72 - std::panicking::rust_panic_with_hook::hfe203e3083c2b544
  │    6:        0x1119d6ef6 - std::panicking::begin_panic::h4889569716505182
  │    7:        0x1119bf5d8 - std::panicking::begin_panic_fmt::h484cd47786497f03
  │    8:        0x1119d6b4f - rust_begin_unwind
  │    9:        0x1119fd800 - core::panicking::panic_fmt::h257ceb0aa351d801
  │   10:        0x1119be34f - core::result::unwrap_failed::h8630b273acce548f
  │   11:        0x1119be2ad - std::collections::hash::map::RandomState::new::KEYS::__init::h8d537887bbfb1e53
  │   12:        0x110196cac - net::http_loader::load::h4cdeddfa5dca9e93
  │   13:        0x1101931bc - std::panicking::try::call::h2f55588c0568c703
  │   14:        0x1119d9bdb - __rust_try
  │   15:        0x1119d9b75 - __rust_maybe_catch_panic
  │   16:        0x1101951c4 - _&lt;F as alloc..boxed..FnBox&lt;A&gt;&gt;::call_box::ha5012a14880088fa
  │   17:        0x1119d5898 - std::sys::thread::Thread::new::thread_start::h6f266e069bf4ec2b
  │   18:     0x7fff8e158059 - _pthread_body
  └   19:     0x7fff8e157fd6 - _pthread_start

  ▶ Unexpected subtest result in /cors/redirect-origin.htm:
  │ TIMEOUT [expected PASS] remote (*) to remote (http://www1.web-platform.test:8000), expect to fail
  └   → Test timed out

  ▶ Unexpected subtest result in /cors/redirect-origin.htm:
  │ TIMEOUT [expected PASS] remote (*) to remote2 (http://www1.web-platform.test:8000), expect to fail
  └   → Test timed out

  ▶ Unexpected subtest result in /cors/redirect-origin.htm:
  │ TIMEOUT [expected FAIL] remote (http://www1.web-platform.test:8000) to remote (*), expect to fail
  └   → Test timed out
@jdm jdm mentioned this pull request May 26, 2016
3 of 5 tasks complete
@jdm
Copy link
Member

jdm commented May 26, 2016

This will need to wait until #11447 merges before we try again.

bors-servo added a commit that referenced this pull request May 26, 2016
Disable redirect-origin.html on OS X

Disable a test that started permanently timing out in #11429.

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [ ] These changes fix #__ (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because disabling a test

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11447)
<!-- Reviewable:end -->
@jdm
Copy link
Member

jdm commented May 26, 2016

@bors-servo
Copy link
Contributor

bors-servo commented May 26, 2016

Testing commit 6a540cf with merge c432e9a...

bors-servo added a commit that referenced this pull request May 26, 2016
Partially enable referrer-policy tests with some modifications

This is a part of @rebstar6's work on #11422, with only her test fixes and the enabling of them, to ease review on the actual implementation.

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

bors-servo commented May 27, 2016

@bors-servo bors-servo merged commit 6a540cf into servo:master May 27, 2016
3 checks passed
3 checks passed
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
homu Test successful
Details
@nox nox deleted the nox:unlimited-referrer-works branch May 27, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

8 participants
You can’t perform that action at this time.