Justin Dolske
928696cee9
Bug 545734 - need to hide the iframe used for submitting plugin crash reports. r=ted.mielczarek
2010-02-15 19:29:00 -08:00
Paul O’Shannessy
b312f3e0d2
Bug 535689 - Avoid clobbering and replacing password value when moving focus outside of username field [r=dolske]
2010-02-24 12:02:24 -08:00
Paul O’Shannessy
b62f132843
Reduce extraneous console output from DNS Service when offline [r=dwitte]
2010-02-24 11:59:26 -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
44f75ebc87
Bug 461199 (Part 29) - Fix dom tests.
...
r=sicking
2010-02-24 08:37:03 -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
293df458f9
Bug 461199 (Part 27) - Fix test_visited_pref.html so it passes with the new async isVisited API
...
r?dbaron
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
702ff9b0da
Bug 461199 (Part 25) - Fix layout reftests to work with the new async isVisited API
...
r=jwatt
2010-02-24 08:37:03 -08:00
Shawn Wilsher
a7bee173ee
Bug 461199 (Part 24) - Update docshell tests to work with the new async isVisited API
...
r=bz
2010-02-24 08:37:02 -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
Ehsan Akhgari
27a8c70900
Bug 461199 (Part 20) - Rewrite the private browsing visited link coloring test to make it work with the new async API
...
r=mconnor
r=sdwilsh
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
09e99cfbd1
Bug 461199 (Part 18) - Need an observer notification to indicate when link status is known from the database
...
Adds an observer to indicate when a URI lookup is completed and passes the
visited state with the notification. This greatly simplifies test writing.
r=mak
2010-02-24 08:37:02 -08:00
Shawn Wilsher
72fccd35dd
Bug 461199 (Part 17) - Remove no longer needed code from webshell and docshell.
...
r=bz
sr=sicking
2009-12-15 16:04:18 -08:00
Shawn Wilsher
456e4f62d4
Bug 461199 (Part 16) - Remove now unused style code testing for Link and HTML Links.
...
r=bz
sr=dbaron
2009-12-15 16:04:15 -08:00
Shawn Wilsher
5a72540281
Bug 461199 (Part 15) - Rely on nsIContent::IntrinsicState instead of nsIContent::GetLinkState in layout.
...
Layout should call IntrinsicState instead of GetLinkState. Simplifies a lot of
logic, and makes the code easier to follow.
r=bz
sr=dbaron
2009-12-15 16:04:12 -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
Neil Deakin
c8b6d66e49
Bug 543065, only scroll one ancestor of menus, back out due to scrolling regressions
2010-02-24 10:34:39 -05:00
John Daggett
a7181c3103
Bug 533251. Always insert default font if needed when rebuilding font list. r=jkew
2010-02-24 16:18:49 +09:00
Doug Turner
0ac11cae83
merge
2010-02-23 23:11:34 -08:00
Doug Turner
328a598fc9
Backed out Bug 489813 / changeset 0542680c6f74
2010-02-23 23:11:18 -08:00
Boris Zbarsky
cbf13d77f4
Merge a push that I failed to actually push to the right tree initially
2010-02-24 00:08:52 -05:00
Ricardo Bittencourt
5c37773f19
Bug 431524. Make the 'cursor' set on a file input work for its button too. r=bzbarsky, ui-r=alimi
2010-02-23 23:37:47 -05:00
Boris Zbarsky
3661ac8a49
Bug 547239. Don't lose our POST body on 307 redirects and internal proxy-related redirects. r=sicking. r=jduell and biesi pending.
2010-02-23 23:37:47 -05:00
Boris Zbarsky
6d29cd3275
Bug 534526 part 4. Tests.
2010-02-23 23:37:47 -05: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
Doug Turner
d2afc943c8
Bug 489813 - fire geolocation timeout error if the provider fails to response after initial response. r=olli
...
--HG--
extra : rebase_source : 03c08ca4f017302e8ae2e63cdb844c62f01c234e
2010-02-23 20:27:27 -08:00
Rob Arnold
e5803b2b1f
Bug 541182 - Custom CSS cursor not working; Remove GetSystemMetric check.
...
r=jmathies.
2010-02-24 05:42:29 +01:00
Serge Gautherie
0987a7f066
Bug 512520 - remove Maemo geolocation providers; (Bv1) Clean up nsGeolocation.cpp too.
...
r=dougt.
2010-02-24 05:36:29 +01:00
Jonas Sicking
8b7855784a
Bug 548171: Make getFile function on SERVER_ROOT platform independent. r=waldo
2010-02-23 18:04:35 -08: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