Commit Graph
7 Commits
Author SHA1 Message Date
Jim Chen dc092a684f Bug 1393128 - 4. Add window to all Prompt usages; r=snorp
Add a `window` parameter to all Prompt.jsm usages, so the prompt will
appear in the correct window. This includes HelperAppDialog.js, which
was preventing the download chooser dialog from appearing in a custom
tab window.

The patch also moves `getActiveDispatcher` from GeckoViewPermission to
GeckoViewUtils, and makes several improvements to `getChromeWindow` and
`getDispatcherForWindow`. Prompt.jsm now uses the active
WindowDispatcher in the fallback scenario where we don't have a window.

MozReview-Commit-ID: KpAFMCZzQZp
2017-09-18 15:45:34 -04:00
Dan Banner b08cb5b49e Bug 1385815 - Enable brace-style and quotes ESLint rules for mobile/android. r=sebastian
MozReview-Commit-ID: 5IFF4IPpPVY
2017-08-01 16:43:56 +01:00
Kershaw Chang 34a666a2d9 Bug 1288297 - Construct PresentationRequest with multiple URLs, r=smaug 2016-09-05 01:17:00 +02:00
Shih-Chiang Chien 0418d5ce01 Bug 1228526 - Part 2, show devices supported request URL in selection prompt dialog. r=chunmin
MozReview-Commit-ID: FYR2ruFsyGy
2016-08-23 17:57:33 +08:00
Shih-Chiang Chien 9ad8a4b705 Bug 1294637 - add Cr declaration. r=me.
MozReview-Commit-ID: 98uhnS0Dod4
2016-08-12 17:06:30 +08:00
Shih-Chiang Chien f499858e8f Bug 1288600 - reject promise with NotFoundError while no device, and NotAllowedError while canceled by user. r=smaug.
MozReview-Commit-ID: ArQHhdIpQjg
2016-08-09 09:58:14 +08:00
Chun-Min Chang 22f53a8e36 Bug 1232105 - device prompt UI for presentation api; r=margaret
MozReview-Commit-ID: CdSe449XdwF
2016-04-25 11:34:23 +08:00