Commit Graph

93940 Commits

Author SHA1 Message Date
Brian R. Bondy
4e98f0541b Bug 753813 - Cache is disabled if you have too many old cache directories to delete
Bug 753813 - Cache is disabled if you have too many old cache directories to delete. r=jduell
2012-05-10 09:18:00 -07:00
Rob Campbell
0226390b82 merge fx-team to m-c 2012-05-10 11:54:23 -03:00
Ed Morley
924843f245 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-05-10 13:04:35 +01:00
L. David Baron
1960699401 Null-check the right thing to fix topcrash. (Bug 752428) r=roc 2012-05-10 11:12:07 +02:00
Felipe Gomes
bff268a09f Bug 741549. follow-up: remove unnecessary UniversalXPConnect usage left over on this test. r=me 2012-05-10 01:02:24 -07:00
Dão Gottwald
d953de10fc Bug 747090 - Use new location bar icons for mixed content. r=jaws 2012-05-10 09:52:34 +02:00
Stephen Horlander
751bd658d8 Bug 747090 - Add location bar icons for mixed content. r=dao 2012-05-10 09:50:54 +02:00
Robert O'Callahan
7ae2ea0471 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
1260834bce 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
51d7a0278c 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
8c21797d95 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
be868acf30 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
c0c7a84361 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
c9a4ef0f31 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
dca2ccff9c 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
f8b68b95b5 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
c03a4afc08 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
1b61f2c022 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
412d571a68 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)
14421cf807 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
a458638305 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
f7913f5587 Bug 746909 - Lazy load AddonRepository, and various other JS modules. r=dtownsend 2012-05-10 14:28:45 +12:00
John Ford
d205576efe Bug 752873 - Part 2: use Android Sync Makefile include. r=khuey 2012-05-09 17:00:54 -07:00
John Ford
90a8b0abd8 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
42bd80618a 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
ff8794c2c8 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
5c1112a9a0 Bug 751941: Mobile repacks are busted. r=ted 2012-05-09 16:51:41 -07:00
Steve Fink
a7e6ebec5a 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
12c950bd8b Bug 753845 - Fix race condition in setting/reading the selected tab. r=margaret 2012-05-10 13:41:00 -04:00
Olli Pettay
c7525b178b 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
a7f5313530 Bug 753013 reuse secondary emulators, r=mdas, DONTBUILD because NPOTB 2012-05-09 13:39:19 -07:00
Philipp von Weitershausen
9f6ef36f05 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
499c602903 Update the WebIDL Parser to pick up Bug 753459. r=bz 2012-05-09 11:49:56 -07:00
Brian R. Bondy
7e4c0b7bab Bug 749956 - Start tracking this releng only talos installer file in the tree. r=ehsan. DONTBUILD 2012-05-09 13:37:11 -04:00
Paul Rouget
337a54bba4 Bug 747228 - [layout view] We should not use the animation when the layout view is opened on a non-user action. r=dcamp 2012-05-09 18:19:48 +02:00
Paul Rouget
57778e6b0b Bug 747224 - [layout view] handle the key events correctly. r=dcamp 2012-05-14 13:37:55 +02:00
Joe Walker
3e49212aec Bug 750872 - Add yet more GCLI tests, this time for developer toolbar; r=robcee 2012-05-15 11:27:19 +01:00
Joe Walker
5364eba65b Bug 752906 - Fix GCLI memory cleanup issues found during Developer Toolbar memory work; r=dcamp 2012-05-15 11:27:19 +01:00
Joe Walker
417bb6ceeb Bug 729514 - GCLI needs a way to execute os level commands; r=dcamp 2012-05-15 11:27:18 +01:00
Joe Walker
4e3190ea29 Bug 751120 - GCLI focusManager should remove slowTyping code that's commented out; r=dcamp 2012-05-15 11:27:18 +01:00
Joe Walker
a81c18e073 Bug 750318 - localization note and string ID change required for helpSearchManual in gcli.properties; r=dcamp,flod 2012-05-15 11:27:18 +01:00
Joe Walker
e9dd5ad927 Bug 748684 - GCLI shouldn't require removeCommand before addCommand; r=dcamp 2012-05-15 11:27:18 +01:00
Joe Walker
199aa3120b Bug 745172 - GCLI intro command should be promoted out of 'demo'; r=dcamp 2012-05-15 11:27:18 +01:00
Joe Walker
06506fe449 Bug 745741 - Find a way to get easy code coverage information on GCLI unit tests; r=dcamp 2012-05-15 11:27:18 +01:00
Joe Walker
7119269d31 Bug 745904 - GCLI needs extra unit tests for recently added code; r=dcamp 2012-05-15 11:27:18 +01:00
Tim Taubert
5f7b5593d9 Bug 754608 - Part 3 - add regression tests; r=dietrich 2012-05-15 08:11:08 +02:00
Tim Taubert
18d98ddde5 Bug 754608 - Part 2 - remove getXULDocument() from head.js and use the browser's XUL document; r=dao 2012-05-15 08:10:55 +02:00
Tim Taubert
66cef86d09 Bug 754608 - Part 1 - don't capture thumbnails for privacy-sensitive pages; r=dao 2012-05-15 08:10:55 +02:00
Tim Taubert
c100c5fe4e Backed out changeset 7a5807d68ddc (bug 682944) 2012-05-15 08:17:05 +02:00
Kyle Huey
e88c1f60fb 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