Commit Graph

93481 Commits

Author SHA1 Message Date
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
Ed Morley
8caea85934 Merge mozilla-central to mozilla-inbound 2012-05-09 10:16:14 +01:00
Ed Morley
d68bf1a175 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-05-09 10:15:40 +01:00
Simon Montagu
2be0ebd6db Make unicode-bidi: [-moz-]plaintext apply to inline elements. Bug 746987, r=roc 2012-05-09 11:44:52 +03:00
Aharon (Vladimir) Lanin
a3da0c50ac Tests for bug 746987. r=smontagu, roc 2012-05-09 11:44:52 +03:00
Randell Jesup
c601502ac4 Bug 752784: protect against media not having a track of the required type r=roc 2012-05-09 01:53:49 -04:00
Doug Turner
e99aca9c93 Bug 752674 - device proximity needs y and z values. r=blassey 2012-05-08 20:56:54 -07:00
Zuhao (Joe) Chen
b89985af74 Bug 731866 - Copy and port current preference tests to run against the in-content preferences. r=jaws 2012-05-08 19:33:14 -07:00
Devan Sayles
560e09e2d8 Bug 735471 - Add a pref to switch between window'd preferences and in-content preferences. r=jaws,bmcbride 2012-05-08 19:31:51 -07:00
Jon Rietveld
a7dee505bf Bug 737177 - Port the security pane to the in-content preferences implementation. r=bmcbride 2012-05-08 19:28:24 -07:00
Devan Sayles
47354b7ca8 Bug 735091 - Sync pane for in-content prefrences. r=jaws,bmcbride 2012-05-08 19:23:19 -07:00
Devan Sayles
6f20be5f8d Bug 732125 - Content pane for in-content preferences. r=jaws,bmcbride 2012-05-08 19:21:03 -07:00
Jon Rietveld
b6e40c5524 Bug 733469 - Move the applications preferences to in-content UI. r=jaws r=bmcbride 2012-05-08 19:19:58 -07:00
Jon Rietveld
4eefb3e13b Bug 723737 - Move the advanced preferences to in-content UI. r=jaws r=bmcbride 2012-05-08 19:18:11 -07:00
Jon Rietveld
14aede6bcb Bug 723328 - Move the privacy preferences to in-content UI. r=bmcbride 2012-05-08 19:16:26 -07:00
Owen Carpenter
89c4173e5b Bug 719717 - Move the tabs preferences to in-content UI. r=bmcbride 2012-05-08 19:15:13 -07:00
Jon Rietveld
3af1f183c8 Bug 724686 - General pane for in-content preferences. r=bmcbride 2012-05-08 19:14:17 -07:00
Owen Carpenter
78f759474a Bug 734013 - Implement the pane-switching functionality for the in-content preferences. r=bmcbride 2012-05-08 19:13:05 -07:00
Jon Rietveld
711f241e56 Bug 735557 - Add about:preferences to the inContentWhitelist. r=bmcbride 2012-05-08 19:11:43 -07:00
Jon Rietveld
969245b170 Bug 733473 - Implement initial prerequisites for in-content preferences, and landing page. r=bmcbride 2012-05-08 19:10:25 -07:00
Kevin Locke
437fdb60bf Bug 752357 - Include compartment location (sandbox name) in compartment name when it differs from the principal name. r=nnethercote.
--HG--
extra : rebase_source : f82959649a377c4f3806043d83506e3aa48b5915
2012-05-08 19:02:37 -07:00
Joe Drew
756646f15d Back out changeset 501d38d3892c (Bug 733553) for causing crashes in xpcshell tests. 2012-05-08 21:59:30 -04:00
Ryan VanderMeulen
63d7f5526a Merge m-c to inbound 2012-05-08 21:14:42 -04:00
Jim Blandy
0c7b3827b0 (No bug): Remove comment referring to deleted functions. r=luke on IRC 2012-05-08 18:05:37 -07:00
Jason Duell
f966cbcfe7 Bug 752675: Fix docs for nsIWebBrowserPersist::PERSIST_FLAGS_FROM_CACHE. r=bz 2012-05-08 18:02:32 -07:00
Jason Duell
2f89836f11 Bug 752675. Clarify why we don't preconnect for some cache flags. r=mcmanus 2012-05-08 18:02:31 -07:00