зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1150284. Disable offsetX/offsetY properties in FxOS/Fennec. r=smaug
--HG-- extra : commitid : 2uMnlr9UPTZ extra : rebase_source : 1a8975b12472082f4b67fc03904054faa9393645 extra : amend_source : 26b0ba8272ec29c28d1165280223a7f0037ba084
This commit is contained in:
Родитель
cc27f74877
Коммит
1a734ee31b
|
@ -222,6 +222,10 @@ pref("dom.max_script_run_time", 0);
|
|||
pref("dom.max_chrome_script_run_time", 0);
|
||||
pref("dom.max_child_script_run_time", 0);
|
||||
|
||||
// Temporarily disable support for offsetX/Y to work around Google Maps bug
|
||||
// (bug 1150284)
|
||||
pref("dom.mouseEvent.offsetXY.enabled", false);
|
||||
|
||||
// plugins
|
||||
pref("plugin.disable", true);
|
||||
pref("dom.ipc.plugins.enabled", true);
|
||||
|
|
|
@ -189,6 +189,7 @@ skip-if = buildapp == 'b2g' || e10s
|
|||
support-files =
|
||||
bug1096146_embedded.html
|
||||
[test_offsetxy.html]
|
||||
skip-if = toolkit == 'android' || buildapp == 'b2g'
|
||||
[test_eventhandler_scoping.html]
|
||||
[test_bug1013412.html]
|
||||
skip-if = buildapp == 'b2g' # no wheel events on b2g
|
||||
|
|
|
@ -16,7 +16,9 @@ interface MouseEvent : UIEvent {
|
|||
readonly attribute long screenY;
|
||||
readonly attribute long clientX;
|
||||
readonly attribute long clientY;
|
||||
[Pref="dom.mouseEvent.offsetXY.enabled"]
|
||||
readonly attribute long offsetX;
|
||||
[Pref="dom.mouseEvent.offsetXY.enabled"]
|
||||
readonly attribute long offsetY;
|
||||
readonly attribute boolean ctrlKey;
|
||||
readonly attribute boolean shiftKey;
|
||||
|
|
|
@ -548,6 +548,10 @@ pref("layers.low-precision-opacity", "1.0");
|
|||
// work harder keep scrolling smooth and memory low.
|
||||
pref("layers.max-active", 20);
|
||||
|
||||
// Temporarily disable support for offsetX/Y to work around Google Maps bug
|
||||
// (bug 1150284)
|
||||
pref("dom.mouseEvent.offsetXY.enabled", false);
|
||||
|
||||
pref("notification.feature.enabled", true);
|
||||
pref("dom.webnotifications.enabled", true);
|
||||
|
||||
|
|
|
@ -2328,6 +2328,9 @@ pref("layout.css.font-loading-api.enabled", false);
|
|||
pref("layout.css.font-loading-api.enabled", true);
|
||||
#endif
|
||||
|
||||
// Are the MouseEvent.offsetX/Y properties enabled?
|
||||
pref("dom.mouseEvent.offsetXY.enabled", true);
|
||||
|
||||
// pref for which side vertical scrollbars should be on
|
||||
// 0 = end-side in UI direction
|
||||
// 1 = end-side in document/content direction
|
||||
|
|
Загрузка…
Ссылка в новой задаче