зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1782852 - part 3: Revert the pref value to enable legacy editor commands in late beta and release r=smaug
This is my silly mistake. I set reverted value to the prefs and the expectation of WPTs. We need to enable them in late beta and release and disable them in early beta and nightly. Differential Revision: https://phabricator.services.mozilla.com/D153885
This commit is contained in:
Родитель
778216db0a
Коммит
c15a8dbac2
|
@ -2156,12 +2156,12 @@
|
|||
# Enable/disable Gecko specific edit commands
|
||||
- name: dom.document.edit_command.contentReadOnly.enabled
|
||||
type: bool
|
||||
value: @IS_EARLY_BETA_OR_EARLIER@
|
||||
value: @IS_NOT_EARLY_BETA_OR_EARLIER@
|
||||
mirror: always
|
||||
|
||||
- name: dom.document.edit_command.insertBrOnReturn.enabled
|
||||
type: bool
|
||||
value: @IS_EARLY_BETA_OR_EARLIER@
|
||||
value: @IS_NOT_EARLY_BETA_OR_EARLIER@
|
||||
mirror: always
|
||||
|
||||
# If set this to true, `Document.execCommand` may be performed nestedly.
|
||||
|
|
|
@ -223,64 +223,64 @@
|
|||
|
||||
[In <input>, execCommand("contentReadOnly", false, true), a[b\]c): The command should not be supported]
|
||||
expected:
|
||||
if early_beta_or_earlier: FAIL
|
||||
if not early_beta_or_earlier: FAIL
|
||||
|
||||
[In <input>, execCommand("contentReadOnly", false, true), a[b\]c): The command should not be enabled]
|
||||
expected:
|
||||
if early_beta_or_earlier: FAIL
|
||||
if not early_beta_or_earlier: FAIL
|
||||
|
||||
[In <input>, execCommand("contentReadOnly", false, false), a[b\]c): The command should not be supported]
|
||||
expected:
|
||||
if early_beta_or_earlier: FAIL
|
||||
if not early_beta_or_earlier: FAIL
|
||||
|
||||
[In <input>, execCommand("contentReadOnly", false, false), a[b\]c): The command should not be enabled]
|
||||
expected:
|
||||
if early_beta_or_earlier: FAIL
|
||||
if not early_beta_or_earlier: FAIL
|
||||
|
||||
[In <textarea>, execCommand("contentReadOnly", false, true), a[b\]c): The command should not be supported]
|
||||
expected:
|
||||
if early_beta_or_earlier: FAIL
|
||||
if not early_beta_or_earlier: FAIL
|
||||
|
||||
[In <textarea>, execCommand("contentReadOnly", false, true), a[b\]c): The command should not be enabled]
|
||||
expected:
|
||||
if early_beta_or_earlier: FAIL
|
||||
if not early_beta_or_earlier: FAIL
|
||||
|
||||
[In <textarea>, execCommand("contentReadOnly", false, false), a[b\]c): The command should not be supported]
|
||||
expected:
|
||||
if early_beta_or_earlier: FAIL
|
||||
if not early_beta_or_earlier: FAIL
|
||||
|
||||
[In <textarea>, execCommand("contentReadOnly", false, false), a[b\]c): The command should not be enabled]
|
||||
expected:
|
||||
if early_beta_or_earlier: FAIL
|
||||
if not early_beta_or_earlier: FAIL
|
||||
|
||||
[In <input> in contenteditable, execCommand("contentReadOnly", false, true), a[b\]c): The command should not be supported]
|
||||
expected:
|
||||
if early_beta_or_earlier: FAIL
|
||||
if not early_beta_or_earlier: FAIL
|
||||
|
||||
[In <input> in contenteditable, execCommand("contentReadOnly", false, true), a[b\]c): The command should not be enabled]
|
||||
expected:
|
||||
if early_beta_or_earlier: FAIL
|
||||
if not early_beta_or_earlier: FAIL
|
||||
|
||||
[In <input> in contenteditable, execCommand("contentReadOnly", false, false), a[b\]c): The command should not be supported]
|
||||
expected:
|
||||
if early_beta_or_earlier: FAIL
|
||||
if not early_beta_or_earlier: FAIL
|
||||
|
||||
[In <input> in contenteditable, execCommand("contentReadOnly", false, false), a[b\]c): The command should not be enabled]
|
||||
expected:
|
||||
if early_beta_or_earlier: FAIL
|
||||
if not early_beta_or_earlier: FAIL
|
||||
|
||||
[In <textarea> in contenteditable, execCommand("contentReadOnly", false, true), a[b\]c): The command should not be supported]
|
||||
expected:
|
||||
if early_beta_or_earlier: FAIL
|
||||
if not early_beta_or_earlier: FAIL
|
||||
|
||||
[In <textarea> in contenteditable, execCommand("contentReadOnly", false, true), a[b\]c): The command should not be enabled]
|
||||
expected:
|
||||
if early_beta_or_earlier: FAIL
|
||||
if not early_beta_or_earlier: FAIL
|
||||
|
||||
[In <textarea> in contenteditable, execCommand("contentReadOnly", false, false), a[b\]c): The command should not be supported]
|
||||
expected:
|
||||
if early_beta_or_earlier: FAIL
|
||||
if not early_beta_or_earlier: FAIL
|
||||
|
||||
[In <textarea> in contenteditable, execCommand("contentReadOnly", false, false), a[b\]c): The command should not be enabled]
|
||||
expected:
|
||||
if early_beta_or_earlier: FAIL
|
||||
if not early_beta_or_earlier: FAIL
|
||||
|
|
|
@ -1,25 +1,25 @@
|
|||
[legacy-edit-command.html?command=contentReadOnly¶m=false]
|
||||
[execCommand("contentReadOnly", false, "false")]
|
||||
expected:
|
||||
if early_beta_or_earlier: FAIL
|
||||
if not early_beta_or_earlier: FAIL
|
||||
|
||||
[queryCommandEnabled("contentReadOnly")]
|
||||
expected:
|
||||
if early_beta_or_earlier: FAIL
|
||||
if not early_beta_or_earlier: FAIL
|
||||
|
||||
[queryCommandSupported("contentReadOnly")]
|
||||
expected:
|
||||
if early_beta_or_earlier: FAIL
|
||||
if not early_beta_or_earlier: FAIL
|
||||
|
||||
[legacy-edit-command.html?command=contentReadOnly¶m=true]
|
||||
[execCommand("contentReadOnly", false, "true")]
|
||||
expected:
|
||||
if early_beta_or_earlier: FAIL
|
||||
if not early_beta_or_earlier: FAIL
|
||||
|
||||
[queryCommandEnabled("contentReadOnly")]
|
||||
expected:
|
||||
if early_beta_or_earlier: FAIL
|
||||
if not early_beta_or_earlier: FAIL
|
||||
|
||||
[queryCommandSupported("contentReadOnly")]
|
||||
expected:
|
||||
if early_beta_or_earlier: FAIL
|
||||
if not early_beta_or_earlier: FAIL
|
||||
|
|
Загрузка…
Ссылка в новой задаче