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

15501 Коммитов

Автор SHA1 Сообщение Дата
Henri Sivonen c22899568e 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 464cad1a78 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 4b7fef25d2 Remove unused argument from nsSVGTransformSMILAttr constructor. (no bug) 2010-02-25 18:12:25 -08:00
Ms2ger 05b28bbdbe imported patch 499092-prefix-v2 2010-02-25 10:49:34 -08:00
Jonas Sicking 1c481955b5 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 4886418c6c Test for bug 547333. 2010-02-25 10:20:44 -08:00
Daniel Holbert af8245235d 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 f866a0b7b7 Fix license in new files added for bug 546528 2010-02-25 01:25:53 -08:00
Jonas Sicking 7a8eec8e55 Bug 546528 part 3: Implement FormData. r=benjamn 2010-02-24 21:58:18 -08:00
Jonas Sicking c6c56bb0f3 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 16e88faeb6 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 5310e41295 Bug 545059: Remove unneeded/non-working bidi.controlstextmode pref. r=smontagu 2010-02-24 21:58:17 -08:00
Jonas Sicking 5309152e62 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 1b50629991 Bug 544698 part 3: Make nsFormSubmission not refcounted. r=jst 2010-02-24 21:58:17 -08:00
Jonas Sicking b7a0428344 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 12091aa8ea 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 dcbd30a767 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 335b9d7446 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 963e54b50f 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 758507922d Add `return` statement to fix build bustage from bug 503989 2010-02-24 17:48:32 -05:00
Robert O'Callahan 5da349c3d9 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 7a3339c3b1 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 365fbafa0d 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 4dce570127 Bug 461199 (Part 30) - Fixes invalidation issues when changing the href attribute.
r=bz
2010-02-24 08:37:38 -08:00
Shawn Wilsher d5bd2fe739 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 99f6189b56 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 a9ce22c03b 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 12c043a651 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 776f03074c 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 966fa7debf 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 066ad32c49 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 bf3378292a 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 1ec8cbea62 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 cd9322f202 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 3848a86843 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 e906cd8762 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 dee0568065 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 a91c45ecd6 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 0897d2cd63 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 6ff8740620 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 b8bab8b9c1 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
Shawn Wilsher eec068e43a 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 2abf598ed6 Bug 461199 (Part 3) - Create a cached getter for mozilla::IHistory on nsContentUtils.
r=sicking
2009-11-09 10:00:53 -08:00
Boris Zbarsky 02ce03ca1b Bug 534526 part 3. Change the ordering in nsSVGElement::UnsetAttr. r=longsonr 2010-02-23 23:37:47 -05:00
Boris Zbarsky b12684acf8 Bug 534526 part 2. Move AttributeWillChange out of SetAttrAndNotify, and in particular to before ParseAttribute, since some ParseAttribute implementations actually change the attribute value. Also move it to before we've changed the CSSDeclaration for inline style changes. r=sicking,longsonr,dbaron 2010-02-23 23:37:47 -05:00
Boris Zbarsky a0bacc22e3 Bug 534526 part 1. Remove a SetAttrAndNotify caller by making XUL inherit from nsStyledElement. r=sicking 2010-02-23 23:37:46 -05:00
Ben Turner 8a2732a347 Bug 537572 - 'Workers: nsLayoutStatics refcounting isn't threadsafe, triggered via nsContentUtils::WrapNative'. r+sr=sicking 2010-02-23 17:44:52 -08:00
Sid Stamm 36b2eea54c fix tinderbox test hang after landing bug 515442. r=dveditz 2010-02-23 16:37:38 -08:00
Daniel Veditz f7727d62fa Forgot tests for bug 515442 2010-02-23 14:28:18 -08:00
Daniel Veditz 04406a51f3 bug 515442 CSP inline script protection 2010-02-23 13:20:46 -08:00