Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upImplement referrer policy delivery by header #12441
Conversation
highfive
commented
Jul 14, 2016
|
Heads up! This PR modifies the following files:
|
|
Great work! Reviewed 2 of 2 files at r1, 8 of 8 files at r2, 26 of 26 files at r3. components/script/script_thread.rs, line 1713 [r2] (raw file):
Let's add this with the other imports at the top of the file. components/script/script_thread.rs, line 1715 [r2] (raw file):
components/script/dom/document.rs, line 1662 [r2] (raw file):
Comments from Reviewable |
2418ea8
to
0488d5d
|
Review status: 34 of 36 files reviewed at latest revision, 3 unresolved discussions. components/script/script_thread.rs, line 1713 [r2] (raw file):
|
|
Incidentally, is there any interest in renaming |
|
I agree, renaming that variant would make it more consistent. Reviewed 2 of 2 files at r4. components/script/script_thread.rs, line 1713 [r2] (raw file):
|
|
Whoops! Will fix later today On 14 Jul 2016 8:55 a.m., "Josh Matthews" notifications@github.com wrote:
|
|
|
0488d5d
to
d188236
|
Rebased, renamed the variant and fixed the compile-error typo. Review status: all files reviewed at latest revision, 1 unresolved discussion, some commit checks failed. components/script/script_thread.rs, line 1713 [r2] (raw file):
|
d188236
to
bfda32e
|
@bors-servo: r+ Reviewed 30 of 30 files at r5, 8 of 8 files at r6, 26 of 26 files at r7, 6 of 6 files at r8. Comments from Reviewable |
|
|
Implement referrer policy delivery by header Adds a new `Option<ReferrerPolicy>` field to Document and sets it appropriately in `ScriptThread::load` if a Referrer-Policy header is present. r? @jdm <!-- 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 - [X] These changes fix #11860 - [X] There are tests for these changes <!-- 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="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/12441) <!-- Reviewable:end -->
|
|
aravind-pg commentedJul 14, 2016
•
edited by larsbergstrom
Adds a new
Option<ReferrerPolicy>field to Document and sets it appropriately inScriptThread::loadif a Referrer-Policy header is present.r? @jdm
./mach build -ddoes not report any errors./mach test-tidydoes not report any errorsThis change is