Closed
Bug 1480113
Opened 7 years ago
Closed 7 years ago
Create BrowsingContextChrome, and move mProcessId to it
Categories
(Core :: DOM: Core & HTML, enhancement, P2)
Core
DOM: Core & HTML
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox64 | --- | fixed |
People
(Reporter: nika, Assigned: farre)
References
Details
Attachments
(1 file, 1 obsolete file)
No description provided.
| Reporter | ||
Updated•7 years ago
|
Priority: -- → P2
| Assignee | ||
Comment 1•7 years ago
|
||
Attachment #8998887 -
Flags: review?(nika)
| Reporter | ||
Comment 2•7 years ago
|
||
Comment on attachment 8998887 [details] [diff] [review]
0001-Bug-1480113-Split-BrowsingContext-to-Content-and-Chr.patch
Review of attachment 8998887 [details] [diff] [review]:
-----------------------------------------------------------------
::: docshell/base/BrowsingContext.cpp
@@ +18,5 @@
> #include "nsContentUtils.h"
> #include "nsThreadUtils.h"
>
> +namespace {
> +class ChromeBrowsingContext final : public mozilla::dom::BrowsingContext
Why put this within the .cpp file? I'd think we would want to make the type distinction public (so that to get the mProcessId you'd have to call a method to switch to a ChromeBrowsingContext)
@@ +47,5 @@
> + // Indicates which process owns the docshell.
> + uint64_t mProcessId;
> +};
> +
> +class ContentBrowsingContext final : public mozilla::dom::BrowsingContext
I don't think there will be any state in content which we won't also want in chrome, so I think we can just use BrowsingContext in content.
Attachment #8998887 -
Flags: review?(nika)
| Assignee | ||
Comment 3•7 years ago
|
||
Create ChromeBrowsingContext and move parent process specific parts
from BrowsingContext there. After that make sure that all
BrowsingContexts created in the parent process is actually
ChromeBrowsingContexts and all BrowsingContexts in the child processes
are BrowsingContexts.
| Comment hidden (obsolete) |
Comment 5•7 years ago
|
||
Comment on attachment 9007755 [details]
Bug 1480113 - Split parent process specific parts out of BrowsingContext
Peter Van der Beken [:peterv] has approved the revision.
Attachment #9007755 -
Flags: review+
Pushed by afarre@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/1de6dfd1e6ed
Split parent process specific parts out of BrowsingContext r=peterv
Comment 7•7 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox64:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
Updated•7 years ago
|
Component: DOM → DOM: Core & HTML
Comment 8•6 years ago
|
||
Retroactively moving fixed bugs whose summaries mention "Fission" (or other Fission-related keywords) but are not assigned to a Fission Milestone to an appropriate Fission Milestone.
This will generate a lot of bugmail, so you can filter your bugmail for the following UUID and delete them en masse:
0ee3c76a-bc79-4eb2-8d12-05dc0b68e732
Fission Milestone: --- → M4
You need to log in
before you can comment on or make changes to this bug.
Description
•