Commit Graph

7039 Commits

Author SHA1 Message Date
Alexander Surkov
a4a5c756db Bug 630486 - ASSERTION 'Want to fire mutation events, but it's not safe' in nsContentUtils::HasMutationListeners triggered by a11y, r=marcoz, gavin, bz, f=davidb
--HG--
rename : accessible/tests/mochitest/tree/test_colorpicker.xul => accessible/tests/mochitest/treeupdate/test_colorpicker.xul
rename : accessible/tests/mochitest/tree/test_button.xul => accessible/tests/mochitest/treeupdate/test_menubutton.xul
2011-04-15 11:11:39 +09:00
Chris Pearce
bf7fe4cec2 Bug 650157 - Push nsBuiltinDecoderReader::mDataOffset down into nsOggReader. r=doublec 2011-04-15 13:29:54 +12:00
Ehsan Akhgari
ea4ca1529d Back out changeset 457757151653 (bug 647273) for breaking the Windows builds 2011-04-14 16:56:05 -04:00
Justin Lebar
a465f21ce6 Bug 647273 - Remove nsIContentUtils and nsIContentUtils2. r=sicking
--HG--
extra : rebase_source : dd7ff32cc758e62f914d283754d68ddc87cdcc7c
2011-04-14 10:58:27 -07:00
Daniel Holbert
562808c8e5 Bug 641393 patch 4: Add more tests for SVG length lists. r=jwatt 2011-04-14 11:47:27 -07:00
Daniel Holbert
3d7e72652f Bug 641393 patch 3: Make SVGLengthListSMILType logic match other list types. r=jwatt 2011-04-14 11:47:27 -07:00
Daniel Holbert
d6b2f34020 Bug 641393 patch 2: Make namespacing style consistent across SVG List classes, and replace some Length==0 checks with IsEmpty(). r=jwatt 2011-04-14 11:47:27 -07:00
Daniel Holbert
f228ce35af Bug 641393 patch 1: Upgrade some NS_ASSERTIONs in SVG List classes to NS_ABORT_IF_FALSE. r=jwatt 2011-04-14 11:47:27 -07:00
Ehsan Akhgari
f9088e8fe4 Bug 649566 - @keyframe(s) missing from <style> sanitizing code in nsHTMLFragmentContentSink; r=bzbarsky 2011-04-13 18:12:32 -04:00
Rafael Ávila de Espíndola
21a1eff2cb Bug 648871 - use NS_STDCALL_FUNCPROTO; r=bzbarsky 2011-04-14 13:51:19 -04:00
Peter Van der Beken
e9a0c2e1a1 Fix for bug 649534 (Remove nsIXSLTProcessorObsolete). r=sicking.
--HG--
extra : rebase_source : 48d37254b6f50ac74b285fb0f765c159877e7d03
2011-04-08 10:50:51 -07:00
Peter Van der Beken
c39b2c4375 Better fix for build bustage from patch for bug 603844.
--HG--
extra : rebase_source : 39bcb6558ecd109c67166ea836b241a8215b7164
2011-04-18 15:44:11 +02:00
Zack Weinberg
52c99aabb7 Bug 174055, part 6: eliminate pointless nsresult return values. 2011-04-07 21:18:43 -07:00
Zack Weinberg
624a6e3ce5 Bug 174055, part 5: prune unused and unimplemented methods. 2011-04-07 20:07:27 -07:00
Zack Weinberg
42ead75834 Bug 174055, part 4: mechanical fixups outside gfx. 2011-04-07 18:05:49 -07:00
Zack Weinberg
f5a0843ac7 Bug 266236 part 9: Move nsBoundingMetrics to its own header and prune inclusions of nsRenderingContext.h.
--HG--
rename : gfx/src/nsThebesRenderingContext.cpp => gfx/src/nsRenderingContext.cpp
rename : gfx/src/nsThebesRenderingContext.h => gfx/src/nsRenderingContext.h
extra : rebase_source : 92660748436f03475e011184e2828f1db0ad63e0
2011-04-07 18:04:40 -07:00
Jan Küchler
5ef6bf26cf Bug 266236 part 3: Mechanical rename of nsIRenderingContext and nsThebesRenderingContext to nsRenderingContext. Mechanical substitution of nsRefPtr<nsRenderingContext> for nsCOMPtr<nsRenderingContext>.
--HG--
rename : gfx/src/nsThebesRenderingContext.cpp => gfx/src/nsRenderingContext.cpp
extra : rebase_source : 34884bfcafd885feaf73300bc7246cd192062a48
2011-04-07 18:04:40 -07:00
Ehsan Akhgari
1197601fac Bug 643885 - Part 2: Optimize nsContentUtils::RemoveScriptBlocker to minimize the number of memmove's; r=bzbarsky 2011-04-14 10:18:28 -04:00
Ms2ger
330bb49437 Bug 604595, part b - Remove the nsIDOMNamedNodeMap* arguments to NS_NewDOMDocumentType; r=sicking 2011-04-14 14:04:21 +02:00
Ms2ger
8be871c311 Bug 604595, part a - Remove support for DocumentType.entities and DocumentType.notations; r=sicking 2011-04-14 14:04:13 +02:00
Ms2ger
6ee0b2b1da Bug 589894 - Fix a number of build warnings in content/; r=smaug 2011-04-14 14:04:12 +02:00
Ms2ger
5d712a77e7 Bug 620000 - Remove nsXULPDGlobalObject::OnFinalize's language id parameter; r=jst 2011-04-14 14:04:08 +02:00
Landry Breuil
35dbc89ed2 Bug 633857 - missing #includes for OpenBSD (media part). r=roc 2011-04-14 17:49:29 +09:00
Kyle Huey
d0c0eab2e5 Bug 607114: Expose a File constructor to chrome script. r=sicking
--HG--
rename : content/canvas/test/image_yellow.png => content/base/test/chrome/fileconstructor_file.png
2011-04-13 19:41:34 -07:00
Chris Pearce
3fa5bf6b10 Bug 641718 - Round nsWaveReader's buffered ranges times to usecs. r=kinetik 2011-04-14 10:12:23 +12:00
Chris Pearce
a259c20cba Bug 641718 - Convert to using microseconds for internal video timestamps. r=kinetik 2011-04-14 10:12:23 +12:00
Jonas Sicking
913afe451c Bug 649672: Make File.slice arguments match Array.slice and prefix File.slice. r=khuey 2011-04-13 14:34:36 -07:00
Mounir Lamouri
bb311bd679 Bug 635749 - Don't assume we can press ENTER on an <input type='file'> to submit a form. r=bz,smaug
--HG--
extra : rebase_source : 85b73e61002ebc3c68cfff3363afb29b448c6121
2011-04-13 12:43:34 -07:00
Ehsan Akhgari
3b68afadb4 Merge cedar into mozilla-central 2011-04-13 14:00:55 -04:00
Ehsan Akhgari
21594f846d Bug 637671 - Don't display the selection for a non-focused text element when restoring the selection state after a reframe; r=bzbarsky 2011-04-11 22:03:50 -04:00
Ehsan Akhgari
81d44d11f4 Merge cedar into mozilla-central 2011-04-11 20:24:12 -04:00
Mounir Lamouri
78f5f9372e Bug 648485 - Trying to fix an intermittent failure in content/base/test/test_bug482935.html. r=ehsan 2011-04-11 16:55:16 -07:00
Yury
7aad392535 Bug 638807 - Data race on nsBuiltinDecoder::mFrameBufferLength; r=chris.double 2011-04-11 17:15:45 -04:00
Mounir Lamouri
500e4eacd5 Bug 586298 - Move nsRadioVisitor and its children to nsRadioVisitor.{h,cpp} and remove radio visitor factories. r=sicking 2011-04-11 11:31:00 -07:00
Mounir Lamouri
a8a9b2428d Bug 640978 - Various clean-ups to nsIRadioVisitor and its children. r=peterv 2011-04-11 11:24:18 -07:00
Christian Biesinger
040a8153c7 bug 643051 - document.cookie should only allow setting one cookie at a time
r=bz
2011-04-11 16:26:11 -07:00
Ehsan Akhgari
3bbe7bc47c Bug 617539 - Remove nsIContentUtils_MOZILLA_2_0_BRANCH by backing out changeset 5e1f1bb2bb87 (bug 631412) which had added that class 2011-04-11 16:16:56 -04:00
Ehsan Akhgari
4153f12b55 Bug 617539 - Remove nsIEditor_MOZILLA_2_0_BRANCH; r=roc 2011-04-11 16:00:32 -04:00
Ehsan Akhgari
8e2d030028 Merge mozilla-central into cedar 2011-04-11 13:11:47 -04:00
David Zbarsky
aa301d629c Bug 583514 - implement click and accesskey for all HTML elements r=smaug 2011-04-11 18:56:37 +02:00
Ehsan Akhgari
86c2f731ab Merge cedar into mozilla-central 2011-04-11 11:53:07 -04:00
Joe Drew
e0a8d65434 Bug 640887 - Ignore canvas-test on Windows XP, since it fails most of the time; r=bjacob 2011-04-11 09:12:17 -04:00
Ms2ger
b502087317 Bug 604592 - Make Node.prefix readonly; r=smaug 2011-04-11 13:06:18 +02:00
Simon Montagu
d34ed4f099 Bug 263359 part 1.5: remove nsDirectionalFrame. r=roc 2011-04-11 10:59:30 +03:00
Marco Perez
e86148e927 Bug 647468 - make $(TAR) use stdin/stdout explicitly in content/canvas/test/webgl/Makefile.in; r=bjacob 2011-04-11 00:49:12 -04:00
Mats Palmgren
a704143976 Bug 647480 - Don't try to create a textrun using a null font. Setup a default font also when there is no pres shell. r=jfkthame 2011-04-10 22:01:01 +02:00
Ehsan Akhgari
51c54bf6a6 Merge cedar into mozilla-central 2011-04-10 15:11:22 -04:00
Brandon Sterne
23fea2663f Tests for Bug 631040 - parse CSP default-src as equivalent to allow, r=jst,geekboy 2011-04-10 11:23:23 -07:00
Brandon Sterne
ef75374a35 Bug 631040 - parse CSP default-src as equivalent to allow, r=jst,geekboy 2011-04-10 11:21:02 -07:00
Ehsan Akhgari
19700d3af2 Backout changeset c51a334e99d9 (bug 638807) because of crashtest orange 2011-04-10 02:01:36 -04:00
Frédéric Wang
dbcfcfee18 Bug 569124 - Make the math element support the attributes of mstyle. r=karlt 2011-04-09 23:36:31 -04:00
Yury
07d8571fef Bug 638807 - Data race on nsBuiltinDecoder::mFrameBufferLength; r=chris.double 2011-04-09 23:35:12 -04:00
Ehsan Akhgari
a6cda7cb5c Merge cedar into mozilla-central 2011-04-08 22:28:05 -07:00
Jonathan Kew
15d6c5f538 Backed out changeset b980d0cf9847 (bug 643051) because of consistent mochitest-1 failure 2011-04-08 20:29:18 -07:00
Blake Kaplan
697524ea29 Bug 642022 - Deal with the return value being in a different compartment. r=gal
--HG--
extra : rebase_source : b924c99e830cdafd7e1471cf087e69cfc7e33e23
2011-04-08 14:28:24 -07:00
Christian Biesinger
c33537ae62 bug 643051 - document.cookie should only allow setting one cookie at a time
r=bz
2011-04-08 14:21:20 -07:00
Peter Van der Beken
e9a0fbcd8f Fix build bustage
--HG--
extra : rebase_source : ba745a7701c7dd5b3bda26868b10452ffa3a518a
2011-04-08 14:13:17 -07:00
Jonathan Kew
55114c659a merge backout of bug 585152 2011-04-13 14:35:39 +01:00
Jonathan Kew
20281c115e Backed out changeset 80451fb8f11c (bug 585152) as per discussion in the bug. 2011-04-13 14:35:06 +01:00
Simon Montagu
8ade1e195e Make all nsBidiPresUtils methods static. Bug 624798, r=roc 2011-04-13 12:23:49 +03:00
Mounir Lamouri
6a3e0e4fb2 Bug 519592 - Attempt to fix intermittent failure in content/html/content/test/test_bug514856.html. r=ehsan 2011-04-12 23:34:02 -07:00
Mounir Lamouri
e0ce9b1f89 Bug 641352 - Add nsHTMLTextAreaElement::IsValueEmpty() const. r=bz 2011-04-12 23:33:01 -07:00
Mounir Lamouri
19e37abf7f Bug 648485 - Second try to fix intermittent failure in content/base/test/test_bug482935.html. r=ehsan 2011-04-12 15:50:25 -07:00
Ms2ger
c28b43a2a1 Bug 632511 - Handle non-finite values for scale per spec; r=peterv 2011-04-12 14:32:03 +02:00
Ms2ger
86c222a574 Bug 632481 - Handle non-finite values for arc per spec; r=peterv 2011-04-12 14:32:02 +02:00
Ms2ger
487af0c4c2 Bug 632476 - Handle non-finite values for fillRect, strokeRect per spec; r=peterv 2011-04-12 14:32:02 +02:00
Ms2ger
fbdb643f9b Bug 619996, part g: Kill nsISelectElement; r=bz 2011-04-12 14:32:01 +02:00
Ms2ger
8eb4c9e4bd Bug 619996, part e: make nsSafeOptionListMutation::mSelect a nsHTMLSelectElement; r=bz 2011-04-12 14:32:00 +02:00
Ms2ger
65df88b847 Bug 619996, part c: stop using QueryInterface on nsHTMLOptionElement::GetSelect's return value; r=bz 2011-04-12 14:32:00 +02:00
Ms2ger
038d6657ef Bug 619996, part b: make nsHTMLOptionElement::GetSelect return nsHTMLSelectElement; r=bz 2011-04-12 14:32:00 +02:00
Ms2ger
bb2faf4a3d Bug 619996, part a: Remove unnecessary inclusions of and references to nsISelectElement.h; r=bz 2011-04-12 14:31:59 +02:00
Ms2ger
c9e6bb1fa3 Bug 587345 - deAgnostify nsXULPDGlobalObject some; r=jst 2011-04-12 14:31:55 +02:00
Frédéric Wang
ded01a4e68 Update XML Entity Definitions for Characters - rang/lang (bug 603716); r=hsivonen,karlt 2011-04-08 11:56:43 -07:00
Frédéric Wang
0249fa2fca Update XML Entity Definitions for Characters (bug 603716); r=hsivonen,karlt 2011-04-08 11:56:04 -07:00
Ms2ger
daeb0e2616 Bug 630029 - Throw INDEX_SIZE_ERR instead of SYNTAX_ERR when calling CanvasGradient.addColorStop with non-finite values; r=?sicking 2011-04-02 20:50:14 +02:00
Ehsan Akhgari
1bf12a739b Backout changeset 4910cd19bc9a (Bug 583514) because it breaks the build as a result of incompatibility with the patches for bug 581177 2011-04-08 07:35:40 -07:00
Ehsan Akhgari
96d750195b Merge cedar into mozilla-central 2011-04-08 02:27:03 -07:00
Boris Zbarsky
65b7797520 Bug 581177 followup. Remove bogus comment and rev iids. 2011-04-08 00:02:10 -07:00
Boris Zbarsky
7fcb06f8bb Bug 628794. SVG and HTML/XUL .style come from different interfaces. r=peterv 2011-04-07 22:27:57 -07:00
Felipe Corrêa da Silva Sanches
122358c42d Bug 484966. Remove nsSVGUtils::GetParentElement in favor of nsIContent::GetFlattenedTreeParent. r=jwatt 2011-04-07 22:27:57 -07:00
Chris Double
ba8d6f312c Bug 647178 - Don't call Suspend on channel if the channel has completed downloading - r=roc 2011-04-01 22:43:29 +13:00
David Zbarsky
7e54902b80 Bug 583514 - implement click and accesskey for all HTML elements r=smaug 2011-04-07 21:52:08 -07:00
Saint Wesonga ext:(%2C%20Ms2ger%20%3Cms2ger%40gmail.com%3E)
27054f013a Bug 392751 - Allow out of bounds rects in getImageData; r=bz 2011-04-07 21:45:18 -07:00
Matt Woodrow
22b53f05ed Bug 591358 - Report canvas element allocation sizes to the GC. r=gal 2011-04-07 16:58:08 -07:00
Boris Zbarsky
a338fbe2e2 Bug 581177 part 8. Compress the flags so it's clear what's free. r=sicking 2011-04-07 19:29:50 -07:00
Boris Zbarsky
a63405c419 Bug 581177 part 7. Make 'may have contenteditable attr' into a boolean flag. r=sicking 2011-04-07 19:29:50 -07:00
Boris Zbarsky
f0517db35a Bug 581177 part 6. Make 'has name' into a boolean flag. r=sicking 2011-04-07 19:29:50 -07:00
Boris Zbarsky
8578808ee1 Bug 581177 part 5. Make 'may have style' into a boolean flag. r=sicking 2011-04-07 19:29:50 -07:00
Boris Zbarsky
2d8a1be03f Bug 581177 part 4. Make 'has id' into a boolean flag. r=sicking 2011-04-07 19:29:50 -07:00
Boris Zbarsky
a3b8ef7c1e Bug 581177 part 3. Make IsElement() use a boolean flag. r=sicking 2011-04-07 19:29:49 -07:00
Boris Zbarsky
257c275219 Bug 581177 part 2. Separate mParent from the flags it used to cohabit with. r=sicking 2011-04-07 19:29:49 -07:00
Boris Zbarsky
038d06b0fa Bug 581177 part 1. Separate mFlags and mSlots into separate members. Stop storing flags in slots. r=sicking 2011-04-07 19:29:49 -07:00
Cameron McCormack
9c4e74e95e Bug 631437: Add length to SVGXXXList interfaces and make them respond to array indexing (v4) r=jwatt,bzbarsky 2011-04-08 10:44:03 +12:00
Cameron McCormack
6f9c7ae6e8 Bug 619498 - Part 2: Support interpolation and addition of similar SVG path segment types (v4) r=dholbert 2011-04-08 10:17:36 +12:00
Cameron McCormack
f7c58f9131 Bug 619498 - Part 1.5: Some nearby style cleanups (no change to code behavior) r=dholbert 2011-04-08 10:17:36 +12:00
Cameron McCormack
888a445a77 Bug 619498 - Part 1: Eliminate some forwarding member functions with using declarations. r=dholbert 2011-04-08 10:17:32 +12:00
Ehsan Akhgari
ef53848cec Merge cedar into mozilla-central 2011-04-06 16:39:14 -07:00
Michael Wu
9314b62d76 Bug 626051 - Optimize script read to avoid crashing in optimized zlib copy, r=smaug 2011-04-06 17:17:56 -07:00
Matheus Kerschbaum
93480c6366 Bug 639754 - Remove MOZ_IPC checks since IPC is always built now; r=bsmedberg 2011-04-02 19:14:00 -07:00
Olli Pettay
4a2e725c92 Bug 646875 - Remove unused mTooltipNode; r=enndeakin 2011-03-31 09:53:00 -07:00
Mats Palmgren
fdde5d340c Bug 639733 - Include the tag name in the frame state key. r=bzbarsky 2011-04-06 13:32:31 +02:00
Ms2ger
c0904e3ca3 Bug 629894 - createImageData and getImageData should work for sizes smaller than one pixel; r=bz 2011-04-02 20:42:07 +02:00
Yury
f5ac501833 Bug 630040 - Implement createImageData(ImageData); r=bz 2011-04-02 20:45:26 +02:00
Mats Palmgren
395ec2ab5c Bug 635794 - nsAutoArrayPtr so we get 'operator delete[]' when destroying. r=khuey 2011-04-04 13:41:02 +02:00
Mats Palmgren
7bc245e495 Bug 642800 - Add a script blocker to avoid nested PrepareEditor calls. r=ehsan 2011-04-04 13:41:02 +02:00
Ms2ger
9da7592a07 Bug 630052, part c: Handle non-finite and negative arguments to createImageData and getImageData according to spec; r=bz 2011-04-02 14:19:03 -04:00
Ms2ger
6adaa50ff9 Bug 630052, part b: Reduce code duplication between CreateImageData and GetImageData; r=bz 2011-04-02 14:18:49 -04:00
Ms2ger
48d0794225 Bug 630052, part a: Add NS_finite API to nsMathUtils; r=bz 2011-04-02 14:18:40 -04:00
Ehsan Akhgari
b436006b1d Merge cedar into mozilla-central 2011-04-02 11:48:22 -04:00
Ehsan Akhgari
fc408ed65e Backout changeset 88eb5b5bb5d2 (bug 583514) because of reftest orange 2011-04-02 07:55:52 -04:00
David Zbarsky
ca29061d7e Bug 583514 - implement click and accesskey for all HTML elements r=smaug 2011-04-01 18:50:58 -04:00
Ehsan Akhgari
bc84b1a1ca Backout changeset 649f50ed53ca (bug 646184) because of debug crashtest failures 2011-04-01 18:22:22 -04:00
Daniel Holbert
4c244025ec Bug 641388: When a refresh driver is created, don't start sampling unless we have animations registered. r=bz 2011-04-01 13:33:20 -07:00
Henri Sivonen
4dfdfe720d Bug 482909 part 1 - Add atoms needed for Content MathML support in the sanitizer. r=ehsan. 2011-04-01 09:42:21 +03:00
Ms2ger
6ba85475ea Bug 646184 - Crash [@ nsGlobalWindow::GetLocalStorage] getting localStorage from removed frame; r=bz 2011-03-30 08:58:21 +02:00
Ms2ger
c342cd1b08 Bug 645331 - Remove unused nsAutoString in nsGenericElement::RemoveAttributeNS; r=smaug 2011-04-01 15:31:35 -04:00
Ms2ger
75157756af Bug 632516 - Handle non-finite values for translate per spec; r=roc 2011-04-01 15:31:35 -04:00
Ms2ger
5580363e6a Bug 632515 - Handle non-finite values for transform per spec; r=roc 2011-04-01 15:31:35 -04:00
Ms2ger
52e0a6ab6d Bug 632503 - Handle non-finite values for rect per spec; r=roc 2011-04-01 15:31:35 -04:00
Ms2ger
a621fafa13 Bug 632502 - Handle non-finite values for quadraticCurveTo per spec; r=roc 2011-04-01 15:31:35 -04:00
Ms2ger
09c1e8b000 Bug 632495 - Handle non-finite values for moveTo per spec; r=roc 2011-03-29 14:12:00 -04:00
Ms2ger
9c0180628b Bug 632493 - Handle non-finite values for lineTo per spec; r=roc 2011-03-29 14:05:00 -04:00
Ms2ger
3cb1f8077b Bug 630271 - Throw a TYPE_MISMATCH_ERR on createPattern(null); r=smaug 2011-04-01 15:31:34 -04:00
Ms2ger
938d8be616 Bug 630034 - Throw when attempting to create a radial gradient with negative radii; r=jmuizelaar 2011-03-31 11:47:00 -04:00
Ehsan Akhgari
73dd5db57d Bug 646071 - Part 3: Remove nsInt64.h, and convert all uses of nsInt64 and nsUint64 in the tree to PRInt64 and PRUint64, respectively; r=bsmedberg 2011-03-31 20:15:27 -04:00
Ms2ger
93402fcdce Bug 632474 - Throw a TYPE_MISMATCH_ERR on drawImage(null); r=sicking 2011-03-31 15:38:30 -04:00
Ehsan Akhgari
49fceed112 Backout the latest cedar merge wholesale until I test the correctness of the merge locally. This commit takes the tree state back to changeset 8d3f6093c425 (the last known good changeset before the merge) 2011-04-01 12:23:48 -04:00
Ehsan Akhgari
f2b4323534 Merge cedar into mozilla-central 2011-04-01 11:37:50 -04:00
Henri Sivonen
e0f79a482b Bug 482909 part 1 - Add atoms needed for Content MathML support in the sanitizer. r=ehsan. 2011-04-01 09:42:21 +03:00
Chris Jones ext:(%20and%20Kyle%20Huey%20%3Ckhuey%40kylehuey.com%3E)
0bb511a3d7 Rollup of bug 645263 and bug 646259: Switch to mozilla:: sync primitives. r=cjones,dbaron,doublec,ehsan src=bsmedberg
Bug 645263, part 0: Count sync primitive ctor/dtors. r=dbaron
Bug 645263, part 1: Migrate content/media to mozilla:: sync primitives. r=doublec
Bug 645263, part 2: Migrate modules/plugin to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 3: Migrate nsComponentManagerImpl to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 4: Migrate everything else to mozilla:: sync primitives. r=dbaron
Bug 645263, part 5: Remove nsAutoLock.*. sr=bsmedberg
Bug 645263, part 6: Make editor test be nicer to deadlock detector. r=ehsan
Bug 645263, part 7: Disable tracemalloc backtraces for xpcshell tests. r=dbaron
Bug 646259: Fix nsCacheService to use a CondVar for notifying. r=cjones
2011-03-31 23:29:02 -05:00
Peter Van der Beken
6957edb4f7 Back out 78f3982899ce (Fix for bug 603844) to fix orange.
--HG--
extra : rebase_source : e16da135432e7d3c6df11ca50f413b988bbd53a5
2011-03-31 17:25:41 -07:00
Chris Pearce
48f5b7cc07 Bug 641718 - Backout 44d43f095a4f. r=backout 2011-04-01 13:02:20 +13:00
Chris Jones
29f9a86daa Merge backout 2011-03-31 18:58:11 -05:00
Chris Jones
a75fb12531 Backed out changeset 4beec31b9ea9 for increasing frequency of intermittent orange bug 618052 2011-03-31 18:57:38 -05:00
Chris Jones ext:(%20and%20Kyle%20Huey%20%3Ckhuey%40kylehuey.com%3E)
cc8b4c9c6c Rollup of bug 645263 and bug 646259: Switch to mozilla:: sync primitives. r=cjones,dbaron,doublec,ehsan src=bsmedberg
Bug 645263, part 0: Count sync primitive ctor/dtors. r=dbaron
Bug 645263, part 1: Migrate content/media to mozilla:: sync primitives. r=doublec
Bug 645263, part 2: Migrate modules/plugin to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 3: Migrate nsComponentManagerImpl to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 4: Migrate everything else to mozilla:: sync primitives. r=dbaron
Bug 645263, part 5: Remove nsAutoLock.*. sr=bsmedberg
Bug 645263, part 6: Make editor test be nicer to deadlock detector. r=ehsan
Bug 645263, part 7: Disable tracemalloc backtraces for xpcshell tests. r=dbaron
Bug 646259: Fix nsCacheService to use a CondVar for notifying. r=cjones
2011-03-31 14:51:19 -05:00
Boris Zbarsky
6673da2a39 Bug 646850. When resetting length to the pre-animation value, make sure to not lose track of our units. r=dholbert 2011-03-31 15:29:44 -04:00
Boris Zbarsky
1014c1d928 Bug 646912. Fix grad-to-degree conversion factor. r=dholbert
--HG--
rename : layout/reftests/svg/smil/motion/animateMotion-rotate-1.svg => layout/reftests/svg/smil/motion/animateMotion-rotate-1a.svg
rename : layout/reftests/svg/smil/motion/animateMotion-rotate-1.svg => layout/reftests/svg/smil/motion/animateMotion-rotate-1b.svg
2011-03-31 15:29:44 -04:00
Ehsan Akhgari
41f6aee99f Merge cedar into mozilla-central 2011-03-31 14:11:37 -04:00
Shawn Wilsher
db69572e5f Bug 645101 - Stop using [deprecated] Storage methods (nsXULTemplateQueryProcessorStorage)
r=sicking
2011-03-31 10:19:31 -07:00
Kyle Huey
e169e16015 Back out Bug 639754. 2011-03-31 09:12:20 -04:00
Kyle Huey
61ff9410c4 Backed out changeset a5dbece71e4a due to test failures 2011-03-31 09:11:21 -04:00
Masayuki Nakano
f137ac24c5 Bug 645662 Should not consume mouse down event at the sub menu of splitmenu or toolbarbutton rolled up r=enndeakin 2011-03-31 21:28:19 +09:00
Matheus Kerschbaum
1f81122982 Bug 639754 - Remove MOZ_IPC checks since IPC is always built now. r=bsmedberg 2011-03-31 07:22:55 -04:00
Ehsan Akhgari
a0f4acae30 Merge cedar into mozilla-central 2011-03-30 13:53:35 -04:00
Graeme McCutcheon
091c5e040f Bug 566942: Only scan short strings to see if we can use shared data. r=sicking 2011-03-30 10:50:44 -07:00
Simon Montagu
be96a9dc94 Remove UTF-32 encoder and decoder. Bug 604317, r=emk 2011-03-30 08:35:34 +02:00
Matthew Gregan
498ae5a9a8 Bug 635400 - Null check state machine pointer in GetBuffered. r=cpearce 2011-03-24 18:04:16 +13:00
Matthew Gregan
e9c4f4002b Bug 645593 - Null check mAudioStream before use in PlaySilence. r=cpearce 2011-03-30 18:45:44 +13:00
Chris Double
bd28db8dee Bug 635649 - Refactor Wave backend to use content/media nsBuiltinDecoder framework - r=kinetik
commit c7e190d81b10e7425b53217352c126adfbb79c4a
Author: Chris Double <chris.double@double.co.nz>
Date:   Thu Mar 24 18:09:06 2011 +1300

    Fix
2011-03-30 18:37:42 +13:00
Chris Leary
733f538571 Merge mozilla-central and tracemonkey. 2011-03-29 14:52:44 -07:00
Chris Leary
78ceed9ab7 Merge mozilla-central to tracemonkey. 2011-03-29 09:05:25 -07:00
L. David Baron
2131a8f272 Remove nsCSSStruct.h/cpp. (Bug 645620, patch 4) r=bzbarsky 2011-03-28 16:07:26 -07:00
Jonas Sicking
c9ef093253 Bug 461066: Test for loadend firing correctly in CORS tests. r=smaug 2011-03-28 13:18:55 -07:00
Jonas Sicking
ca53c7c13a Bug 644476: Rename classes/functions/variables to use "CORS" rather than "Access Control" or "Cross site" where appropriate. r=smaug 2011-03-28 13:18:45 -07:00
Jonas Sicking
b41f2752c4 Bug 644476 Part 2: Move CORS code from nsXMLHttpRequest.cpp/h to nsCrossSiteListenerProxy.cpp/h. r=smaug 2011-03-28 13:11:09 -07:00
Jonas Sicking
0647926fda Bug 644476 Part 1: Remove nsIXMLHttpRequest.openRequest now that it's equivalent to nsIXMLHttpRequest.open. r=smaug 2011-03-28 13:05:52 -07:00
Ehsan Akhgari
db0e06d061 Merge cedar into mozilla-central 2011-03-28 13:28:13 -04:00
Robert O'Callahan
4ca813ae6e Bug 622072. Part 3: Support empty transactions for canvas layers. r=tnikkel
The basic idea is that whenever a layer transaction updates the window, we clear out the invalidation state for the canvas rendering context,
using a DidTransactionCallback registered on the layer(s) for the canvas, which calls MakeContextClean.

The DidTransactionCallbacks are directed to the user data attached to the Layer, which holds a strong reference to the canvas element. This
ensures that the element lives as long as the layer. Layers are destroyed when the presentation is torn down (including if the frame is destroyed),
so we can't have a leak here. The reference to the canvas element is only strong because the layer might briefly outlive the frame (the layer
won't be destroyed until the next paint of the window).

This patch moves responsibility for calling CanvasLayer::Updated and nsFrame::MarkLayersActive from the canvas context to nsHTMLCanvasElement::InvalidateFrame.
We call Updated on the retained CanvasLayer, if there is one; any other CanvasLayers created for this canvas would only be used once, and have Updated
called on them in BuildLayer when created.
2011-03-28 12:59:47 +13:00
Robert O'Callahan
6536947736 Bug 622072. Part 1: Remove rect parameter from Updated() and change implementations to defer updates to render time. r=bas
The rectangle parameter is currently not used --- all callers always pass the full canvas bounds. In the long term,
we probably won't want this parameter since all implementations should be doing accelerated drawing direct to buffers
with no intermediate copies, hence there will be no need to optimize the size of those copies. Plus, performance-sensitive
testcases tend to paint most or all of the canvas on every frame anyway.
2011-03-28 12:59:46 +13:00
Ehsan Akhgari
d1df3ecd6a Merge cedar into mozilla-central 2011-03-26 12:16:48 -04:00
Ms2ger
cda8ae48ca Bug 587469 - Remove an image map quirk; r=mats 2011-03-26 11:59:54 -04:00
Ms2ger
e1e1dbb813 Bug 585933 - Only implement HTMLUnknownElement on unknown elements; r=jonas,smaug
--HG--
rename : content/html/content/src/nsHTMLSpanElement.cpp => content/html/content/src/nsHTMLUnknownElement.cpp
2011-03-26 11:58:55 -04:00
timeless@mozdev.org
833ff23b21 Bug 620179 crash [@ TestNode::Constrain] if cantHandleYet
r=enn
2011-03-26 00:39:29 -04:00
timeless@mozdev.org
6771aab39b Bug 620181 crash [@ nsXBLPrototypeBinding::LocateInstance] if the while loop condition becomes false
r=neil
2011-03-26 00:39:12 -04:00
timeless@mozdev.org
f1a43f5eb8 Bug 620408 add fall through comment to txXPCOMExtensionFunctionCall::GetParamType
r=peterv
2011-03-26 00:37:11 -04:00
Ehsan Akhgari
a2f674fb10 Merge cedar into mozilla-central 2011-03-25 23:55:33 -04:00
Anna
ad9bb74766 Bug 618662. Make nsIDocument::GetWindow a const method. r=bzbarsky 2011-03-25 23:52:52 -04:00
Boris Zbarsky
5621236360 Bug 607529. Don't trigger animation callbacks on documents that have gone away. r=roc,smaug 2011-03-25 21:05:56 -04:00
Jonas Sicking
9dca224906 Bug 641706: Make SpecialPowers able to create a XHR object with full system powers. r=smaug 2011-03-17 09:19:13 -07:00
Ehsan Akhgari
9fd7693897 Merge backout of bug 263359 2011-03-25 18:16:31 -04:00
Ehsan Akhgari
ec23591598 Back out bug 263359 because it has caused bug 645119 2011-03-25 18:15:29 -04:00
Michael Wu
39759a9aa4 Bug 636251 - Use JSOPTION_NO_SCRIPT_RVAL in nsFrameMessageManager.cpp, r=jorendorff 2011-03-25 14:31:14 -07:00
Ehsan Akhgari
395dbdf918 Merge cedar into mozilla-central 2011-03-25 14:21:07 -04:00
Simon Montagu
9914a030ec Bug 263359 part 1.5: remove nsDirectionalFrame. 2011-03-24 11:28:44 +02:00
Phil Ringnalda
8031c780e6 Bug 628966 - test_bug428847.html (by way of file_bug428847-1.xhtml) loads http://www.mozilla.com/whatever.xsl over the network; r=sicking 2011-03-23 22:34:02 -04:00
Benjamin Smedberg
4f1ecb131c Bug 617539 - remove nsIWidget_MOZILLA_2_0_BRANCH, r=jimm 2011-03-25 11:03:35 -04:00
Benjamin Smedberg
61f9c6a63e Bug 617539 - Fold in nsIFrameLoader_MOZILLA_2_0_BRANCH, r=bz 2011-03-25 11:03:35 -04:00
Benjamin Smedberg
47387e2693 Bug 617539 - Merge nsIDOMWebGLRenderingContext_MOZILLA_2_0_BRANCH, r=jrmuizel 2011-03-25 11:03:35 -04:00
Benjamin Smedberg
f16e230ee4 Bug 617539 - Fold in nsIDOMHTMLSelectElement_Mozilla_2_0_Branch, r=smaug 2011-03-25 11:03:35 -04:00
Benjamin Smedberg
8e05e17a62 Remove nsIDOMNSDocument_MOZILLA_2_0_BRANCH, moving its private method to nsIDocument, r=sicking 2011-03-25 11:03:33 -04:00
Benjamin Smedberg
92bd44c461 Bug 617539 - Remove branch interfaces, nsIHTMLEditor_MOZILLA_2_0_BRANCH, straight backout of revision e9d979b4b4a0, r=ehsan 2011-03-25 11:03:33 -04:00
Mounir Lamouri
77361d1f11 Bug 636750 (4/4) - s/float/double/g on few methods/enums/variables. r=bz sr=sicking 2011-03-25 15:43:53 +01:00
Mounir Lamouri
3e3658025e Bug 636750 (3/4) - Use a double value instead of a float in nsAttrValue::MiscContainer. r=bz 2011-03-25 15:43:40 +01:00
Mounir Lamouri
cc185260b6 Bug 636750 (2/4) - Use ToDouble instead of ToFloat when appropriate. r=bsmedmerg 2011-03-25 12:14:19 +01:00
Mounir Lamouri
555701d032 Bug 633058 - Satchel should not stop events propagations. r=dolske 2011-03-25 12:30:36 +01:00
Mounir Lamouri
5c636d8313 Bug 610212 - canvas.width and canvas.height should be reflected as unsigned int. r=jst 2011-03-25 12:40:55 +01:00
Olli Pettay
5c66a2d34e Bug 642140 - nsEventDispatcher should dispatch chrome only events to TabChildGlobal, r=jst 2011-03-25 15:39:58 +02:00
Neil Rashbrook
7b8d25a7b1 Bug 611503 Fix broken consumers of nsTDependentString on an nsTAString r=dwitte 2011-03-25 11:43:15 +00:00
L. David Baron
802da587ae Merge layout work from projects/birch, part 2. 2011-03-23 17:39:29 -07:00
Ehsan Akhgari
7804c38300 Merge mozilla-central into cedar, in order to import work targetted at Firefox 4 into the tree 2011-03-23 19:18:30 -04:00
Ehsan Akhgari
ca95c68a1e Merge mozilla-central into cedar 2011-03-23 18:29:19 -04:00
Chris Pearce
b767468fb0 Bug 639391 - Ensure WebM GetBuffered() is threadsafe. r=kinetik 2011-03-24 11:28:58 +13:00
Chris Pearce
207244234b Bug 639391 - Ensure Ogg GetBuffered() is threadsafe. r=roc 2011-03-24 11:28:58 +13:00
Chris Pearce
7e89e95619 Bug 693391 - Pin nsMediaStream while determining buffered ranges. r=roc 2011-03-24 11:28:58 +13:00
Chris Pearce
efabfc61cf Bug 639391 - Make nsMediaStream responsible for determining cached media data in a threadsafe manner. r=roc 2011-03-24 11:28:58 +13:00
Chris Pearce
16b3b24b89 Bug 639391 - Push Ogg specific seeking stuff down into nsOggReader. r=roc 2011-03-24 11:28:58 +13:00
Chris Pearce
2f263be1cb Bug 628665 - Supress warnings in nsBuiltinDecoderStateMachine. r=roc 2011-03-24 11:28:58 +13:00
Chris Pearce
edfec66da5 Bug 628665 - Exit media buffering state quicker if we entered it too soon after starting decode. r=roc 2011-03-24 11:28:57 +13:00
Chris Pearce
a77b17534e Bug 628665 - Buffer media when low on undecoded data. r=roc 2011-03-24 11:28:57 +13:00
Chris Pearce
c6a5fc5f37 Bug 628665 - Resurrect nsBuiltinDecoderStateMachine::HasLowDecodedData(). r=roc 2011-03-24 11:28:57 +13:00