Commit Graph

1968 Commits

Author SHA1 Message Date
Mats Palmgren
e3676dc03d Make use of SkipInvisibleContent flag to skip invisible content in Selection.toString(). r=dbaron b=564967 2010-05-21 18:02:04 +02:00
Mats Palmgren
96b6a1a45d Bug 39098 - Elements with visibility:hidden, visibility:collapse, or display:none get copied to the clipboard. r=dbaron 2010-05-21 15:52:07 +02:00
Jeff Walden
a8ac2fc31a Bug 565604 - Typed-array properties don't work when accessed from an object whose prototype is a typed array. r=vlad
--HG--
extra : rebase_source : 6ac630f7a9d2cb04a9a996c2a675be41130ea2b1
2010-05-19 14:25:20 -07:00
Brandon Sterne
bcab21793a Bug 515460 - enforce CSP during image redirects, r=joe 2010-05-20 13:08:02 -07:00
L. David Baron
92628a7652 Update assertion annotations in reftest/crashtest manifests now that bug 563536 is fixed. (Bug 472557) 2010-05-20 07:44:56 -07:00
Mounir Lamouri
6b57ca1497 Bug 562932 - "Implement control attribute for label element" [r=sicking sr=smaug] 2010-05-19 22:28:10 -04:00
Ehsan Akhgari
a87b134220 Bug 560647 - add startup timeline instrumentation; r=vlad 2010-05-19 19:22:19 -04:00
Mounir Lamouri
ee179078cc Bug 546995 - Implement autofocus attribute. r=sicking, sr=smaug
--HG--
extra : rebase_source : b0f233cae75aa9182d6587b6d66d4cbebea1126c
2010-05-19 19:52:17 +02:00
Peter Van der Beken
a3f0b9002e Fix for bug 560462 (Use fast unwrapping for more quickstubs) - add non-addrefing GetElementById and GetBody, add nsContentList-returning GetElementsByTagName(NS) and GetElementsByName. r=jst. 2010-04-19 17:41:38 +02:00
Olli Pettay
078f01ee1d Bug 549682 - Port the message-manager API to mozilla-central, r=jst 2010-05-18 15:28:37 +03:00
Olli Pettay
ebdab93b4c Backout Bug 549682 2010-05-18 13:10:47 +03:00
Olli Pettay
af68dc73cd Bug 549682 - Port the message-manager API to mozilla-central, r=jst
--HG--
extra : rebase_source : 45b28a7762428193873a636fa7d5108607f9e4a3
2010-05-18 11:52:24 +03:00
Vladimir Vukicevic
b99bb96c47 b=561168; convert canvas to use layers for rendering; r=roc,bas 2010-05-17 21:04:22 -07:00
Craig Topper
3e0e604d67 Convert some callers of methods that changed from returning already_AddRefed<T> to returning T* away from using unneeded nsCOMPtrs. (Bug 239008) r=dbaron 2010-05-17 21:00:40 -07:00
Craig Topper
58622d8961 Change some nsIStyleSheet methods from returning AddRef-ed to un-AddRef-ed pointers, and some other cleanup. (Bug 239008) r=dbaron 2010-05-17 21:00:39 -07:00
Boris Zbarsky
9f46f37b84 Backed out changeset 90d627f2471e (bug 564979) because it broke mochitests. 2010-05-17 14:59:49 -04:00
Boris Zbarsky
f830440dab Bug 564979. Get rid of nsINode::GetSibling and just use GetNext/PreviousSibling instead. r=peterv, sr=sicking 2010-05-17 14:18:25 -04:00
Timothy Nikkel
c8a479d28b Bug 559996. Lazy frame construction can sometimes cause a subdocument to not scroll to ref in url. r=jst 2010-05-11 19:30:40 -05:00
L. David Baron
ade6177e17 Make the 'noappend' selector optimizations only restyle later siblings, which is what they need to do. (Bug 534804) r=bzbarsky 2010-05-14 22:01:46 -07:00
L. David Baron
a464130609 Additional restyling is needed for :empty + E and :empty ~ E selectors. (Bug 534804) r=bzbarsky 2010-05-14 22:01:45 -07:00
Craig Topper
9528e9a5c6 Rename nsIStyleSheet::GetApplicable to IsApplicable and GetComplete to IsComplete. (Bug 239008) r=dbaron 2010-05-14 12:05:14 -07:00
Josh Aas
ed50cb5b07 Remove default plugins. b=533891 r=dolske sr=jst 2010-05-14 13:08:12 -04:00
Boris Zbarsky
626e1bb052 Bug 565820. Use Element as the return value for ReferencedElement. r=roc 2010-05-14 13:04:51 -04:00
Olli Pettay
acef3e9b4f Bug 563711 - Optimize nsHTMLContentSerializer::AppendAndTranslateEntities, p=laurent@xulfr.org+smaug, r=sicking
--HG--
extra : rebase_source : 592c5262c031e6d52fa753e8ae1f659bb4985a3c
2010-05-14 13:18:27 +03:00
Mitchell Field
6ad77bd6db Bug 564950 - Make more use of mozilla::services, r=surkov, jst, neil, smontagu, roc, joshmoz, gavin, shaver 2010-05-14 18:24:41 +09:00
Josh Aas
9213b9561a Backed out changeset 558df3e5b094 due to talos master issue. 2010-05-13 15:56:19 -04:00
Josh Aas
eb08772da3 Remove default plugins. b=533891 r=dolske sr=jst 2010-05-13 14:54:26 -04:00
Timothy Nikkel
73ae4c7afd Bug 563407. Cast to unsigned int to fix warning. r=sicking 2010-05-11 19:30:42 -05:00
timeless@mozdev.org
1d241c39dc Bug 563303 useless check of !data.index in nsContentUtils::ReparentClonedObjectToScope
r=bent
2010-05-13 11:11:24 -07:00
Michael Kohler
57c581b0db Bug 506041 Part 2: Correct misspellings in source code
r=timeless
2010-05-13 14:19:51 +02:00
Michael Kohler
9397418412 Bug 506041 Part 2: Correct misspellings in source code
r=timeless
2010-05-13 14:19:50 +02:00
Doug Turner
2225a94f11 Bug 564402 - slots #define in Qt, prevents Qt builds on trunk. r/sr=jst
--HG--
extra : rebase_source : 5f7ac6c449ea03e4be8ab6834d3f1880cb7d9c80
2010-05-11 16:32:17 -07:00
Craig Topper
d02574b6b4 DeCOMtaminate nsIStyleSheet method signatures. (Bug 239008) r=dbaron 2010-05-12 13:18:47 -07:00
Boris Zbarsky
607d85171d Bug 564981. Make content flushes after pageload faster. r=jst 2010-05-12 15:01:25 -04:00
bjarne@runitsoft.com
cd57e1113a Bug 561727 - nsCSPService breaks nsIChannelEventSink contract. r=jst 2010-05-12 12:12:04 +02:00
Boris Zbarsky
e043dee466 Bug 565125 and bug 564974. Make sure to null out our sibling pointers even if our parent goes away due to gc. r=jst 2010-05-11 23:34:49 -04:00
Timothy Nikkel
a9893292b9 back out e40cbab6a972 (Bug 564705) 590da60fd253 (Bug 507628 and bug 507991) b166415b8c3f (Bug 564368) 0dac5d3eeb97 (Bug 564063) 116e56d84770 (Bug 563407) c51c93f5240f (Bug 536495) for some orange 2010-05-11 22:01:08 -05:00
Timothy Nikkel
8ebce455b3 Merge back out of changeset a6138098775f (bug 559996) for causing orange. 2010-05-11 21:24:21 -05:00
Timothy Nikkel
b5603935b7 Backed out changeset a6138098775f (bug 559996) for causing orange. 2010-05-11 21:24:02 -05:00
Timothy Nikkel
8fbe966af4 Bug 563407. Cast to unsigned int to fix warning. r=sicking 2010-05-11 19:30:42 -05:00
Timothy Nikkel
c3b2bfbc56 Bug 559996. Lazy frame construction can sometimes cause a subdocument to not scroll to ref in url. r=jst 2010-05-11 19:30:40 -05:00
Craig Topper
cb8187eff9 Remove nsICSSStyleSheet and replace all uses with nsCSSStyleSheet. (Bug 239008) r=dbaron 2010-05-11 13:41:47 -07:00
Craig Topper
da6721cdc6 DeCOMtaminate CSSStyleSheet method signatures. (Bug 239008) r=dbaron 2010-05-11 13:41:47 -07:00
Peter Van der Beken
7f4e72d2de Back out fixes for bug 560462 to fix orange.
--HG--
extra : rebase_source : afe96ede6fc605c656b746f6388d6144886b18ed
2010-05-11 19:20:03 +02:00
Peter Van der Beken
f9b24fc187 Fix for bug 560462 (Use fast unwrapping for more quickstubs) - use fast unwrapping for nsIDOMNode_GetNodeType, nsIDOMNodeList_GetLength, nsIDOMElement, nsIDOMNSElement_, nsIDOMNSHTMLElement, nsIDOMDocument, nsIDOMNSDocument, nsIDOM3Document, nsIDOMHTMLDocument and nsIDOMNSHTMLDocument_. r=jst. 2010-04-19 17:41:39 +02:00
Peter Van der Beken
75ccb33e1a Fix for bug 560462 (Use fast unwrapping for more quickstubs) - add non-addrefing GetElementById and GetBody, add nsContentList-returning GetElementsByTagName(NS) and GetElementsByName. r=jst. 2010-04-19 17:41:38 +02:00
Peter Van der Beken
80ceab0c8a Fix for bug 564114 (Crash [@ nsINode::CompareDocumentPosition] passing null). r=bz. 2010-05-06 21:26:35 +02:00
Olli Pettay
4a3dab214e Additional fix for Bug 559315
--HG--
extra : rebase_source : e09aba953df55469b3b147e363e773308c679031
2010-05-11 17:05:11 +03:00
Phil Ringnalda
868e9c4db9 merge for backout of changeset e074757a15aa (bug 533891) 2010-05-10 21:40:01 -07:00
Phil Ringnalda
fa9669c2e2 Backed out changeset e074757a15aa (bug 533891) due to xpcshell orange after a clobber 2010-05-10 21:38:56 -07:00
Josh Aas
a987bef855 Remove default plugins. b=533891 r=dolske sr=jst 2010-05-10 20:21:31 -04:00
Boris Zbarsky
e98cd67374 Bug 564574. Pass the first appended node to ContentAppended. r=jst, sr=sicking 2010-05-10 21:12:34 -04:00
Boris Zbarsky
430d846a2f Bug 564435. Use iterative tree traversals in nsContentList so as to speed it up. r=sicking 2010-05-10 21:12:34 -04:00
Boris Zbarsky
6d68f7887f Bug 564432 part 2. Give nsINode a first-child pointer r=jst, sr=sicking 2010-05-10 21:12:34 -04:00
Boris Zbarsky
2a6505321c Bug 564432 part 1. Give nsINode next/previous sibling pointers. r=jst, sr=sicking 2010-05-10 21:12:33 -04:00
Robert Kaiser
e90ee6b8b3 bug 563151 - split test files to install into two groups to not run into commandline overflows on Windows (fixes SeaMonkey debug bustage), r=ted a=peterv for pushing 2010-05-08 13:56:14 +02:00
L. David Baron
7c61f15cf1 Annotate remainder of crashtest mainfests (all but one test) with the tests that are known to assert. (Bug 472557) 2010-05-06 09:28:01 -07:00
Boris Zbarsky
490ac49f2e Bug 564079. Check that we have a parent before checking whether it's an Element. r=peterv 2010-05-06 09:59:55 -04:00
L. David Baron
d94024525a Backout temporary debugging code for bug 563980 (changesets 76e0ed39f6ad and 4498b6800a49). 2010-05-05 18:20:43 -07:00
L. David Baron
05044197f6 Add debugging code for random assertion bug 563980. 2010-05-05 12:39:47 -07:00
Boris Zbarsky
f7d7c95ec6 Bug 562971. Include Element.h as mozilla/dom/Element.h and don't use 'using namespace' quite as much. r=jst 2010-05-05 14:18:05 -04:00
Boris Zbarsky
e19f8c4e1a Bug 562137. Use the UTF-8 decoder to decode UTF-8 instead of just assuming that it really is UTF-8. r=sicking 2010-05-05 14:18:04 -04:00
Boris Zbarsky
4625aac0dd Bug 560503. Don't check for mutation observer uniqueness; callers should handle that. r=sicking 2010-05-05 14:18:03 -04:00
Peter Van der Beken
922c155511 Part 11 of fix for bug 560273 (Stop using DOM tearoffs from quickstubs) - move nsIDOMNSElement implementation to nsGenericElement. r=jst.
--HG--
extra : rebase_source : 6b39d2cbb5b6462b0d1e65ee0f204fb1804a468e
2010-04-19 17:41:37 +02:00
Peter Van der Beken
ae0b1a86f6 Part 10 of fix for bug 560273 (Stop using DOM tearoffs from quickstubs) - use nsNodeSelectorTearoff for nsDocument. r=jst.
--HG--
extra : rebase_source : 46ef0b39acee4c05de40a575826f11281101f5d0
2010-04-19 17:41:37 +02:00
Peter Van der Beken
d062d2ec2d Part 9 of fix for bug 560273 (Stop using DOM tearoffs from quickstubs) - use nsNode3Tearoff for all nodes. r=jst.
--HG--
extra : rebase_source : 4f073ae38036328091d2d4cf1e0ffbac2a06e98b
2010-04-19 17:41:37 +02:00
Peter Van der Beken
b480e94b8d Part 8 of fix for bug 560273 (Stop using DOM tearoffs from quickstubs) - add nsINode::Get/SetTextContent. r=jst.
--HG--
extra : rebase_source : b4d9121b6a883d8c5f3ed526b630f2facc94a21e
2010-04-19 17:41:33 +02:00
Peter Van der Beken
60b38d0d40 Part 7 of fix for bug 560273 (Stop using DOM tearoffs from quickstubs) - add nsINode::IsEqualNode/CompareDocumentPosition/IsSameNode. r=jst.
--HG--
extra : rebase_source : d4722a28e8c913dcb6f9a1e7bf13261a12b60525
2010-04-19 17:40:17 +02:00
Peter Van der Beken
68600cb34a Part 6 of fix for bug 560273 (Stop using DOM tearoffs from quickstubs) - add nsINode::GetFeature. r=jst.
--HG--
extra : rebase_source : 7b2ef182466615e7b244f7c5e55f327855b3cc6a
2010-04-19 17:40:16 +02:00
Peter Van der Beken
2d92228c9a Part 5 of fix for bug 560273 (Stop using DOM tearoffs from quickstubs) - add nsIDOM3Node namespace-related methods to nsINode. r=jst.
--HG--
extra : rebase_source : 9f4680ed3d8dec7001503c57f9d4bede74392b2f
2010-04-19 17:40:16 +02:00
Peter Van der Beken
199b861a9e Part 4 of fix for bug 560273 (Stop using DOM tearoffs from quickstubs) - add nsGenericTextNode base class for nsIDOM3Text implementations. r=jst.
--HG--
extra : rebase_source : 007e331ff47f994a27e3105e6e787d91a88137d6
2010-04-19 17:40:16 +02:00
Peter Van der Beken
04e42800d3 Part 3 of fix for bug 560273 (Stop using DOM tearoffs from quickstubs) - add nsINode::Get/SetUserData. r=jst.
--HG--
extra : rebase_source : a0f3ab12ed0f02dccf4d848fc879ee7c6497986a
2010-04-19 17:40:15 +02:00
Peter Van der Beken
d737cb78c2 Part 2 of fix for bug 560273 (Stop using DOM tearoffs from quickstubs) - move some code around. r=jst.
--HG--
extra : rebase_source : 1ee5a236e881f4478965ea4a05c18d862fd04c1d
2010-04-19 17:40:15 +02:00
Peter Van der Beken
abd7f913e0 Part 1 of fix for bug 560273 (Stop using DOM tearoffs from quickstubs) - add nsINode::GetBaseURI. r=sicking.
--HG--
extra : rebase_source : 5a07f12d9d13d92b796fd5f2cb182b069c3f87bf
2010-04-19 17:40:15 +02:00
Peter Van der Beken
3fcb7546e7 Fix for bug 560199 (Link XPConnect and caps into layout). r=jst.
--HG--
extra : rebase_source : 5141822e9d560019ffc1e0cb0264782aa8aa7a99
2010-04-11 15:55:24 +02:00
Masayuki Nakano
6aa99dc4be Bug 488420 IME enabled state is not modified when a focused editor's readonly attribute is changed r=smaug 2010-05-05 02:40:39 +09:00
Daniel Holbert
4d7b4ac88a Bug 562310 Part 6: Convert C-string version (nsCCommaSeparatedTokenizer) into generic nsCCharSeparatedTokenizer class, too. r=roc 2010-05-04 07:43:48 -07:00
Daniel Holbert
20950733f1 Bug 562310 Part 1: Rename file nsCommaSeparatedTokenizer.h to nsCharSeparatedTokenizer.h (and update #includes). r=roc
--HG--
rename : xpcom/ds/nsCommaSeparatedTokenizer.h => xpcom/ds/nsCharSeparatedTokenizer.h
2010-05-04 07:43:48 -07:00
Olli Pettay
611286756a Bug 562321 - De-nsIDOM* nsIContentSerializer methods, r=sicking 2010-05-04 16:19:54 +03:00
Olli Pettay
8f9fc8c4d8 backout Bug 562321 2010-05-04 12:46:37 +03:00
Olli Pettay
0805824f19 De-nsIDOM* nsIContentSerializer methods, r=sicking 2010-05-04 11:39:47 +03:00
Jonas Sicking
6f9aebb70a Bug 429175: Make sure to only set aNotify to true when we should. r=peterv 2010-05-03 06:23:36 -07:00
Bjarne
6115ea4410 Bug 552651 - nsXMLHttpRequest leaks if aborted in state 3 ("in progress"). r=sicking 2010-05-02 10:27:20 +02:00
timeless@mozdev.org
f617695108 Bug 562441 - comparison between signed and unsigned integer expressions in nsIDocument::GetExtraPropertyTable, r=smaug 2010-04-28 13:09:00 -07:00
timeless@mozdev.org
eefed80956 Bug 562511 - comparison between signed and unsigned integer expressions in nsTextFragment::CopyTo, r=smaug 2010-04-28 16:56:00 -07:00
Timothy Nikkel
6cec50c515 Bug 561010. nsIContent::List should output the flags and primary frame of the node. r=sicking 2010-05-01 13:42:47 -05:00
Jonas Sicking
26eb9625c3 Bug 562791: Add NS_TIME_FUNCTION and friends to content code. r=jst 2010-04-30 12:40:59 -07:00
Boris Zbarsky
5e646b58c9 Bug 562688 part 15. Remove the eELEMENT bit. r=jst 2010-04-30 09:12:06 -04:00
Boris Zbarsky
5365938d9f Bug 562688 part 6. Eliminate eELEMENT users in content/base. r=jst 2010-04-30 09:12:05 -04:00
Boris Zbarsky
c1ce657552 Bug 562688 part 5. Change the document id and named item table APIs to use Element. r=jst 2010-04-30 09:12:05 -04:00
Boris Zbarsky
04027a9479 Bug 562688 part 4. Change GetRootContent and the like to return Elements. r=jst, sr=sicking 2010-04-30 09:12:05 -04:00
Boris Zbarsky
60e4aef5d3 Bug 562688 part 3. Use the new element APIs in nsContentList. r=jst 2010-04-30 09:12:05 -04:00
Boris Zbarsky
350834e088 Bug 562688 part 2. Create a mozilla::dom::Element class sitting between nsGenericElement and nsIContent. r=jst, sr=sicking 2010-04-30 09:12:05 -04:00
Boris Zbarsky
405d564c49 Bug 562688 part 1. Add a new non-virtual IsElement API on nsINode. r=jst, sr=sicking 2010-04-30 09:12:04 -04:00
Olli Pettay
86b02cbfa4 Bug 561221 - nsDocumentEncoder should not use nsIDOM* interfaces internally, r=sicking 2010-04-30 14:15:09 +03:00
Olli Pettay
0205f74717 Bug 561786 - Optimize nsDocument::PreHandleEvent a bit, r=jst 2010-04-30 14:10:24 +03:00
Olli Pettay
03b1834f8f Bug 562652 - MutationEvents don't get fired when documentFragment is added to a data document, r=sicking 2010-04-30 14:01:25 +03:00
Michael Kohler
882385621a Bug 260911 - fix 'hierarchy' misspellings. r=timeless
--HG--
extra : rebase_source : ea5fb9d2228966f1bd4eb10d8b5839988a758eaf
2010-04-29 21:01:11 +02:00
Mitchell Field
9818f00bf2 Bug 560095 - Use mozilla::services::GetObserverService(). r=biesi,dveditz,gavin,josh,jst,mrbkap,roc,sdwilsh,shaver,sicking,smontagu,surkov 2010-04-29 18:59:13 +02:00
Peter Van der Beken
6fe7a598df Fix for bug 558973 ("ASSERTION: Nodes that are not documents, document fragments or elements can't be parents!"). r=jst.
--HG--
extra : rebase_source : 6d9f76e94457823bb425f546053f4d24e80aec5c
2010-04-15 10:28:57 +02:00