Commit Graph

14302 Commits

Author SHA1 Message Date
Ryan VanderMeulen
a0398b9699 Merge the last PGO-green inbound changeset to m-c. 2012-08-27 22:11:26 -04:00
Mats Palmgren
ba942b526f Bug 785684 - Tests for overflow-x/y:hidden on display:table/table-cell. 2012-08-28 03:55:31 +02:00
Mats Palmgren
e6fabaffe9 Bug 785324 - Return a FrameTarget with 'empty' flag set true when clicking on an empty block (also in the non-editable case). r=roc 2012-08-28 03:55:30 +02:00
Gavin Sharp
a9400c350e Back out bug 785333 (revisions 79345542f853 and a1756976e61d) to fix crasher bug 785626 2012-08-27 16:41:19 -07:00
Philipp von Weitershausen
f47e2a9937 Bug 776825 - Separate message managers into senders and broadcasters. r=smaug
--HG--
rename : content/base/public/nsIFrameMessageManager.idl => content/base/public/nsIMessageManager.idl
2012-08-27 11:13:02 -03:00
Cameron McCormack
dd3bc76051 No bug - Comment fix now that InvalidateAndScheduleBoundsUpdate has been renamed to InvalidateAndScheduleReflowSVG. DONTBUILD 2012-08-27 17:51:48 +10:00
Paul Adenot
55730cebcd Bug 761393 - Add telemetry probes to guess the retention time. r=taras 2012-08-26 21:12:36 -07:00
Paul Adenot
38496cada6 Bug 761393 - Cache the gfxPatterns using an nsExpirationTracker and an hashtable. r=dbaron 2012-08-26 21:09:46 -07:00
Paul Adenot
f713a397b3 Bug 761393 - Add a method to hash an nsStyleCoord. r=dbaron 2012-08-26 21:08:32 -07:00
Boris Zbarsky
6203f67c1c Bug 785754. Fix handling of max-height for frame classes that still seem to think that the mComputedMinHeight/mComputedMaxHeight of a reflow state are border-box heights, not content-box heights. r=mats 2012-08-27 15:46:23 -04:00
Josh Matthews
9992fafc63 Back out bug 722861. 2012-08-27 15:31:29 -04:00
Jeff Gilbert
081dc9ddc7 Bug 782860 - Mark failing WebGL reftests as failing - r=bjacob 2012-09-06 18:46:43 -07:00
David Anderson
fd50a14c90 Merge from mozilla-central. 2012-08-22 16:09:24 -07:00
Matt Brubeck
48d9a346ee Bug 716575 (1/4) - Add a scriptable interface to GetViewportInfo [r=dbaron] 2012-08-22 13:17:20 -07:00
David Anderson
f3d3148ca7 Merge from mozilla-central. 2012-08-21 15:59:12 -07:00
Ehsan Akhgari
61746bbaf1 Bug 768503 follow-up: fix the comment to match what the code does now
DONTBUILD
2012-08-21 17:09:10 -04:00
Brendan Dahl
f36e3d9c21 Bug 745025 - Part 2 - Adds layout/printing support for mozPrintCallback. r=roc 2012-08-30 17:24:35 -07:00
Timothy Nikkel
d43ede7349 Bug 787818. Make sure the weak frame is alive after dispatching an event. r=mats 2012-09-04 14:57:28 -05:00
L. David Baron
0d11233f7c Fix reftest bustage from changeset aa86bacc7e57. (Bug 691950) 2012-08-20 23:01:57 -07:00
L. David Baron
7d0601d5e6 Move the imported css3-namespace test suite in with other test suites imported from the CSSWG repository, and make the importing script import it. (Bug 691950)
--HG--
rename : layout/reftests/css-namespace/prefix-001.xml => layout/reftests/w3c-css/received/css3-namespace/prefix-001.xml
rename : layout/reftests/css-namespace/prefix-002.xml => layout/reftests/w3c-css/received/css3-namespace/prefix-002.xml
rename : layout/reftests/css-namespace/prefix-003.xml => layout/reftests/w3c-css/received/css3-namespace/prefix-003.xml
rename : layout/reftests/css-namespace/prefix-004.xml => layout/reftests/w3c-css/received/css3-namespace/prefix-004.xml
rename : layout/reftests/css-namespace/prefix-005.xml => layout/reftests/w3c-css/received/css3-namespace/prefix-005.xml
rename : layout/reftests/css-namespace/prefix-006.xml => layout/reftests/w3c-css/received/css3-namespace/prefix-006.xml
rename : layout/reftests/css-namespace/ref-lime-1-block.xml => layout/reftests/w3c-css/received/css3-namespace/ref-lime-1-block.xml
rename : layout/reftests/css-namespace/ref-lime-1-generic.xml => layout/reftests/w3c-css/received/css3-namespace/ref-lime-1-generic.xml
rename : layout/reftests/css-namespace/ref-lime-1.xml => layout/reftests/w3c-css/received/css3-namespace/ref-lime-1.xml
rename : layout/reftests/css-namespace/ref-lime-2-generic.xml => layout/reftests/w3c-css/received/css3-namespace/ref-lime-2-generic.xml
rename : layout/reftests/css-namespace/ref-lime-2.xml => layout/reftests/w3c-css/received/css3-namespace/ref-lime-2.xml
rename : layout/reftests/css-namespace/ref-lime-3.xml => layout/reftests/w3c-css/received/css3-namespace/ref-lime-3.xml
rename : layout/reftests/css-namespace/ref-lime-5.xml => layout/reftests/w3c-css/received/css3-namespace/ref-lime-5.xml
rename : layout/reftests/css-namespace/ref-lime-6.xml => layout/reftests/w3c-css/received/css3-namespace/ref-lime-6.xml
rename : layout/reftests/css-namespace/scope-001.xml => layout/reftests/w3c-css/received/css3-namespace/scope-001.xml
rename : layout/reftests/css-namespace/scope-002.xml => layout/reftests/w3c-css/received/css3-namespace/scope-002.xml
rename : layout/reftests/css-namespace/support/fail.css => layout/reftests/w3c-css/received/css3-namespace/support/fail.css
rename : layout/reftests/css-namespace/support/scope-002a.css => layout/reftests/w3c-css/received/css3-namespace/support/scope-002a.css
rename : layout/reftests/css-namespace/support/scope-002b.css => layout/reftests/w3c-css/received/css3-namespace/support/scope-002b.css
rename : layout/reftests/css-namespace/support/syntax-007.css => layout/reftests/w3c-css/received/css3-namespace/support/syntax-007.css
rename : layout/reftests/css-namespace/syntax-001.xml => layout/reftests/w3c-css/received/css3-namespace/syntax-001.xml
rename : layout/reftests/css-namespace/syntax-002.xml => layout/reftests/w3c-css/received/css3-namespace/syntax-002.xml
rename : layout/reftests/css-namespace/syntax-003.xml => layout/reftests/w3c-css/received/css3-namespace/syntax-003.xml
rename : layout/reftests/css-namespace/syntax-004.xml => layout/reftests/w3c-css/received/css3-namespace/syntax-004.xml
rename : layout/reftests/css-namespace/syntax-005.xml => layout/reftests/w3c-css/received/css3-namespace/syntax-005.xml
rename : layout/reftests/css-namespace/syntax-006.xml => layout/reftests/w3c-css/received/css3-namespace/syntax-006.xml
rename : layout/reftests/css-namespace/syntax-007.xml => layout/reftests/w3c-css/received/css3-namespace/syntax-007.xml
rename : layout/reftests/css-namespace/syntax-008.xml => layout/reftests/w3c-css/received/css3-namespace/syntax-008.xml
rename : layout/reftests/css-namespace/syntax-009.xml => layout/reftests/w3c-css/received/css3-namespace/syntax-009.xml
rename : layout/reftests/css-namespace/syntax-010.xml => layout/reftests/w3c-css/received/css3-namespace/syntax-010.xml
rename : layout/reftests/css-namespace/syntax-011.xml => layout/reftests/w3c-css/received/css3-namespace/syntax-011.xml
rename : layout/reftests/css-namespace/syntax-012.xml => layout/reftests/w3c-css/received/css3-namespace/syntax-012.xml
rename : layout/reftests/css-namespace/syntax-013.xml => layout/reftests/w3c-css/received/css3-namespace/syntax-013.xml
rename : layout/reftests/css-namespace/syntax-014.xml => layout/reftests/w3c-css/received/css3-namespace/syntax-014.xml
rename : layout/reftests/css-namespace/syntax-015.xml => layout/reftests/w3c-css/received/css3-namespace/syntax-015.xml
2012-08-20 22:41:49 -07:00
L. David Baron
9de3f6d254 Treat argument of :-moz-locale-dir() case-insensitively. (Bug 741293) r=smontagu 2012-08-20 22:41:47 -07:00
Chris Pearce
20bd89e05b Bug 783824 - Don't stash the presentation (discard it if it was stashed) when subdoc frames are destroyed if the presentation is being destroyed. r=roc 2012-08-21 17:07:03 +12:00
David Zbarsky
bc0a1fa738 Bug 783893 - Clean up async animation code r=roc 2012-08-21 00:06:47 -04:00
David Zbarsky
b27894f902 Bug 784004 - Don't include Layers.h everywhere Part 3 r=nical 2012-08-21 00:06:46 -04:00
Raphael Catolino
e0f22a3469 Bug 781313 - Move the euclidGcd and lcm algos form nsStyleAnimation.cpp to mfbt/MathAlgorithms.h r=dbaron,luke 2012-08-26 22:58:23 -03:00
L. David Baron
bfa2ca47cd Do first (small) round of importing W3C reftests into tree. (This provides a test for bug 782401.) 2012-08-20 19:23:32 -07:00
L. David Baron
26cd9e1364 Add missing SkipUntil call in @supports parsing. (Bug 782401) r=heycam
Fixes http://test.csswg.org/source/contributors/opera/submitted/css3-conditional/at-supports-030.html
2012-08-20 19:23:32 -07:00
L. David Baron
b7240dcf1a Only do hyphenation when the language was specified explicitly, rather than using an encoding-inferred language. (Bug 702121, patch 2) r=jfkthame 2012-08-20 19:23:32 -07:00
L. David Baron
e34ffc55e7 Track whether nsStyleVisibility::mLanguage came from explicit information in the document. (Bug 702121, patch 1) r=jfkthame 2012-08-20 19:23:32 -07:00
L. David Baron
7df440799e Accept unitless lengths in quirks mode for bottom, just as for left/top/right. (Bug 776591) r=bzbarsky 2012-08-20 19:23:31 -07:00
David Anderson
5d981ba8fe Merge from mozilla-central. 2012-08-16 14:04:20 -07:00
Ed Morley
8e1030fe5c Bug 782196 - Temporarily disable layout/reftests/bugs/598726-1.html on Windows 7 for being near-permaorange; r=philor 2012-08-16 17:51:22 +01:00
David Anderson
f29decd8b9 Merge from mozilla-central. 2012-08-15 14:22:26 -07:00
Frédéric Wang
4f50a4158f Bug 781494 - Remove support for composite char from nsMathMLChar. r=karlt 2012-08-20 20:14:20 -04:00
Kyle Huey
35dc213b35 Bug 783379: Remove unnecessary (wrong) optimization of image decoding notifications. r=roc
--HG--
extra : rebase_source : d485d0f5bbe35dc969712ca50654c8671b033c80
2012-08-20 17:14:04 -07:00
Kyle Huey
1b73189aff Bug 685516: Mark a couple more tests random. 2012-08-15 13:15:03 -07:00
Kyle Huey
fcd9a8d9a7 Bug 685516: Disable background-image-tiling.html on Android XUL. 2012-08-15 10:55:59 -07:00
Ed Morley
a15c1334fe Backout bcac58cbf328 & 9c75f0428f8a (bug 775965) for causing bug 782981 2012-08-15 18:10:55 +01:00
Ed Morley
9ca18660e6 Bug 685516 - Disable background-size-body-percent-percent-overflow.html; rs=khuey 2012-08-15 17:22:14 +01:00
Ed Morley
f047719a82 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-08-15 16:17:53 +01:00
Kyle Huey
d7d3a8b981 Bug 780618: Follow up to switch to nsError.h in merged patches. r=me 2012-08-15 06:52:06 -07:00
Kyle Huey
433d46efea Merge m-c to b-s. 2012-08-15 06:25:20 -07:00
Kyle Huey
c1fb233053 Bug 685516: Disable one more test. 2012-08-15 06:17:24 -07:00
Kyle Huey
cd9dcb6d64 Bug 685516: Disable some more tests. 2012-08-14 21:05:24 -07:00
Kyle Huey
9072606fd6 No bug: Eradicate some nsnulls. 2012-08-14 13:34:20 -07:00
David Anderson
3d58883052 Merge from mozilla-central. 2012-08-14 12:20:09 -07:00
Kyle Huey
9bf3c06eeb Merge m-c to b-s. 2012-08-14 11:14:40 -07:00
Ehsan Akhgari
b457a9ddf0 Merge removal of nsnull 2012-08-14 11:29:00 -04:00
Kyle Huey
ca05f5cb91 Bug 697230: Part 3 - Make style images block onload. r=bz 2012-08-13 16:04:17 -07:00
Kyle Huey
13ed261c0c Bug 697230: Part 1 - Centralize style image observers. r=bz 2012-08-13 15:04:19 -07:00
Kyle Huey
57cf676096 Bug 697230: Part 0 - Make table frame classes call into their superclass in DidSetStyleContext. r=bz 2012-08-13 14:13:34 -07:00
David Anderson
0e509b2165 Merge from mozilla-central. 2012-08-13 13:40:42 -07:00
Kyle Huey
f454c29dd5 Bug 685516: Disable a bunch of failing tests on Android XUL. r=jrmuizel 2012-08-13 11:22:11 -07:00
Matt Woodrow
c2e9a5d59c Bug 780868 - Only reuse MaskLayers on LayerManagers with the same backend type. r=nrc 2012-08-13 22:11:40 +12:00
Matt Woodrow
470534c6d3 Bug 539356 - Add to pref to disable painting from the refresh driver. r=roc 2012-08-13 22:11:33 +12:00
Matt Woodrow
247c27d47f Bug 781362 - Delay the start time of some SVG animation reftests to prevent intermittent failures. r=dholbert 2012-08-13 22:11:32 +12:00
Matt Woodrow
35b2570b48 Bug 539356 - Part 33 - Change test-overflow/single-value reftest to use MozReftestInvalidate. r=roc 2012-08-13 22:11:16 +12:00
Matt Woodrow
43b9bbb4cc Bug 539356 - Part 32 - Change some SVG deferred animation tests to not require calling GetBaseValue. r=dholbert 2012-08-13 22:11:02 +12:00
Matt Woodrow
1f62ddd68b Bug 539356 - Part 8b - Move painting of retained layers to the view manager flush, and only composite on the paint event. r=roc
* * *
Fix Empty transactions with the new paint timing
2012-08-13 22:10:10 +12:00
Aryeh Gregor
e2dd9c2028 Bug 626472 part 3 - Remove nsnull for good; r=ehsan 2012-08-12 13:43:47 +03:00
Chris Pearce
c88c415a00 Bug 782517 - Make nsFrame:MakeFrameName() annotate an iframe's src. r=roc 2012-08-14 17:39:11 +12:00
Chris Pearce
a74d3d3a5d Bug 775965 - Ensure presentation persists across nsSubDocumentFrame reframes. r=roc 2012-08-14 16:06:44 +12:00
Chris Pearce
9759154f6c Bug 775965 - Make nsRootPresContext::mRegisteredPlugins a refptr hash table to the content object rather than weak refs to frames. r=roc 2012-08-14 16:06:42 +12:00
Simon Montagu
5098d4d89f Don't split inline ancestors of bidi frames if we don't have any child frames after the split. Bug 779003, r=roc 2012-08-13 20:51:36 -07:00
Timothy Nikkel
42175961f3 Bug 781086. Accidentally misplaced argument meant we were getting the min size instead of the pref size causing scroll bars to appear where they shouldn't. r=roc 2012-08-13 21:59:44 -05:00
Chris Lord
07153819b1 Bug 777260 - Fix invalidations on transform items in container layers. r=roc
Since Bug 758620, it's possible for an nsDisplayTransform to appear as the
child of a container layer. This caused problems when it was inactive, as the
invalidation would not be transformed in this case.

Fix this in FrameLayerBuilder by mandating that InvalidateThebesLayerContents
takes the untransformed invalidation and apply the transform in
BuildContainerLayer.
2012-08-13 22:54:38 -04:00
Chris Lord
1f9aff999b Bug 777260 - Respect LAYER_ACTIVE_FORCE in ChildrenCanBeInactive. r=roc
ChildrenCanBeInactive returns false if any child items have active layer states,
but was only checking LAYER_ACTIVE and not LAYER_ACTIVE_FORCE.
2012-08-13 22:54:09 -04:00
David Anderson
da15732de3 Merge from mozilla-central. 2012-08-10 14:50:20 -07:00
Alexandros Chronopoulos
d4807317cd Bug 748144 - Support multichannel Opus files. r=rillian
The Opus audio format supports multichannel (surround) audio, but our initial implementation used a simpler API which only supported mono and stereo output.

To handle these files gracefully, this patch uses the multichannel api and downmixes the output, if possible, to stereo, since we don't currently support surround sound playback.
2012-08-09 15:53:23 -07:00
Ryan VanderMeulen
212cdce23a Merge inbound to m-c. 2012-08-11 22:33:42 -04:00
Masayuki Nakano
3ca9a6e26d Bug 719320 part.11 Fix new test failures r=smaug 2012-08-12 10:42:36 +09:00
Masayuki Nakano
649734f593 Bug 719320 part.8-10 Remove the code handling legacy mouse events in layout r=smaug 2012-08-12 10:42:36 +09:00
Masayuki Nakano
7912249da5 Bug 719320 part.8-5 Dispatch legacy mouse scroll events before dispatching wheel event into system group if the wheel event isn't consumed r=smaug 2012-08-12 10:42:35 +09:00
Masayuki Nakano
acbe3bbdd7 Bug 719320 part.1 Add DOM3 WheelEvent r=smaug, sr=jst 2012-08-12 10:42:34 +09:00
Scott Johnson
bb4cb24a6a Bug 777089: Add preference to control the function used to map specified font sizes to inflated font sizes. [r=dbaron] 2012-08-11 13:33:36 -05:00
Honza Bambas
5fe7a22e2c Bug 215450: Allow uploading of files greater than 2gb in size. Involves making input streams 64-bit capable. Significant work done by Makoto Kato, finished by Honza Bambas. r=hbambas,bsmedberg,jdrew,sicking 2012-08-10 22:44:11 -04:00
Andrew Halberstadt
b4d43b25cb Bug 770490 - Infrastructure to run reftests on B2G, r=jgriffin 2012-08-10 14:25:20 -04:00
David Anderson
018c2a9a6a Merge from mozilla-central. 2012-08-09 13:41:13 -07:00
Ed Morley
991653b152 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-08-09 12:46:05 +01:00
Ms2ger
a51e9be374 Bug 780387 - Part f: Stop using PRBool & PRPackedBool; r=bsmedberg 2012-08-09 09:10:13 +02:00
Ms2ger
aa7cd71f5c Bug 780387 - Part e: Stop using PRSize; r=bsmedberg 2012-08-09 09:10:11 +02:00
Ms2ger
331accfcb4 Bug 780387 - Part b: Stop using PRIntn; r=bsmedberg 2012-08-09 09:09:40 +02:00
Neil Deakin
1a89394d0d Bug 391834, don't allow prompts in beforeunload, unload and pagehide events,r=smaug,patch mostly by gavin 2012-08-13 15:05:34 -04:00
L. David Baron
6c95d07c14 Update syncing directory location in README. (No bug, DONTBUILD) 2012-08-13 10:48:16 -07:00
David Anderson
88429440a3 Merge from mozilla-central. 2012-08-08 15:09:49 -07:00
Ehsan Akhgari
2962d2eed1 Bug 579517 - Part 5: Add missing StandardInteger.h #includes where needed; r=bsmedberg
Landing on a CLOSED TREE
2012-08-08 17:08:17 -04:00
Ehsan Akhgari
217645f36e Bug 579517 - Part 4: Manually rewrite some parts of the code base not covered by the automated conversion; r=bsmedberg 2012-08-22 11:59:54 -04:00
Ehsan Akhgari
8c296bbcd4 Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Ed Morley
9d67a4ff74 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-08-22 10:28:02 +01:00
Ryan VanderMeulen
7752c11752 Merge the last PGO-green inbound changeset to m-c. 2012-08-21 21:59:12 -04:00
David Zbarsky
3b46ec5677 Move mStyleRule and mStyleRuleRefreshTime from ElementAnimations/ElementTransitions to CommonElementAnimationData, no bug, r=dbaron over irc 2012-08-21 21:48:47 -04:00
David Zbarsky
3822af4b7f Bug 784239 - Perform async animations even when not all properties can be asyncified r=roc 2012-08-21 21:48:47 -04:00
Olli Pettay
c59ca9a643 Bug 783015 - Chrome refreshdriver runs all the time, r=khuey 2012-08-21 16:14:06 -07:00
Ehsan Akhgari
306a98e79d Bug 688575 - Disable layout/base/tests/bug482484.html on Windows because of focus issues which cause it to fail intermittently 2012-08-21 15:05:25 -04:00
Ehsan Akhgari
8afd2ac53b Bug 689435 - Disable layout/base/tests/bug644428-1.html on Windows because of focus issues which cause it to fail intermittently
--HG--
extra : rebase_source : bac1343efa68c1833ce517bb7b63a61406ace14e
2012-08-21 14:01:21 -04:00
Andrew Halberstadt
7ba1f1b6f4 Bug 778072 - Add pref for reftests to use iframe mozbrowser. r=cjones 2012-08-17 11:45:39 -04:00
Ryan VanderMeulen
13be984b0d Merge m-c to inbound. 2012-08-21 18:23:36 -04:00
David Anderson
9f806b608d Merge from mozilla-central. 2012-08-07 15:13:28 -07:00
David Zbarsky
17aa3f57ac Fix 2 logging calls I added today to also log the element and it's id, no bug, r=me 2012-08-26 00:14:31 -04:00
David Zbarsky
4a0bd0bac6 Bug 785657 - Enable async animations in content processes r=cjones 2012-08-25 21:27:28 -04:00