The crash reporter prompt is the only consumer of DialogUI.importModal and related code. The "modals" concept that DialogUI implements should go away in favor of tab-modal dialogs and tab-agnostic notifications (e.g. flyouts). I don't think that the crash reporter prompt should be a tab modal dialog; I'd prefer to see it become an about: page or perhaps a flyout. Making it a tab-modal prompt was just the easiest thing to do in this set of patches.
This patch replaces metro's 'PromptService' (which implements nsIPromptService and nsIPrompt, among others) with an implementation that simply forwards all calls to toolkit's nsPrompter.js. Before forwarding each call, it writes the "allowTabModal" property on the object obtained from nsPrompter.js, causing the created prompt to be tab-modal.
It also adds functionality to browser.js for creating tab modal prompts. One of the changes made as part of adding this functionality is replacing the <browser> with a <stack> of <browser> objects.
========
https://hg.mozilla.org/integration/gaia-central/rev/c746f50b0825
Author: Rick Waldron <waldron.rick@gmail.com>
Desc: Bug 900539 - [SMS][MMS] Context Menu options for email address in message body. r=gnarf
- Changes "phone-link" to "dial-link" to match ActivityPicker.dial (allows directly mapping action to ActivityPicker function)
- Changes "data-phonenumber" to "data-dial" to match ActivityPicker.dial
- Consolidates duplicated MozActivity calls for email, phone and url links
- Simplifies LinkActionHandler APIs to delegate to ActivityPicker wherever possible
- Removes duplicated try/catch boilerplate by providing an private abstract function for safely invoking MozActivity.
- Adds new locale string for "Send email" in email context menu
- Updates ThreadUI.activateContact to provide a "Send email" option, instead of a "Call" option when handling activations originating from an email address.
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
========
https://hg.mozilla.org/integration/gaia-central/rev/5e7a8bbe525c
Author: Ian Liu <iliu@mozilla.com>
Desc: Merge pull request #11334 from ian-liu/bluetooth/Bug898092_Fail_to_open_Bluetooth_store_files_changed_to_/Download/Bluetooth_from_/Downloads/Bluetooth
Bug 898092 - Fail to open Bluetooth received files - path to store files changed to /Download/Bluetooth from /Downloads/Bluetooth, r=@alivedise
========
https://hg.mozilla.org/integration/gaia-central/rev/94dcf9d72f32
Author: ian-liu <iliu@mozilla.com>
Desc: Bug 898092 - Fail to open Bluetooth received files - path to store files changed to /Download/Bluetooth from /Downloads/Bluetooth
We were escaping "/" to "\/", but about:memory expects us to escape "/" to "\".
Escaping "/" to "\/" is probably quite sensible, since then we can represent strings which have both "\" and "/". But that's a bigger change.