Closed
Bug 1312101
Opened 8 years ago
Closed 8 years ago
Remove AppProcessChecker and code that depends on it
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla53
Tracking | Status | |
---|---|---|
firefox53 | --- | fixed |
People
(Reporter: ehsan.akhgari, Assigned: ehsan.akhgari)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
(deleted),
patch
|
baku
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
baku
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•8 years ago
|
||
Attachment #8803508 -
Flags: review?(amarchesini)
Assignee | ||
Updated•8 years ago
|
Assignee: nobody → ehsan
Assignee | ||
Comment 2•8 years ago
|
||
Didn't get the review in time. Need to look at this again at some point.
Flags: needinfo?(ehsan)
Comment 3•8 years ago
|
||
Comment on attachment 8803508 [details] [diff] [review]
Remove AppProcessChecker and code that depends on it
Review of attachment 8803508 [details] [diff] [review]:
-----------------------------------------------------------------
::: dom/base/nsFrameMessageManager.cpp
@@ +1893,5 @@
> if (aCpows && !cc->GetCPOWManager()->Wrap(aCx, aCpows, &cpows)) {
> return false;
> }
> if (aIsSync) {
> return cc->SendSyncMessage(PromiseFlatString(aMessage), data, cpows,
move aRetval to this line.
@@ +1899,3 @@
> }
> return cc->SendRpcMessage(PromiseFlatString(aMessage), data, cpows,
> + aRetVal);
same here.
::: dom/base/nsIMessageManager.idl
@@ +285,3 @@
> [optional] in jsval transfers);
>
> /**
remove the comment at line 188 too.
::: dom/ipc/ContentParent.cpp
@@ +1295,5 @@
>
> mMessageManager->ReceiveMessage(
> static_cast<nsIContentFrameMessageManager*>(mMessageManager.get()), nullptr,
> CHILD_PROCESS_SHUTDOWN_MESSAGE, false,
> + nullptr, nullptr, nullptr);
This is a funny indentation.
@@ +3070,5 @@
> return true;
> }
>
> PTelephonyParent*
> ContentParent::AllocPTelephonyParent()
do we still have PTelephony?
::: dom/ipc/PBrowser.ipdl
@@ +202,5 @@
>
> async Event(RemoteDOMEvent aEvent);
>
> sync SyncMessage(nsString aMessage, ClonedMessageData aData,
> + CpowEntry[] aCpows)
same line?
::: dom/ipc/PContent.ipdl
@@ +850,5 @@
> sync ReadDataStorageArray(nsString aFilename)
> returns (DataStorageItem[] retValue);
>
> sync SyncMessage(nsString aMessage, ClonedMessageData aData,
> + CpowEntry[] aCpows)
same line?
@@ +1182,5 @@
> sync GetA11yContentId() returns (uint32_t aContentId);
>
> both:
> async AsyncMessage(nsString aMessage, CpowEntry[] aCpows,
> + ClonedMessageData aData);
same line?
::: dom/ipc/PContentBridge.ipdl
@@ +43,5 @@
> manages PSendStream;
>
> parent:
> sync SyncMessage(nsString aMessage, ClonedMessageData aData,
> + CpowEntry[] aCpows)
same line?
@@ +61,5 @@
>
> async PFileDescriptorSet(FileDescriptor fd);
>
> async AsyncMessage(nsString aMessage, CpowEntry[] aCpows,
> + ClonedMessageData aData);
same line?
Attachment #8803508 -
Flags: review?(amarchesini) → review+
Assignee | ||
Comment 4•8 years ago
|
||
Since AddProcessChecker is going away, there's no point in these
permission checks any more.
Attachment #8811254 -
Flags: review?(amarchesini)
Updated•8 years ago
|
Attachment #8811254 -
Flags: review?(amarchesini) → review+
Assignee | ||
Updated•8 years ago
|
Flags: needinfo?(ehsan)
Pushed by eakhgari@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/ba4af4705e58
Part 1: Remove permission assertions through the message manager; r=baku
https://hg.mozilla.org/integration/mozilla-inbound/rev/ad3f41ebb1a2
Part 2: Remove AppProcessChecker and code that depends on it; r=baku
Pushed by eakhgari@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/211be78bea44
follow-up: Remove EnsureRequiredPermissions() as well
Comment 7•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/ba4af4705e58
https://hg.mozilla.org/mozilla-central/rev/ad3f41ebb1a2
https://hg.mozilla.org/mozilla-central/rev/211be78bea44
Status: NEW → RESOLVED
Closed: 8 years ago
status-firefox53:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla53
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•