Read-only Git mirror of the Mercurial gecko repositories at https://hg.mozilla.org. How to contribute: https://firefox-source-docs.mozilla.org/contributing/contribution_quickref.html
Go to file
Masayuki Nakano ad65eafe7c Bug 1547869 - Make IsCommandEnabled() of HTML editor command classes return false if given editor is TextEditor r=smaug
Currently, this bug does not occur actually because nobody has not accessed
these command classes directly and they are registered only in command table
for HTML editor.  However, once rewriting `nsHTMLDocument::ExecCommand()` with
these classes, its `IsCommandEnabled()` should return false if given editor
is `TextEditor`.  The reason why we need this fix is, when we make
`ExecCommand()` call `IsCommandEnabled()` and it returns `true`, `ExecCommand()`
needs to call `DoCommand()`.  Then, it throws exception if given editor is not
an `HTMLEditor` but the command class is only for `HTMLEditor`.

This patch adds new WPT for testing whether `document.execCommand()` works
with `<input>` and `<textarea>`.  The behavior has not been standardized, but
Chromium handles some commands even in it.  So, I write the expectations from
the point of view of web developers.  (Chrome fails in "cut", "copy" and
"removeformat" cases.)

Differential Revision: https://phabricator.services.mozilla.com/D29473

--HG--
extra : moz-landing-system : lando
2019-05-03 02:15:18 +00:00
.cargo Backed out 2 changesets (bug 1546439) for build bustages CLOSED TREE 2019-04-24 12:40:01 +03:00
.vscode Bug 1543529 - Stop recommending VSCode plugin "Babel ES6/ES7" r=jya 2019-04-11 03:31:54 +00:00
accessible Bug 1548031 - Enable the QuantumBar on Nightly and early Beta. r=adw 2019-05-01 17:46:23 +00:00
browser Backed out 4 changesets (bug 1320404) for test_permmanager_load_invalid_entries.js failures 2019-05-03 06:12:25 +03:00
build Bug 1543026 - enable sccache on gcp r=wcosta 2019-05-02 12:56:20 +00:00
caps Backed out 4 changesets (bug 1320404) for test_permmanager_load_invalid_entries.js failures 2019-05-03 06:12:25 +03:00
chrome Bug 1547143 - Format the tree: Be prescriptive with the pointer style (left) r=Ehsan 2019-05-01 08:47:10 +00:00
config Bug 1457669 - Support Android system headers for standalone SpiderMonkey builds. r=froydnj 2019-05-02 17:07:52 +00:00
db Bug 1544443 - Upgrade to SQLite 3.28.0. r=mak 2019-04-30 16:51:39 +00:00
devtools Bug 1546081 - ensure that a11y audit filters do not shrink or wrap when resized. r=mtigley 2019-05-02 16:51:43 +00:00
docshell Backed out 4 changesets (bug 1320404) for test_permmanager_load_invalid_entries.js failures 2019-05-03 06:12:25 +03:00
dom Backed out 4 changesets (bug 1320404) for test_permmanager_load_invalid_entries.js failures 2019-05-03 06:12:25 +03:00
editor Bug 1547869 - Make IsCommandEnabled() of HTML editor command classes return false if given editor is TextEditor r=smaug 2019-05-03 02:15:18 +00:00
extensions Backed out 4 changesets (bug 1320404) for test_permmanager_load_invalid_entries.js failures 2019-05-03 06:12:25 +03:00
gfx Bug 1547159 - Composite just the visible rects of ColorLayerComposite on mobile. r=jnicol 2019-05-02 22:02:30 +00:00
gradle/wrapper
hal Bug 1533889 - Investigate OpenProcess failures r=mconley 2019-05-02 20:58:58 +00:00
image Bug 1532318 - Part 2 : update changes of nsIHttpChannel in codebase r=smaug 2019-05-02 12:33:55 +00:00
intl Merge mozilla-inbound to mozilla-central. a=merge 2019-05-01 18:56:07 +03:00
ipc Backed out 4 changesets (bug 1320404) for test_permmanager_load_invalid_entries.js failures 2019-05-03 06:12:25 +03:00
js Backed out 6 changesets (bug 1392408) for build bustages at nsContentPolicy.cpp and nsFrameLoaderOwner.cpp. CLOSED TREE 2019-05-02 19:57:25 +03:00
layout Bug 1548126 - Mark known existing reftests failures with column-span enabled. r=dholbert 2019-05-02 21:41:33 +00:00
media Backed out 3 changesets (bug 1525640) for frequent wpt failures CLOSED TREE 2019-05-03 00:16:20 +03:00
memory Bug 1537781 - Test for trailing guard pages for normal allocations. r=glandium 2019-05-02 14:19:19 +00:00
mfbt Bug 1548409 - Use MOZ_DIAGNOSTIC_ASSERT. r=froydnj 2019-05-02 13:24:31 +00:00
mobile Backed out 4 changesets (bug 1320404) for test_permmanager_load_invalid_entries.js failures 2019-05-03 06:12:25 +03:00
modules Bug 1540573 - P4. Use larger MediaCache sizes when on cellular connection. r=jya 2019-05-03 02:44:05 +00:00
mozglue Bug 1547143 - Format the tree: Be prescriptive with the pointer style (left) r=Ehsan 2019-05-01 08:47:10 +00:00
netwerk Backed out 4 changesets (bug 1320404) for test_permmanager_load_invalid_entries.js failures 2019-05-03 06:12:25 +03:00
nsprpub Bug 1526010, NSPR 4.21 RTM, r=me 2019-03-07 11:16:36 +01:00
other-licenses Bug 1523802 - Cancel BITS jobs in uninstaller. r=mhowell 2019-04-30 15:25:48 +00:00
parser Backed out changeset 4c6e2e3f23f9 (bug 1539759) for failures on nsExpatDriver::WillBuildModel . CLOSED TREE 2019-05-02 13:42:29 +03:00
python Bug 1548502 - Export clang-format diff in source-test-clang-format, r=marco 2019-05-02 15:19:13 +00:00
remote Bug 1543098 - Emit executionContextDestroyed and executionContextCreated when the page goes into/out of the BF Cache. r=ato 2019-05-02 10:22:13 +00:00
security Bug 1547877 - enable configuration of new cert storage implementation r=keeler 2019-05-02 23:02:13 +00:00
services Bug 1547877 - enable configuration of new cert storage implementation r=keeler 2019-05-02 23:02:13 +00:00
servo Bug 253889 - part 3: Move all remaining members of nsIPresShell to mozilla::PresShell r=emilio 2019-05-01 02:28:25 +00:00
startupcache Bug 1547143 - Format the tree: Be prescriptive with the pointer style (left) r=Ehsan 2019-05-01 08:47:10 +00:00
storage Bug 1547143 - Format the tree: Be prescriptive with the pointer style (left) r=Ehsan 2019-05-01 08:47:10 +00:00
taskcluster Bug 1548635 - Add opt builds of wrench. r=jrmuizel 2019-05-02 20:50:12 +00:00
testing Bug 1547869 - Make IsCommandEnabled() of HTML editor command classes return false if given editor is TextEditor r=smaug 2019-05-03 02:15:18 +00:00
third_party Bug 1353680, update compare-locales to 7.2.1, r=flod 2019-05-02 10:48:32 +00:00
toolkit Backed out changeset c2f648fbcbf1 (bug 1533861) for test_TelemetryEnvironment.js failures 2019-05-03 06:22:25 +03:00
tools Bug 1546757 - [tryselect] Always cache both the full_task_set and target_task_set when generating tasks, r=tomprince 2019-05-03 02:26:57 +00:00
uriloader Bug 1532318 - Part 2 : update changes of nsIHttpChannel in codebase r=smaug 2019-05-02 12:33:55 +00:00
view Bug 1547621 - Move all inline methods of nsIPresShell into mozilla::PresShell r=smaug 2019-04-30 01:52:53 +00:00
widget Bug 1532318 - Part 2 : update changes of nsIHttpChannel in codebase r=smaug 2019-05-02 12:33:55 +00:00
xpcom Backed out changeset c2f648fbcbf1 (bug 1533861) for test_TelemetryEnvironment.js failures 2019-05-03 06:22:25 +03:00
xpfe/appshell Bug 1547877 - enable configuration of new XULStore implementation r=mossop 2019-05-02 23:01:57 +00:00
.arcconfig
.clang-format Bug 1547143 - Force the pointer style declaration r=Ehsan 2019-05-01 08:46:08 +00:00
.clang-format-ignore Bug 1533481 - Part 9: Update Gecko to Unicode 12. r=jfkthame! 2019-04-04 12:46:18 +03:00
.cron.yml Bug 1538560 - disable cron job to run mochitest valgrind tasks because they permafail r=gbrown 2019-04-01 15:08:44 +00:00
.eslintignore Bug 1547397 - Part 3: Move the permission manager code to extensions/permissions; r=baku 2019-04-30 14:06:53 +00:00
.eslintrc.js Bug 1544286 - xpcom/ manual ESLint no-throw-literal fixes. r=erahm 2019-04-16 15:02:10 +00:00
.flake8 Bug 1541086: Remove the embedding code and update the bug components for widget::headless. r=myk r=bdahl 2019-04-02 09:07:54 -07:00
.gdbinit
.gdbinit_python
.git-blame-ignore-revs No Bug - Ignore Bug 1519636 in blame/annotate. r=sylvestre 2019-04-30 11:41:02 +00:00
.gitignore Bug 1500987 - Elevate the new debugger one directory. r=jlast 2019-04-09 13:16:00 -04:00
.hg-annotate-ignore-revs No bug - Ignore bug 1016240 in blame/annotate. r=MattN 2019-04-04 14:56:20 -04:00
.hg-format-source
.hgignore Bug 1516337 - Part 1: Dedupe sha2 and related dependencies r=froydnj 2019-04-08 23:17:50 +03:00
.hgtags No bug - Tagging mozilla-central 9421b477d67cfc4c9e03350cd554a9e6acc7f435 with FIREFOX_NIGHTLY_67_END a=release DONTBUILD CLOSED TREE 2019-03-18 10:56:58 +00:00
.lldbinit
.mailmap
.taskcluster.yml Bug 1488313: [taskgraph] Don't notify sherrifs on cron decision task failures on try; r=dustin 2019-03-27 19:38:05 +00:00
.trackerignore
.yamllint
.ycm_extra_conf.py Bug 1522135 - Make .ycm_extra_conf.py work with python3. r=jgraham 2019-01-24 13:51:28 +01:00
aclocal.m4
AUTHORS
build.gradle Bug 1544076 - [1.1] Add lifecycle library dependency. r=nalexander,snorp 2019-04-24 17:51:32 +00:00
Cargo.lock Bug 1546035 - Remove local and remote livemarks when syncing. r=mak,tcsc 2019-05-02 08:03:36 +00:00
Cargo.toml Backed out 2 changesets (bug 1546439) for build bustages CLOSED TREE 2019-04-24 12:40:01 +03:00
client.mk
client.py
CLOBBER Bug 1533481 - Part 10: Updating ICU requires a clobber. r=jwalden! 2019-04-04 12:46:32 +03:00
configure.in
configure.py Bug 1528241 - Add a trace mode to python configure that logs internal values. r=chmanchester 2019-02-20 07:46:22 +09:00
GNUmakefile
gradle.properties Bug 1527896 - Increase Gradle heaps to handle large assets. r=nalexander 2019-02-14 18:21:13 +00:00
gradlew
gradlew.bat Bug 1527796 - Part 3. Use gradlew.bat on Windows. r=nalexander 2019-02-26 11:06:12 +09:00
LEGAL
LICENSE
mach
Makefile.in Bug 1537574 - Use mozbuild's backend-out-of-date logic for RecursiveMake; r=firefox-build-system-reviewers,chmanchester 2019-04-10 22:14:27 +00:00
moz.build
moz.configure Bug 1543323 - On Android, only build gtest tests archive on x86_64 builds; r=glandium 2019-04-12 00:17:45 +00:00
mozilla-config.h.in
old-configure.in Bug 1544443 - Upgrade to SQLite 3.28.0. r=mak 2019-04-30 16:51:39 +00:00
package-lock.json Bug 1536589 - Update ESLint and associated modules. r=mossop 2019-04-08 20:06:38 +00:00
package.json Bug 1536589 - Update ESLint and associated modules. r=mossop 2019-04-08 20:06:38 +00:00
README.txt
settings.gradle Bug 1527796 - Part 5. Add python.exe path of mozilla-build to call mach command from gradle. r=nalexander 2019-03-29 18:11:09 +09:00
test.mozbuild

An explanation of the Mozilla Source Code Directory Structure and links to
project pages with documentation can be found at:

    https://developer.mozilla.org/en/Mozilla_Source_Code_Directory_Structure

For information on how to build Mozilla from the source code, see:

    https://developer.mozilla.org/en/docs/Build_Documentation

To have your bug fix / feature added to Mozilla, you should create a patch and
submit it to Bugzilla (https://bugzilla.mozilla.org). Instructions are at:

    https://developer.mozilla.org/en/docs/Creating_a_patch
    https://developer.mozilla.org/en/docs/Getting_your_patch_in_the_tree

If you have a question about developing Mozilla, and can't find the solution
on https://developer.mozilla.org, you can try asking your question in a
mozilla.* Usenet group, or on IRC at irc.mozilla.org. [The Mozilla news groups
are accessible on Google Groups, or news.mozilla.org with a NNTP reader.]

Nightly development builds can be downloaded from:

    https://archive.mozilla.org/pub/firefox/nightly/latest-mozilla-central/
            - or -
    https://www.mozilla.org/firefox/channel/desktop/#nightly

Keep in mind that nightly builds, which are used by Mozilla developers for
testing, may be buggy.