Commit Graph

16067 Commits

Author SHA1 Message Date
Ed Morley
5eb9daf922 Backed out changeset f73b7b8d1a2d (bug 829557) for failing to compile on Windows on a CLOSED TREE 2013-02-27 12:50:30 +00:00
Ed Morley
206b4564c9 Backed out changeset 05c35dc73323 (bug 845526) 2013-02-27 12:49:29 +00:00
Robert O'Callahan
77cfbea40e Bug 845526. Limit complexity of invalid region in RemoveFrameFromLayerManager. r=mattwoodrow
--HG--
extra : rebase_source : ca0a1d7928c991604d5979bcf35b4fcea462c31a
2013-02-27 16:05:32 +13:00
Robert O'Callahan
1b97fac2e6 Bug 829557. Part 1: When calling into plugin code, identify situations where it is safe (or unsafe) to reenter Gecko from plugin code. r=bsmedberg
When Gecko is reentered from unsafe call sites, we allow the reentry, but we
suppress execution of the refresh driver to minimize the danger.
In this patch, we treat all sites as unsafe.

--HG--
extra : rebase_source : 0730f41c9158c868ed4ffcba74ff77abbfebc2cd
2013-02-28 00:50:27 +13:00
L. David Baron
05d5d9dfa9 Bug 404077: Use navigator.platform.startsWith rather than navigator.platform.indexOf, at Jesse's suggestion. 2013-02-26 22:23:08 -08:00
Daniel Holbert
1a693ffe99 Bug 844529: Disable flex-item style fixup when resolving style for anonymous content in nsCSSFrameConstructor::ProcessChildren(). r=bz 2013-02-26 21:44:55 -08:00
Jonathan Watt
b5a565315d Bug 845437 - Get rid of the aImmediateRedraw from nsSliderFrame methods. r=dholbert. 2013-02-26 21:26:41 +00:00
Jonathan Watt
40d69457ad Bug 842163 - Show a focus ring around <input type=range>. r=mounir. 2013-02-26 21:26:41 +00:00
Bobby Holley
e83e186c1b Bug 834732 - Make nsCxPusher.Push(JSContext*) infallible. r=mrbkap
We leave the nsIDOMEventTarget* versions fallible for now, but this makes the
common case a lot simpler. Note that this means that pushing a null JSContext,
a bug, is no longer handled at runtime. But I think we should just assert
against it, since there are already callers that don't check the return value.
2013-02-26 11:04:11 -08:00
Robert Longson
85dc58ac04 Bug 785606 - Support viewBox=none from SVG 1.2 Tiny r=jwatt 2013-02-26 16:58:06 +00:00
Mats Palmgren
1aab17ac00 Bug 844549 - Disable a recently added test in 'crashtest-ipc' due to intermittent failures. DONTBUILD 2013-02-26 09:46:00 +01:00
Nicholas Cameron
c6411d69df Bug 845188; initialise CommonAnimationData::mGenerationCount; r=roc 2013-02-26 19:21:26 +13:00
Chris Pearce
b8e8ab3f2f Bug 805613 - Support multiple concurrent fullscreen documents. r=bz 2013-02-26 18:40:53 +13:00
L. David Baron
4f4296979b Bug 404077: Annotate known assertions in mochitests. 2013-02-25 18:39:21 -08:00
Ryan VanderMeulen
ac64b359df Backed out changeset 71a93fff7311 (bug 840360) for B2G reftest/crashtest bustage on a CLOSED TREE. 2013-02-25 19:49:19 -05:00
Matt Brubeck
c2e12d31ba Bug 840360 - Extract reftest-content.js's setTimeout implementation into new Timer.jsm [r=jwalker r=cjones sr=gavin]
--HG--
rename : browser/devtools/shared/Browser.jsm => toolkit/modules/Timer.jsm
rename : browser/devtools/shared/test/browser_browser_basic.js => toolkit/modules/tests/xpcshell/test_timer.js
2013-02-25 11:08:33 -08:00
Kartikaya Gupta
e15294782b Bug 840721 - Add a PostDelayedTask method to the GeckoContentController interface. r=cjones 2013-02-25 15:50:49 -05:00
Ryan VanderMeulen
567f6121a3 Backed out changesets e8202e140fd8 and b1cd489945f5 (bug 844328) for mochitest-bc orange on a CLOSED TREE. 2013-02-25 15:37:23 -05:00
Matt Brubeck
3d885cc63b Bug 840360 - Extract reftest-content.js's setTimeout implementation into new Timer.jsm [r=jwalker r=cjones sr=gavin]
--HG--
rename : browser/devtools/shared/Browser.jsm => toolkit/modules/Timer.jsm
rename : browser/devtools/shared/test/browser_browser_basic.js => toolkit/modules/tests/xpcshell/test_timer.js
2013-02-25 11:08:33 -08:00
Bobby Holley
076b7bfcfa Bug 843711 - Fix up new |Components| culprits in test suite. r=mccr8 2013-02-25 10:43:03 -08:00
Mohit Gahlot
ead362c499 Bug 823939 - <mmultiscripts> now doesnt consider base followed by only <mprescripts> and no (presubscript presuperscript) pair as invalid-markup. r=fredw, r=Pike 2013-01-28 00:00:25 +05:30
Timothy Nikkel
090bb504b1 Bug 689623. Part 13. Disable image visibility pass on mobile and b2g. r=mats 2013-02-24 18:59:24 -06:00
Timothy Nikkel
5c04ec316a Bug 689623. Part 11. Mark SVG feImage elements as visible because they don't create display items. r=mats 2013-02-24 18:59:23 -06:00
Timothy Nikkel
05383be995 Bug 689623. Part 10. Make all images visible in print, print preview, chrome, xul, and resource docs and don't try to keep track of which are visible or not. r=mats 2013-02-24 18:59:23 -06:00
Timothy Nikkel
c6b1e4c2dc Bug 689623. Part 9. Make images default to visible when they have a frame created for them. r=mats 2013-02-24 18:59:23 -06:00
Timothy Nikkel
9eabef3617 Bug 689623. Part 8. Add an 'unlocked draw' notification for images that are drawn when not locked so we catch any images that become visible through a means other than scrolling. r=joe,mats 2013-02-24 18:59:22 -06:00
Timothy Nikkel
24d8f87e55 Bug 689623. Part 7. Clear the list of visible images on presshells that we don't descend into while building the display list of visible images. r=mats 2013-02-24 18:59:22 -06:00
Timothy Nikkel
5a83e54fcb Bug 689623. Part 6. Keep a list of visible images on the presshell and code to manage it. r=mats 2013-02-24 18:59:22 -06:00
Timothy Nikkel
a020fc6a32 Bug 689623. Part 5. Add mechanism to update image visibility upon some amount of scrolling. r=mats 2013-02-24 18:59:21 -06:00
Timothy Nikkel
d527e34e8c Bug 689623. Part 1. The display list we build for image visibility means we hit the same assertions as we hit when building the painting display list. So adjust some reftest assert counts upwards. r=mats 2013-02-24 18:59:20 -06:00
Peter Van der Beken
60efffbed9 Fix for bug 844225 (Remove some DOMCI and quickstubs). r=bz. 2013-01-10 10:54:46 +01:00
Mats Palmgren
3cfffd0412 Bug 843543 - Add a null-check after ShowPrintDialog to avoid crashing. r=smaug 2013-02-24 15:09:34 +01:00
O S K Chaitanya
052a9ff309 Bug 844511 - Only luminance masks need unpremultiplying and conversion to linear RGB. r=longsonr 2013-02-24 09:05:09 +00:00
Mats Palmgren
8c16097eea Bug 844525 - Add asserts(0-1) for a recently added test to fix intermittent failure. 2013-02-24 05:33:58 +01:00
Mats Palmgren
9aa89b07ee Bug 844549 - Disable a recently added test on B2G due to intermittent failures. 2013-02-24 05:23:28 +01:00
Phil Ringnalda
0317703c5c Bug 815612 - annotate Linux fuzziness of float-outside-block-push.html 2013-02-23 19:15:17 -08:00
Daniel Holbert
da540baf05 Bug 842080: Remove an unnecessary nsReflowStatus initialization, and add comments to clarify assumptions about ReflowAbsoluteFrames' reflow status arg. r=mats 2013-02-23 16:06:55 -08:00
Kyle Huey
c28e572034 Bug 816498: Fix some things about background attribute handling that are still broken. r=bz
As filed the bug is about table backgrounds failing to print.  The root cause of this is that we load images from the original document, because print/print-preview documents (which are static clones of the original) cannot do loads.  This results in an entry in the css::ImageValue's request table under the original document, but entry under the printing document.  Then we do layout, try to get the request, and fail, and nothing is displayed.  The solution to this is to force us to clone the request for the printing document if we're loading off the original document.  I manually verified that this does not regress Bug 560235.

While writing a test for this, we discovered another problem.  The reftest print code does not actually use the printing codepath.  Instead it takes an existing document, tears down its presshell, and creates a new presshell for printing.  Fixing the above bug did not make the reftest print test pass because ImageLoader does not deal properly with presshell destruction/recreation.  It assumes that when the presshell is destroyed all of the css::ImageValues can be cleared of their entries for that document.  This fails for ImageValues for mapped attributes because they are held alive by the content tree.  When a new presshell for this document is then created there is no entry for the document and thus no image request to paint.  The fix for this is to only clear the frame to request and request to frame mapping hashtables and not to clear the document's entry on the ImageValue when the presshell is destroyed.  The destruction of the ImageLoader (which is held from a strong reference on the document) is when those entries are removed.  The final change is to change css::ImageValue's hashtable from holding a strong reference to the keys (which are documents) to holding raw pointer references.  This is safe because we clear the relevant entry when the corresponding ImageLoader dies, and is needed to prevent a reference cycle that was being broken by presshell destruction.

--HG--
rename : layout/reftests/backgrounds/table-background-ref.html => layout/reftests/backgrounds/table-background-print-ref.html
rename : layout/reftests/backgrounds/table-background.html => layout/reftests/backgrounds/table-background-print.html
2013-02-23 06:59:43 -08:00
Jonathan Kew
e16b60e1f5 bug 700022 - pt 2 - reftests for lang-tag handling in graphite shaper. r=jdaggett 2013-02-22 13:36:02 +00:00
Jonathan Kew
c73913a252 bug 700022 - pt 1 - reftests to check that graphite is working. r=jdaggett 2013-02-22 13:36:00 +00:00
Mats Palmgren
fc31aa02d6 Bug 843322 - Make CSS 'text-overflow' apply to ::-moz-placeholder. r=roc 2013-02-23 11:38:15 +01:00
Mats Palmgren
59c75fa7f7 Bug 843931 - Make nsLineLayout::NewPerFrameData() allocation infallible. r=roc 2013-02-23 11:38:15 +01:00
Mats Palmgren
fd6faea6d5 Bug 843925 - Make nsLineLayout::NewPerSpanData() allocation infallible. r=roc 2013-02-23 11:38:15 +01:00
Jesse Ruderman
e5031842d9 Bug 457514 - Crash test. 2013-02-23 11:38:15 +01:00
Martijn Wargers
72c1aa4063 Bug 448543 - Crash tests. 2013-02-23 11:38:15 +01:00
Jesse Ruderman
e191fb7cd4 Bug 439343 - Crash test. 2013-02-23 11:38:15 +01:00
Jesse Ruderman
b398d6c967 Bug 433429 - Crash test. 2013-02-23 11:38:15 +01:00
Jesse Ruderman
721148a1c9 Bug 424629 - Crash test. 2013-02-23 11:38:14 +01:00
Martijn Wargers
8a4cdbadda Bug 422276 - Crash test. 2013-02-23 11:38:14 +01:00
Martijn Wargers
9218bf936d Bug 421432 - Crash test. 2013-02-23 11:38:14 +01:00