Commit Graph

7 Commits

Author SHA1 Message Date
janekptacijarabaci ba4b91f0f3 JS - DOM - Don't allow onbeforeunload dialog unless I have interacted with the page 2018-07-25 08:05:16 +08:00
janekptacijarabaci 0e268b29f2 DOM - implement selection events (rename mApplyUserSelectStyle) 2018-07-25 07:51:24 +08:00
Pale Moon d12741b04a Ensure ContentViewer listeners are handled only when needed. 2018-07-25 07:43:39 +08:00
Pale Moon 9e82c145d6 Do not run ScriptRunner in the intermediate state before destroying PreShell, PresContext, etc at nsDocumentViewer::Hide() is done.
Do not run ScriptRunners queued by DestroyPresShell() in the intermediate state
before we're done destroying PresShell, PresContext, ViewManager, etc.
2018-07-25 07:42:43 +08:00
Pale Moon f3c9065a6b Follow-up for #452: rename pre-text string ID.
This allows language packs to remain fully backwards compatible.
2018-07-25 07:23:13 +08:00
Pale Moon 8d9a000034 Allow sites to provide custom dialog text to page-unload dialogs.
This is limited to 500 characters maximum.
Empty strings or strings considered too small (less than 8 characters) to be conveying a useful message will result in our default message being displayed, instead, like before.
This resolves #452.
2018-07-25 07:23:07 +08:00
Moonchild baf46a6bf1 Merge pull request #1 from mozilla/esr38: Esr38 upstream pull 2018-07-24 23:04:07 +08:00