Commit Graph

252982 Commits

Author SHA1 Message Date
Brian Birtles
742d8652b0 Bug 650732 - Test for HandleChangedInterval changes; r=dholbert 2011-08-24 08:33:43 +09:00
Benjamin Stover
6eb3d9db4c Bug 680126 Use ColorLayers for presshell painting and correct painting area r=roc 2011-08-23 15:59:43 -07:00
Daniel Holbert
61b7a3150e Bug 680777: Sync "do not track" pref between mobile devices. r=mfinkle 2011-08-23 15:18:29 -07:00
Daniel Holbert
b28f1c56e9 Bug 570341 followup: Fix nsDocShell init list ordering to address GCC warning. r=gavin r=biesi 2011-08-23 15:17:30 -07:00
Benoit Girard
a6b3246fd0 Backout changeset 07d34812bdee, b879d413ce2d, 0c59eeb18700 due to android opengl regression on chrome pages; r=backout 2011-08-23 17:12:15 -04:00
Javi Rueda
19a852d5de Bug 355846 - Add a pref to disable sliding effect for alerts. r=enndeakin 2011-08-22 18:43:37 +02:00
Lucas Rocha
d1ff01f60c Bug 681356 - Don't show throbber after network error on sync (r=mfinkle)
Notify remotetabs-list that a network error ocurred so that the 'loading' ui
(i.e. the throbber) is hidden accordingly. Otherwise the user will get the
impression that something is still happening after the error is shown.
2011-08-23 17:03:03 -04:00
Boris Zbarsky
4ca385f433 Bug 680786. nsImageFrame::OnStartContainer should not assume that its intrinsic size has changed. r=roc 2011-08-23 17:03:02 -04:00
Boris Zbarsky
7631a02e88 Bug 666516. Stop casting things gotten by contract to concrete classes. r=kaie 2011-08-23 17:03:02 -04:00
Josh Matthews
677290f8fb Bug 681061 - Avoid compartment mismatch error when displaying a growl notification. r=mrbkap 2011-08-22 17:20:52 -04:00
Ali Juma
500348dd4e Bug 677920 - Part 2: Fix handling of Android surface lifecycle events when using GL layers. r=blassey
--HG--
extra : rebase_source : 40ad2f8039f672afa77bd887f42a6b930f9e61c0
2011-08-23 16:52:03 -04:00
Ali Juma
6e8f6daa48 Bug 677920 - Part 1: Add a ReleaseSurface method to GLContextEGL. r=matt.woodrow
--HG--
extra : rebase_source : 1fd3d47e3046ccfb5479e03d30811fc35a18665b
2011-08-23 16:48:27 -04:00
Jason Orendorff
d65806327e Back out 305a3a0e26fd (bug 680428). 2011-08-23 15:36:48 -05:00
Jason Orendorff
b125904ede Back out 62f8ca0717d6 (bug 658491). 2011-08-23 15:35:50 -05:00
Jason Orendorff
5642d69b3e Back out d44b0dd28b0d (bug 673125 part 1). 2011-08-23 15:35:15 -05:00
Jason Orendorff
fd9350b4f7 Back out 7196b000f9df (bug 673125 part 2). 2011-08-23 15:34:59 -05:00
Jason Orendorff
b330fd09c3 Back out 331146c93ebe (bug 673125 part 3). 2011-08-23 15:34:31 -05:00
Jason Orendorff
14661b51b8 Back out 4a86c9387193 (bug 673125 part 4) due to red and orange. 2011-08-23 15:32:23 -05:00
Rafael Ávila de Espíndola
a83fa13385 Bug 674647 - Pass --target both in mozconfig.leopard and mozconfig.common. r=ted.mielczarek. 2011-08-23 16:06:17 -04:00
Jim Blandy
e1033328ff Bug 673125: Implement the Debugger.Frame.prototype.onStep accessor. r=jorendorff.
--HG--
extra : rebase_source : 54859ba90ebb5da227f6b4460acc6df1bba78107
2011-08-23 14:45:36 -05:00
Jim Blandy
4386f427ee Bug 673125: Provide stack-allocated vectors of JSObject pointers. r=luke.
--HG--
extra : rebase_source : 95f862207b19c1923871135e21b8f0839270f24a
2011-08-23 14:45:21 -05:00
Jim Blandy
f695eb8158 Bug 673125: Have each JSScript maintain both a count and a flag indicating whether it should be in single-step mode. r=jorendorff.
The rationale is explained in the comments in jsscript.h.

--HG--
extra : rebase_source : 0d537b172ce70c049269b1f09380f0eeabec9c92
2011-08-23 14:44:22 -05:00
Jim Blandy
3ae77c8181 Bug 673125: Maintain a list of active js::Interrupt frames, their FrameRegs, and their interruptors. r=jorendorff.
The comment atop InterpreterFrames explains why this is needed, although it
is only used by later patches in the series.

--HG--
extra : rebase_source : 8cef90aea28f4fd71091a7bb6effcfcc7c8b5aa0
2011-08-23 14:44:03 -05:00
Brian Hackett
3bf81dfa04 Restore frame pointer at exception block entry before invoking any trap, bug 658491. r=jorendorff.
--HG--
rename : js/src/jit-test/tests/debug/onEnterFrame-05.js => js/src/jit-test/tests/debug/onEnterFrame-04.js
extra : rebase_source : 6790cf37ea7eec05e768940710a97b37f30a1ebf
2011-08-23 14:43:26 -05:00
Jason Orendorff
94202b9fc9 Bug 680428 - onEnterFrame does not work with tracejit. r=dvander.
--HG--
rename : js/src/jit-test/tests/debug/onEnterFrame-05.js => js/src/jit-test/tests/debug/onEnterFrame-04.js
extra : rebase_source : f3c4ff14ae6a95e7c891ea5aac2cfee8c2e28c68
2011-08-23 14:42:17 -05:00
L. David Baron
866728dd65 Add missing </title> that was causing these tests to be commented out. (Bug 681403) 2011-08-23 15:42:11 -04:00
Fabien Cazenave
e9ca41c695 Bug 677752 - [contentEditable] indent and justify* fail on editable nodes that have only one child; r=ehsan
Issue #1: indent/justify* can create non-valid fragments.
When applying a block-level formatting to a text node, Gecko creates a div or
blockquote block around the text node and sets the corresponding "align" or
"style" attribute. This patch checks that the active editing host can contain
such a block-level element.

Issue #2: indent/justify* can modify the active editing host.
On the first child of the editable element, the selection is extended outside of
the active editing host -- which causes a few issues for our test cases.
In this patch, this issue is "solved" by modifying
`nsHTMLEditRules::GetPromotedPoint' for block-level operations.


** About the tests **

Sorry for the long explanation but I prefer to be as sharp as possible when I
have to modify existing unit tests.

This patch raises 34 unit test "failures" which are improvements.
Two test files are concerned and have been modified accordingly:
  * test_htmleditor_keyevent_handling
  * test_richtext2.html

One test has been clarified (no real modification):
  * test_bug414526.html

Of course, a specific unit test has been added, see `test_bug677752.html'.


** editor/libeditor/html/tests/test_htmleditor_keyevent_handling.html **
Outdenting now works properly, which results in 4 `FAIL'.

  * 7372 ERROR TEST-UNEXPECTED-FAIL
      | non-tabbable HTML editor: Shift+Tab after Tab on UL
      - got "<ul><li id=\"target\">ul list item</li></ul>",
      expected "<ul><ul><li id=\"target\">ul list item</li></ul></ul>"

  * 7379 ERROR TEST-UNEXPECTED-FAIL
      | non-tabbable HTML editor: Shift+Tab on UL
      - got "ul list item",
      expected "<ul><li id=\"target\">ul list item</li></ul>"

  * 7415 ERROR TEST-UNEXPECTED-FAIL
      | non-tabbable HTML editor: Shift+Tab after Tab on OL -
      got "<ol><li id=\"target\">ol list item</li></ol>",
      expected "<ol><ol><li id=\"target\">ol list item</li></ol></ol>"

  * 7422 ERROR TEST-UNEXPECTED-FAIL
      | non-tabbable HTML editor: Shfit+Tab on OL
      - got "ol list item",
      expected "<ol><li id=\"target\">ol list item</li></ol>"


** editor/libeditor/html/tests/browserscope/test_richtext2.html **
The 15 tests that now pass result in 15 `FAIL' and 15 `UNEXPECTED_PASS'.
Here's an overview of what we had before the patch:

  * Section A - Apply Formatting Tests: +10 points
                    before patch: 21/31 (Selection:  9/31)
                     after patch: 28/31 (Selection: 12/31)

      FB:BQ_TEXT-1_SI    EXECUTION EXCEPTION
      FB:BQ_TEXT-1_SI    EXECUTION EXCEPTION
      FB:BQ_BR.BR-1_SM   EXECUTION EXCEPTION
      FB:BQ_BR.BR-1_SM   EXECUTION EXCEPTION
      IND_TEXT-1_SI      EXECUTION EXCEPTION
      IND_TEXT-1_SI      EXECUTION EXCEPTION
      JC_TEXT-1_SC       editing host is modified
      JF_TEXT-1_SC       editing host is modified
      JL_TEXT-1_SC       editing host is modified
      JR_TEXT-1_SC       editing host is modified

  * Section AC - Apply Formatting Tests, using styleWithCSS: +5 points
                    before patch:  7/18 (Selection:  5/18)
                     after patch: 12/18 (Selection:  5/18)

      IND_TEXT-1_SI      editing host is modified
      JC_TEXT-1_SC       editing host is modified
      JF_TEXT-1_SC       editing host is modified
      JL_TEXT-1_SC       editing host is modified
      JR_TEXT-1_SC       editing host is modified


** editor/libeditor/html/tests/test_bug414526.html **
This test has been clarified to get more explicit report messages -- the test
themselves haven't been changed. A `todo_is' test has been added.
This test is the one that shows that `IsNodeInActiveEditor' can't be modified,
and that limiting the range promotion for block-level operations is preferrable.
2011-08-23 15:10:14 -04:00
arno renevier
e6a982f07d bug 678842: remember spell check setting per site; r=ehsan 2011-08-23 15:03:33 -04:00
Stephen Horlander
4af4b1b889 Bug 679771 - replace keyhole-circle-lion.png with non-fuzzy version. r=dao 2011-08-23 14:53:34 -04:00
Oleg Romashin
34f33d2226 Bug 680488 - QFeedBack include is not needed for geolocation provider file; r=dougt 2011-08-23 17:45:10 +01:00
Lucas Rocha
2c88e8ce3e Bug 666236 - Only allow browser to go back/forward when those are valid operations; r=mfinkle
When tapping back/forward buttons in a rapid sequence, the buttons are not
instantly disabled once the operations are not possible anymore (i.e. reached
the beginning/end of session history). In order to avoid producing errors, we
ensure that go back/forward operations are only performed when they are valid
actions.
2011-08-23 17:45:10 +01:00
Lucas Rocha
196d92dd95 Bug 666236 - Don't pass argument to methods that don't use it; r=mfinkle 2011-08-23 17:45:10 +01:00
Alfred Kayser
6e7615bef7 Bug 529733 - Crash in nsCacheMetaData::SetElement; r=michal,jduell 2011-08-23 17:45:10 +01:00
Geoff Brown
91a124ebf8 Bug 679602 - Improve robustness of devicemanagerADB: check for adb, remote cp; r=jmaher 2011-08-23 17:45:10 +01:00
Lucas Rocha
96fcb0acbf Bug 668760 - Show message when there are no desktop tabs to display (r=mbrubeck) 2011-08-23 09:16:33 -07:00
Lucas Rocha
fb74303629 Bug 668760 - Refactor get desktop tabs to receive weave engine as argument (r=mbrubeck)
This is necessary to be able to know whether we're loading sync desktop tabs
from a functional/configured sync process or not.
2011-08-23 09:16:09 -07:00
Lucas Rocha
8d7a147c2f Bug 668760 - Factor out method to get weave engine (r=mbrubeck) 2011-08-23 09:16:03 -07:00
Lucas Rocha
557bef417e Bug 668760 - Add message label element to remotetabs-list (r=mbrubeck)
The label is only visible when the remotetabs-list has a "message" attribute.
This UI should be used to show messages on the tabs list.
2011-08-23 09:15:48 -07:00
Lucas Rocha
aa71fdeb2b Bug 668760 - Optimize historylist's and remotetabslist's CSS [r=mbrubeck]
Remove unnecessary child selectors, remote explicit tag names from classes, and
take advantage of inheritance.
2011-08-23 09:15:18 -07:00
Mounir Lamouri
0f20cbf43c Merging mozilla-central into mozilla-inbound. 2011-08-23 17:51:40 +02:00
Mounir Lamouri
f5c7d07539 Merging mozilla-inbound into mozilla-central. 2011-08-23 17:50:45 +02:00
Jacek Caban
14ae5d32d7 Bug 680872 - PolyIC.cpp fails to compile on mingw-w64 r=jorendorff 2011-08-23 17:36:04 +02:00
Jacek Caban
468f586acc Bug 670093 - gfx/2d fails to compile on mingw r=bas.schouten 2011-08-23 17:35:13 +02:00
Neil Deakin
91b9862151 Bug 666256, another fix needed 2011-08-23 10:31:09 -04:00
Mike Hommey
a7edef7876 Bug 680642 - Don't enable YARR JIT on MIPS, as the implementation is missing. r=dmandelin 2011-08-23 16:13:55 +02:00
Mike Hommey
d15e86aa9a Bug 670719 - Only add -DENABLE_JIT=1 to CXXFLAGS if any of trace/method/yarr jit is enabled. r=dmandelin 2011-08-23 16:13:21 +02:00
Mike Hommey
49b43ec341 Bug 681203 - Bind all symbols when dynamic symbol lookup is not supported. r=mwu 2011-08-23 16:12:44 +02:00
Neil Deakin
44ef508987 Bug 666256, qt fix 2011-08-23 09:30:39 -04:00
Olli Pettay
b3a4be3d45 Bug 680687, Follow COM rules - keep strong ref to object, r=jst 2011-08-23 15:57:29 +03:00
Marco Bonardo
8ad28d0ee6 Bug 680550 - Handle removeAllPages more sanely in tests.
r=dietrich
2011-08-23 14:34:15 +02:00