Closed
Bug 1486939
Opened 8 years ago
Closed 6 years ago
GeckoSession shouldn't allow multiple consumers to hold the GeckoDisplay
Categories
(GeckoView :: General, enhancement, P3)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: snorp, Assigned: snorp)
Details
Attachments
(1 obsolete file)
Right now GeckoSession.acquireDisplay() is essentially a getter. This isn't very safe, since we could have many callers trying to set surfaces, etc. It also betrays the "acquire" naming, which normally means the caller will get exclusive rights.
| Assignee | ||
Comment 1•8 years ago
|
||
This also ensures GeckoSession only listens to the
currently acquired GeckoDisplay.
I'd like to put a bunch more tests in DisplayTests
to ensure the right stuff goes into the provided
Surface, etc.
| Assignee | ||
Updated•8 years ago
|
Assignee: nobody → snorp
Comment 2•8 years ago
|
||
Comment on attachment 9004708 [details]
Bug 1486939 - Enforce exclusive ownership of GeckoDisplay r=jchen,droeh
Jim Chen [:jchen] [:darchons] has approved the revision.
Attachment #9004708 -
Flags: review+
Updated•8 years ago
|
Attachment #9004708 -
Attachment is obsolete: true
Updated•8 years ago
|
Priority: -- → P3
Updated•7 years ago
|
Product: Firefox for Android → GeckoView
Updated•7 years ago
|
Version: Firefox 59 → 59 Branch
| Assignee | ||
Updated•6 years ago
|
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•