Closed Bug 957731 Opened 10 years ago Closed 10 years ago

Regression: Wrapper content not running OOP

Categories

(Firefox OS Graveyard :: Gaia::System::Window Mgmt, defect)

defect
Not set
normal

Tracking

(blocking-b2g:1.4+, b2g-v1.4 fixed)

RESOLVED FIXED
1.3 C2/1.4 S2(17jan)
blocking-b2g 1.4+
Tracking Status
b2g-v1.4 --- fixed

People

(Reporter: benfrancis, Assigned: benfrancis)

Details

(Keywords: regression, Whiteboard: [systemsfe])

Attachments

(1 file)

It looks like the new window manager may have regressed making wrapper content (e.me apps and homescreen bookmarks) running in their own process.

STR:
* Connect to device over adb
* Run ps
* Start an e.me app
* Run ps again
Expected:
* New content process
Actual:
* Content appears to be running in parent process

I suspect WrapperFactory just needs to set config.oop to true when creating a wrapper window.
Keywords: regression
Do we know what branches are affected by this regression? This sounds bad - it should block.
Jason: I'm pretty sure it was introduced in the new window manager in 1.4, but we should probably check for a regression window just in case.
Assignee: nobody → bfrancis
(In reply to Ben Francis [:benfrancis] from comment #2)
> Jason: I'm pretty sure it was introduced in the new window manager in 1.4,
> but we should probably check for a regression window just in case.

For getting the regression window - is there some STR we can follow to determine that OOP is enabled or not?
blocking-b2g: --- → 1.4?
Attached a fix and a simple unit test.

I couldn't find any unit tests for WrapperFactory so I created a new file. Perhaps there is a better way to test this though.
Attachment #8357355 - Flags: review?(alive)
Jason, the STR is in comment 0.

You can run:

 $ adb shell ps | grep plugin

to see a list of content processes before and after launching the wrapper.
Okay - if there's a patch already in progress, then we probably don't need to worry about getting a regression window here.
blocking-b2g: 1.4? → 1.4+
Merged into master
https://github.com/mozilla-b2g/gaia/commit/1634720a836b6d11ca855ed083797e3d47ffe9b6
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → 1.3 C2/1.4 S2(17jan)
Whiteboard: [systemsfe]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: