Closed
Bug 1450344
Opened 7 years ago
Closed 7 years ago
<select> prompts don't work inside e10s iframes
Categories
(GeckoView Graveyard :: Sandboxing, enhancement, P1)
GeckoView Graveyard
Sandboxing
Tracking
(firefox61 fixed)
RESOLVED
FIXED
mozilla61
Tracking | Status | |
---|---|---|
firefox61 | --- | fixed |
People
(Reporter: jchen, Assigned: jchen)
Details
(Whiteboard: [geckoview:klar])
Attachments
(3 files)
Clicking on <select> does not show a prompt when it's inside an iframe under e10s
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment 4•7 years ago
|
||
mozreview-review |
Comment on attachment 8964404 [details]
Bug 1450344 - 2. Make getDispatcherForWindow work in child process;
https://reviewboard.mozilla.org/r/233128/#review238580
Code analysis found 1 defect in this patch:
- 1 defect found by mozlint
You can run this analysis locally with:
- `./mach lint path/to/file` (JS/Python)
If you see a problem in this automated review, please report it here: http://bit.ly/2y9N9Vx
::: mobile/android/modules/geckoview/GeckoViewUtils.jsm:231
(Diff revision 1)
> + let mm = this.getContentFrameMessageManager(aWin.top || aWin);
> + return mm && EventDispatcher.forMessageManager(mm);
> + }
> let win = this.getChromeWindow(aWin.top || aWin);
> - let dispatcher = win.WindowEventDispatcher || EventDispatcher.for(win);
> - if (!win.closed && dispatcher) {
> + if (!win.closed) {
> + return win.WindowEventDispatcher || EventDispatcher.for(win)
Error: Missing semicolon. [eslint: semi]
Comment 5•7 years ago
|
||
mozreview-review |
Comment on attachment 8964403 [details]
Bug 1450344 - 1. Use frame script to handle input prompts;
https://reviewboard.mozilla.org/r/233126/#review239234
Attachment #8964403 -
Flags: review?(esawin) → review+
Comment 6•7 years ago
|
||
mozreview-review |
Comment on attachment 8964404 [details]
Bug 1450344 - 2. Make getDispatcherForWindow work in child process;
https://reviewboard.mozilla.org/r/233128/#review239238
::: mobile/android/modules/geckoview/GeckoViewUtils.jsm:229
(Diff revision 1)
> try {
> + if (!this.IS_PARENT_PROCESS) {
> + let mm = this.getContentFrameMessageManager(aWin.top || aWin);
> + return mm && EventDispatcher.forMessageManager(mm);
> + }
> let win = this.getChromeWindow(aWin.top || aWin);
const
::: mobile/android/modules/geckoview/GeckoViewUtils.jsm
(Diff revision 1)
> - let dispatcher = win.WindowEventDispatcher || EventDispatcher.for(win);
> - if (!win.closed && dispatcher) {
> + if (!win.closed) {
> + return win.WindowEventDispatcher || EventDispatcher.for(win)
> - return dispatcher;
> }
> } catch (e) {
> - return null;
Don't we want to log here?
Attachment #8964404 -
Flags: review?(esawin) → review+
Comment 7•7 years ago
|
||
mozreview-review |
Comment on attachment 8964405 [details]
Bug 1450344 - 3. Use EventDispatcher directly for child process prompts;
https://reviewboard.mozilla.org/r/233130/#review239240
Attachment #8964405 -
Flags: review?(esawin) → review+
Assignee | ||
Comment 8•7 years ago
|
||
mozreview-review-reply |
Comment on attachment 8964404 [details]
Bug 1450344 - 2. Make getDispatcherForWindow work in child process;
https://reviewboard.mozilla.org/r/233128/#review239238
> Don't we want to log here?
That's up to the caller. It may expect a null result.
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment 12•7 years ago
|
||
Pushed by nchen@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/5cfb9e997161
1. Use frame script to handle input prompts; r=esawin
https://hg.mozilla.org/integration/autoland/rev/f69c0c61aa09
2. Make getDispatcherForWindow work in child process; r=esawin
https://hg.mozilla.org/integration/autoland/rev/66f0126bec69
3. Use EventDispatcher directly for child process prompts; r=esawin
Comment 13•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/5cfb9e997161
https://hg.mozilla.org/mozilla-central/rev/f69c0c61aa09
https://hg.mozilla.org/mozilla-central/rev/66f0126bec69
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
status-firefox61:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 61
Updated•7 years ago
|
Product: Firefox for Android → GeckoView
Updated•7 years ago
|
Target Milestone: Firefox 61 → mozilla61
Comment 14•3 years ago
|
||
Moving some e10s bugs to the new GeckoView::Sandboxing component.
Component: General → Sandboxing
Updated•1 year ago
|
Product: GeckoView → GeckoView Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•