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

17153 Коммитов

Автор SHA1 Сообщение Дата
Daniel Holbert f3baa789d9 Bug 541588: Hook up nsSMILAnimationController to nsRefreshDriver for scheduling samples. r=roc 2010-03-11 22:03:49 -08:00
Daniel Holbert 177bb61ec1 Bug 537139 followup: Call RestyleForAnimation() instead of SMILOverrideStyleChanged(), to avoid triggering CSS Transitions from SMIL changes. r=dbaron 2010-03-11 22:03:49 -08:00
Daniel Holbert 9e85a0a11a Bug 551736: Add parens around right-shift, to fix compile warning and make sure we construct hash value correctly. r=sicking 2010-03-11 22:03:49 -08:00
L. David Baron 19b3cbfffb Fire assertions when guard objects are used as temporaries. (Bug 531460) r=jst 2010-04-04 11:15:18 -07:00
Jeff Walden 7df50c064b Bug 548702 - Temporary value-rooting scheme should be C++- and RAII-based, not macro-based. r=igor
--HG--
extra : rebase_source : c7bb34662dbd70df49d40880227139537c60356e
2010-01-11 11:52:21 -06:00
Andreas Gal a3860ce262 Don't include JS-engine internal header files in header files outside the JS engine (bug 549440, r=jst). 2010-03-04 16:17:05 -08:00
Kyle Huey 1bacc710f9 Backing out Bug 253889 to fix Bug 555727. 2010-03-30 19:57:12 -04:00
Kyle Huey 1d6875d653 Backed out changeset 4b8936ac4a31 2010-03-30 19:56:44 -04:00
Robert Longson e940535690 Bug 388547 - initial support for x,y,dx,dy,rotate lists on SVG text and tspan elements. r=roc 2010-03-30 11:21:19 +01:00
Ginn Chen dce96aa908 Bug 555669 CTypes.cpp failed to compile on Solaris r=sayrer 2010-03-30 14:29:59 +08:00
Craig Topper 980532022a Bug 253889: More deCOMtamination of nsIPresShell. r=roc 2010-03-28 19:21:11 -04:00
Daniel Holbert 30f63a54d2 Bug 555321: In nsSVGSVGElement::InvalidateTransformNotifyFrame, don't warn about 'wrong frame type' if we don't have a frame. r=jwatt 2010-03-26 20:55:30 -07:00
Daniel Holbert 82b70f944c Bug 555291: Replace multiple string-literals of SVG whitespace/comma delimeters with a single #define. r=jwatt 2010-03-26 20:55:28 -07:00
Henri Sivonen f63b7047aa Test for bug 541937 - Make test_bug541937.html not fail when the HTML5 parser is enabled. r=laurent. 2010-03-26 15:51:28 +02:00
Robert O'Callahan 7218dc5fcd Bug 551660. Switch layout code from using nsPropertyTable to FramePropertyTable. r=mats,sr=dbaron 2010-03-29 14:46:55 +13:00
Robert O'Callahan a2416c8aff Bug 551637. collapseOffsetProperty is never used. r=mats 2010-03-29 14:46:13 +13:00
Robert O'Callahan acfb23317c Bug 551632. endsInDiacritic frame property is set but never used. r=smontagu 2010-03-29 14:46:13 +13:00
Robert Sayre 25a3f4038c Merge tracemonkey to mozilla-central. 2010-03-26 15:53:14 -07:00
Daniel Holbert 0e29a86f1e Bug 554804: Fix GetBaseValue in nsSMILCSSProperty and nsSVGTransformSMILAttr to benefit from return value optimization. r=jwatt 2010-03-26 12:24:13 -07:00
Daniel Holbert b3f82754a8 Bug 554687 patch 2: Use nsSMILValue::Swap instead of operator= where appropriate. r=roc 2010-03-26 12:24:07 -07:00
Daniel Holbert 62e2faafc2 Bug 554687 patch 1: Add Swap() method for nsSMILValue. r=roc 2010-03-26 12:22:54 -07:00
Olli Pettay 9edeae964d Bug 548185 - Crash on event.dataTransfer, r=enn 2010-03-25 22:38:53 +02:00
Daniel Holbert f6cff64add Backed out changeset a4178a154d16 due to PR_STATIC_ASSERT failure on ppc 2010-03-25 09:22:03 -07:00
Daniel Holbert 496a409aa7 Bug 554687 patch 1: Add Swap() method for nsSMILValue. r=roc 2010-03-25 09:02:01 -07:00
Craig Topper 23e1716275 Bug 554253 - Convert nsCOMPtr<nsPresContext> to nsRefPtr<nsPresContext>. r=roc
--HG--
extra : rebase_source : d828daca07188864d055f3d1a72f5217632eb358
2010-03-25 14:17:11 +01:00
Markus Stange 73d87378dc Bug 554061 - Also check XBL stylesheets when determining whether a restyle is necessary when document state changes. r=dbaron 2010-03-25 10:22:58 +01:00
Chris Jones afc75aa525 Bug 544936, part 6: Submit a browser minidump along with the plugin's, if we got one. r=dolske,gavin,josh 2010-03-24 16:22:04 -05:00
Theppitak Karoonboonyanan d98e611510 Bug 353776 need the surrounding text support for some language input r=masayuki 2010-03-25 00:04:39 +09:00
Nicholas Nethercote dfa59155b7 Bug 545274 - nanojit: start adding alias info to loads/stores/calls (TM-specific part). r=jseward. 2010-03-02 13:47:17 +11:00
Andreas Gal a43bfaef8c Disallow embeddings reaching into our guts (part 1: jsnum.h, bug 548205, r=brendan). 2010-03-01 13:30:23 -08:00
Boris Zbarsky e7d528ac8f Bug 530373 followup. Fix build bustage. 2010-02-22 15:13:19 -05:00
Jae-Seong Lee-Russo 9d59e3730d Bug 530373. Use NS_MIN/NS_MAX instead of PR_MIN/PR_MAX in DOM code. r=bzbarsky 2010-02-22 14:41:19 -05:00
Frédéric Wang 0b7dbc207c Bug 530275. Move more MIME types into nsMimeTypes.h so we don't have to hardcode the strings in various places. r=bzbarsky 2009-11-21 00:12:42 +01:00
Saint Wesonga 7674a5ab7c Bug 523417 - "warning: invoking macro NS_ENSURE_SUCCESS argument 2: empty macro arguments are undefined in ISO C90 and ISO C++98" in DOM worker code. r=jst 2010-02-22 18:41:21 +01:00
Alexander Surkov 70f9774516 Bug 534527 - Accessibility needs new DOM API part 2, r=smaug, sr=bz 2010-02-20 16:52:50 -08:00
Daniel Holbert 5ec3d64d0f Bug 533291 Patch Z: Enable "don't recompose if we know our animated value can't have changed" optimization, and add tests. r=roc 2010-02-20 13:13:11 -08:00
Daniel Holbert f62ad5a1f6 Bug 533291 Patch E: Add another outparam to nsISMILAttr::ValueFromString, to let us know whether we can re-use the parsed result in the future. r=roc 2010-02-20 13:13:11 -08:00
Daniel Holbert 1cd94792dd Bug 533291 Patch D: Cache base value with each SMIL compositor, since we need to recompose when base value changes. r=roc 2010-02-20 13:13:11 -08:00
Daniel Holbert 240ea67e3b Bug 542670 Patch B: Add specialized implementations for nsISMILType::IsEqual. r=roc 2010-02-20 13:13:11 -08:00
Daniel Holbert 0cf8ec98c1 Bug 542670 Patch A: Add equality operator for nsSMILValue. r=roc 2010-02-20 13:13:11 -08:00
Daniel Holbert df8498501c Bug 533291 Patch C: When an inactive nsSMILAnimationFunction has changed, force its target to recompose during that sample. r=roc 2010-02-20 13:13:11 -08:00
Daniel Holbert 1145ac1621 Bug 533291 Patch B: Add method nsSMILAnimationFunction::UpdateCachedTarget, to tell when an animation function's target has changed. r=roc 2010-02-20 13:13:11 -08:00
Daniel Holbert acbde1fefd Bug 533291 Patch A: Create classes nsSMILTargetIdentifier & nsSMILWeakTargetIdentifier, based on nsSMILCompositorKey. r=roc 2010-02-20 13:13:11 -08:00
Neil Deakin 53da314925 Bug 528491, combine nsFocusController and nsWindowRoot, r=jst,sr=smaug 2010-02-20 11:07:03 -05:00
Justin Lebar 2de46143ec Bug 519400: Speed up Canvas's [get|put]ImageData() r=vlad 2009-12-04 19:21:45 -08:00
Boris Zbarsky a0a531118b Bug 547342 attempted fix. Since scrollToRow doesn't flush layout, and since layout is what sets up the tree view, and since scrollToRow bails out early if there's no view, make sure to flush layout before calling scrollToRow. But we should really consider fixing scrollToRow instead. 2010-02-19 23:35:17 -05:00
Daniel Holbert 5f7cf63e45 Followup to Bug 541884: Fix --disable-smil build bustage by moving SVGViewBoxSMILType.cpp within Makefile 2010-02-19 12:39:30 -08:00
Boris Zbarsky 24dd3ecebd Bug 545927. Check for negative numbers before doing roman-numeral stuff. r=sicking 2010-02-19 12:11:40 -05:00
Jonathan Watt 95176d11d9 Bug 541884 follow-up to use IsNull() instead of checking mPtr manually. r=dholbert 2010-02-19 13:28:23 +00:00
Ehsan Akhgari 582ac13e00 Merge backout of changeset 70b1ccb14325 2010-02-18 19:02:08 -05:00
Ehsan Akhgari de20206bd1 Backed out changeset 70b1ccb14325 2010-02-18 18:52:12 -05:00
Jonathan Watt de091e0e29 Bug 540588. Add support for SMIL animation of <integer> attributes in SVG. r=dholbert 2010-02-18 21:51:00 +00:00
Jonathan Watt cc125eb9d3 Bug 541884. Add support for SMIL animation of the viewBox attribute in SVG. r=dholbert 2010-02-18 21:51:00 +00:00
Jonathan Watt a9c2b850b4 Bug 545042. Add support for SMIL animation of <angle> attributes in SVG. r=dholbert 2010-02-18 21:50:59 +00:00
Ehsan Akhgari 80a818ab5d Bug 221820 - Part 1: Call EnsureEditorInitialized from all places where editor needs to exist; r=bzbarsky
--HG--
extra : rebase_source : 117d5f34a90941543a994107351eb0e34ae7308f
2010-02-01 23:00:12 -05:00
Daniel Holbert 479841d381 Bug 546785: Fix function signature of nsSVGFE::DidAnimatePreserveAspectRatio() to match inherited method. r=jwatt 2010-02-18 12:16:37 -08:00
Timothy Nikkel df310f6358 Bug 545593. Remove nsViewManager::Enable/DisableRefresh. r=roc 2010-02-18 13:23:23 -06:00
Shawn Wilsher e3212b7cc3 Merge for backout of changeset 1622d8dab8c3 2010-02-18 10:13:49 -08:00
Shawn Wilsher 83dfc83c55 Backed out changeset 1622d8dab8c3 2010-02-18 10:13:35 -08:00
Shawn Wilsher 369ed935d2 Backed out changeset aeb2d5550890 2010-02-18 10:12:30 -08:00
Shawn Wilsher af5f946ed5 Bug 461199 (Part 3) - Create a cached getter for mozilla::IHistory on nsContentUtils.
r=sicking
2009-11-09 10:00:53 -08:00
Shawn Wilsher 4a888a63ff Bug 461199 (Part 5) - Add mozilla::dom::Link::LinkState
Adds a LinkState method that should be called by subclasses when they get asked
about their IntrinsicState.
r=sicking
sr=bz
2009-11-09 10:00:53 -08:00
Shawn Wilsher 663dfe7c88 Bug 461199 (Part 4) - Add NS_EVENT_STATE_UNVISITED that describes an unvisited link.
Add the new state so we can then just call IntrinsicState to determine the
visitedness of an nsIContent node.
r=bz
2009-11-09 10:00:53 -08:00
Julian Seward 4f8118e3d3 Bug 549501 - nsCanvasRenderingContext2D::DrawImage redraws undefined rectangles. r=vlad 2010-03-11 07:43:20 +01:00
Masayuki Nakano 56f1081196 Bug 315727 Request Firefox respond to Windows scroll messages so pages can be scroll captured r=jmathies+smaug, sr=roc 2010-03-11 14:25:29 +09:00
Daniel Holbert 1dd50deefa merge 2010-03-10 15:03:47 -08:00
Daniel Holbert 93d6643f45 Backed out changeset 76abe26bf57c due to orange. 2010-03-10 15:03:34 -08:00
Daniel Holbert e08cb5a18b Bug 541588: Hook up nsSMILAnimationController to nsRefreshDriver for scheduling samples. r=roc 2010-03-10 12:33:37 -08:00
Daniel Holbert 0bb1fd1a52 Bug 550975: In mochitests with SVG embedded in XHTML, move initial pauseAnimations call to <svg> onload handler. r=roc 2010-03-10 12:33:37 -08:00
Daniel Holbert 1c51fe2bf0 Bug 551396: Remove unused helper-function GetURIHash from nsDocument.cpp. r=smaug 2010-03-10 12:33:37 -08:00
Saint Wesonga 0302b70916 Bug 542930: Check return value of CallGetService in NativeJSContext.cpp. r=vlad 2010-03-10 12:32:40 -08:00
Frédéric Wang 4ccf5dd04f Bug 475518 - MathML layout code should use _moz* attributes instead of -moz-* attributes. r=karlt, sr=bz
--HG--
extra : rebase_source : 34bb7055d4deaad9a0ee55aa40b9bcbdd19153ea
2010-03-10 13:49:33 +01:00
Olli Pettay e450322180 Bug 549576 - Remove ::MaybeCC from XMLHttpRequest, r=peterv 2010-03-10 12:51:21 +02:00
Mark Banner 2d71660fd0 Backout changes to .jar files missed from previous backout of bug 544097 2010-03-10 09:51:28 +00:00
Brad Lassey 4492ee705c backing out changesets e939397fc6a5, 88529662c474 and 3d7c54b194bb due to random hangs in pgo tests 2010-03-09 22:33:11 -05:00
Shawn Wilsher 12cf642b63 Forgot to update the test names in reftest.list files (bug 550661). 2010-03-09 12:55:47 -08:00
Shawn Wilsher 147d89360a Bug 550661 - Adding href attribute doesn't add link styling
r=bz

--HG--
rename : content/html/content/reftests/href-attr-removal-restyles-ref.html => content/html/content/reftests/href-attr-change-restyles-ref.html
rename : content/html/content/reftests/href-attr-removal-restyles.html => content/html/content/reftests/href-attr-change-restyles.html
rename : layout/reftests/svg/href-attr-removal-restyles-ref.svg => layout/reftests/svg/href-attr-change-restyles-ref.svg
rename : layout/reftests/svg/href-attr-removal-restyles.svg => layout/reftests/svg/href-attr-change-restyles.svg
2010-03-09 10:21:25 -08:00
Joel Maher 3498e2898b Bug 544097 changing mochitests to use mochi.test instead of localhost for windows mobile refactoring p=jmaher, r=ted,dwitte, sayrer, waldo, ctalbert 2010-03-09 08:55:39 -08:00
Joel Maher acb95ebf6d Bug 544097 changing mochitests to use mochi.test instead of localhost for windows mobile refactoring p=jmaher, r=ted,dwitte, sayrer, waldo, ctalbert 2010-03-09 08:55:39 -08:00
Karl Tomlinson 1ffcf9007f b=544211 preparation for handling synthesized button-up events for ending element pointer capture r=smaug 2010-03-24 16:36:27 +13:00
Laurent Jouanneau 4c0e319afe fixed orange tests on windows for bug 541937 2010-03-24 00:00:58 +01:00
Ehsan Akhgari 7b57636d91 Bug 554230 - Crash [@ nsCopySupport::CanCopy][@ nsCopySupport::CanCopy(nsIDocument*) ]; r=jst 2010-03-23 17:10:44 -04:00
Laurent Jouanneau 015bbf5191 Bug 541937 - XMLSerializer should serialize content of link tags. r=Olli.Pettay sr=bzbarsky 2010-03-23 21:55:39 +01:00
Ehsan Akhgari 0238553242 Bug 554125 - Add <audio> and <video> to the list of white-listed elements for the paranoid content sink; r=jst 2010-03-23 14:36:45 -04:00
Robert Longson 2af2598e1c Bug 554091 - negative rx and ry are unsupported rather than errors according to SVG1.2T. r=jwatt 2010-03-23 12:53:36 +00:00
Henri Sivonen 75b888f094 Bug 543458 - Make the HTML5 tree op executor use nsContentSink code for deciding when to return to the event loop. r=bnewman.
--HG--
extra : rebase_source : fa41825753811279070d232c7d467600d7b2d523
2010-02-26 11:18:38 +02:00
Daniel Holbert a534d75d16 Bug 550593: Make nsISMILType::Init infallible, and return |void| instead of |nsresult|. r=roc 2010-03-22 11:57:36 -07:00
Ms2ger@gmail.com 0260ec5b3f Bug 553896 - Node.isEqualNode(null) shouldn't throw. r=smaug 2010-03-22 17:06:57 +01:00
Markus Stange c93c0764d2 Bug 508482 - Window activation status should be a pseudoclass (:-moz-window-inactive) instead of an attribute. r=dbaron, r+sr=jst 2010-03-17 18:10:57 +01:00
Daniel Holbert 2843fabb1d Bug 541588 subpatch 2: Use nsRefreshDriver instead of nsITimer to schedule sample callbacks for nsSMILAnimationController. r=roc 2010-03-21 23:42:53 -07:00
Daniel Holbert f033754143 Bug 553075: Don't register for periodic SMIL sample callbacks until we've got some animations registered. r=roc 2010-03-21 12:22:36 -07:00
Daniel Holbert daf2de290a merge 2010-03-20 22:54:27 -07:00
Daniel Holbert 2d06ae8242 Backed out changeset 665b48fbfd28 (bug 553075) to see if it was responsible for 1% SVG/DHTML regressions on Win7. 2010-03-20 22:54:12 -07:00
Craig Topper 67b9c9dbf6 Bug 253889: DeCOMtaminate nsIPresShell r=roc 2010-03-20 17:54:19 -04:00
Serge Gautherie c178a80133 Bug 553807 - "ASSERTION: Value of subject is not set: 'subjectValue', file .../nsRDFBinding.cpp, line 286"; (Av1) Remove silly assertion.
r=enndeakin.
2010-03-20 18:45:32 +01:00
Daniel Holbert cb0bbd773e Bug 553075: Don't register for periodic SMIL sample callbacks until we've got some animations registered. r=roc 2010-03-18 22:33:12 -07:00
Masayuki Nakano f08f51eb24 Bug 528396 Create XP level IME transaction tests r=roc+mats, sr=jst 2010-03-19 14:02:53 +09:00
Daniel Holbert 771a17942f Bug 541588 subpatch 1: Change method signatures in nsSMILAnimationController, and subclass nsRefreshObserver. r=roc 2010-03-18 21:14:40 -07:00
Timothy Nikkel 8f3723567a Bug 553369. If there is no PresShell/Context in nsHTMLInputElement::Click try flushing to get one. r=roc 2010-03-18 18:08:27 -05:00
Mats Palmgren b07195f476 Disable broken test for bug 299673. Fixing bug 553344, bug 524361 and bug 521355. Filed bug 553417 to write a new test. 2010-03-18 23:25:31 +01:00
Peter Van der Beken 2abbb6c4bd Rev IID (follow-up from bug 540848).
--HG--
extra : rebase_source : 193c4ec222412dc014b850002078d060ec0227e0
2010-03-18 19:26:30 +01:00
Laurent Jouanneau c31cbcaf6f fixed a failed test under windows, about bug 524975 2010-03-18 18:09:32 +01:00
Laurent Jouanneau 8220d21f1e Bug 545644 - Regression: HTML 'nbsp' entity is not handled correctly in xHTML mode. r=Olli sr=Jonas 2010-03-18 17:07:32 +01:00
Peter Van der Beken c300fa3779 Fix for bug 552716 (Remove NS_INTERFACE_MAP_ENTRY_CONTENT_CLASSINFO). r=jst.
--HG--
extra : rebase_source : 8e03b54ff6117dcac27188b296c59dcafbb6db78
2010-03-17 16:09:05 +01:00
Peter Van der Beken ba56c3a915 Fix for bug 552712 (Remove some NS_DEFINE_CLASSINFO_DATA_WITH_NAME use). r=jst.
--HG--
extra : rebase_source : 0e4b74d5c731a2bdff8da75f9c4edf6757c8b355
2010-03-17 16:09:01 +01:00
Peter Van der Beken b74c4d0a21 Fix for bug 540848 (Add appendChild/insertBefore/replaceChild/removeChild on nsINode). r=bz.
--HG--
extra : rebase_source : 4550ff196ab5fd1acbc72e7c94b7a31d073ae5dd
2010-03-17 16:06:19 +01:00
Peter Van der Beken e63bb21954 Fix for bug 548463 (Disallow adopting node into a different document from adoptNode). r=sicking.
--HG--
extra : rebase_source : 5c00c3b6c65491997984d216f5c61052ccc0a77b
2010-03-17 15:40:35 +01:00
Peter Van der Beken 259b035a1e Fix for bug 528518. r=sicking.
--HG--
extra : rebase_source : 03356a1a2bfa82d86445e94b9e0acb3f76c48600
2010-03-17 15:38:09 +01:00
Laurent Jouanneau 46be8ba8d0 Bug 524975 - Copy-Paste of simple HTML adds extra space not present in original content. additionnal tests. r=Olli Pettay 2010-03-18 16:19:36 +01:00
Daniel Holbert cd93928120 merge after backing out bug 541588 2010-03-18 07:58:33 -07:00
Daniel Holbert 3c38c892dc Backed out changeset 59f507847beb (bug 541588) to see if it was responsible for minor SVG perf regression. 2010-03-18 07:58:09 -07:00
Robert Longson 9397e9f8d6 Bug 552830 - Should not force rx=ry for a rect by clamping if one is omitted. r=jwatt 2010-03-18 12:14:38 +00:00
Chris Double 5645c1837d Bug 515001 - Open media channels with BYPASS_LOCAL_CACHE_IF_BUSY. r=roc 2010-03-18 16:00:18 +13:00
Chris Pearce da8f967b8b Bug 528566 - Invoke resource selection algorithm upon new Audio(url). r=chris.double 2010-03-18 16:00:18 +13:00
Daniel Holbert 11bb4d8513 Bug 541588: Hook up nsSMILAnimationController to nsRefreshDriver for scheduling samples. r=roc 2010-03-17 01:54:20 -07:00
Matthew Gregan 7dda845d44 Bug 552578 - Remove unnecessary timeout in frame queue wait to avoid spinning unnecessarily. r=chris.double 2010-03-16 13:58:27 +13:00
Justin Dolske 54d0f44f55 Bug 550293 - plugin-crashed UI needs more user opt-in. r=vlad, ui-r=faaborg 2010-03-16 22:10:08 -07:00
Blake Kaplan 62b11747ea Try to fix bustage. r=sicking
--HG--
extra : rebase_source : ccb2ce8b02c859b364fe4c71e3b9b3525b67ee99
2010-03-16 19:30:24 -07:00
Robert O'Callahan 6a58465770 Bug 538323. Part 2: use ImageLayers to render video. r=kinetik 2010-03-02 12:41:49 +13:00
Robert O'Callahan 4b4c15dbc9 Bug 538266. Part 3: move nsSVGUtils::GfxRectToIntRect to nsLayoutUtils. r=mats 2010-03-02 12:08:28 +13:00
Blake Kaplan c710d7a31c Fix bug 552090. r=sicking sr=jst 2010-03-16 16:23:45 -07:00
Daniel Holbert ccc679ff8f Bug 534028, Patch D: Tests for smil animation of mapped attributes. r=roc
--HG--
rename : content/smil/test/test_smilCSSFromBy.xhtml => content/smil/test/test_smilMappedAttrFromBy.xhtml
rename : content/smil/test/test_smilCSSPaced.xhtml => content/smil/test/test_smilMappedAttrPaced.xhtml
2010-03-16 16:17:33 -07:00
Daniel Holbert 867c9c32cd Bug 534028, Patch C: Support SMIL animation of SVG attributes that are mapped to CSS properties. r=roc 2010-03-16 16:17:33 -07:00
Daniel Holbert 2fde9db545 Bug 534028, Patch B: Add "MappedAttrParser" class to simplify parsing values for mapped attributes. r=dbaron 2010-03-16 16:17:32 -07:00
Daniel Holbert 65d9849699 Bug 534028, Patch A: Make nsIContent::GetAnimatedAttr()'s nsIAtom argument non-const. r=roc 2010-03-16 16:17:32 -07:00
Daniel Holbert 91b1fdca8d Remove two unused variables in nsCSPService.cpp, to fix build warning & trigger another build cycle & hopefully clear some red during CLOSED TREE 2010-03-16 13:21:09 -07:00
Ehsan Akhgari 10353e09c8 Bug 549887 - Abort if the Places history service is unavailable; r=dbaron
--HG--
extra : rebase_source : dcf410b4cc4e86acbb5bbfac4f326103519b9e45
2010-03-15 11:14:28 -04:00
Ehsan Akhgari f5f22439f4 Bug 458037 - Implement isContentEditable; r=bzbarsky sr=roc
--HG--
extra : rebase_source : fdcbc217e41e8c1a43bfd7c41a8cc6c6169c588f
2010-03-10 14:10:09 -05:00
Neil Rashbrook 68bebf08ab Bug 518249 Disabling the test on the Mac because we don't know why it crashes r=orange 2010-03-15 16:56:47 +00:00
Henri Sivonen 3bd2cdfb7c Bug 490665 - Implement HTML5-compliant isindex form submission. r=jonas.
--HG--
extra : rebase_source : 2075bc59ce711e29718eac8bb0e1b8867e291a53
2010-03-11 14:29:51 +02:00
Henri Sivonen 98fa4b36ac Bug 541078 - Turn editing off in BeginLoad(). r=bzbarsky.
--HG--
extra : rebase_source : 8bb4f1acfb1659d55f48651ff5e236c964c2d01e
2010-03-12 12:29:46 +02:00
Neil Rashbrook 26e41d47f6 Bug 518249 Adding test r=karlt
--HG--
rename : content/base/test/test_copypaste.html => content/base/test/test_copyimage.html
2010-03-15 11:59:49 +00:00
Matthew Gregan a768f5dfdf Bug 525401 - Make ready state transitions initiated by the decode thread more reliable by including the new state in the event. Fixes an ABA problem where we could play through without ever moving beyond HAVE_CURRENT_DATA. r=chris.double 2010-03-15 12:46:38 +13:00
Matthew Gregan 44246a3bf5 Bug 525401 - Resynchronize system clock against audio clock to avoid clock drift problems when alternating between clocks. r=chris.double 2010-02-05 18:16:29 +13:00
Matthew Gregan e41569520c Bug 525401 - Fix resuming from pause when playing poorly muxed videos. r=chris.double 2010-02-05 17:06:08 +13:00
Mike Hommey a606498025 Bug 550961. Fix license header typos. r=gerv 2010-03-15 14:44:37 +13:00
Mats Palmgren b05d82f7c5 Bug 544852, part 1: Remove nsCaret::GetCaretCoordinates. r=roc 2010-03-14 23:52:07 +01:00
Ben Turner af3372d98e Bug 550275 - 'Implement the HTML5 structured clone algorithm'. r=jst+mrbkap, sr=jst. 2010-03-17 12:55:45 -07:00
Markus Stange c85fb1f23b Backed out changeset e17c076aceea, bug 508482 (:-moz-window-inactive pseudoclass) because of test_righttoleft.xul test failures. 2010-03-17 20:03:53 +01:00
Markus Stange 51f979aa23 Bug 508482 - Window activation status should be a pseudoclass (:-moz-window-inactive) instead of an attribute. r=dbaron, r+sr=jst 2010-03-17 18:10:57 +01:00
Neil Deakin 7f5366ce89 Bug 501154, consolidate places where clipboard events are fired from, r=smaug,sr=neil 2010-03-19 14:32:13 -04:00
Olli Pettay f65ee98cc2 Bug 535887, Change an assertion to warning in nsEventDispatcher.cpp, r=sicking
--HG--
extra : rebase_source : 249d9d86d8918e53fae0cfeb7bae766462353efe
2010-03-19 12:52:48 +02:00
Neil Deakin f7755486d0 Better logging for errors in xul template tests, no bug 2010-03-19 07:51:11 -04:00
Robert Longson 2a7d845c06 Bug 553053 - Should not create frames for SVG animation elements, it interferes with clipPath validation and is inefficient. r=dholbert,sr=roc 2010-03-19 11:17:49 +00:00
Kyle Huey f78a715db2 Backed out changeset 8ce70abd7777 2010-03-09 01:14:21 -05:00
Joel Maher 4b8aff6ea3 Bug 544097 Change mochitests to use mochi.test instead of localhost for mobile refactoring p=jmaher r=ted,dwitte,sayrer 2010-03-08 19:21:33 -08:00
Boris Zbarsky 04ddf3344c Bug 550842 followup. Make this actually compile. 2010-03-08 19:47:37 -05:00
Martin Husemann 43c0d0e6eb Bug 550842. Ensure at least pointer compatible alignment of memory area for RuleProcessorData::operator new. r=bzbarsky 2010-03-08 19:30:01 -05:00
Laurent Jouanneau 93ad3ca6ed Bug 543710 - Logging for XUL template based on storage; The patch to commit.
r=enndeakin sr=neil.
2010-03-09 01:02:27 +01:00
Jonas Sicking 8a4b4283f4 Bug 534136 Part 4: Inline accessors on nsIAtom. r=peterv sr=jst 2010-03-08 07:45:00 -08:00
Jonas Sicking 225616b6c1 Bug 534136 Part 3: Optimize atom-using code for the fact that atoms store 16bit strings. Also take advantage of new nsAtomString API. r=bz 2010-03-08 07:45:00 -08:00
Jonas Sicking ff49d3e414 Bug 534136 Part 2: Use 16bit-char buffers inside atoms. r=bz sr=mrbkap 2010-03-08 07:45:00 -08:00
Jonas Sicking b2f8c249b3 Bug 534136 Part 1: Make atoms keep a pointer to an nsStringBuffer rather than storing the data inline. r=bsmedberg 2010-03-08 07:44:59 -08:00
Markus Stange 83e53ee168 Bug 549747 - Fix a bad null check in WebGLContext::ValidateProgram. r=vlad 2010-03-08 13:28:19 +01:00
Markus Stange 3f09cdc2d1 Bug 549747 - Add a null check for tex in WebGLContext::FramebufferTexture2D. r=vlad 2010-03-08 13:27:22 +01:00
Daniel Veditz c8692cd867 merge 2010-03-08 01:59:52 -08:00
Daniel Veditz 30600fdfdf bug 515443 missing test files 2010-03-08 01:57:10 -08:00
Ginn Chen 07b8285edc Bug 550386: content/base/src/nsFileDataProtocolHandler.cpp failed to compile with SS12 r=bzbarsky 2010-03-08 17:33:14 +08:00
Daniel Veditz 4904d4992b bug 548993 wrong return type from CSP inline script check, r=sicking 2010-03-08 00:28:13 -08:00
Sid Stamm 3234be224c bug 515443 CSP no-eval support. r=mrbkap,brendan 2010-03-08 00:24:50 -08:00
Sid Stamm 1f025809f4 bug 550442 object sub loads should obey the object-src policy 2010-03-08 00:24:30 -08:00
Clint Talbert b962e844a9 Backed out changeset b4372055f473 -- due to unexplained orange on OS X Leak test (Bd) box 2010-03-07 17:34:23 -08:00
Joel Maher 0c7928ce7d Bug 544097 - Change mochitests to use mochi.test instead of localhost for mobile test refactoring p=jmaher, r=sayrer,dwitte 2010-03-07 16:08:05 -08:00
mounir.lamouri@gmail.com 78a6aa6935 Bug 536895 - Setting a negative maxLength should throw an exception, r=smaug, sr=jst
--HG--
extra : rebase_source : d54814499d4114f239678941da3368d1a4aaff5f
2010-03-05 21:42:46 +02:00
mounir.lamouri@gmail.com ebf9ea0ca9 Bug 536891 - Negative maxlength should be treated the same as unspecified maxlength, r=smaug, sr=jst
--HG--
extra : rebase_source : eef5330e6de87f9b9a5189bd26f13418c404d659
2010-03-05 21:38:26 +02:00
Daniel Holbert a3bd95c631 Bug 43178 followup: remove unused variable 'tableStyle' in nsHTMLTableElement.cpp. rs=bernd 2010-03-05 10:41:57 -08:00
Robert O'Callahan 24c04cfa1a Bug 545268. Decide whether to suppress a mouse event by looking at the suppression state of the document where the event is going to be delivered. r=smaug 2010-03-05 13:10:32 +13:00
Mike Kristoffersen d60cbba316 Build bustage on Qt due to macro definition of malloc, realloc, etc. Most of this is just moving Qt #includes around. r=dougt
--HG--
extra : rebase_source : 9734e9e68754a6fc45bddbdc60bb5e898bb8cdb2
2010-03-04 13:51:42 -08:00
Vladimir Vukicevic c34b828864 Update canvas tests to fix =~ usage and to mark passing tests as ok 2010-03-03 16:40:27 -08:00
Vladimir Vukicevic 137fafc56f b=534467; implement Uint8ClampedArray for CanvasPixelArray; part 3, DOM-side implementation; r=bz 2010-03-03 16:40:27 -08:00
Vladimir Vukicevic 634ef014e3 Nuke some stale/unused files
* * *
attempt to fix x86-64 burning
2010-01-22 18:29:49 -08:00
Chris Jones 189c9e51ca Bug 441324, part 1: Shuffle around includes to avoid problems with #define malloc et al. r=bsmedberg 2010-03-03 23:02:55 -06:00
Robert O'Callahan 053fb1a959 Backing out bug 534467 to try to fix test failure 2010-03-04 17:50:57 +13:00
Robert O'Callahan 25c273c7ba Backed out changeset 1672d4c79e82 2010-03-04 17:50:28 +13:00
Robert O'Callahan c00d6a1e02 Backing out more stuff to try to fix test failure 2010-03-04 17:50:01 +13:00
Robert O'Callahan 73d129fcaf Backed out changeset c9ff351b0738 2010-03-04 17:49:36 +13:00
Robert O'Callahan fcae78a152 Back out due to Linux-64 build bustage 2010-03-04 14:38:23 +13:00
Robert O'Callahan ac0d8e0290 Backed out changeset b35354fe21e3 2010-03-04 14:38:00 +13:00
Vladimir Vukicevic ac2d6eb636 b=534467; implement Uint8ClampedArray for CanvasPixelArray; part 3, DOM-side implementation; r=bz 2010-03-03 16:40:27 -08:00
Vladimir Vukicevic 3e243349d4 Update canvas tests to fix =~ usage and to mark passing tests as ok 2010-03-03 16:40:27 -08:00
Vladimir Vukicevic aef5bb405f b=525984; [webgl] reset mThebesSurface on OSX in case of error to avoid crash; r=jrmuizel 2010-03-03 16:40:27 -08:00
Vladimir Vukicevic d6e58b8e1e b=534735; use custom quickstubs for canvas fillStyle and strokeStyle; r=bz 2010-03-03 16:40:25 -08:00
Vladimir Vukicevic fadfd8e8a9 Nuke some stale/unused files 2010-01-22 18:29:49 -08:00
Shawn Wilsher 9f96a6d138 Bug 549797 - Removing href attribute from html:a, html:link, and svg:a doesn't remove link styling
r=bz
2010-03-03 12:55:35 -08:00
Olli Pettay 5583fff1cf Bug 549566, clean-up beforeunload message, r=sicking
--HG--
extra : rebase_source : 5abe27de295f9285b926f105d7ec317ebe1503ff
2010-03-03 14:41:57 +02:00
Jonas Sicking 9828919387 Bug 543870: Implement File.url. r=bz sr=jst 2010-03-02 23:51:09 -08:00
Daniel Holbert 6d380916f2 Bug 547333 followup: Move FlushAnimations() call from nsSVGElement::GetAnimatedLengthValues to FlushPendingNotifications. r=jwatt r=bz 2010-03-02 07:36:33 -08:00
Daniel Holbert 2ff34dd0a4 Bug 540090: Add method nsIDocument::HasAnimationController, to let us check for active SMIL animation without triggering lazy construction. r=roc 2010-03-02 23:09:51 -08:00
Mounir Lamouri 4a731e85b7 Bug 549311 - New lines management tests for placeholder are missing; r=ehsan
--HG--
extra : rebase_source : ba4be5c6a90abfef87f573968d00b4cc179aafdd
2010-03-02 14:06:17 -08:00
Zack Weinberg 74261d239a Bug 544112 part 2: DeCOMtaminate and devirtualize nsCSSLoader. r=bzbarsky sr=dbaron
--HG--
rename : layout/style/nsICSSLoader.h => layout/style/nsCSSLoader.h
2010-03-02 13:00:53 -08:00
Zack Weinberg da29eb0489 Bug 544112 part 1: Make speculative and chrome style sheet loads go through the document object. Rearrange some C++ unit tests so they'll still link after part 2. r=bzbarsky sr=dbaron
--HG--
rename : layout/html/tests/ParseCSS.cpp => layout/style/test/ParseCSS.cpp
rename : layout/html/tests/TestCSSPropertyLookup.cpp => layout/style/test/TestCSSPropertyLookup.cpp
2010-03-02 13:00:39 -08:00
Zack Weinberg 80e0f85588 Bug 523496: DeCOMtaminate nsCSSParser. r=bzbarsky sr=dbaron
--HG--
rename : layout/style/nsICSSParser.h => layout/style/nsCSSParser.h
2010-03-02 12:59:32 -08:00
Jonas Sicking d06a79e62c Fix bug 490790. r=dveditz 2010-03-02 11:40:14 -08:00
Daniel Holbert 8e70af5b8a Backed out changeset e9ab6e4d121d (Bug 547333 followup) due to debug mochitest orange. 2010-03-02 08:29:46 -08:00
Daniel Holbert e3cca3e5ee Bug 547333 followup: Move FlushAnimations() call from nsSVGElement::GetAnimatedLengthValues to FlushPendingNotifications. r=jwatt r=bz 2010-03-02 07:36:33 -08:00
Daniel Holbert 6d51cec810 Bug 548899: Don't issue attribute-changed notification when transform attribute is animated. r=jwatt sr=roc 2010-03-02 07:36:31 -08:00
Neil Deakin 289926a17b Bug 546425, add mozSourceNode to access the source node of the drag, r=jonas,sr=roc 2010-03-02 06:21:20 -08:00
Ginn Chen 554502375e Bug 545097 [webgl] crash [@strstr] [@nsGLPbufferGLX::Init] on Sun Ray client r=vladimir 2010-03-02 13:54:34 +08:00
Craig Topper 851f10e76b Bug 544372: Fix more harmless UMRs to avoid valgrind complaining. r=sicking 2010-03-01 21:06:29 -08:00
Michael Ventnor d1f200b282 Bug 542361 - Fix and remove the GetUsedX assertions r=roc
--HG--
extra : rebase_source : 6bdb0e3251e955ced01476a2255e9ebc511c884b
2010-03-02 11:57:43 +10:00
Daniel Holbert c9fb15dff7 Bug 537361 followup: Address review suggestions. r=birtles 2010-03-01 11:31:52 -08:00
Brian Birtles ed08ee7e20 Bug 537361: Store SMIL intervals with state for restoring. r=dholbert 2010-03-01 11:31:50 -08:00
Robert O'Callahan 31649f159f Bug 534425. Part 6: Let nsIWidgets expose a LayerManager to be used to render into the widget, instead of nsPaintEvent::renderingContext which is removed since it's no longer needed. Currently all widgets fall back to a default BasicLayerManager implementation. Also change nsPaintEvent::region to be an nsIntRegion, and get rid of nsPaintEvent::rect since it's redundant. 2010-03-01 21:03:49 +13:00
Jesse Ruderman 5a34f82478 Add crashtests 2010-02-27 13:04:34 -08:00
Daniel Holbert 2e8ac8249a Backed out changeset 367cdcfa611b due to smil reftest failures on opt mac & windows tinderboxen 2010-02-26 15:43:47 -08:00
Daniel Holbert d77a4b4ffc Bug 547333 followup: Remove FlushAnimations() call from another internal getter (nsSVGElement::GetAnimatedLengthValues), to prevent SMIL samples during frame construction. r=jwatt 2010-02-26 11:08:54 -08:00
Mounir Lamouri b04de541c5 Bug 457800 - Implement placeholder attribute for text input fields; r=ehsan,bzbarsky,bolter sr=roc ui-r=faaborg
--HG--
extra : rebase_source : 2e2f3a73553d720b32812603b0ce96c89b9a6261
2010-02-26 10:47:38 -08:00
Jonathan Kew 2efe47e915 Bug 548751 - make canvas respect the style's language when resolving fonts. r=dbaron 2010-02-26 08:58:48 -08:00
Jonathan Kew 28ca256967 Bug 547267 followup - rename nsPresContext::GetLanguage to GetLanguageFromCharset for clarity. r=dbaron 2010-02-26 06:20:35 -08:00
Henri Sivonen 82e491f2ff Bug 539887 - Comment out a test assertion in test_bug255820.html. r=bzbarsky.
--HG--
extra : rebase_source : 8e51292d4d73c2c89088dd278838b9a991f20735
2010-02-25 13:36:14 +02:00
Henri Sivonen 289ce9e92c Bug 545854 - Add the <keygen> macro to the HTML5 parser. r=bnewman.
--HG--
extra : rebase_source : afd36441c60abba7453fd91c32beec4e6e1fd17b
2010-02-22 14:17:30 +02:00
Daniel Holbert cb7ea8b0b7 Remove unused argument from nsSVGTransformSMILAttr constructor. (no bug) 2010-02-25 18:12:25 -08:00
Ms2ger 59fb17418e imported patch 499092-prefix-v2 2010-02-25 10:49:34 -08:00
Jonas Sicking f445b40d99 Bug 544372: Reading unitialized memory in nsNodeIterator. Also fix a minor perf issue. r=peterv 2010-02-25 10:34:36 -08:00
Daniel Holbert 071ccb388c Test for bug 547333. 2010-02-25 10:20:44 -08:00
Daniel Holbert e8fe00186e Bug 547333: Call FlushAnimations() in SVG DOM getters for animated values, and not in internal getters. r=jwatt 2010-02-25 10:20:43 -08:00
Jonas Sicking da63c31fa7 Fix license in new files added for bug 546528 2010-02-25 01:25:53 -08:00
Jonas Sicking 8be2a59d74 Bug 546528 part 3: Implement FormData. r=benjamn 2010-02-24 21:58:18 -08:00
Jonas Sicking ee0a449f3e Bug 546528 part 2: Create nsEncodingFormSubmission to allow nsFormSubmission subclasses to not have an encoder. r=benjamn 2010-02-24 21:58:17 -08:00
Jonas Sicking 012affcd5f Bug 546528 part 1: Break out code to convert body argument to an nsIInputStream out of nsXMLHttpRequest::Send to make the code more readable. r=benjamn 2010-02-24 21:58:17 -08:00
Jonas Sicking 717fa581d1 Bug 545059: Remove unneeded/non-working bidi.controlstextmode pref. r=smontagu 2010-02-24 21:58:17 -08:00
Jonas Sicking 2835faaf92 Bug 544698 part 4: Move the creation of the encoder to the nsFormSubmission ctor. Move the call to linkHandler->OnLinkClickSync to the nsHTMLFormElement. r=jst 2010-02-24 21:58:17 -08:00
Jonas Sicking 1477f45ac6 Bug 544698 part 3: Make nsFormSubmission not refcounted. r=jst 2010-02-24 21:58:17 -08:00
Jonas Sicking c4437ed2f1 Bug 544698 part 2: Reorganize nsFormSubmission.cpp to make it more readable and to avoid having to forward declare functions. No actual code changes. r=jst 2010-02-24 21:58:17 -08:00
Jonas Sicking f10ea11e81 Bug 544698 part 1: Move value processing from submission code to elements. Decomtaminate. Kill a few dead functions. r=jst 2010-02-24 21:58:16 -08:00
Jonas Sicking 06727f34f3 Bug 547165: Add tests for form submission and fix a few cases where we differ from IE/HTML5. Also add a generic getMyDirectory.sjs file for use in other tests as well. r=benjamn/waldo 2010-02-24 21:57:54 -08:00
Makoto Kato c3b517dbc1 Bug 405242 - Implement select.options.remove() method [HTML5 HTMLOptionsCollection.remove]. r=Olli.Pettay, sr=jst 2010-02-25 13:53:42 +09:00
Jonas Sicking 6ff6df71ee Bug 544642: Make frames report an error event if the frame src is pointed at a local file url. And don't make setAttribute thrown an exception in that scenario. r=smaug 2010-02-24 18:45:43 -08:00
Benjamin Smedberg 27fa3622a3 Add `return` statement to fix build bustage from bug 503989 2010-02-24 17:48:32 -05:00
Robert O'Callahan 9b96fcb152 Bug 503989. Break MediaLoadListener reference cycle at shutdown. r=sicking,doublec
--HG--
extra : rebase_source : bbd326582e4a7d0864affcfe3a715e228c4b2647
2010-02-24 11:14:14 -08:00
Jonathan Kew e547a598c7 Bug 524107 - part 2 - store language as atom instead of string in gfxFontStyle. r=roc sr=mats 2010-02-24 09:57:57 -08:00
Jonathan Kew 5be4457ec4 Bug 524107 - part 1 - pass original value of 'lang' to gfx text code rather than only a 'langGroup' value, to allow language-specific font rendering. r=roc sr=mats 2010-02-24 09:57:44 -08:00
Shawn Wilsher 9bee7cae8f Bug 461199 (Part 30) - Fixes invalidation issues when changing the href attribute.
r=bz
2010-02-24 08:37:38 -08:00
Shawn Wilsher e44864fd24 Bug 542632 - Protect nsGenericHTMLElement::GetHrefURIForAnchors
Also makes DNS prefetching take mozilla::dom::Link instead of nsIContent.
r=bz
2010-02-24 08:37:03 -08:00
Shawn Wilsher 2fe465b5f6 Bug 542592 - Change how we use/store nsDocument::mLinkMap
This makes changes nsDocument::mLinkMap in a number of ways:
1) renamed to mStyledLinks to better reflect its new nature.
2) change it to an nsTHashtable of Link*.  It no longer has a strong reference
3) add some assertions to make sure we call ForgetLink and AddStyleRelevantLink
   in pairs.
This also makes mozilla::dom::Link::ResetLinkState take a boolean indicating if
we should notify or not.
r=bz
2010-02-24 08:37:03 -08:00
Shawn Wilsher 1e933f894f Bug 461199 (Part 26) - Update content tests to work with the new async isVisited API 2010-02-24 08:37:03 -08:00
Shawn Wilsher 7253653487 Bug 461199 (Part 28) - Tell the document that we are a style relevant link
Adds the needed calls to inform the document if we are a style relevant link,
and when we no longer are.
r=bz
2010-02-24 08:37:03 -08:00
Shawn Wilsher 9fc6055c3c Bug 461199 (Part 23) - Remove no longer needed code in ns[I]Document.[cpp|h]
r=bz
2010-02-24 08:37:02 -08:00
Shawn Wilsher 9acd5e4c2a Bug 461199 (Part 22) - Call ResetLinkState if given eLinkState_Unknown
If consumers tell mozilla::dom::Link::SetLinkState that its new state is
eLinkState_Unknown, call mozilla::dom::Link::ResetLinkState and return.
r=bz
2010-02-24 08:37:02 -08:00
Shawn Wilsher 76ac128167 Bug 461199 (Part 21) - Cache the nsIContent pointer in Link for performance reasons
Add a Content method that obtains a pointer to the nsIContent interface on
mozilla::dom::Link.  This is cached so we only have to call QueryInterface once
during the entire lifetime of the mozilla::dom::Link object.
r=bz
2010-02-24 08:37:02 -08:00
Shawn Wilsher 66c6d83641 Bug 461199 (Part 19) - nsSVGAElement fails to call ResetLinkState in [Uns|S]etAttr
Have nsSVGAelement implement UnsetAttr and SetAttr, and make sure it calls
mozilla::dom::Link::ResetLinkState when appropriate.
r=jwatt
sr=bz
2010-02-24 08:37:02 -08:00
Shawn Wilsher fb3a301583 Bug 461199 (Part 14) - Implement nsIContent::IntrinsicState on mozilla::dom::Link subclasses
All mozilla::dom::Link subclasses need to implement IntrinsicState and make sure
to call LinkState.
r=sicking
sr=bz
2009-12-15 16:04:09 -08:00
Shawn Wilsher 66bf2becbb Bug 461199 (Part 13) - mozilla::dom::Link::SetLinkState should inform the document about changes to its state when it is called.
Make Link::SetLinkState notify the document about changes in state, plus a
whole bunch of assertions for sanity checking.
r=sicking
r=bz
2009-12-15 16:04:07 -08:00
Shawn Wilsher 6ae68352af Bug 461199 (Part 12) - mozilla::dom::Link should unregister with mozilla::IHistory when it goes away
Call UnregisterWithHistory in Link's destructor to ensure that we are no longer
registered with IHistory.
r=sicking
sr=bz
2009-12-15 16:01:53 -08:00
Shawn Wilsher 7f5de5f4be Bug 461199 (Part 11) - [un]register in mozilla::dom::Link::[Reset]LinkState
Register with History in mozilla::dom::Link::LinkState and unregister in
mozilla::dom::Link::RestLinkState.
r=bz
2009-11-23 10:48:52 -08:00
Shawn Wilsher 356c244697 Bug 461199 (Part 10) - Ensure that Link::ResetLinkState is always called when an element is bound or unbound from the DOM tree.
We would not be notified about base URI changes during this time, so we need to
make sure we are not registered and have no cached state.
r=bz
r=jwatt
2009-11-23 10:48:52 -08:00
Shawn Wilsher 385fb83791 Bug 461199 (Part 9) - Move href helpers from nsGenericHTMLElement to mozilla::dom::Link.
Move the helpers so that they can easily use the cached URI when available.
r=sicking
sr=bz
2009-11-09 10:00:54 -08:00
Shawn Wilsher 8898fe4677 Bug 461199 (Part 8) - Remove nsAttrValue::eLazyURIValue and related code
Stop using lazy href attributes in nsAttrValue.  Link will store it as needed.
r=sicking
sr=bz
2009-11-09 10:00:54 -08:00
Shawn Wilsher 594cbb9453 Bug 461199 (Part 7) - mozilla::dom::Link should have a method to obtain a cached URI
Add mozilla::dom::Link::GetURI method used to cache the URI for this element.
r=bz
2009-11-09 10:00:54 -08:00
Shawn Wilsher 8f089bb04c Bug 461199 (Part 6) - nsSVGAElement::GetHrefURI is not implemented
Fixes nsSVGAElement::GetHrefURI so that it actually returns a URI when it is a
link instead of nsnull.
r=jwatt
2009-11-09 10:00:54 -08:00