Commit Graph

57 Commits

Author SHA1 Message Date
Jet Villegas
3727936e46 Bug 806068 part 2: Change in-tree usage of -moz-initial to initial. r=dholbert 2012-10-30 16:57:36 +01:00
Aryeh Gregor
c7f2c15225 Bug 793866 - Missing null check in mozInlineSpellChecker::UpdateCurrentDictionary(); r=ehsan 2012-10-10 09:05:16 +02:00
Matt Woodrow
58d3d65ab2 Bug 539356 - Part 10 - Test changes required for DLBI. r=roc
* * *
[mq]: test-fixes
2012-08-29 17:48:13 +12:00
Ed Morley
c863356300 Revert mozilla-inbound to e4dd1fa6d222 for crashes and test failures on a CLOSED TREE 2012-09-27 16:34:46 +01:00
Matt Woodrow
0b20201fde Bug 539356 - Part 10 - Test changes required for DLBI. r=roc
* * *
[mq]: test-fixes
2012-08-29 17:48:13 +12:00
Aryeh Gregor
7b584a3083 Bug 769967 part 5 - Don't special-case -moz-user-select: all elements for deletion; r=ehsan 2012-07-02 16:25:33 +03:00
Aryeh Gregor
355d4ca236 Bug 768748 part 2 - Rewrite nsHTMLEditRules::GetPromotedPoint; r=ehsan 2012-07-01 14:53:45 +03:00
Ehsan Akhgari
df2fb388c2 Backout changeset e04abde1b323 (bug 539356) because of performance and correctness regressions 2012-07-03 20:21:03 -04:00
Aryeh Gregor
a0343acde5 Bug 767169 part 2 - Handle lastCandidate being null in nsContentSubtreeIterator::Init; r=bz 2012-06-28 14:29:56 +03:00
Ehsan Akhgari
cfa33002d7 Bug 769008 - Don't pass a null node to GetBlockNodeParent; r=roc 2012-06-29 18:43:08 -04:00
Matt Woodrow
c96dc0e2ed Bug 539356 - Part 10 - Test changes required for DLBI. r=roc 2012-06-30 15:06:11 +12:00
Aryeh Gregor
7c14d74420 Bug 766387 - Make editing commands disabled in more cases; r=ehsan 2012-06-24 17:39:11 +03:00
Aryeh Gregor
e00ca063fb Back out bac4434b31d2 for test failures 2012-06-24 10:30:34 +03:00
Aryeh Gregor
868bf136db Bug 766795 - Fix asserts when placing cursor in editable detached content; r=roc,ehsan 2012-06-24 09:54:43 +03:00
Aryeh Gregor
7076392170 Bug 766387 - Make editing commands disabled in more cases; r=ehsan 2012-06-24 09:54:43 +03:00
Aryeh Gregor
e8463207f1 Bug 766305 - WSFragment should use PRInt32 for offsets, not PRInt16; r=ehsan 2012-06-24 09:54:42 +03:00
Aryeh Gregor
b3b79e9ccb Bug 761861 - Fix crash in nsHTMLEditor::DeleteSelectionImpl; r=ehsan 2012-06-06 14:19:16 +03:00
Aryeh Gregor
d9b433ad1a Bug 759748 - Crash in nsHTMLEditRules::WillDoAction; r=ehsan 2012-05-31 21:23:07 +03:00
Ehsan Akhgari
d50878a182 Bug 612128 - Prevent the editor from modifying nodes which are not under an editing host; r=roc,bzbarsky
This patch ensures that the NODE_IS_EDITABLE flag is only set on nodes living
under an editing host.  Things like text controls which used to have that flag
previously will not have it any more.  The flag would be set on their anonymous
div node instead.  Note that if text controls actually fall under an editing
host, they will get the NODE_IS_EDITABLE flag.

This patch also makes nsHTMLEditor::IsEditable return sane results (text nodes
are always considered to be editable).
2010-11-16 15:45:49 -05:00
Ehsan Akhgari
f8066a7f28 Test case for bug 639736; r=roc 2012-01-16 16:07:46 -05:00
Ehsan Akhgari
9253a2d3b5 Bug 716456 - Make sure to pass a correct ancestor to GetPreviousContent; r=bzbarsky 2012-01-10 15:35:04 -05:00
Ehsan Akhgari
cc23586321 Bug 414178 - Do not allow to inject a list outside of the active editing host; r=roc 2011-09-13 11:39:40 -04:00
Ehsan Akhgari
70eb2838de Bug 682650 - Use an unsigned 32-bit integer as the container of offsets inside text nodes; r=roc
(I bet that there are text nodes on the web which have more than 65535 characters on the Web!)
2011-09-08 11:35:33 -04:00
Matt Brubeck
830f102cc9 Bug 663959 - Mark crashtests as asserting intermittently [r=ehsan] 2011-06-13 14:24:04 -07:00
Ehsan Akhgari
db7da1c428 Bug 643786 - Fix a crash caused by the HTML editor being destroyed when the document modified handler is in progress [@ nsHTMLEditRules::~nsHTMLEditRules]; r=roc 2011-03-23 15:59:06 -04:00
Ehsan Akhgari
c6ae64d9aa Bug 635757 - Adjust the assertion count as a result of bug 633738; r=roc a=test
DONTBUILD this simple assertion annotation adjustment!
2011-02-21 23:53:40 -05:00
Kyle Huey
da2a416c73 Bug 633709: Convert bogus assert into a warning. r+a=ehsan
--HG--
extra : rebase_source : 5928d5a4309bd98e0cf4cd3041f36ba64d992706
2011-02-19 17:49:23 -05:00
Peter Van der Beken
2552abd64a Fix for bug 633738 (quora.com bloats out of control (part 3)) - mark some known assertions caused by bug 439258. r=bz, a=jst. 2011-02-17 12:19:13 +01:00
Chris Jones
8991442744 Rollup of bug 615386, parts 1-6. Teach the reftest harness about <browser remote>. r=dbaron,roc,ted a=a
--HG--
rename : layout/tools/reftest/reftest.js => layout/tools/reftest/reftest-content.js
2011-02-03 13:54:10 -06:00
Ehsan Akhgari
11b6d633e6 Bug 615015 followup - Adjust the assertion count which now happens in editor/libeditor/html/crashtests/467647-1.html too; a=orange-fix 2010-12-03 11:15:06 -05:00
Ehsan Akhgari
ed92562d68 Bug 615015 - "ASSERTION: bad action nesting!"; r,a=roc
--HG--
extra : rebase_source : 3e972a7f5dad81b5cba1b8ee93c16798fdc809c2
2010-12-01 00:24:09 -05:00
Ehsan Akhgari
ef612c0f0a Bug 615450 - Prevent the reinitialization of the HTML editor while an editor operation is in progress on a document; r,a=roc
This should prevent crashes, update view count and edit action nesting count mismatches, and more!

--HG--
extra : rebase_source : af1397b3c8de19d936ca70690a6f7ed284cc5d00
2010-11-30 23:21:32 -05:00
Ehsan Akhgari
2c680fd98b Bug 612565 - Don't recurse into document modification listeners for editable documents if the modification to the document is made on the bogus BR node; r=roc a=blocking-beta8+
This fixes an unresponsive script dialog error for Etherpad pages (possibly among other websites).
2010-11-16 15:43:46 -05:00
Ehsan Akhgari
ecfaa4d477 Bug 586662 - Part 3: Don't attempt to compare unrelated points when manipulating selections; r=roc a=blocking-betaN+ 2010-09-23 14:44:01 -04:00
Jesse Ruderman
13d5e83e08 Bug 499844 - add crashtest. a=NPOTB 2010-09-24 11:33:54 -07:00
Ehsan Akhgari
307d3f93d1 Bug 591378 - REFTEST TEST-UNEXPECTED-PASS | file:///home/cltbld/talos-slave/mozilla-central_fedora-debug_test-crashtest/build/reftest/tests/editor/libeditor/html/crashtests/448329-3.html | assertion count 8 is less than expected 16 assertions; r=roc a=NPOTB
--HG--
extra : rebase_source : 486646660fa6970a7371a149eec08f5bbaaa569e
2010-08-27 15:03:09 -04:00
Timothy Nikkel
a52c6b7ef2 Bug 588693. Bump assertion count for editor/libeditor/html/crashtests/448329-3.html. r=ehsan 2010-08-27 18:15:08 -05:00
Ehsan Akhgari
8a6a073e4c Bug 582138 - Crash [@ nsHTMLEditor::GetElementOrigin] with mixed HTML and MathML table; r,a=roc 2010-08-25 20:20:32 -04:00
Boris Zbarsky
45df267748 Fix some editor tests to actually change something instead of throwing. 2010-08-13 14:31:48 +12:00
Jesse Ruderman
14ecbf3e68 Add bug numbers for all remaining asserts() annotations in crashtests and reftests 2010-07-01 19:33:56 -07:00
Ehsan Akhgari
10408bd2e2 Bug 574558 - Part 4: test case; r=roc 2010-06-28 14:04:37 -04:00
Jesse Ruderman
fb054fc73e Add some crashtests and reftests
--HG--
extra : rebase_source : a167ccf140387fa50e3668422b5a74bea0527255
2010-06-17 13:21:24 -07:00
Ehsan Akhgari
2981f65ebd Bug 563639 - [Debug] crashtest: intermittent "382778-1.html | timed out waiting for ..." probably caused by "targetDocument.body is null"; r=roc
--HG--
extra : rebase_source : 1c202e9ea2b44a764cd6e0753e8ba79e5c1542a4
2010-05-27 19:51:59 -04:00
Ehsan Akhgari
f58add9d96 Bug 336104 - "ASSERTION: no frame, see bug #188946"; r=roc,dbaron 2010-05-21 16:36:42 -04:00
L. David Baron
7c61f15cf1 Annotate remainder of crashtest mainfests (all but one test) with the tests that are known to assert. (Bug 472557) 2010-05-06 09:28:01 -07:00
Jesse Ruderman
243c9242a9 Add crashtests 2010-01-10 19:50:41 -08:00
Masayuki Nakano
838c68560a Bug 535632 Crash [@ nsEditor::GetIndexOf] r=Olli 2009-12-30 17:17:44 +09:00
Jesse Ruderman
15e3a448a6 Add crashtests 2009-08-27 19:48:20 -07:00
Jesse Ruderman
d874abb747 Add test for bug 431086, using cpearce's crashtest patch 2009-06-12 18:56:23 -07:00
SkyLined
01f1d70804 Crash tests for bug 456727. 2009-02-26 11:55:15 +01:00