Commit Graph

113674 Commits

Author SHA1 Message Date
Chris Lord
8b4fb00720 Bug 783368 - Fix progressive tile update coherency issues. r=bgirard
Fix some progressive tile updating coherency issues caused by aborting at
inopportune times and tile draw ordering.
2012-11-21 22:34:19 +00:00
Chris Lord
eb9816cea0 Bug 783368 - Correct the height calculation in ProgressiveUpdateData. r=kats 2012-11-21 22:34:19 +00:00
Chris Lord
b85091b04e Bug 783368 - Send the correct display port when rendering low precision. r=kats,bgirard
When doing a low precision update, send the display-port instead of the
critical display port so that more appropriate cancelling decisions can be
made.
2012-11-21 22:34:19 +00:00
Chris Lord
a50634bd4c Bug 783368 - Don't duplicate high precision rendering in low precision region. r=bgirard
Don't render valid high precision region in the low precision buffer.
2012-11-21 22:34:19 +00:00
Chris Lord
26ab25e0a5 Bug 783368 - Add a low precision buffer to tiled thebes layers. r=bgirard,kats
If there is a critical display port set, render the area outside it into a
lower precision buffer.
2012-11-21 22:34:19 +00:00
Chris Lord
687263ae68 Bug 783368 - Disable ReusableTileStoreOGL by default. r=blassey
Add layers.reuse-invalid-tiles to control use of the reusable tile store and
disable it by default.
2012-11-21 22:34:19 +00:00
Chris Lord
e4979bfca9 Bug 783368 - Add resolution to TiledLayerBuffer. r=bgirard
Add the concept of resolution to TiledLayerBuffer and add support for it in
BasicTiledThebesLayer and TiledThebesLayerOGL.
2012-11-21 22:34:18 +00:00
Chris Lord
f3fe8a5a5d Bug 783368 - Prefer the critical display port, when set, in basic tiled layers. r=bgirard
If a critical display port is set, only validate content within it when using
basic tiled layers.
2012-11-21 22:34:18 +00:00
Chris Lord
30136b7c25 Bug 783368 - Add critical display port content property. r=roc
Add a property to represent a sub-rectangle of the display port that is
considered 'critical' to render correctly.
2012-11-21 22:34:18 +00:00
Mario Alvarado [:marioalv]
8ba38ad2b3 Bug 806699 - Port browser_privatebrowsing_ui.js to the new per-window PB APIs; r=ehsan
--HG--
rename : browser/components/privatebrowsing/test/browser/global/browser_privatebrowsing_ui.js => browser/components/privatebrowsing/test/browser/perwindow/browser_privatebrowsing_ui.js
extra : rebase_source : bc814120977d36fee6285ea7391aa340361b33cc
2012-11-21 15:26:36 -06:00
Terrence Cole
348c31f896 Bug 811911 - Allow UTF-8 output from the SpiderMonkey shell; r=Norbert 2012-11-16 18:14:51 -08:00
Nicholas Cameron
987efb3ce0 Bug 812453; fix CopyInnerTo; r=bz 2012-11-22 10:55:37 +13:00
Nicholas Cameron
b182f5a099 Bug 814149. Fix GetCanvas. r=bz 2012-11-22 10:55:36 +13:00
Adam Roach
7aae524c33 Bug 814038: Fixing codec negotiation to use actual payload in SDP rather than preferred payload when populating codec-specific parameters r=ehugg 2012-11-21 15:20:12 -06:00
Gavin Sharp
363254885b Attempt to fix orange in bug 772823
--HG--
extra : transplant_source : %C82%CF%EC%AD%E8%D1%87%19%22%10k%9E%F3%EA%CF%FB%F9%8FC
2012-11-21 13:29:17 -08:00
Benoit Girard
ec45406cba Bug 809566 - Remove paint logging. r=kats 2012-11-19 16:24:17 -05:00
Benoit Girard
d8e17f8706 Bug 805797 - Validate sp before unwinding to fix crash in mozilla::FramePointerStackWalk. r=ehsan 2012-11-21 16:24:39 -05:00
Bobby Holley
e01eac97a5 Bug 813394 - Test both |window.location| and |location| in navigated-away-from frame. r=bz 2012-11-21 13:20:05 -08:00
Bobby Holley
d889379068 Bug 808608 - Fix test_bug802557. r=bz
There are a number of fixes to this important tests, so this warrants a separate
patch.

First of all, the boundTo machinery goes away, because we no longer have same-
compartment Xrays giving us the weird bound methods.

Furthermore, now that the sensitive methods are just regular old methods
off the prototype. They'll fail correctly when used on a same-scope object,
but not for cross-scope XOWs they'll just fail in the
GetWrappedNativeOfJSObject rat's nest (when they can't unwrap the security
wrapper), so we'll just get a generic XPConnect error instead of a security
exception. I want to fix this soon, so I changed the skipMessageCheck stuff
to use todo_is.

However, _that_ caused an UNEXPECTED-PASS for the DefaultValue test (which
was the only one of the array of tests that was throwing a security exception
in step 2). So I added an annotation for that in item[2].
2012-11-21 13:20:05 -08:00
Bobby Holley
4fb0eb55a2 Bug 808608 - Remove Xray shadowing protection infrastructure. r=mrbkap
This is now unused.
2012-11-21 13:20:05 -08:00
Bobby Holley
645bf15f18 Bug 808608 - Fix up tests to work with new behavior. r=bz,me 2012-11-21 13:20:05 -08:00
Bobby Holley
deb1246831 Bug 808608 - Remove special testing for Location in test_bug505915. r=me
Removing test coverage isn't great. But the only reason this test is doing all
this funny stuff with Location is that it thinks that it's always wrapped in
an Xray wrapper and that we always do a dynamic security check, which is no
longer true. Moreover, it checks for very specific error messages, which are
kind of in flux right now as I'm fixing up GWNOJO. The calls are never going
to actually succeed (since location isn't a Node), so it's not really clear
how to fix up this test to do something uniquely useful in a readable way.
I've added enough Location test coverage recently that I'm comfortable removing
this part.
2012-11-21 13:20:05 -08:00
Bobby Holley
9081886d4a Bug 808608 - Remove specialized Location security wrappers. r=mrbkap 2012-11-21 13:20:05 -08:00
Bobby Holley
de65cd77ed Bug 808608 - Remove unnecessary outparam. r=mrbkap 2012-11-21 13:20:05 -08:00
Bobby Holley
aa8b4abfd6 Bug 808608 - Implement shadowing protection in nsDOMClassInfo. r=mrbkap
This allows us to remove the same-compartment Location wrappers. This can
go away when we move Location to the new bindings and get access to
[Unforgeable].
2012-11-21 13:20:05 -08:00
Bobby Holley
52508e361a Bug 808608 - Rescue expando sharing tests. r=mrbkap
We have a very nice and robust infrastructure for per-origin expando sharing
for Xrays. Unfortunately, the only way to currently exercise it is with
Location objects, since those are the only objects with same-origin Xrays
(cross-origin Xrays don't allow expandos at all). Sandbox wantXrays would
almost work here, but we actually make an explicit exception for sandboxes
so that they never share expandos (the 'exlusive global' stuff).

I think the infrastructure is nice and that we may want it in the future, so
I don't really want to back it out. But I also don't want to leave it in the
tree untested. So I'm adding an explicit Cu API to force DOM compartments to
use same-origin Xrays. This allows us to keep testing this stuff, which I think
is important.
2012-11-21 13:20:04 -08:00
Bobby Holley
dd0ea8b137 Bug 808608 - Stop relying on unique Location objects in WebConsoleActor. r=past
Right now the code holds a ref to the per-inner-window Location object of the
Window associated with the sandbox, and uses that to determine if the page has
navigated. This breaks when we have one Location object per docshell, because
the check always succeeds. Just use the window ID instead, which is also less
likely to leak.
2012-11-21 13:20:04 -08:00
Ehsan Akhgari
a1ca146c7c Backed out 11 changesets (bug 783368) because of build bustage on a CLOSED TREE
Backed out changeset 2bc4310263c4 (bug 783368)
Backed out changeset a35c83a8d99d (bug 783368)
Backed out changeset afb9b2a661ba (bug 783368)
Backed out changeset 3926f510f9be (bug 783368)
Backed out changeset 9d1fe200ff87 (bug 783368)
Backed out changeset b6e4f88f5730 (bug 783368)
Backed out changeset bc53f7dba7c6 (bug 783368)
Backed out changeset 1948fa2fccc1 (bug 783368)
Backed out changeset 9af163388fd1 (bug 783368)
Backed out changeset 7a2256e1aa7c (bug 783368)
Backed out changeset 4da1958a9885 (bug 783368)
2012-11-21 14:57:02 -05:00
Rob Wood
141c459deb Bug 794557 - Develop WebAPI test for SMS getMessages, update manifest; r=jgriffin 2012-11-02 14:16:10 -04:00
Brian Nicholson
ca0f88c593 Bug 789867 - Immediately hide throbber when stop is tapped. r=mfinkle 2012-11-21 11:38:28 -08:00
Jonathan Kew
3b93444ed3 bug 799869 - [harfbuzz] improve heuristic for choosing between shapers for khmer fonts. r=behdad 2012-11-21 19:31:35 +00:00
Andres Hernandez
8000189bb6 Bug 722993 - WindowsJumpLists.jsm uses global Private Browsing state to make decisions; f=jdm, r=ehsan 2012-11-20 19:31:35 -06:00
Ehsan Akhgari
4faf1c7035 Bug 722993 - String changes for supporting per-window private browsing in the Windows jumplist menu; r=jdm 2012-10-12 21:34:25 -04:00
Chris Lord
d51cbc3aac Bug 783368 - Add a pref to control low precision tile rendering. r=bgirard
Add pref 'layers.low-precision-buffer', enabled on mobile/android.
2012-11-21 19:16:53 +00:00
Chris Lord
561141a84b Bug 783368 - Uncouple low precision updates from standard. r=bgirard
Allow low precision updates to happen regardless of the state of the unscaled
tile buffer.
2012-11-21 19:16:53 +00:00
Chris Lord
960993b01b Bug 783368 - Fix progressive tile update coherency issues. r=bgirard
Fix some progressive tile updating coherency issues caused by aborting at
inopportune times and tile draw ordering.
2012-11-21 19:16:52 +00:00
Chris Lord
9cfa756739 Bug 783368 - Correct the height calculation in ProgressiveUpdateData. r=kats 2012-11-21 19:16:52 +00:00
Chris Lord
9dafa73eb6 Bug 783368 - Send the correct display port when rendering low precision. r=kats,bgirard
When doing a low precision update, send the display-port instead of the
critical display port so that more appropriate cancelling decisions can be
made.
2012-11-21 19:16:52 +00:00
Chris Lord
2016290103 Bug 783368 - Don't duplicate high precision rendering in low precision region. r=bgirard
Don't render valid high precision region in the low precision buffer.
2012-11-21 19:16:52 +00:00
Chris Lord
a66bf654b5 Bug 783368 - Add a low precision buffer to tiled thebes layers. r=bgirard,kats
If there is a critical display port set, render the area outside it into a
lower precision buffer.
2012-11-21 19:16:52 +00:00
Chris Lord
ef4d0255cb Bug 783368 - Disable ReusableTileStoreOGL by default. r=blassey
Add layers.reuse-invalid-tiles to control use of the reusable tile store and
disable it by default.
2012-11-21 19:16:52 +00:00
Chris Lord
d5ad57cd7c Bug 783368 - Add resolution to TiledLayerBuffer. r=bgirard
Add the concept of resolution to TiledLayerBuffer and add support for it in
BasicTiledThebesLayer and TiledThebesLayerOGL.
2012-11-21 19:16:51 +00:00
Chris Lord
7a7a8a8ebd Bug 783368 - Prefer the critical display port, when set, in basic tiled layers. r=bgirard
If a critical display port is set, only validate content within it when using
basic tiled layers.
2012-11-21 19:16:51 +00:00
Chris Lord
9a58cff763 Bug 783368 - Add critical display port content property. r=roc
Add a property to represent a sub-rectangle of the display port that is
considered 'critical' to render correctly.
2012-11-21 19:16:51 +00:00
Ehsan Akhgari
308de53b5b Bug 813787 - Remove support for image-sniffing-services; r=joe 2012-11-20 19:08:06 -05:00
Ed Morley
1efee6ef32 Backout c19edad3d359 (bug 814026) for Android bustage 2012-11-21 19:02:18 +00:00
Ed Morley
5352e71f51 Bug 814011 - Robocop should output the runTests() return code for that batch of tests, if non-zero; r=gbrown 2012-11-21 18:57:11 +00:00
Ed Morley
85408bf0f9 Bug 814013 - Always print the final robocop pass/fail summary, even if we received a non-zero return value; r=gbrown 2012-11-21 18:53:48 +00:00
Brian Hackett
748221ed7d Show generated assembly in Ion PC count information, bug 811349. r=pierron 2012-11-21 13:53:18 -05:00
Shu-yu Guo
601262cf64 Bug 791850 - Followup: fix computing caller stack formal position. (r=jorendorff) 2012-11-21 10:50:01 -08:00