Skip to content

Added tests for cross-origin iframe parentage. - #11666

Merged
bors-servo merged 1 commit into
servo:masterfrom
asajeffrey:cross-origin-parentage-test
Jun 12, 2016
Merged

bors-servo merged 1 commit into
servo:masterfrom
asajeffrey:cross-origin-parentage-test

Conversation

@asajeffrey

@asajeffrey asajeffrey commented Jun 7, 2016 •

Copy link
Copy Markdown
Contributor

Added (currently failing) tests for cross-origin iframe parentage.



This change is Reviewable

@highfive highfive added the S-awaiting-review There is new code that needs to be reviewed. label Jun 7, 2016
@asajeffrey
asajeffrey force-pushed the cross-origin-parentage-test branch from f180d67 to 08dff69 Compare June 9, 2016 14:10
@highfive

highfive commented Jun 9, 2016

Copy link
Copy Markdown

New code was committed to pull request.

@asajeffrey
asajeffrey force-pushed the cross-origin-parentage-test branch from 08dff69 to 36f7663 Compare June 9, 2016 14:12
@highfive

highfive commented Jun 9, 2016

Copy link
Copy Markdown

New code was committed to pull request.

@asajeffrey

Copy link
Copy Markdown
Contributor Author

Rebased.

</body>
<script>
send_test_results({
"id": '6c8da65d-2c5e-44ef-bb0b-b8b9849aab19',

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

use token() or something

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

oh, not sure how token will work across iframes. @Ms2ger ?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Indeed, hence the hard-wired uuids.

@asajeffrey

Copy link
Copy Markdown
Contributor Author

r? @ConnorGBrewster since you're already looking at #11677.

@highfive highfive assigned cbrewster and unassigned Manishearth Jun 9, 2016
@asajeffrey

Copy link
Copy Markdown
Contributor Author

Ah, crossed wires with @Manishearth.

@bors-servo

Copy link
Copy Markdown
Contributor

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

@highfive highfive added the S-needs-rebase There are merge conflict errors. label Jun 9, 2016
@asajeffrey
asajeffrey force-pushed the cross-origin-parentage-test branch from 36f7663 to 4477d80 Compare June 9, 2016 20:16
@asajeffrey

Copy link
Copy Markdown
Contributor Author

Rebased.

Comment thread tests/wpt/metadata/MANIFEST.json Outdated
"path": "html-media-capture/capture_video_cancel-manual.html",
"url": "/html-media-capture/capture_video_cancel-manual.html"
},
{

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Should these lines be removed after moving the test?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Good catch, I think this comes from juggling several PRs at once, and having files leak from one branch to the other.

@cbrewster cbrewster added S-awaiting-answer Someone asked a question that requires an answer. and removed S-awaiting-review There is new code that needs to be reviewed. labels Jun 10, 2016
@cbrewster

Copy link
Copy Markdown
Contributor

This looks good except possibly the changes on MANIFEST.json.

-S-awaiting-review +S-awaiting-answer

Previously, asajeffrey (Alan Jeffrey) wrote…

Rebased.


Reviewed 3 of 9 files at r1, 10 of 12 files at r2.
Review status: 4 of 5 files reviewed at latest revision, 3 unresolved discussions.


Comments from Reviewable

@asajeffrey
asajeffrey force-pushed the cross-origin-parentage-test branch from 4477d80 to 07ea9e6 Compare June 10, 2016 13:56
@highfive highfive added the S-awaiting-review There is new code that needs to be reviewed. label Jun 10, 2016
@asajeffrey

Copy link
Copy Markdown
Contributor Author

Fixed MANIFEST.json. @bors-servo: r=ConnorGBrewster

@bors-servo

Copy link
Copy Markdown
Contributor

📌 Commit 07ea9e6 has been approved by ConnorGBrewster

@highfive highfive added S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. and removed S-awaiting-review There is new code that needs to be reviewed. S-needs-rebase There are merge conflict errors. S-awaiting-answer Someone asked a question that requires an answer. labels Jun 10, 2016
@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit 07ea9e6 with merge cd0cb71...

bors-servo pushed a commit that referenced this pull request Jun 11, 2016
…orGBrewster

Added tests for cross-origin iframe parentage.

<!-- Please describe your changes on the following line: -->
Added (currently failing) tests for cross-origin iframe parentage.

---
<!-- 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 #11478
- [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="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11666)
<!-- Reviewable:end -->
@asajeffrey

Copy link
Copy Markdown
Contributor Author

Gosh this is a sad PR.

@Manishearth

Copy link
Copy Markdown
Member

@bors-servo

Copy link
Copy Markdown
Contributor

💔 Test failed - mac-rel-wpt

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

Copy link
Copy Markdown
  ▶ TIMEOUT [expected OK] /dom/nodes/Document-contentType/contentType/contenttype_xml.html

  ▶ TIMEOUT [expected OK] /dom/nodes/Document-contentType/contentType/createDocument.html

  ▶ TIMEOUT [expected OK] /dom/nodes/Document-contentType/contentType/createHTMLDocument.html

  ▶ TIMEOUT [expected OK] /dom/nodes/Document-contentType/contentType/xhr_responseType_document.html

  ▶ TIMEOUT [expected OK] /dom/nodes/Document-createAttribute.html

  ▶ TIMEOUT [expected OK] /dom/nodes/Document-createComment.html

  ▶ TIMEOUT [expected OK] /dom/nodes/Document-createElement.html

  ▶ TIMEOUT [expected OK] /dom/nodes/Document-createElementNS.html

  ▶ TIMEOUT [expected OK] /dom/nodes/Document-createEvent.html

  ▶ TIMEOUT [expected OK] /dom/nodes/Document-createProcessingInstruction-xhtml.xhtml

  ▶ TIMEOUT [expected OK] /dom/nodes/Document-createTextNode.html

  ▶ TIMEOUT [expected OK] /dom/nodes/Document-createProcessingInstruction.html

  ▶ TIMEOUT [expected OK] /dom/nodes/Document-createTreeWalker.html

  ▶ TIMEOUT [expected OK] /dom/nodes/Document-doctype.html

  ▶ Unexpected subtest result in /webgl/conformance-1.0.3/conformance/rendering/gl-scissor-canvas-dimensions.html:
  │ FAIL [expected PASS] WebGL test #4: at (3, 16) expected: 0,0,0,0 was 0,0,224,207
  │   → assert_true: at (3, 16) expected: 0,0,0,0 was 0,0,224,207 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
  │ testCanvasSizeChange@http://web-platform.test:8000/webgl/conformance-1.0.3/conformance/rendering/gl-scissor-canvas-dimensions.html:36:3
  └ @http://web-platform.test:8000/webgl/conformance-1.0.3/conformance/rendering/gl-scissor-canvas-dimensions.html:42:1

@cbrewster

Copy link
Copy Markdown
Contributor

@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit 07ea9e6 with merge 037ada6...

bors-servo pushed a commit that referenced this pull request Jun 12, 2016
…orGBrewster

Added tests for cross-origin iframe parentage.

<!-- Please describe your changes on the following line: -->
Added (currently failing) tests for cross-origin iframe parentage.

---
<!-- 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 #11478
- [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="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11666)
<!-- Reviewable:end -->
@highfive highfive added S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. and removed S-tests-failed The changes caused existing tests to fail. labels Jun 12, 2016
@bors-servo

Copy link
Copy Markdown
Contributor

💔 Test failed - linux-rel

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

Copy link
Copy Markdown
  ▶ FAIL [expected PASS] /css-transforms-1_dev/html/transform-abspos-007.htm
  └   → /css-transforms-1_dev/html/transform-abspos-007.htm 71f0313eedfbfcce0b0fcc5ae55f34b1daa3b8d8
/css-transforms-1_dev/html/reference/transform-abspos-ref.htm 78d197606924062e8dd2a773c977afcecf8940f8
Testing 71f0313eedfbfcce0b0fcc5ae55f34b1daa3b8d8 == 78d197606924062e8dd2a773c977afcecf8940f8

  ▶ FAIL [expected PASS] /css-transforms-1_dev/html/transform-table-007.htm
  └   → /css-transforms-1_dev/html/transform-table-007.htm a5c014b20ef1363bea6f24eda28c7efb7c45698a
/css-transforms-1_dev/html/reference/transform-blank-ref.htm fa6407b1acbbfea27e27061e7d1bdeca98e4a728
Testing a5c014b20ef1363bea6f24eda28c7efb7c45698a == fa6407b1acbbfea27e27061e7d1bdeca98e4a728

bors-servo pushed a commit that referenced this pull request Jun 12, 2016
…orGBrewster

Added tests for cross-origin iframe parentage.

<!-- Please describe your changes on the following line: -->
Added (currently failing) tests for cross-origin iframe parentage.

---
<!-- 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 #11478
- [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="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11666)
<!-- Reviewable:end -->
@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit 07ea9e6 with merge 0b2cc91...

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

Copy link
Copy Markdown
Contributor

💔 Test failed - mac-rel-css

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

Copy link
Copy Markdown
Contributor

@bors-servo retry

  • Infra (git)

@bors-servo

Copy link
Copy Markdown
Contributor

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

@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

@bors-servo
bors-servo merged commit 07ea9e6 into servo:master Jun 12, 2016
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.

Add wpt tests for x-origin iframe parentage

8 participants