Commit Graph

2178 Commits

Author SHA1 Message Date
Robert O'Callahan
148d55eef9 Bug 473680. Stop crashtest 458637-1.html early (returning success) if it's running too long. 2009-01-15 21:00:27 +13:00
Jeremy Lea
1800930122 Bug 448830. Make nsIntRect/nsIntMargin/nsIntSize/nsIntPoint different types from nsRect/nsMargin/nsSize/nsPoint different types for better compile-type unit checking. r+sr=roc
--HG--
extra : rebase_source : a331a9e49fbc5931f546919281fcca7f008ab615
2009-01-15 16:27:09 +13:00
Brian Birtles
adf1d4fa7c Bug 216462: Add support for basic SVG animation (SMIL). Disabled in builds by default. r+sr=roc 2009-01-14 20:38:07 -08:00
Ben Turner
9853f8d27d Backed out changeset 4c4d0bf8622e for failing unit tests. 2009-01-14 18:22:41 -08:00
Jonas Sicking
864d6c43fd Bug 461555: Don't clear out the parser until all deferred scripts have executed to ensure that a document.write in a deferred script doesn't clear the page. r/sr=mrbkap 2009-01-14 17:25:21 -08:00
Boris Zbarsky
00e66d09cf Bug 453736. Make <svg:script> more like other scripts and fix up a few other minor issues. r=roc, r+sr=sicking 2009-01-14 07:49:18 -05:00
Peter Van der Beken
da3c398d8a Fix for bug 453441 (Parsing an XSLT stylesheet with two xsl:version attributes fails). r/sr=sicking. 2009-01-14 13:24:09 +01:00
Boris Zbarsky
1edd870a8e Bug 472648. Make XBL in signed jars work again. r+sr=jst 2009-01-14 06:24:26 -05:00
Olli Pettay
c7ab97407d Relanding Bug 472260, r+sr=bz 2009-01-14 13:01:46 +02:00
Jonas Sicking
ef7a82c353 Fix mochitest orange 2009-01-14 00:19:16 -08:00
Dan Fabulich
b3132f8800 b=347174, implement document.readystate == 'complete'; r=sicking 2009-01-09 09:12:09 -08:00
Jonas Sicking
2dc8a2f1eb Bug 464848: XMLHttpRequest doesn't send the right content-type for non-document request bodies. r/sr=bz 2009-01-13 22:53:43 -08:00
Ryan Flint
4c0a23f3e3 Backout changeset e40649461b57 due to crashes 2009-01-13 17:53:04 -05:00
Boris Zbarsky
64c25a9d72 Bug 472648. Make XBL in signed jars work again. r+sr=jst 2009-01-13 14:32:30 -05:00
Boris Zbarsky
788d6a77a8 Bug 473162. Make getElementsByClassName case-insensitive in quirks mode, per spec. r+sr=jst 2009-01-13 14:32:30 -05:00
Boris Zbarsky
21eb2434f8 Bug 449780. When doing a frameloader swap, clear the bfcache on both docshells, since we can't deal with all those presentations. r+sr=jst 2009-01-13 14:32:30 -05:00
Nick Kreeger
6373ae3766 Fixing Bug 454632 - Resizing tree widget always re-scrolls to current index. r=enndeakin,sr=bz. Patch by Stephen Lau <steve@grommit.com>. 2009-01-13 10:50:26 -08:00
Olli Pettay
2369da62ec Bug 460700 - Use the right delay with XHR progress events, r+sr=jonas 2009-01-13 19:38:01 +02:00
Dave Camp
b18d454609 Backed out changeset 44890ee1d15f for leaks 2009-01-13 02:22:59 -08:00
Dave Camp
ca7e07e266 Bug 441359: Check script and css loads against the classifier. r+sr=jonas 2009-01-12 21:52:00 -08:00
Benjamin Smedberg
24e7cb1f78 Bug 396185 - Make nsIFrame derivatives and helper abstract classes use a different dynamic-cast system than nsISupports:
* we know all types frames may be cast to at compile time, so instead of extensible GUID IIDs, use a big enum (see nsQueryFrame::FrameIID)
* eliminate all vestiges of refcounting, since frames aren't refcounted

Some frames (SVG frames in particular) still implement nsISupports-derived interfaces, for example nsISVGValue. There is a FrameIID for nsISVGValue that lets you go from a frame to the XPCOM interface, but you can't query back.

r+sr=roc

nsITextControlFrame didn't have an IID the first time around, but this wasn't a compile error because nsITextControlFrame::kFrameIID inherited from nsIFormControlFrame::kFrameIID. I've added a static analysis pass to verify the correct behavior, since I can't figure out a way to make the compiler do it.

--HG--
extra : rebase_source : 4894a2ca0278e2ab92f27459db77165f8348cf41
2009-01-12 14:20:59 -05:00
Patrick McManus
160a5690a3 Bug 473089. Make sure that our DNS listener (which may be released on random threads) doesn't hold refs to Elements. r+sr=bzbarsky 2009-01-12 10:38:32 -05:00
Patrick McManus
fbf86e6cfb Bug 464838. Try to resolve performance issues in DNS prefetch by putting elements, not URIs, in the queue, and deferring URI creation to pageload complete (or a timer, if we're not in pageload). Now with leak fixes. r+sr=bzbarsky 2009-01-12 10:36:55 -05:00
Phil Ringnalda
b6fe1a7700 Builds are neccesary, even if you can spell necessary, and even in a CLOSED TREE 2009-01-11 00:46:35 -08:00
Olli Pettay
51f168081f Backout Bug 472260 (CLOSED TREE) 2009-01-09 21:52:01 +02:00
Boris Zbarsky
e4836796ec Bug 472239. Make sure to set up our listener before trying to call OnStartRequest on it. r+sr=jst 2009-01-09 12:54:23 -05:00
Benjamin Smedberg
50621e4f9f Backed out changeset 4c4df6ed1b41 - Bug 396185 - Make nsIFrame not inherit from nsISupports due to mochitest failures... these appear to be crashes in nsGenericHTMLElement::GetEditorInternal. 2009-01-09 11:35:24 -05:00
Benjamin Smedberg
d0b948876f Bug 396185 - Make nsIFrame derivatives and helper abstract classes use a different dynamic-cast system than nsISupports:
* we know all types frames may be cast to at compile time, so instead of extensible GUID IIDs, use a big enum (see nsQueryFrame::FrameIID)
* eliminate all vestiges of refcounting, since frames aren't refcounted

Some frames (SVG frames in particular) still implement nsISupports-derived interfaces, for example nsISVGValue. There is a FrameIID for nsISVGValue that lets you go from a frame to the XPCOM interface, but you can't query back.

r+sr=roc

This patch locally causes two REFTEST-UNEXPECTED-PASS for Bidi stuff. It's possible that I accidentally fixed a bug, but I'm not sure, so I'm going to wait for the tinderboxes to confirm my local results.
2008-11-05 14:25:30 -05:00
Olli Pettay
6528b75171 Bug 472260 - Crash [@ nsDocShell::EnsureContentViewer], r+sr=bz 2009-01-09 10:45:14 +02:00
Jeff Schiller
efd64b7e1d Bug 435209. Fix logic errors in nsSVGPathSegList::ReplaceItem. r=longsonr,sr=roc 2009-01-09 13:26:59 +13:00
Olli Pettay
7654fbb66c Bug 472312, change NS_ERROR to NS_WARNING for now 2009-01-08 23:36:22 +02:00
Olli Pettay
8f1ea12925 Bug 472312, r+sr=bz 2009-01-08 22:16:33 +02:00
Boris Zbarsky
4718bf7b4a Backed out changeset b73e063a3f99 (bug 464838) 2009-01-08 14:58:33 -05:00
Patrick McManus
7d2d500eb0 Bug 464838. Try to resolve performance issues in DNS prefetch by putting elements, not URIS, in the queue, and deferring URI creation to pageload complete (or a timer, if we're not in pageload). r+sr=bzbarsky 2009-01-08 13:08:20 -05:00
Matthew Gregan
a854c4ee45 Bug 471590. Update wave-decoder Pause to handle possible asynchyronous loading. r=doublec,sr=roc
--HG--
extra : rebase_source : 4146cd1a399875992e44769d752effc4f312841f
2009-01-08 21:44:38 +13:00
Olli Pettay
86970fbe9a Bug 470687, try to prevent broadcaster loops, r=enndeakin, sr=neil 2009-01-07 15:25:29 +02:00
Robert O'Callahan
4659c94f44 Bug 472244. Flush out MozAfterPaint for previously painted areas before we go ahead and fire MozReftestInvalidate to test invalidation. Also make canvas.drawWindow take float parameters so we can more precisely specify the area to render when 'device pixels' don't match CSS pixel boundaries. r=dbaron,vlad 2009-01-07 21:31:36 +13:00
Chris Double
cdee3a861f Backed out changeset f155c8f39715 2009-01-07 16:33:42 +13:00
Chris Double
508543fa18 Bug 464376 - Fire audio/video progress events as per spec - r+sr=roc 2009-01-07 14:48:52 +13:00
Jesse Ruderman
22cd32241d Add five crashtests 2009-01-06 16:47:56 -08:00
Olli Pettay
8ce81994af Bug 472212, r+sr=bz 2009-01-06 21:37:28 +02:00
Benjamin Smedberg
720c4f5577 Bug 472348 - Some unused variables found by combing the warning database, rs=bz 2009-01-06 14:25:58 -05:00
Chris Pearce
d79cdb7eae Bug 472204. Define event handler scripts before the video/audio elements that reference them, to guard against situations where the video element loads before we've parsed the event handlers. r=roc 2009-01-06 14:18:40 +13:00
Taras Glek
7979413f31 Bug 472171 - nsIPrivateTextRangeList outparamdel didn't change IID r+sr=bz 2009-01-05 14:50:47 -08:00
Taras Glek
04a1b5bb30 Bug 472169 - nsIPrivateTextEvent outparamdel didn't change IID r+sr=bz 2009-01-05 14:50:30 -08:00
Taras Glek
b9f921376d Bug 472167 - nsIForm outparamdel didn't change IID r+sr=bz 2009-01-05 14:50:04 -08:00
Taras Glek
c02dce6fea Bug 472120 - nsIPrivateDOMEvent outparamdel didn't change IID r+sr=bz 2009-01-05 14:49:34 -08:00
Dave Camp
d4f7aed7eb Backed out changeset e31d0d3c28fd (bug 441359) 2009-01-05 01:27:51 -08:00
Dave Camp
c3150e042c Bug 441359: Run scripts/css through the classifier. r+sr=sicking 2009-01-04 23:40:29 -08:00
Robert O'Callahan
97b3e0fea9 Back out 451958 2009-01-05 16:33:12 +13:00
Robert O'Callahan
c149ac33a2 Backed out changeset a5587354082a 2009-01-05 16:33:01 +13:00
Robert O'Callahan
80581dba4e Back out 451958 2009-01-05 16:32:31 +13:00
Robert O'Callahan
8ed70ab879 Backed out changeset 23021d6ef8b2 2009-01-05 16:31:59 +13:00
Robert O'Callahan
4ef4ddca28 Fix obvious mistake in bug 470911 as well 2009-01-05 15:18:33 +13:00
Robert O'Callahan
dc7ce41957 Fix bustage for bug 470911, try harder^2 2009-01-05 15:15:49 +13:00
Robert O'Callahan
1bba11231b Fix bustage for bug 470911, try harder 2009-01-05 15:13:49 +13:00
Robert O'Callahan
04d34e0192 Fix bustage by removing mention of non-existent test for bug 451958. 2009-01-05 14:58:27 +13:00
Robert O'Callahan
33e4a2f135 Fix bustage for bug 470911 2009-01-05 14:54:16 +13:00
Robert O'Callahan
f5ac70880b Bug 470911. Make the preserveAspectRatio attribute storage much simpler and make the DOM accessors use tear-offs. With help from Craig Topper. r+sr=roc
--HG--
extra : rebase_source : 1a073c76d07c0a4532b2caf9978ef5847b36dec8
2009-01-05 14:19:38 +13:00
Craig Topper
5d6ba2df4a Bug 471165. Make SVG animated class storage an nsAutoPtr<nsString> and make the DOM 'className' object a tear-off. r=longsonr,sr=roc
--HG--
extra : rebase_source : 8ba937100e482ea0dab88a310ad378afd76c8953
2009-01-05 14:13:56 +13:00
Chris Pearce
5f79974815 Bug 451958. Implement load policy for media elements. r+sr=roc
--HG--
extra : rebase_source : 6554a080e91e0cf61807dd29ca5103dd35531cd8
2009-01-05 13:50:33 +13:00
Chris Double
f225c83ebc Bug 470636 - Audio doesn't stop after navigating away from page - r+sr=roc 2009-01-05 13:09:40 +13:00
L. David Baron
82d6666100 Remove the VerifyReflow code that checked the space manager state. (Bug 191448) r+sr=roc 2009-01-04 14:52:38 -05:00
Craig Topper
26e18b4971 reverting 245acb960a88 2009-01-04 17:02:07 +00:00
Craig Topper
0e36e0cef5 Bug 471165 - Removing the class attribute doesn't clear class name. r=longsonr,sr=roc 2009-01-04 15:51:11 +00:00
Peter Van der Beken
3c18aee1d9 Testcase for bug 468208 (Leak txNodeTest on http://ocp.acadiau.ca/). 2009-01-04 16:15:02 +01:00
timeless
5ba3872917 Bug 466384 - "ASSERTION: OnDataAvailable implementation consumed no data" loading standalone video from local file; r+sr=bzbarsky 2009-01-04 09:31:42 +01:00
Peter Van der Beken
78fa6325a2 Fix for bug 466224 (Make quickstubs call nsINode/nsINodeList methods). r/sr=jst. 2009-01-02 18:00:18 +01:00
Mats Palmgren
cd1c6303ff Setting selectedIndex to an out-of-bounds value should have the same effect as setting it to -1. b=471741 r+sr=roc 2009-01-02 16:54:48 +01:00
Olli Pettay
28e3d7cf73 Bug 436965, r+sr=sicking 2009-01-02 17:41:43 +02:00
Olli Pettay
ed62696892 Back out bug 436965 2009-01-02 16:31:13 +02:00
Olli Pettay
f4bf461d7e Bug 436965, r+sr=sicking 2009-01-02 14:40:43 +02:00
Jesse Ruderman
cf4b91bb09 Add 19 crashtests 2009-01-01 14:18:58 -08:00
Phil Ringnalda
b6f4c63c3c Backed out changeset e0cce6a738c9 (Bug 466224 - Make quickstubs call nsINode/nsINodeList methods) for failing mochitest 2008-12-31 18:21:52 -08:00
Peter Van der Beken
9f2cfc5446 Fix for bug 466224 (Make quickstubs call nsINode/nsINodeList methods). r/sr=jst. 2008-12-31 14:55:20 +01:00
Ben Turner
ecdcc79104 Bug 470334 - 'Workers: relative urls for XHR are incorrect'. r+sr=jst, a=blocking1.9+ 2008-12-30 16:24:58 -06:00
Peter Van der Beken
2b25dc0406 Fix for bug 467671 (Leak 6 nsGlobalWindows due to DOMAnimatedLength not participating in cycle collection). 2008-12-30 17:32:22 +01:00
Olli Pettay
7c4810ebbf Bug 419059 - contentAccess accesskeys for elements hidden with CSS don't work, r=neil, sr=roc, a=jst 2008-12-30 16:09:14 +02:00
Neil Deakin
594c36bac2 Bug 467775, ensure GetMayProcessChildren is called for all recursive template checks, r=smaug,sr=jonas 2008-12-30 08:31:00 -05:00
Olli Pettay
f90f05f0b4 Bug 471246, r+sr=jst 2008-12-30 14:27:37 +02:00
Daniel Holbert
29eded8020 whitespace-only: Fix bad indentation on one line of nsSVGAnimatedTransformList.cpp 2008-12-29 17:40:08 -08:00
L. David Baron
23d4f4d4b2 Stop using nsAreaFrame for anything other than xul:label, which is the only thing for which it does anything different from nsBlockFrame, and rename it accordingly. (Bug 471356) r+sr=roc
--HG--
rename : layout/generic/nsAreaFrame.cpp => layout/xul/base/src/nsXULLabelFrame.cpp
rename : layout/generic/nsAreaFrame.h => layout/xul/base/src/nsXULLabelFrame.h
2008-12-29 10:07:38 -05:00
L. David Baron
43923a2427 DeCOMtaminate nsIPresShell::GetDidInitialReflow. (Bug 468645) r+sr=bzbarsky 2008-12-29 10:07:36 -05:00
Daniel Holbert
71f1fca3cd whitespace-only: remove space characters on blank line in nsIDocument.h 2008-12-29 00:33:13 -08:00
Robert O'Callahan
374cd3a20b Bug 449142. Scale video so that it fits in the content-box of the element and has the same aspect ratio as the video source. Also adds some Ogg video reftests. r=doublec,sr=dbaron 2008-12-29 21:20:27 +13:00
Boris Zbarsky
ee6c3e172a Bug 449778. Don't fire pageshow in the new place on viewer swap if it's about to fire anyway. Do fire it in the old spot in that case, though. r+sr=jst 2008-12-28 10:34:00 -08:00
Jeff Walden
d8115cfd7b Fix another warning pointed out by bsmedberg warning-blame by annotating a function parameter as an outparam. 2008-12-23 13:33:58 -08:00
Craig Topper
48ae659bfa Bug 471235 - IsAttributeMapped appears in many SVG class definitions with NS_IMETHODIMP_ instead of NS_IMETHOD_; r=longsonr sr=roc 2008-12-28 07:58:37 +01:00
Serge Gautherie
ce7842afac Bug 471122 - test_CrossSiteXHR.html : improve thrown exceptions from file_CrossSiteXHR_server.sjs; (Av2) Use setStatusLine(); r+sr=jonas 2008-12-28 00:26:59 +01:00
Serge Gautherie
c4cccfac97 Bug 471122 - test_CrossSiteXHR.html : improve thrown exceptions from file_CrossSiteXHR_server.sjs; CrLf->Lf Eol; r+sr=jonas 2008-12-28 00:26:55 +01:00
Craig Topper
4547ca3bd9 Bug 471239 - nsSVGElement::ParseAttribute doesn't return PR_TRUE for new style SVG strings; r=longsonr sr=roc 2008-12-27 23:52:30 +01:00
Olli Pettay
04dfa0f508 Bug 470571, r=longsonr, sr=roc 2008-12-27 21:20:44 +02:00
Peter Van der Beken
cd56dddcce Testcase for bug 462929 ("ASSERTION: We can't deal with objects that have the same classinfo but different offset tables" with MathML element and other element). 2008-12-23 12:35:48 +01:00
Peter Van der Beken
bb4d5deab6 Testcase for bug 427060 (Get Error during XSLT transformation: Waiting for ...). 2008-12-23 12:35:47 +01:00
Peter Van der Beken
e26ae4fa21 Fix for bug 468208 (Leak txNodeTest on http://ocp.acadiau.ca/). r/sr=sicking. 2008-12-23 12:35:47 +01:00
Peter Van der Beken
821bb2cd78 Bug 418970 - DOMNodeInsertedIntoDocument mistyped as *InfoDocument; r+sr=jonas 2008-12-20 02:10:46 +01:00
Ben Newman
5a5c94ecb3 Bug 468562 - "ASSERTION: Inserting multiple children without flushing"; r+sr=mrbkap 2008-12-20 01:49:08 +01:00
Blake Kaplan
eb445f1575 Bug 455629 - Test that we actually do wrap the return value of nsISVGDocument::getSVGDocument in a XOW. r=bzbarsky
--HG--
extra : rebase_source : 471ed08d3cc3ab957f44a6b65b8f2bd8c5e7d41d
2008-12-19 15:47:19 -08:00
Olli Pettay
f0be228b18 Bug 461027, r+sr=bz 2008-12-20 01:40:00 +02:00
Olli Pettay
d37ba82165 Bug 470431 - Memory leak of document and content nodes with creating DOMMouseScroll event, r+sr=jst 2008-12-20 01:27:33 +02:00