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

Bug 1172897 - Rename Tab Actor to BrowsingContextActor #21799

Merged
merged 1 commit into from Oct 10, 2018

Conversation

@codehag
Copy link
Contributor

codehag commented Sep 24, 2018

As part of Bug 1172987 we renamed TabActor, as the actor does not represent tabs (as in a browser tab), it instead represents a browsing context as defined by the the HTML standard. In a later PR I will mirror the structure we have on devtools to have a targets folder, which contains all target types. At the moment it looks like servo only represents workers and browsing contexts.


  • ./mach build -d does not report any errors
    Unfortunately, I am unable to build due to #21792 -- I will try to find a linux machine to build on
  • ./mach test-tidy does not report any errors
  • These changes fix Bugzilla Bug 1172987.
  • These changes do not require tests because this is a renaming and shouldn't impact tests as far as I can tell

This change is Reviewable

As part of [Bug 1172987](https://bugzilla.mozilla.org/show_bug.cgi?id=1172897) we renamed TabActor, as the actor does not represent tabs (as in a browser tab), it instead represents a browsing context as defined by the the [HTML standard](https://html.spec.whatwg.org/multipage/browsers.html#windows). In a later PR I will mirror the structure we have on devtools to have a targets folder, which contains all target types. At the moment it looks like servo only represents workers and browsing contexts.
@highfive
Copy link

highfive commented Sep 24, 2018

Thanks for the pull request, and welcome! The Servo team is excited to review your changes, and you should hear from @avadacatavra (or someone else) soon.

@@ -34,7 +34,7 @@ enum AddonMsg {}
struct ListTabsReply {
from: String,
selected: u32,
tabs: Vec<TabActorMsg>,
tabs: Vec<BrowsingContextActorMsg>,

This comment has been minimized.

@codehag

codehag Sep 24, 2018

Author Contributor

at the moment, we still use tabs to refer to this collection in the Devtools codebase. if this changes I will update it here as well.

@jdm
Copy link
Member

jdm commented Oct 10, 2018

@bors-servo r+
Sorry for the delay!

@bors-servo
Copy link
Contributor

bors-servo commented Oct 10, 2018

📌 Commit 86b7862 has been approved by jdm

@bors-servo
Copy link
Contributor

bors-servo commented Oct 10, 2018

Testing commit 86b7862 with merge 7c69926...

bors-servo added a commit that referenced this pull request Oct 10, 2018
Bug 1172897 - Rename Tab Actor to BrowsingContextActor

As part of [Bug 1172987](https://bugzilla.mozilla.org/show_bug.cgi?id=1172897) we renamed TabActor, as the actor does not represent tabs (as in a browser tab), it instead represents a browsing context as defined by the the [HTML standard](https://html.spec.whatwg.org/multipage/browsers.html#windows). In a later PR I will mirror the structure we have on devtools to have a targets folder, which contains all target types. At the moment it looks like servo only represents workers and browsing contexts.

<!-- Please describe your changes on the following line: -->

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [ ] `./mach build -d` does not report any errors
Unfortunately, I am unable to build due to #21792 -- I will try to find a linux machine to build on
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix Bugzilla [Bug 1172987](https://bugzilla.mozilla.org/show_bug.cgi?id=1172897).

<!-- Either: -->
- [x] These changes do not require tests because this is a renaming and shouldn't impact tests as far as I can tell

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- 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/21799)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Oct 10, 2018

💔 Test failed - status-taskcluster

@jdm
Copy link
Member

jdm commented Oct 10, 2018

@bors-servo retry

@bors-servo
Copy link
Contributor

bors-servo commented Oct 10, 2018

💣 Failed to start rebuilding: Unknown error

@bors-servo
Copy link
Contributor

bors-servo commented Oct 10, 2018

Testing commit 86b7862 with merge 900a81d...

bors-servo added a commit that referenced this pull request Oct 10, 2018
Bug 1172897 - Rename Tab Actor to BrowsingContextActor

As part of [Bug 1172987](https://bugzilla.mozilla.org/show_bug.cgi?id=1172897) we renamed TabActor, as the actor does not represent tabs (as in a browser tab), it instead represents a browsing context as defined by the the [HTML standard](https://html.spec.whatwg.org/multipage/browsers.html#windows). In a later PR I will mirror the structure we have on devtools to have a targets folder, which contains all target types. At the moment it looks like servo only represents workers and browsing contexts.

<!-- Please describe your changes on the following line: -->

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [ ] `./mach build -d` does not report any errors
Unfortunately, I am unable to build due to #21792 -- I will try to find a linux machine to build on
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix Bugzilla [Bug 1172987](https://bugzilla.mozilla.org/show_bug.cgi?id=1172897).

<!-- Either: -->
- [x] These changes do not require tests because this is a renaming and shouldn't impact tests as far as I can tell

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- 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/21799)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Oct 10, 2018

@bors-servo bors-servo merged commit 86b7862 into servo:master Oct 10, 2018
2 of 4 checks passed
2 of 4 checks passed
Taskcluster (pull_request) TaskGroup: failure
Details
continuous-integration/travis-ci/pr The Travis CI build failed
Details
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
homu Test successful
Details
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

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