Commit Graph

10254 Commits

Author SHA1 Message Date
L. David Baron
9c419647f8 Bug 404077: Adjust annotations of expected assertions. 2013-02-27 15:36:14 -08:00
Chris Pearce
dcf2d17b8e Bug 843849 - Make DOM/HTML fullscreen API work in Metrofox. r=bz,jimm 2013-02-28 12:28:27 +13:00
L. David Baron
7bfb85741c Bug 404077: Adjust annotations of expected assertions. 2013-02-27 13:20:26 -08:00
Timothy Nikkel
0ff01c541c 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
L. David Baron
d062798712 Bug 404077: Adjust annotations of expected assertions. 2013-02-27 10:37:19 -08:00
Ehsan Akhgari
d54e129c53 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
Ed Morley
260d9da13c 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
16cf1a5852 Backed out changeset 05c35dc73323 (bug 845526) 2013-02-27 12:49:29 +00:00
Robert O'Callahan
05e53c4787 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
5d1fd00ffe 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
49b7670edf 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
7e4f92e029 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
321002c62d 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
Chris Pearce
12b6dc8b70 Bug 805613 - Support multiple concurrent fullscreen documents. r=bz 2013-02-26 18:40:53 +13:00
L. David Baron
a8ee400190 Bug 404077: Annotate known assertions in mochitests. 2013-02-25 18:39:21 -08:00
Timothy Nikkel
a82d679a61 Bug 689623. Part 13. Disable image visibility pass on mobile and b2g. r=mats 2013-02-24 18:59:24 -06:00
Timothy Nikkel
34cb04e160 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
9e119b46eb 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
45f8b4f1f9 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
4c9c378b53 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
8729dcd152 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
76533032be 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
Mats Palmgren
fd72045023 Bug 844525 - Add asserts(0-1) for a recently added test to fix intermittent failure. 2013-02-24 05:33:58 +01:00
Kyle Huey
0660c18b2f 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
4c8611a61b Bug 457514 - Crash test. 2013-02-23 11:38:15 +01:00
Martijn Wargers
56c55ff465 Bug 448543 - Crash tests. 2013-02-23 11:38:15 +01:00
Jesse Ruderman
5f7976bcb8 Bug 439343 - Crash test. 2013-02-23 11:38:15 +01:00
Martijn Wargers
5d405e8420 Bug 422276 - Crash test. 2013-02-23 11:38:14 +01:00
Martijn Wargers
c6d0ba6712 Bug 421432 - Crash test. 2013-02-23 11:38:14 +01:00
Martijn Wargers
1ddad16d58 Bug 403048 - Crash test. 2013-02-23 11:38:14 +01:00
Martijn Wargers
3899ef7d76 Bug 398733 - Crash tests. 2013-02-23 11:38:14 +01:00
Martijn Wargers
6c90ae3fc6 Bug 378682 - Crash test. 2013-02-23 11:38:13 +01:00
Ryan VanderMeulen
b30facb288 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
b1b094e160 Bug 839809 followup: fix typos in comment. DONTBUILD. No review. 2013-02-22 10:29:05 -08:00
L. David Baron
26263ff77c 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
20abf335c0 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
1b867cc29f bug 825341 - convert range to webidl r=bz, smaug 2013-02-07 07:09:41 -05:00
L. David Baron
3c1573c7b5 Backout changeset b968708558b9 (bug 839809) for reftest failures. 2013-02-21 19:25:54 -08:00
L. David Baron
61dc418096 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
7dd71ad03b 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
67035b0d87 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
aea732eff7 Bug 842967 - Prevent refresh driver re-targeting the same timestamp. r=vladimir 2013-02-20 14:07:51 -05:00
Olli Pettay
87022e0fa8 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
b711734e91 Speculatively backout changeset e8d73b8ba1a1 (bug 825720) for Android armv6 reftest 2 timeouts. 2013-02-20 12:20:12 -05:00
Julian Viereck
f6e00a6a19 Bug 743252 - Implement moznomarginboxes attribute. r=roc 2013-02-20 10:50:21 -05:00
Seth Fowler
1a987773c6 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
b6d1579a17 Bug 840480 r=roc 2013-02-20 13:13:01 +13:00
Jonathan Kew
9cd7d9f8bb bug 842514 - consistently use signed types for appUnitsPerDevPixel variables. r=roc 2013-02-19 21:46:27 +00:00
Mats Palmgren
e337bf4714 Bug 822910. r=roc 2013-02-19 02:44:14 +01:00
Daniel Holbert
77bedd32f8 Bug 841261: Use init list instead of assignment in nsFrameIterator constructor. r=mats 2013-02-18 08:59:55 -08:00