Skip to content

Mozbrowser top level browsing context - #11644

Merged
bors-servo merged 1 commit into
servo:masterfrom
asajeffrey:mozbrowser-top-level-browsing-context
Jun 7, 2016
Merged

bors-servo merged 1 commit into
servo:masterfrom
asajeffrey:mozbrowser-top-level-browsing-context

Conversation

@asajeffrey

@asajeffrey asajeffrey commented Jun 6, 2016 •

Copy link
Copy Markdown
Contributor

Got window.top and window.parent to return the right result inside a mozbrowser iframe.


  • ./mach build -d does not report any errors
  • ./mach test-tidy does not report any errors
  • There are tests for these changes

This change is Reviewable

@highfive

highfive commented Jun 6, 2016

Copy link
Copy Markdown

Heads up! This PR modifies the following files:

  • @asajeffrey: components/constellation/pipeline.rs
  • @KiChjang: components/script/dom/document.rs, components/script/script_thread.rs, components/script/dom/window.rs, components/script_traits/lib.rs, components/script_traits/lib.rs

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

Copy link
Copy Markdown
Contributor Author

r? @ConnorGBrewster cc @paulrouget

@highfive highfive assigned cbrewster and unassigned nox Jun 6, 2016
@asajeffrey

Copy link
Copy Markdown
Contributor Author

Uses servo/heapsize#57

@highfive

highfive commented Jun 6, 2016

Copy link
Copy Markdown

New code was committed to pull request.

@cbrewster

Copy link
Copy Markdown
Contributor

Everything looks good to me! Squash and r=me

-S-awaiting-review +S-needs-squash

Previously, highfive wrote…

New code was committed to pull request.


Reviewed 6 of 6 files at r1, 5 of 5 files at r2, 4 of 4 files at r3.
Review status: all files reviewed at latest revision, all discussions resolved.


Comments from Reviewable

@cbrewster cbrewster added S-needs-squash Some (or all) of the commits in the PR should be combined. and removed S-awaiting-review There is new code that needs to be reviewed. labels Jun 7, 2016
@cbrewster

Copy link
Copy Markdown
Contributor

Woops missed a couple things.

+S-needs-code-changes

Previously, ConnorGBrewster (Connor Brewster) wrote…

Everything looks good to me! Squash and r=me

-S-awaiting-review +S-needs-squash


Review status: all files reviewed at latest revision, 2 unresolved discussions, all commit checks successful.


tests/wpt/mozilla/tests/mozilla/mozbrowser/mozbrowser_iframe_child.html, line 8 [r3] (raw file):

    send_test_results({
        "id": 'aaee4290-6a78-4932-a1d1-fbbe158fb473',
        "parent": window.parent == window,

Should this be ===?


tests/wpt/mozilla/tests/mozilla/mozbrowser/mozbrowser_iframe_grandchild.html, line 8 [r3] (raw file):

        "id": 'a94c0025-08dc-49a6-8f98-fbbaacfdd296',
        "parent": window.parent !== window,
        "grandparent": window.parent.parent == window.parent,

Should this be ===?


Comments from Reviewable

@cbrewster cbrewster added the S-needs-code-changes Changes have not yet been made that were requested by a reviewer. label Jun 7, 2016
@asajeffrey
asajeffrey force-pushed the mozbrowser-top-level-browsing-context branch from 44ddb42 to 0769982 Compare June 7, 2016 13:51
@highfive highfive removed the S-needs-code-changes Changes have not yet been made that were requested by a reviewer. label Jun 7, 2016
@highfive

highfive commented Jun 7, 2016

Copy link
Copy Markdown

New code was committed to pull request.

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

Copy link
Copy Markdown
Contributor Author

Squashed. @bors-servo r=ConnerGBrewster

@bors-servo

Copy link
Copy Markdown
Contributor

📌 Commit 0769982 has been approved by ConnerGBrewster

@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-squash Some (or all) of the commits in the PR should be combined. labels Jun 7, 2016
@asajeffrey

Copy link
Copy Markdown
Contributor Author

Argh I meant @ConnorGBrewster not going to edit that now though!

bors-servo pushed a commit that referenced this pull request Jun 7, 2016
…xt, r=ConnerGBrewster

Mozbrowser top level browsing context

<!-- Please describe your changes on the following line: -->
Got `window.top` and `window.parent` to return the right result inside a `mozbrowser` iframe.

---
<!-- 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] 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/11644)
<!-- Reviewable:end -->
@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit 0769982 with merge 884ea04...

@bors-servo

Copy link
Copy Markdown
Contributor

💔 Test failed - mac-rel-css

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

highfive commented Jun 7, 2016

Copy link
Copy Markdown
  ▶ CRASH [expected FAIL] /css21_dev/html4/border-conflict-element-001d.htm
  │ 
  └ Shutting down the Constellation after generating an output file or exit flag specified

@asajeffrey

asajeffrey commented Jun 7, 2016 •

Copy link
Copy Markdown
Contributor Author

1 similar comment
@larsbergstrom

Copy link
Copy Markdown
Contributor

@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit 0769982 with merge 280bfc9...

bors-servo pushed a commit that referenced this pull request Jun 7, 2016
…xt, r=ConnerGBrewster

Mozbrowser top level browsing context

<!-- Please describe your changes on the following line: -->
Got `window.top` and `window.parent` to return the right result inside a `mozbrowser` iframe.

---
<!-- 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] 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/11644)
<!-- 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 7, 2016
@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 0769982 into servo:master Jun 7, 2016
@highfive highfive removed the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Jun 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants