Closed
Bug 1635173
Opened 5 years ago
Closed 5 years ago
Add API to junit test harness that allows us to obtain the pid for a session
Categories
(GeckoView :: General, enhancement)
Tracking
(firefox78 fixed)
RESOLVED
FIXED
mozilla78
Tracking | Status | |
---|---|---|
firefox78 | --- | fixed |
People
(Reporter: bugzilla, Assigned: bugzilla)
References
(Blocks 1 open bug)
Details
(Whiteboard: [geckoview:m78])
Attachments
(1 file)
We need this for test case that I've written for bug 1634178. Note that this is distinct from bug 1631945, which is intended to give us all pids matching a particular content remote type.
Assignee | ||
Comment 1•5 years ago
|
||
To support this API, we add to the test-support
extension:
- We modify the content script to connect to the background script;
- When the content script connects, the background script obtains its tab ID
and calls into the API to resolve the tab's top-level pid. - The background script then sends the pid back down to the content script,
where it is saved. - This allows subsequent requests for the session's pid to be sent directly to
the content script via the native port thatGeckoSessionTestRule
holds for
each session.
Pushed by aklotz@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/22791ec31d26
Add GeckoSessionTestRule.getSessionPid() to junit; r=agi,geckoview-reviewers
Comment 3•5 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
status-firefox78:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla78
Assignee | ||
Updated•4 years ago
|
Whiteboard: [geckoview:m78]
You need to log in
before you can comment on or make changes to this bug.
Description
•