Commit Graph

72704 Commits

Author SHA1 Message Date
Ehsan Akhgari
4a9dec68d7 Bug 414526 - Backspace at the beginning of a contenteditable element or delete at the end of one should not affect the rest of the contenteditable elements on the page; r=roc
The main fix here involves the introduction of the nsHTMLEditor::IsNodeInActiveEditor
API.  This API returns true if the current selection in the document falls
inside the active editable section.  The patch adds a bunch of checks using
this API to various places in the code to make sure that editing operations do
not escape their editing host.

There are also some unrelated fixes to range promotion code which fix the
bugs that have existed in that code before, but because of the lack of this
check were not uncovered before.

This patch also removes the nsTextEditUtils::InBody API which only made sense
in designMode documents, and was insufficient for contenteditable elements.
2011-07-14 11:25:07 -04:00
Ehsan Akhgari
0787743cf4 Merge the last green changeset on mozilla-inbound to mozilla-central 2011-07-15 08:13:08 -04:00
Ms2ger
44c9e4b5ef Bug 670746 - Modernize nsDocShellTreeOwner::Get{WebBrowserChrome,OwnerWin,OwnerRequestor}; r=bz 2011-07-15 12:32:40 +02:00
Ms2ger
50bcc856b0 Bug 670331 - Remove nsIDOMStorageWindow; r=sicking 2011-07-15 12:32:37 +02:00
Ms2ger
36c532ffa2 Bug 670235 - Remove nsIDOMWindowInternal; r=sicking 2011-07-15 12:31:34 +02:00
Ms2ger
7a41ef9f3e Bug 670499 - Make nsEditor::CreateEventListeners return void; r=ehsan 2011-07-15 12:18:35 +02:00
Ms2ger
1ffb61c054 Bug 670500 - Make nsCellMap::Init return void; r=roc 2011-07-15 12:18:33 +02:00
Ms2ger
c621c0dcb3 Bug 666666 - Reflect HTMLMediaElement.preload like an enumerated attribute; r=bz 2011-07-15 12:18:27 +02:00
Mike Hommey
bae24b5649 Bug 671533 - Fix test_DownloadUtils.js with locales with a different decimal separator. r=edilee 2011-07-15 10:15:28 +02:00
Mike Hommey
88c36bd15b Bug 671500 - Remove remaining bits of /etc/gre.d. r=khuey 2011-07-15 10:15:28 +02:00
Mike Hommey
b8a5bdd1fc Bug 670329 - Avoid bumping ARM target because of NEON code in gfx. r=jmuizelaar 2011-07-15 10:15:28 +02:00
Mike Hommey
c8d8da9ffd Bug 671188 - Don't fail on R_*_NONE relocations with an empty r_offset. r=tglek 2011-07-15 10:15:28 +02:00
Cameron McCormack
1d4c284e8c Bug 670817 - Check that uncaught exceptions cause test failures. (v2) r=jmaher 2011-07-15 14:43:09 +12:00
Nicholas Nethercote
ed80f3df3e Bug 669434 - Fix obscure bugs in CompileFileHelper. r=brendan.
H:Bug 669434 - Fix obscure bugs in CompileFileHelper.  r=brendan.
ubranch 'default'
2011-07-14 19:40:23 -07:00
Brian Birtles
5c758ce335 Bug 669234 - Use AutoRestore to manage depth recursion tracking in nsSMILTimedElement, r=dholbert 2011-07-15 11:17:15 +09:00
Malini Das
d494a702ae Bug 603517 - Enable mochitest to optionally run in loops without restarting the browser r=ctalbert 2011-07-14 14:39:17 -07:00
Kyle Huey
34ff9786ed Bug 671053: Explicitly drop nsHttpConnection's ref to the callbacks at transaction close rather than waiting for connection reuse/expiration. r=mcmanus 2011-07-14 11:09:48 -07:00
Ehsan Akhgari
af41e67f2a Merge the last green changeset on mozilla-inbound to mozilla-central 2011-07-14 12:20:34 -04:00
Philipp von Weitershausen
ee6631cc74 Merge services-central and mozilla-central 2011-07-14 08:46:32 -07:00
Myk Melez
0393f442f9 update revision of Add-on SDK tests to latest tip; test-only 2011-07-14 16:42:46 +02:00
Alexander Surkov
15a1c4c9e5 Bug 670870 - HTML table and caption should be linked by label relations, r=marcoz 2011-07-14 17:08:36 +09:00
Alexander Surkov
011f3df5e6 Bug 649236 - AccessibleObjectFromEvent not working in-process in 64 bit builds, r=roc 2011-07-14 17:08:25 +09:00
Ginn Chen
55cfa898db Bug 669130 [atk]Use emission hook for show/hide signal to add/remove GTK+ native a11y dialog to children of Mozilla application accessible. r=trev.saunders,roc 2011-07-14 09:58:32 +08:00
Ginn Chen
7892287088 Bug 665406 Support XF86Copy, XF86Paste, XF86Cut, XF86Undo, XF86Redo keysym r=masayuki, Olli.Pettay 2011-07-14 09:58:07 +08:00
Ginn Chen
f404ffc5ff Bug 669253 [ATK]Do not send create/destroy for GTK+ native a11y window. r=fherrera 2011-07-14 09:57:09 +08:00
David Mandelin
0f81026221 Bug 605290: check for null globalObject before innerizing, r=luke 2011-07-13 16:47:10 -07:00
Brad Lassey
df89bedfff bug 671346 - build fails with android NDKr6 r=khuey 2011-07-14 20:45:42 -04:00
Nicholas Nethercote
df63e69bd3 Bug 671482 - Use the trusted principal to identify the system principal. r=luke. 2011-07-15 09:52:51 +10:00
Nicholas Nethercote
bc2ec1e581 Bug 671482 - Rename some identifiers to improve clarity. r=anygregor. 2011-07-15 09:31:52 +10:00
Bill McCloskey
6ccefeb374 Bug 661903 - Fix stupid build issue 2011-07-14 16:07:53 -07:00
Bill McCloskey
fd629a392b Bug 661903 - Move script filename table to compartment (r=igor) 2011-07-14 16:02:12 -07:00
Blake Kaplan
32014abfe0 Merge backout. 2011-07-14 15:22:10 -07:00
Blake Kaplan
1748f5de80 Backed out changeset 1e6392dd7c14 due to build bustage. 2011-07-14 15:21:42 -07:00
Masayuki Nakano
fa9c47371c Bug 658155 High resolution scrolling should be enabled even when scrolling speed is customized by prefs r=smaug+jimm 2011-07-15 07:12:20 +09:00
Blake Kaplan
e50f54b72d Fix bug 653926. r=jst 2011-07-14 14:35:41 -07:00
Philipp von Weitershausen
34740df548 Merge m-c to s-c 2011-07-13 15:56:12 -07:00
Philipp von Weitershausen
48c8c9a25f Bug 671422 - First sync should prompt for Master Password. r=rnewman 2011-07-13 15:45:54 -07:00
Ian Neal
8140dd7095 Bug 671421 - Fix undefined Cu issue following landing of bug 658738 r=gavin.sharp 2011-07-13 23:34:01 +01:00
Philipp von Weitershausen
d74f1c4aa3 Bug 671066 - Unknown error on conclusion of easy setup of second client. r=rnewman
Part 2: Make sure we don't run into the kNotLoggedIn reason first and then ignore it. It's a useless sentinel anyway, so remove it altogether.
2011-07-13 15:20:07 -07:00
Tim Taubert
6bfb9177bc merge the last green changeset on fx-team to mozilla-central 2011-07-13 15:01:58 -07:00
Ehsan Akhgari
2a479d7ea4 Merge the last green changeset on mozilla-inbound to mozilla-central 2011-07-13 17:23:45 -04:00
Randell Jesup
ee25f8248d Bug 669767: Add scriptblocker to EditorInitializer::Run() so our frame doesn't get killed before we finish. r=ehsan 2011-07-13 16:57:41 -04:00
Myk Melez
0d31bc493f update revision of Add-on SDK tests to latest tip; test-only 2011-07-13 22:28:56 +02:00
Zbigniew Braniecki
e9bc7d4536 Bug 668842 - Add locale to telemetry metadata; r=rstrong,tglek 2011-07-13 19:00:04 +02:00
Philipp von Weitershausen
cb62f61b1d Bug 671066 - Unknown error on conclusion of easy setup of second client. r=rnewman 2011-07-12 16:36:43 -07:00
Richard Newman
16918a2d25 Merge mozilla-central to services-central. 2011-07-10 21:32:51 -07:00
Gavin Sharp
a1bfbc3b0d merge fx-team to mozilla central 2011-07-10 13:40:25 -07:00
Paul Biggar
7bd39b6510 Backout 1ad1fd67e97a, disabling jemalloc on mac (bug 414946), due to memory spike on 10.5 (bug 670492), crashes on 10.7 (bug 670175), and packaging error in Thunderbird (bug 670468). 2011-07-09 21:39:44 -07:00
Kyle Huey
55c911c020 Merge m-i to m-c. 2011-07-09 20:19:36 -07:00
Dão Gottwald
ccfd4d96de merge backout 2011-07-09 16:49:03 +02:00