Граф коммитов

15167 Коммитов

Автор SHA1 Сообщение Дата
Fred Jendrzejewski fd612bd117 Bug 466622. Replace nsCStringArray with nsTArray<nsCString> for more consistent code and fewer heap allocations. r+sr=roc,r=bsmedberg
--HG--
extra : rebase_source : b963bf5de9d9c445b14620479691482512e0faf2
2009-01-22 17:15:34 +13:00
Brian Birtles 03f9d86660 Bug 474357, Calls to setCurrentTime, beginElementAt etc. should update the DOM state immediately. r+sr=roc
--HG--
extra : rebase_source : 7c69aae13ee1c1b4fff077a046e042bae9a4970d
2009-01-22 14:00:27 +13:00
Craig Topper e36799a8d9 Bug 471551. Stop duplicating SVG string attribute storage by having nsSVGString use the attribute value as the underlying base value (removing mBaseVal); also make mAnimVal an nsAutoPtr<nsString>. r=longsonr,r+sr=roc
--HG--
extra : rebase_source : 319ff11d4321f2f7f41a7d19f17435fe814b1079
2009-01-22 13:56:51 +13:00
Robert O'Callahan 59baac2dbf Bug 466410. Ensure that videoWidth and videoHeight are valid when metadataloaded fires on Ogg videos. r=doublec
--HG--
extra : rebase_source : 9e2a9c286a97ad9ba376a68d53a901af6b8ed312
2009-01-22 13:52:06 +13:00
Jonas Sicking 47bc5b200d Bug 464954: Update Access-Control implementation to latest draft and fix some bugs. r/sr=bz 2009-01-21 14:50:28 -08:00
Jonas Sicking 8fa7d7d62b merge backout 2009-01-21 18:08:10 -08:00
Jonas Sicking 3c5e8d7d01 Backed out changeset 2063e342b8e1 due to failing docshell tests 2009-01-21 18:07:29 -08:00
Michael Ventnor 4ec03cb43f Bug 123836 - Implement indeterminate property on checkboxes and radio buttons - r=roc,jst sr=roc 2009-01-22 13:07:44 +13:00
Chris Double b4764201b3 Bug 460738 - Suspend media downloads when in bfcache - r=kinetik sr=roc 2009-01-22 12:54:40 +13:00
Jonas Sicking 2065d98f9d Bug 464954: Update Access-Control implementation to latest draft and fix some bugs. r/sr=bz 2009-01-21 14:50:28 -08:00
Olli Pettay 31411e1966 Bug 473899, ASSERTION: must have binding parent when in native anonymous subtree, r+sr=sicking 2009-01-21 11:15:57 +02:00
Keith Rarick 5d54fa9735 Implement 'rem' unit from css3-values. (Bug 472195) r+sr=dbaron 2009-01-20 13:58:48 -08:00
Boris Zbarsky 6f184b9ab7 Bug 474041. Don't leak if we end up with a Reset() while we have a pending id change notification. r+sr=roc 2009-01-19 17:49:21 -05:00
Robert O'Callahan 5ce3405c7e Merged backout of bug 471551 2009-01-20 00:26:31 +13:00
Robert O'Callahan 17f34182d5 Backed out changeset fb2d014e0352 2009-01-20 00:25:58 +13:00
Brian Birtles b6825d6948 Bug 468996. Implement SMIL animateTransform element. r+sr=roc 2009-01-19 22:14:16 +13:00
Brian Birtles 3badaca765 Bug 474257. Implement SVG 1.1 erratum to make beginElementAt/endElementAt return void. r+sr=roc 2009-01-19 22:12:29 +13:00
Brian Birtles 95b0f1eb90 Bug 473702. Implement SVGAnimationElement methods getStartTime/getCurrentTime/getSimpleDuration. r+sr=roc 2009-01-19 22:10:53 +13:00
Jonathan Kew 912963f6c8 Bug 472593. Don't call line-breaker's Next() method when already at end of text. r=bz,sr=roc 2009-01-19 22:07:11 +13:00
Robert O'Callahan 322843fb44 Bug 471551. Avoid duplicate string storage for SVG string attributes; let nsSVGString get the baseval from the element. Also change mAnimVal to an nsAutoPtr to minimize storage in the non-animated common case. r=longsonr,sr=roc 2009-01-19 22:03:31 +13:00
Fred Jendrzejewski 9bd9de1b83 Bug 461047 - Replace nsStringArray with nsTArray<nsString>. r+sr=roc 2009-01-18 21:14:14 +01:00
Markus Stange 4ed4d0e51a Fix test for bug 398289 that broke because of bug 206636 2009-01-18 13:47:51 +01:00
Kai Liu 3eeb6e782b Bug 240536 - resizer direction is to the right, when interface is RTL; r=roc,mano sr=roc 2009-01-18 13:58:19 +03:30
Neil Deakin c5d977cbd0 Bug 212750, position context menu for menus when the keyboard shortcut is used, also move code around so that the right targets are set for context menu key events, r=smaug,sr=roc 2009-01-17 15:50:00 -05:00
Robert O'Callahan dcb601c163 Add missing tests for bug 463830 2009-01-17 22:26:55 +13:00
Chris Pearce 4281a1ad05 Bug 463830. Use the video file name as the window title for standalone video objects, for now. r+sr=roc,r+sr=bzbarsky
--HG--
extra : rebase_source : b9ee2200c86a0c3fa06cdb163a39a183aa313380
2009-01-16 22:07:26 +13:00
Chris Pearce b2c29d9b6f Bug 469446. Necko should be able to cache byte-range requests when the start offset is zero. Then we can make our initial video load a byte-range request to detect whether the server supports byte-range requests, and the video data can still be cached. r=doublec,sr=roc,r=bzbarsky
--HG--
extra : rebase_source : acec408274be2b770b5f1936b4f915ef1bafa60b
2009-01-16 21:22:08 +13:00
Craig Topper 2917d9f646 Bug 473334. Devirtualize some nsSVGSVGElement methods. r=jwatt,sr=roc
--HG--
extra : rebase_source : 7a14a6c7697283a490696c43f3f62a23ad1beba4
2009-01-16 21:16:46 +13:00
Craig Topper 1b9351e2c7 Bug 473347. nsSVGLength2 DOM tearoffs need to check for infinity/NaN. r=jwatt,sr=roc
--HG--
extra : rebase_source : 5af871d159a32c86e31f0c6aaa2ca25e88f4d928
2009-01-16 21:16:06 +13:00
Robert O'Callahan 5f1d4cf998 Bug 472878. Allow nsMediaDecoder::Invalidate to UpdateMediaSize on the element even if there is no frame for the element. r=doublec
--HG--
extra : rebase_source : dcafd327c98d1da7076f06c86b23eb7d5dd1edcb
2009-01-16 20:57:37 +13:00
Dave Camp 388543178c Bug 473938 Stylesheets don't load without a safe browsing service r+sr=sicking 2009-01-16 21:54:39 +00:00
Patrick McManus fd6bf241e5 Bug 473974. Don't DNS-prefetch nodes whose document went away. r+sr=bzbarsky 2009-01-16 14:21:32 -05:00
Gavin Sharp 42c312e721 Bug 466751: setting .innerHTML to invalid markup in XHTML causes NS_ERROR_INVALID_POINTER, r+sr=jst 2009-01-16 14:19:27 -05:00
Robert O'Callahan 730e65f154 Backed out changeset 8019a959aade 2009-01-16 22:20:33 +13:00
Fred Jendrzejewski 6e7f270ba9 Bug 461047. Replace nsStringArray with nsTArray<nsString>. r+sr=roc
--HG--
extra : rebase_source : 7a20af24c97867efbb28dafa6a70ea1b4cf00e58
2009-01-16 20:51:04 +13:00
Dave Camp f130a2f49c Bug 441359: Check script and css loads against the classifier. r+sr=jonas 2009-01-13 23:13:48 -08:00
timeless@mozdev.org ff1ca59a67 Bug 209598 - Crash opening link from other applications [@ nsXULDocument::InsertElement], r+sr=bz 2009-01-15 20:02:22 -08:00
Robert O'Callahan dda238697f Disable randomly-failing progress-event test, properly 2009-01-16 15:24:52 +13:00
Robert O'Callahan dd50832056 Disable randomly-failing progress-event test 2009-01-16 15:15:21 +13:00
Chris Double d184aa37ad Bug 464376 - Dispatch progress events while media resource is downloading - r+sr=roc 2009-01-16 09:26:51 +13:00
Boris Zbarsky a9d02b616a Bug 453801. Make sure to not fire onload before deferred scripts have executed. r+sr=sicking 2009-01-15 14:49:20 -05:00
Robert O'Callahan 3920a4d87a 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 1b7e1f21f0 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 c2b3e61546 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 aec1c7b615 Backed out changeset 4c4d0bf8622e for failing unit tests. 2009-01-14 18:22:41 -08:00
Jonas Sicking f0950b7ad7 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 1d2fbd7643 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 d066d30b49 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 67db1c106c Bug 472648. Make XBL in signed jars work again. r+sr=jst 2009-01-14 06:24:26 -05:00
Olli Pettay d605c30b3e Relanding Bug 472260, r+sr=bz 2009-01-14 13:01:46 +02:00
Jonas Sicking c380ca8ae5 Fix mochitest orange 2009-01-14 00:19:16 -08:00
Dan Fabulich 72a5607e76 b=347174, implement document.readystate == 'complete'; r=sicking 2009-01-09 09:12:09 -08:00
Jonas Sicking 692b67d79a 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 cdf655990c Backout changeset e40649461b57 due to crashes 2009-01-13 17:53:04 -05:00
Boris Zbarsky 2760561852 Bug 472648. Make XBL in signed jars work again. r+sr=jst 2009-01-13 14:32:30 -05:00
Boris Zbarsky 11cf0c0220 Bug 473162. Make getElementsByClassName case-insensitive in quirks mode, per spec. r+sr=jst 2009-01-13 14:32:30 -05:00
Boris Zbarsky 1340ae4250 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 c64b43f65c 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 e57864afa5 Bug 460700 - Use the right delay with XHR progress events, r+sr=jonas 2009-01-13 19:38:01 +02:00
Dave Camp 52cc67fd56 Backed out changeset 44890ee1d15f for leaks 2009-01-13 02:22:59 -08:00
Dave Camp 3ac023a8d9 Bug 441359: Check script and css loads against the classifier. r+sr=jonas 2009-01-12 21:52:00 -08:00
Benjamin Smedberg c0b8dd79be 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 578fe96d79 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 cf98f51183 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 7e97598029 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 11b1145eb2 Backout Bug 472260 (CLOSED TREE) 2009-01-09 21:52:01 +02:00
Boris Zbarsky d4ffe19523 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 507daffc50 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 b0f322f21c 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 ae3a4ba873 Bug 472260 - Crash [@ nsDocShell::EnsureContentViewer], r+sr=bz 2009-01-09 10:45:14 +02:00
Jeff Schiller 85d353ff91 Bug 435209. Fix logic errors in nsSVGPathSegList::ReplaceItem. r=longsonr,sr=roc 2009-01-09 13:26:59 +13:00
Olli Pettay b3203511a8 Bug 472312, change NS_ERROR to NS_WARNING for now 2009-01-08 23:36:22 +02:00
Olli Pettay 48d75e7ac8 Bug 472312, r+sr=bz 2009-01-08 22:16:33 +02:00
Boris Zbarsky c6097b398f Backed out changeset b73e063a3f99 (bug 464838) 2009-01-08 14:58:33 -05:00
Patrick McManus 292d6ed661 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 4328ab16fd 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 53e7324549 Bug 470687, try to prevent broadcaster loops, r=enndeakin, sr=neil 2009-01-07 15:25:29 +02:00
Robert O'Callahan 381075cef6 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 21ad32ae8f Backed out changeset f155c8f39715 2009-01-07 16:33:42 +13:00
Chris Double f159609763 Bug 464376 - Fire audio/video progress events as per spec - r+sr=roc 2009-01-07 14:48:52 +13:00
Jesse Ruderman b4c7f07c04 Add five crashtests 2009-01-06 16:47:56 -08:00
Olli Pettay 840a8eedda Bug 472212, r+sr=bz 2009-01-06 21:37:28 +02:00
Benjamin Smedberg 6ad2e1d3f7 Bug 472348 - Some unused variables found by combing the warning database, rs=bz 2009-01-06 14:25:58 -05:00
Chris Pearce 6b3ae64ce8 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 01bc8cfd74 Bug 472171 - nsIPrivateTextRangeList outparamdel didn't change IID r+sr=bz 2009-01-05 14:50:47 -08:00
Taras Glek 6c177edfb3 Bug 472169 - nsIPrivateTextEvent outparamdel didn't change IID r+sr=bz 2009-01-05 14:50:30 -08:00
Taras Glek c1870193a8 Bug 472167 - nsIForm outparamdel didn't change IID r+sr=bz 2009-01-05 14:50:04 -08:00
Taras Glek 22ee113cc2 Bug 472120 - nsIPrivateDOMEvent outparamdel didn't change IID r+sr=bz 2009-01-05 14:49:34 -08:00
Dave Camp a8ba41104f Backed out changeset e31d0d3c28fd (bug 441359) 2009-01-05 01:27:51 -08:00
Dave Camp d938bc5087 Bug 441359: Run scripts/css through the classifier. r+sr=sicking 2009-01-04 23:40:29 -08:00
Robert O'Callahan a9ba304668 Back out 451958 2009-01-05 16:33:12 +13:00
Robert O'Callahan 616d02e21f Backed out changeset a5587354082a 2009-01-05 16:33:01 +13:00
Robert O'Callahan bdb6d4ac8b Back out 451958 2009-01-05 16:32:31 +13:00
Robert O'Callahan 028e0ae4a0 Backed out changeset 23021d6ef8b2 2009-01-05 16:31:59 +13:00
Robert O'Callahan 39877d2b66 Fix obvious mistake in bug 470911 as well 2009-01-05 15:18:33 +13:00
Robert O'Callahan f900eb6696 Fix bustage for bug 470911, try harder^2 2009-01-05 15:15:49 +13:00
Robert O'Callahan 42e04ddb89 Fix bustage for bug 470911, try harder 2009-01-05 15:13:49 +13:00
Robert O'Callahan 6d8ed0db0a Fix bustage by removing mention of non-existent test for bug 451958. 2009-01-05 14:58:27 +13:00
Robert O'Callahan f6a94fb832 Fix bustage for bug 470911 2009-01-05 14:54:16 +13:00
Robert O'Callahan 5b3b709a90 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