L. David Baron
a694e32fdc
Bug 846096: Remove SimpleTest.expectAssertions() calls annotating assertions from bug 846096.
2013-03-04 13:21:24 -08:00
Trevor Saunders
c8fcbf60b7
bug 846487 - remove remaining usage of some nsIDOMFooElement r=Ms2Ger
2013-02-14 10:33:16 -05:00
Kartikaya Gupta
c1f74879bf
Bug 847002 - Add a crash if layer manager is null so we don't run off into garbage code. r=mattwoodrow
2013-03-04 23:15:53 +00:00
Jeff Walden
bf23cd54f1
Bug 835542 - Implement mozilla::Abs. r=Ms2ger
...
--HG--
extra : rebase_source : a3e62ff76365d27cc4cb10e4fee942ddb8b10b79
2013-02-15 19:55:36 -08:00
Henri Sivonen
ad623cb811
Bug 844461 - Perform alias resolution on the fallback encoding pref value. r=smontagu.
2013-03-04 20:09:11 +02:00
Ed Morley
2e90a500bf
Backed out changeset cacb9f3ee44d (bug 840693)
2013-03-04 14:37:43 +00:00
Robert O'Callahan
e170f559fb
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--
rename : toolkit/modules/Timer.jsm => browser/devtools/shared/Browser.jsm
rename : toolkit/modules/tests/xpcshell/test_timer.js => browser/devtools/shared/test/browser_browser_basic.js
rename : build/mach_bootstrap.py => mach
extra : rebase_source : b83c1d09313bff62357eaa931eced0f72f838493
2013-02-28 00:50:27 +13:00
Anthony Jones
fffa15107b
Bug 840693 - Change to using gfx:: types in AsyncPanZoomController; r=cjones
2013-03-04 13:25:26 +13:00
David Zbarsky
2c3499b66c
[Bug 847110] Fix up includes in layout/style r=dbaron
2013-03-02 19:31:48 -05:00
Robert O'Callahan
ff837639e6
Bug 845526 - Limit complexity of invalid region in RemoveFrameFromLayerManager. r=mattwoodrow
2013-03-02 12:21:00 -05:00
Ms2ger
4bd203b128
Bug 671976 - Allow for up to two occurrences of this assertion on Windows.
2013-03-02 10:14:44 +01:00
David Zbarsky
4b238ed8af
Bug 846662 - Rename DOMSVGTests to SVGTests r=jwatt
...
--HG--
rename : content/svg/content/src/DOMSVGTests.cpp => content/svg/content/src/SVGTests.cpp
rename : content/svg/content/src/DOMSVGTests.h => content/svg/content/src/SVGTests.h
2013-03-02 01:08:42 -05:00
L. David Baron
b1952d614a
Bug 671976: Tweak timing in the hopes of forcing the assertion to stay before TEST-END on Linux32; add additional leakage of expected assertions for Windows.
2013-03-01 19:40:43 -08:00
Trevor Saunders
60678a2f23
bug 845562 - remove GetFrameSelection() from nsISelectionPrivate r=smaug
2013-02-15 15:09:28 -05:00
Ryan VanderMeulen
5d849d0751
Backed out 8 changesets (bug 716403) for frequent Android mochitest-8 failures on a CLOSED TREE.
2013-03-01 16:09:59 -05:00
Chris Lord
f56a95adbd
Bug 716403 - Annotate layers with the fixed margins from the PresShell. r=nrc,roc
...
This annotates fixed layers with the margins that have been applied from
nsIPresShell->GetContentDocumentFixedPositionMargins. Using SyncViewportInfo
in CompositorParent, this allows for async fixed position margin setting.
2013-03-01 15:46:34 +00:00
Chris Lord
afe21f51a7
Bug 716403 - Add nsIDOMWindowUtils.setContentDocumentFixedPositionMargins. r=roc,dholbert
...
Add a function to set margins on the viewport that are respected by its
absolute containing block. This has the effect of being able to add margins to
fixed position content, which will be used on mobile to stop temporarily
visible chrome from obscuring content.
2013-03-01 15:46:34 +00:00
L. David Baron
71b34f42c8
Bug 671976: Fix comment typo in previous commit. DONTBUILD
2013-02-28 23:54:42 -08:00
L. David Baron
5bc7385767
Bug 671976: Add SpecialPowers.gc() calls so bug 671976 assertions show up in correct tests, and correctly annotate assertions.
2013-02-28 23:46:54 -08:00
L. David Baron
6841bba000
Bug 846096: Be more consistent about annotating failures due to bug 846096, and mark them with the bug number.
2013-02-28 22:07:48 -08:00
Boris Zbarsky
ba0f0bdd1b
Bug 832920. Add a way for chrome iframes to opt into having a separate refresh driver (e.g. if they plan to be moved between windows) and make devtools use that opt-in. r=tnikkel,paul
2013-02-22 09:56:28 -05:00
Seth Fowler
66d7e369f0
Bug 842850 (Part 1) - Use an SVGImageContext class for overridden SVG properties. r=dholbert,joe sr=bz
2013-02-28 12:22:43 -08:00
Ryan VanderMeulen
ebcc7ae06a
Backed out 7 changesets (bug 832920, bug 776536, bug 843261) for mochitest-a11y assertions on a CLOSED TREE.
...
--HG--
rename : content/base/src/NodeIterator.cpp => content/base/src/nsNodeIterator.cpp
rename : content/base/src/NodeIterator.h => content/base/src/nsNodeIterator.h
rename : content/base/src/TreeWalker.cpp => content/base/src/nsTreeWalker.cpp
rename : content/base/src/TreeWalker.h => content/base/src/nsTreeWalker.h
2013-02-28 14:41:30 -05:00
Boris Zbarsky
d044749cdb
Bug 832920. Add a way for chrome iframes to opt into having a separate refresh driver (e.g. if they plan to be moved between windows) and make devtools use that opt-in. r=tnikkel,paul
2013-02-22 09:56:28 -05:00
Ms2ger
3813557cac
Merge m-i to b-s.
2013-02-28 14:46:10 +01:00
Matt Woodrow
84c04d1e4c
Bug 846144 - Don't optimize backgrounds to an ImageLayer if they have border-radius clipping. r=roc
2013-02-28 21:49:30 +13:00
Gregory Szorc
89d297a677
Merge mozilla-central into build-system
...
The 3 merged files had no conflicts and were manually verified to ensure
no incompatible changes crept in.
2013-02-27 21:02:02 -08:00
Timothy Nikkel
6a5cba3ab2
Bug 845337. When we are looking for the parent prescontext we may not have a root frame so use the root view instead to get the parent prescontext. r=roc
2013-02-27 14:52:06 -06:00
Gregory Szorc
f0b7e3972c
Merge mozilla-central into build-system
...
There were merges in configure.in and some Makefile.in. None had any
conflicts. I spot verified the Makefile.in changes and confirmed that
the changes did not touch any DIRS* variables.
2013-02-27 10:03:52 -08:00
Ed Morley
10875eb001
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
8040985ec5
Backed out changeset 05c35dc73323 (bug 845526)
2013-02-27 12:49:29 +00:00
Ms2ger
cd9c6150fe
Merge m-c to b-s.
2013-02-26 19:09:25 +01:00
Gregory Szorc
2f35b94a0e
Bug 784841 - Part 18t: Convert /layout; f=Ms2ger rs=ted
2013-02-25 12:47:22 -08:00
Robert O'Callahan
bffb159b08
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
fc050e2c41
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
Timothy Nikkel
3068726ba3
Bug 689623. Part 13. Disable image visibility pass on mobile and b2g. r=mats
2013-02-24 18:59:24 -06:00
Timothy Nikkel
e570a1a58e
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
d65ed2f0df
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
8919430d6a
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
c382d9d2b7
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
9660b7d867
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
d695637b6c
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
L. David Baron
239da2d4cf
Bug 404077: Adjust annotations of expected assertions.
2013-02-27 10:37:19 -08:00
Ehsan Akhgari
63a702bcac
Bug 844169 - Part 3: Make sure that all callers of HTMLIFrameElement.mozbrowser have chrome privileges; r=bzbarsky
2013-02-26 21:26:10 -05:00
L. David Baron
3ed29c12e0
Bug 404077: Adjust annotations of expected assertions.
2013-02-27 15:36:14 -08:00
Chris Pearce
6e3f4d2969
Bug 843849 - Make DOM/HTML fullscreen API work in Metrofox. r=bz,jimm
2013-02-28 12:28:27 +13:00
Mats Palmgren
54f37b579d
Bug 844525 - Add asserts(0-1) for a recently added test to fix intermittent failure.
2013-02-24 05:33:58 +01:00
L. David Baron
a144cc1c82
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
76d2bd0bbf
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
Bobby Holley
51ba6ef50d
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
L. David Baron
42aceb59d8
Bug 404077: Adjust annotations of expected assertions.
2013-02-27 13:20:26 -08:00
Kyle Huey
a2581f4219
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
Jesse Ruderman
a561f3694c
Bug 457514 - Crash test.
2013-02-23 11:38:15 +01:00
Martijn Wargers
7412bf77ad
Bug 448543 - Crash tests.
2013-02-23 11:38:15 +01:00
Jesse Ruderman
d0e129f333
Bug 439343 - Crash test.
2013-02-23 11:38:15 +01:00
Martijn Wargers
64ec36e79d
Bug 422276 - Crash test.
2013-02-23 11:38:14 +01:00
Martijn Wargers
0e4473056b
Bug 421432 - Crash test.
2013-02-23 11:38:14 +01:00
Martijn Wargers
c8379a8914
Bug 403048 - Crash test.
2013-02-23 11:38:14 +01:00
Martijn Wargers
6e32d4722a
Bug 398733 - Crash tests.
2013-02-23 11:38:14 +01:00
Martijn Wargers
0ab025e0a4
Bug 378682 - Crash test.
2013-02-23 11:38:13 +01:00
Chris Pearce
45b77fa242
Bug 805613 - Support multiple concurrent fullscreen documents. r=bz
2013-02-26 18:40:53 +13:00
L. David Baron
57d19fbb86
Bug 404077: Annotate known assertions in mochitests.
2013-02-25 18:39:21 -08:00
Ryan VanderMeulen
858de2ee46
Backed out 6 changesets (bug 832920, bug 825341, bug 838582, bug 842726, bug 629801, bug 842561) for Linux32 debug mochitest-2 and Windows/OSX mochitest-browser-chrome failures on a CLOSED TREE.
2013-02-22 15:30:06 -05:00
L. David Baron
8b9b1815fb
Bug 839809 followup: fix typos in comment. DONTBUILD. No review.
2013-02-22 10:29:05 -08:00
L. David Baron
b95410686a
Bug 839809: Make counter-increments and list counting that would go past our internal (int32_t) limit keep the counter at its current value rather than wrapping. r=dholbert
...
Per CSS WG resolution regarding counter-styles-3, afternoon of 2013-02-05:
http://krijnhoetmer.nl/irc-logs/css/20130205#l-1590
http://lists.w3.org/Archives/Public/www-style/2013Feb/0392.html
2013-02-22 10:13:37 -08:00
Boris Zbarsky
7b6087807f
Bug 832920. Add a way for chrome iframes to opt into having a separate refresh driver (e.g. if they plan to be moved between windows) and make devtools use that opt-in. r=tnikkel,paul
2013-02-22 09:56:28 -05:00
Trevor Saunders
70d157e13c
bug 825341 - convert range to webidl r=bz, smaug
2013-02-07 07:09:41 -05:00
L. David Baron
88352988db
Backout changeset b968708558b9 (bug 839809) for reftest failures.
2013-02-21 19:25:54 -08:00
L. David Baron
c50a9d6ae8
Bug 839809: Make counter-increments and list counting that would go past our internal (int32_t) limit keep the counter at its current value rather than wrapping. r=dholbert
...
Per CSS WG resolution regarding counter-styles-3, afternoon of 2013-02-05:
http://krijnhoetmer.nl/irc-logs/css/20130205#l-1590
http://lists.w3.org/Archives/Public/www-style/2013Feb/0392.html
Note that this patch depends on signed integer overflow behavior in C++,
which I believe is portable despite being unspecified.
2013-02-21 18:10:59 -08:00
Daniel Holbert
e7503d88da
Bug 812822 part 3: Add a TreeMatchContext flag to indicate that we should skip flex item style fixup, and use it when framing anonymous content in ConstructFrame(). r=bz
2013-02-20 23:35:03 -08:00
Seth Fowler
b929bbb906
Bug 825720 - Don't use GetRootLayoutFrame to calculate the size of SVG images. r=joe
2013-01-10 19:38:34 -08:00
Avi Halachmi
dc3ae43f1c
Bug 842967 - Prevent refresh driver re-targeting the same timestamp. r=vladimir
2013-02-20 14:07:51 -05:00
Olli Pettay
33b2860b70
Bug 840263, make sure to notify the right navigation timing about page load, r=hsivonen
...
--HG--
extra : rebase_source : fedfbc41e787117e941fd4d5c12807002dfbe64a
2013-02-20 20:15:21 +02:00
Ryan VanderMeulen
eb66260ea3
Speculatively backout changeset e8d73b8ba1a1 (bug 825720) for Android armv6 reftest 2 timeouts.
2013-02-20 12:20:12 -05:00
Julian Viereck
d15f0e62b5
Bug 743252 - Implement moznomarginboxes attribute. r=roc
2013-02-20 10:50:21 -05:00
Seth Fowler
2ad970af3d
Bug 825720 - Don't use GetRootLayoutFrame to calculate the size of SVG images. r=joe
2013-01-10 19:38:34 -08:00
Matt Woodrow
bfb6ac7eab
Bug 840480 r=roc
2013-02-20 13:13:01 +13:00
Jonathan Kew
4a6209493f
bug 842514 - consistently use signed types for appUnitsPerDevPixel variables. r=roc
2013-02-19 21:46:27 +00:00
Mats Palmgren
17d5ff653f
Bug 822910. r=roc
2013-02-19 02:44:14 +01:00
Daniel Holbert
c6a26dff63
Bug 841261: Use init list instead of assignment in nsFrameIterator constructor. r=mats
2013-02-18 08:59:55 -08:00
Christian Holler
56d0538771
Bug 838557 - Fix obvious problem with previous patch in nsPresShell.cpp, r=me
2013-02-18 02:48:41 +01:00
Jonathan Kew
c493fcc3da
bug 841470 followup - fix signed/unsigned warning causing build bustage. r=me
2013-02-17 21:55:32 +00:00
Jonathan Kew
29e979380a
bug 841470 - don't call AppUnitsPerDevPixelChanged unless the value has actually changed. r=roc
2013-02-17 21:27:24 +00:00
L. David Baron
1162fa289b
Bug 781360 patch 4: Remove the Get from nsStyleContext::GetStyleData and nsIFrame::GetStyleDataExternal, which never return null. r=dholbert
2013-02-16 13:51:03 -08:00
L. David Baron
822b2ca3bc
Bug 781360 patch 3: Rename {nsIFrame,nsStyleContext,nsComputedDOMStyle}::GetStyle* to Style*, since they can never return null. r=dholbert
...
Except for the changes in:
layout/generic/nsIFrame.h (part)
layout/style/nsComputedDOMStyle.h (all)
layout/style/nsRuleNode.cpp (part)
layout/style/nsStyleContext.cpp (part)
layout/style/nsStyleContext.h (part)
(see patch 3b in the bug), this patch was written with the sed script:
s/\<GetStyle\(Font\|Color\|List\|Text\|Visibility\|Quotes\|UserInterface\|TableBorder\|SVG\|Background\|Position\|TextReset\|Display\|Content\|UIReset\|Table\|Margin\|Padding\|Border\|Outline\|XUL\|SVGReset\|Column\)\>/Style\1/g
2013-02-16 13:51:02 -08:00
L. David Baron
f756f736e2
Bug 781360 patch 1: Rename nsStyleContext::GetRuleNode to RuleNode, since it can never return null. r=dholbert
...
This makes it conform to our convention that getters returning pointers
that can never be null do not begin with "Get".
nsStyleContext's rule node is never null because we require a rule node
in order to construct a style context.
2013-02-16 13:04:53 -08:00
Wes Johnston
e38c741da9
Bug 838256, part 1 - Initial work on the layout pieces for <input type=range>. DONTBUILD separately from jwatt's changeset (the next one) to finish this work. r=dholbert for the combined diff.
2013-02-16 17:57:21 +00:00
Robert O'Callahan
d9665619b9
Bug 840902. Part 2: Remove nsresults from various display list methods. r=mattwoodrow
...
--HG--
extra : rebase_source : de498510bf8d85d9b0b2fab0137ef3be01c9adfa
2013-02-15 00:12:27 +13:00
Robert O'Callahan
59dfd955a1
Bug 840902. Part 1: Stop checking the results of various display list methods. r=mattwoodrow
...
--HG--
extra : rebase_source : 50a3d6809ef76a25a3d02d91f2873d9ba11fdc56
2013-02-15 00:08:08 +13:00
L. David Baron
01a5b0481c
Bug 841789, patch 3: Some removal of unneeded style context null-checks and comment cleanup. r=dholbert
2013-02-15 21:38:34 -08:00
L. David Baron
5464b49cb0
Bug 841789, patch 2: Fix callers that are going through the style context to get style structs rather than using the nsIFrame shortcuts. r=dholbert
...
This is just a code simplification that I noticed while reading through
patch 1.
2013-02-15 21:38:34 -08:00
L. David Baron
63fdfec174
Bug 841789, patch 1: Rename nsIFrame::GetStyleContext() to nsIFrame::StyleContext() since it can never return null. r=dholbert
...
This makes it conform to our convention that getters returning pointers
that can never be null do not begin with "Get".
2013-02-15 21:38:33 -08:00
Avi Halachmi
22359abefa
Bug 838758: Cache GradientStops instead of gfxPattern. r=jrmuizel
...
Our gfxPattern cache is currently way too specific, which causes lots of
unnecessary cache misses. The only thing that we actually need to key on is the
color stops.
This switches the cache to hold GradientStops instead of gfxPatterns. This
improves our cache hit rate and is simpler. It also avoids doing caching when
not using Azure, which currently has no benefit.
Average paint times results (in ms)
(on windows 7 x64, i7-3630qm, HD4000)
-------------------------------------
m-c
open: 3.5 close: 3.3
m-c cache-key
open: 2.6 close: 2.4
ux
open: 7.3 close: 5.2
ux cache-key
open: 6.9 close: 5.3
2013-02-15 20:54:49 +02:00
Trevor Saunders
afab70f054
bug 841436 - remove nolonger needed qi from nsIDocShell to nsIDocShellTreeItem r=bz
2013-02-12 17:02:51 -05:00
Ed Morley
3288d5e24a
Backed out changeset 2c860c4bb820 (bug 840902) on a CLOSED TREE
2013-02-15 09:05:36 +00:00
Ed Morley
7054010458
Backed out changeset 6c21598704ac (bug 840902)
2013-02-15 09:05:07 +00:00
Robert O'Callahan
34c090a860
Bug 840902. Part 2: Remove nsresults from various display list methods. r=mattwoodrow
...
--HG--
extra : rebase_source : ce01b066f803e048c0e38e5316ce96a75e689418
2013-02-15 00:12:27 +13:00
Robert O'Callahan
e5e7f8c6aa
Bug 840902. Part 1: Stop checking the results of various display list methods. r=mattwoodrow
...
--HG--
extra : rebase_source : b7db21120cdd96342502db64916b0b2e75c0a9c3
2013-02-15 00:08:08 +13:00
Christian Holler
2f0c5d33a1
Bug 838557 - Create a common interface for ASan/Valgrind functions. r=mats,bhackett
2013-02-15 00:50:11 +01:00
Ryan VanderMeulen
6ab6261d7e
Backed out changesets 45f20f94da76 and 47c4a7768ed9 (bug 841436) for Windows bustage on a CLOSED TREE.
2013-02-14 16:52:54 -05:00