Commit Graph

93802 Commits

Author SHA1 Message Date
Robert O'Callahan
338537b43a Bug 681192. Part 17: Disable test_transformed_scrolling_repaints_2.html on Mac. r=matspal
--HG--
extra : rebase_source : 6af0be8370c0e07e55954245f6a6305d04eb2a2b
2012-05-10 17:24:21 +12:00
Robert O'Callahan
b9dab8f854 Bug 681192. Part 16: Reduce assertion counts some more. r=matspal
--HG--
extra : rebase_source : 48cdef6c9792d6e35dcdfaecae3e3982c37171fd
2012-05-10 17:24:21 +12:00
Robert O'Callahan
0234a46e30 Bug 681192. Part 15: Fix test now that scrollbox scrollWidth/Heights isn't special. r=matspal
--HG--
extra : rebase_source : d77548c8b7b2c62a66070a4cd8414cdf1f7819e6
2012-05-10 17:24:20 +12:00
Robert O'Callahan
1c26aed219 Bug 681192. Part 14: Fix test to avoid failure due to event coordinate rounding. r=matspal
--HG--
extra : rebase_source : 487873fb423400f15ea7f1dfe424075b0f402574
2012-05-10 17:24:20 +12:00
Robert O'Callahan
ce8b7c2b17 Bug 681192. Part 13: Make nsDOMWindowUtils event coordinate calculations more accurate. r=matspal
--HG--
extra : rebase_source : fef4ef568baf1a67038aeb0e187511771fe0d565
2012-05-10 17:24:20 +12:00
Robert O'Callahan
cc4c60522a Bug 681192. Part 12: more fixes to remove unnecessary rounding to pixels. r=matspal
--HG--
extra : rebase_source : 39f2c0ef3220b3f0d4f6bc2564a86daa2112dc3b
2012-05-10 17:24:20 +12:00
Robert O'Callahan
28e494af4f Bug 681192. Part 11: Don't snap scrollrange endpoints to device pixels anymore. r=matspal
--HG--
extra : rebase_source : a4ad5072fbb1a9e1e8d0fcf31268fee8812be41e
2012-05-10 17:24:20 +12:00
Robert O'Callahan
b4c51b5b14 Bug 681192. Part 10: Control rounding direction of scaledOffset to try to make the residual be close to mActiveScrolledRootPosition. r=tnikkel
--HG--
extra : rebase_source : f27fb737f8956ed117df0be3a71da847cc2048c0
2012-05-10 17:24:20 +12:00
Robert O'Callahan
d526469de5 Bug 681192. Part 9: Adjust assertion counts downward. r=mats
--HG--
extra : rebase_source : 5cb44d6572d19d462897b1b50037946d5d8edf67
2012-05-10 17:24:20 +12:00
Robert O'Callahan
41b38a3c31 Bug 681192. Part 8: Use a generous allowed range when scrolling in CurPosAttributeChanged. r=matspal
There was a subtle reftest failure on Mac in RTL text-overflow tests.
I tracked it down to RTL overflow:auto areas being automatically scrolled by a subpixel amount.
This was because we try to set scrollbar "curpos" attributes to an integer number of CSS pixels representing
the scroll amount, relative to the top-left of GetScrolledRect, which is a noninteger number of CSS pixels
in this case. Then in ReflowFinished() we scroll to the saved curpos values plus the top-left of GetScrolledRect.
This patch fixes the problem by making CurPosAttributeChanged pass an allowed scroll range to
ScrollToWithOrigin. We allow any scroll destination that, when rounded to CSS pixels, would give the same
value as "curpos".
This fixes the bug, ensuring that ReflowFinished's call to CurPosAttributeChanged will not normally need
to scroll because the current position will be in the acceptable range. Also, it means that code that
scrolls by setting the "curpos" attribute will be optimized to try to hit a layer pixel boundary.

--HG--
extra : rebase_source : 3a768883feee4ff2b88fe3c729ea1058e911f2ea
2012-05-10 17:24:19 +12:00
Robert O'Callahan
5c62ce11f2 Bug 681192. Part 7: nsTypedSelection should be scrolling a 0,0 size into view to get a particular coordinate into view, not 1,1. r=matspal
When asked to scroll a 1,1 appunit rectangle into view, ScrollFrameRectIntoView will now actually
succeed!
For example if the window is 6000 appunits high and we ask to scroll a 1x1 rect at 0,6000 into view,
before bug 681192 was fixed we'd actually fail to do so. We'd compute a desired scroll destination of 0,1,
and ScrollTo would round that to 0,0 and we wouldn't scroll at all.
Now, we compute a desired scroll destination of 0,1 but also an allowed scroll range for y of
"1 to <someting large>", so ScrollFrameRectIntoView will scroll down by a full pixel to 0,60. This is correct ---
it gets the subpixel area into view, which the previous code didn't --- but it's not really what DoAutoScroll
wants, at least the way test_mousecapture.xul is written. test_mousecapture.xul expects DoAutoScroll to scroll
windowheight+N into view by scrolling down by exactly N pixels, so the desired point is exactly at the bottom
edge of the window rect. Using a zero-sized rect achieves this.

--HG--
extra : rebase_source : 5d3d8cc4417c35dc88ad296a4f13e01d2c1c9233
2012-05-10 17:24:19 +12:00
Robert O'Callahan
1b94d7fe2c Bug 681192. Part 6: Test that various scrolling operations inside scaled transforms don't trigger unnecessary repainting. r=matspal
--HG--
extra : rebase_source : a72afaa7ebb5e9b59cf574cd973f966eee5c7f45
2012-05-10 17:24:19 +12:00
Angie Ngo ext:(%2C%20Rich%20Gomez%20%3Crwgmez%40gmail.com%3E)
fe8dc8ee5f Bug 616440 - Detail view blocks scrolling with page-up, page-down, and arrow keys. r=Unfocused 2012-05-10 14:34:42 +12:00
Blair McBride
00a7c139dd Bug 743967 - JavaScript Error: "bootstrap is not defined" {file: "resource://gre/modules/XPIProvider.jsm" line: 3523}. r=dtownsend 2012-05-10 14:30:37 +12:00
Blair McBride
16753d5585 Bug 746909 - Lazy load AddonRepository, and various other JS modules. r=dtownsend 2012-05-10 14:28:45 +12:00
John Ford
4e10d8f96c Bug 752873 - Part 2: use Android Sync Makefile include. r=khuey 2012-05-09 17:00:54 -07:00
John Ford
e2ae7957af Bug 752873 - Part 1: generate Makefile include rather than manifests for Android Sync. r=rnewman 2012-05-09 17:00:53 -07:00
Jonathan Griffin
d9f1dc8e38 Bug 753181 - Interpret paths relative to cwd instead of Marionette, r=mdas, a=test-only, DONTBUILD because NPOTB
--HG--
extra : rebase_source : 5b94c5fc397c8190a76bb05f247c655e5b72eac9
2012-05-09 17:03:13 -07:00
Serge Gautherie
78fcfbfbdd Bug 752216. (Gv1-FF) browser_popupNotification.js: Use locationbar to simplify test 19. r=gavin. 2012-05-10 01:58:26 +02:00
Kyle Huey
f6875975cc Bug 751941: Mobile repacks are busted. r=ted 2012-05-09 16:51:41 -07:00
Steve Fink
2e82cc7265 Bug 752250 - xpc_UnmarkGrayContext should never throw an exception. r=billm
It is possible to have a JSContext with no global object and no frames on the
stack, yet still be within a request. In that case, xpc_UnmarkGrayContext will
trigger an exception "nothing active on context" when it attempts to access the
inner object of the cx's NULL global.
2012-05-09 15:12:27 -07:00
Kartikaya Gupta
c247a2737a Bug 753845 - Fix race condition in setting/reading the selected tab. r=margaret 2012-05-10 13:41:00 -04:00
Olli Pettay
5cd5cd6fc2 Bug 716014 Investigate if we could use CompartmentGC more often, r=billm+terrence
--HG--
extra : rebase_source : f0cfb9cdd2e2823898f4c18402df53e7b6041bac
2012-05-09 21:53:23 +03:00
Jonathan Griffin
2ec243c586 Bug 753013 reuse secondary emulators, r=mdas, DONTBUILD because NPOTB 2012-05-09 13:39:19 -07:00
Philipp von Weitershausen
3025c86b7f Bug 751783 - Allow sandbox reuse between execute_script calls, r=jgriffin, r=mdas, DONTBUILD because NPOTB, 2012-05-09 12:05:39 -07:00
Kyle Huey
f008076292 Update the WebIDL Parser to pick up Bug 753459. r=bz 2012-05-09 11:49:56 -07:00
Brian R. Bondy
eef25984c9 Bug 749956 - Start tracking this releng only talos installer file in the tree. r=ehsan. DONTBUILD 2012-05-09 13:37:11 -04:00
Kyle Huey
bba98d1710 Bug 752877: Ensure that wrapper cutting happens after [inner|outer]-window-destroyed, to give code a chance to clean up. r=bz 2012-05-09 08:10:18 -07:00
Ed Morley
ce788fe121 Merge again 2012-05-09 15:39:58 +01:00
Ed Morley
a5e311ecf1 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-05-09 15:38:12 +01:00
Honza Bambas
417b4ef069 Bug 748647 - INHIBIT_PERSISTENT_CACHING was set to early, r=michal 2012-05-09 14:58:39 +02:00
Wolfgang Rosenauer
fc4a314130 Bug 749739 - New email sound notification file cannot contain spaces (Linux - Thunderbird 12). r=karlt 2012-05-09 13:27:02 +02:00
Rob Campbell
1533f52bcf Bug 751164 - Convert debugger.xul to XUL, remove HTML bits.; r=paul 2012-05-09 07:22:11 -03:00
David Rajchenbach-Teller
1908952402 Bug 747872 - Exporting Win constants to JS. r=khuey 2012-05-09 12:05:22 +02:00
Raymond Lee
9c16d67ddf Bug 753308 - Call openUILink with named parameters. r=dao 2012-05-12 17:00:48 +02:00
Siarhei Siamashka
b6e967e61f Bug 754364. pixman: Add scaled nearest repeat fast paths. r=jrmuizel
This will allows us to scale and repeat in a single pass instead
of doing it in two.

--HG--
extra : rebase_source : 8f40aec620494d9c584a3c58cd70ac39723041a4
2012-05-12 10:01:17 -04:00
Honza Bambas
5641f6f3aa Bug 748240 - view-source: doesn't load HTML from AppCache, r=bz 2012-05-12 11:42:20 +02:00
Bill McCloskey
9d2414d8d7 Bug 754242 - Reset incremental GC upon TOO_MUCH_MALLOC GC requests (r=terrence) 2012-05-11 21:07:54 -07:00
Bill McCloskey
cb1b01c3d6 Bug 735099 - Re-enable incremental GC (r=terrence) 2012-05-11 21:07:28 -07:00
Matt Brubeck
eebd9c8f2a Back out 6a7bfd84596e (bug 736501) because it broke the build on some versions of GCC (bug 754198) 2012-05-11 20:15:47 -07:00
Joey Armstrong
483dfd259c Bug 748470 - mobile/android/base: dependency builds r=ted 2012-05-11 17:16:15 -07:00
Gian-Carlo Pascutto
00ea66dccb Bug 754224 - Add keyword support to Profile Migration. r=margaret 2012-05-12 01:31:10 +02:00
Ehsan Akhgari
08a85471a8 Bug 754292 - Make spellcheck-textarea-ref.html blur its contents so that we would test the right thing; r=roc 2012-05-11 11:39:38 -04:00
Margaret Leibovic
878ca66668 Bug 752514 - Sync key/password are swapped, resulting in authentication error. r=rnewman 2012-05-11 15:16:58 -07:00
David Chan
290df765ca bug 754076 - provide return value from getter "onuninstall" r=fabrice 2012-05-11 15:29:15 -07:00
Jason Duell
9ad706b881 Backed out a88c34de5d01 2012-05-11 14:34:24 -07:00
Jason Duell
218d47b9d6 Backed out changeset a88c34de5d01 2012-05-11 14:34:10 -07:00
Jason Duell
fab2921731 Backed out changeset a88c34de5d01 2012-05-11 14:32:58 -07:00
Jason Duell
d4eb008dc4 Bug 737164. Make ReadInputStreamToString fallible. r=bsmedberg 2012-05-11 14:16:09 -07:00
Matt Brubeck
58eb5eeac0 Back out c209fea124e1 (bug 754198) because of Win64 build failure 2012-05-11 13:23:49 -07:00