Commit Graph

2083 Commits

Author SHA1 Message Date
Peter Van der Beken
b7843c8de4 Part 2 of fix for bug 564266 (DOMCI GetItemAt/GetNamedItem should return nsWrapperCache) - store nsHTMLOptionElement in nsHTMLOptionCollection instead of nsIDOMHTMLOptionElement. r=jst. 2010-05-09 20:32:57 +02:00
Peter Van der Beken
7fa945a5b8 Part 1 of fix for bug 564266 (DOMCI GetItemAt/GetNamedItem should return nsWrapperCache) - store nsDOMAttribute in nsDOMAttributeMap instead of nsIDOMNode. r=jst. 2010-04-19 17:41:39 +02:00
Benjamin Smedberg
a249678c04 Final merge and landing of bug 568691 and dependent bugs to mozilla-central on a CLOSED TREE.
* bug 568691, register XPCOM components statically using manifests. r=mossop, with some test and build stuff r=vlad,sdwilsh
* bug 573557, rename categories with spaces to use hypens. r=jst
* bug 573739, Don't get the private browsing service during layout module initialization, r=ehsan

This initial merge does not include some work planned to land imminently:
* The extension manager still restarts. I need to solve a problem re-reading default preferences from extensions.
* MOZ_OMNIJAR is broken: there is a patch which I need to update in bug 568691.
* I will concurrently land a mobile-browser fix for component registration, but it may require some additional packaging changes.
2010-07-01 14:26:25 -04:00
Bobby Holley
8db50ef764 Bug 575377 - Loading forever on pages with multipart image/motion jpeg streams.r=bzbarsky 2010-07-01 10:42:58 -07:00
wfernandom2004@gmail.com
4f2270ce12 Bug 575293 - Fire the close event on WS when establishing the connection fails, r=smaug
--HG--
extra : rebase_source : 04d8d8db2ebc6174757357de109c30c0fdb24bfd
2010-07-01 19:35:57 +03:00
wfernandom2004@gmail.com
e875574fed Bug 575701 - build warning in nsDOMEventTargetWrapperCache.cpp
--HG--
extra : rebase_source : 7a70347e3eda412bb64020fd23a29c6cae1e17c2
2010-07-01 19:34:51 +03:00
Benjamin Smedberg
4d172dd53d Merge mozilla-central, including the Electrolysis changes, into the branch for bug 568691. 2010-07-01 11:55:57 -04:00
Benjamin Smedberg
a2833452f8 Merge mozilla-central to the bug 568691 branch.
--HG--
rename : gfx/public/nsITheme.h => gfx/src/nsITheme.h
2010-06-30 14:23:23 -04:00
Benjamin Smedberg
c71e024222 Bug 574457 - Back out the functional changes from revision 0327e126ea24, bug 569644, because of 100ms (20%) Ts regression on Linux/Mac. This leaves the nsIContentUtils helper function, but restores the plugin host category entry munging. 2010-06-29 16:56:13 -04:00
Benjamin Smedberg
c16cf0f0c5 Fix a bunch of test failures caused by typos or other issues from bug 568691. 2010-06-27 14:03:05 -04:00
Benjamin Smedberg
63c0077443 Merge mozilla-central into the branch for bug 568691, including fixup of the new jetpack binary module. 2010-06-25 19:41:09 -04:00
Benjamin Smedberg
762def30bb Merge mozilla-central into the static-xpcom-registration branch. 2010-06-23 17:26:25 -04:00
Ms2ger
27a3b29543 Implement the figure element. r=jst+timeless+ehsan (Bug 573356) 2010-06-23 10:08:56 -07:00
Ivan Enderlin ext:(%2C%20Mounir%20Lamouri%20%3Cmounir.lamouri%40gmail.com%3E%2C%20Ms2ger%20%3Cms2ger%40gmail.com%3E)
4164b0645e Implement the mark element. r=jonas+timeless (Bug 485377) 2010-06-23 10:08:56 -07:00
Ginn Chen
709634168d Bug 569319 typedef caused mangled name mismatch for AddIDTargetObserver r=bz 2010-06-23 17:31:35 +08:00
Benjamin Smedberg
5cab25b52b Bug 568691 - Convert existing JS components to use NSGetFactory and add manifest files for them. In a followup we will link the .manifest files together at packaging time. This patch was developed on Linux: Windows and Mac may require additional changes.
--HG--
rename : toolkit/components/filepicker/src/nsFilePicker.js.in => toolkit/components/filepicker/src/nsFilePicker.js
2010-06-22 12:59:15 -04:00
Benjamin Smedberg
ed3a49c9a2 Address review comments from bug 568691 comment 13/14/17:
* rename mozilla::Module struct entries to be clearer
* change Module documentation so that the last entry is { NULL } in all cases (the compiler will 0-expand the structure)
* remove NS_XPCOM_COMPONENT_REGISTRY_FILE
* add MOZ_MEDIA/MOZ_OGG/MOZ_WAVE/MOZ_WEBM ifdefs to nsHTMLMediaElement.h and nsContentUtils.cpp
2010-06-21 12:46:26 -04:00
Benjamin Smedberg
45af085fff Merge mozilla-central into the "branch" for but 568691. The omnijar XPT/component/chrome registration was removed during this merge, and will be re-added to the component manager shortly.
--HG--
rename : content/base/public/nsIChromeRegistry.idl => chrome/public/nsIChromeRegistry.idl
2010-06-21 11:41:42 -04:00
Olli Pettay
41b6035eee Bug 568955 - Optimize nsDOMEvent::SetEventType, r=sicking
--HG--
extra : rebase_source : e98c945ce5e7b494bd2046efd6dc7b8379fabc51
2010-06-22 21:12:12 +03:00
Johnny Stenback
660ac78445 Merge of backout of fix for bug 572609. CLOSED TREE 2010-06-21 22:41:52 -07:00
Johnny Stenback
b5ac9ee398 Backed out changeset 82a21d443b5e 2010-06-21 22:39:53 -07:00
Johnny Stenback
63e3022e0d Fixing bug 572614. Eliminate double hash lookups in document.getElementById(). r=jonas@sicking.cc 2010-06-21 19:59:37 -07:00
Johnny Stenback
6268e31519 Fixing bug 572609. Use faster version of GetElementById() from our C++ code. r=jonas@sicking.cc 2010-06-21 19:58:50 -07:00
Olli Pettay
5cac785da5 Bug 573422 - WebSocket .URL should be .url, r=sicking
--HG--
extra : rebase_source : 4dd3004568043ce8c3ec7e16f116de2639e3d6ee
2010-06-21 22:56:03 +03:00
Ehsan Akhgari
15f38d3100 Bug 365805 - Copy/paste lists should not add #; r=jst 2010-06-21 15:56:18 -04:00
Benjamin Smedberg
9045c05660 Bug 568691 part A - register static and binary components using data tables rather than programmatic nsIComponentRegistrar methods. This part contains the important needs-review bits of the change: part B contains the mechanical changes to each module in order to actually get a working build. Part C will contain changes necessary to register JS components from .manifest files 2010-06-10 14:11:11 -04:00
Benjamin Smedberg
80b423e0a0 Bug 569644 - Query the plugin host directly when searching for MIME types, rather than using Gecko-Content-Viewer category manager registration, r=bz 2010-06-10 12:42:16 -04:00
Olli Pettay
8f81d70abb Bug 566024 - Add a 'global' messageManager, r=jst 2010-06-10 12:26:19 +03:00
Dão Gottwald
b314909c2e Backed out changeset db6f8068e9a5 2010-06-29 17:49:21 +02:00
Saint Wesonga
c3669d7e9c Bug 562387 - Convert NS_NEWXPCOM/NS_DELETEXPCOM to new/delete. r=bsmedgerg 2010-06-29 17:14:36 +02:00
Felipe Gomes
6a58c784dc Bug 555081 - Add support for titlebar mouse interaction and address missing aero features. r=jmathies, smaug, vlad. 2010-06-28 01:04:05 -05:00
wfernandom2004@gmail.com
abe089666e Bug 572975, bug 573227, websocket fixes, r=smaug
--HG--
extra : rebase_source : d9b5160666ce18344abb47634fa94405c9c2d070
2010-06-28 00:09:29 +03:00
Olli Pettay
9beb7327ce Bug 574089 - Optimize ::GetInnerHTML
--HG--
extra : rebase_source : 02293c479066a5edaa6343778421da55b84a69f7
2010-06-27 00:59:32 +03:00
Olli Pettay
f48d7a4a08 Bug 574089 - Optimize ::GetInnerHTML, r=jst
--HG--
extra : rebase_source : 3ed1549eaa96d3ff3fe6bf2bb2562dd9e68fcc17
2010-06-26 23:39:56 +03:00
Geoff Lankow
cc4019ac75 Bug 300992 - implement readystatechange event. r=smaug, sr=jst 2010-06-24 13:12:07 +12:00
Ms2ger
991ef5697d Bug 566776 - Some nsINode methods defined in nsGenericElement.cpp return nsnull as an nsresult. r=jst 2010-05-20 10:41:00 -04:00
Peter Van der Beken
4366c67313 Fix for bug 563948 (Quickstub nsIDOMNSElement.*). r=bz. 2010-05-06 14:32:14 +02:00
Doug Turner
a8d2b069bc Bug 571166 - merge from e10s to m-c. r=various. sr=bz. CLOSED TREE. 2010-06-30 23:27:52 -07:00
Boris Zbarsky
b8fb52d415 Bug 555627. Make transitions actually work correctly on :before and :after. r=dbaron 2010-06-30 18:54:29 -07:00
Doug Turner
c92986c46a Merge from mc 2010-06-29 14:39:57 -07:00
Doug Turner
901e02b2de Merging with mozilla-central. Manually merged: content/canvas/src/nsCanvasRenderingContext2D.cpp ipc/ipdl/Makefile.in toolkit/toolkit-tiers.mk toolkit/xre/nsEmbedFunctions.cpp
--HG--
rename : gfx/thebes/src/gfxSharedImageSurface.cpp => gfx/thebes/gfxSharedImageSurface.cpp
rename : gfx/thebes/public/gfxSharedImageSurface.h => gfx/thebes/gfxSharedImageSurface.h
2010-06-28 16:33:19 -07:00
Michael Wu
01a2cef59b Bug 574120 - Add support for IPC on Android to everything else, r=dougt 2010-06-25 13:29:43 -07:00
Oleg Romashin
b8ab8239cd Auto-merge with m-c b51803f3fdef 2010-06-25 08:30:40 -04:00
Doug Turner
4719dd0705 Automerge w mozilla-central 2010-06-24 14:06:13 -07:00
Jason Duell
1b0fefc8aa Merged again from m-c to get latest bits and avoid deleted branch issue. 2010-06-22 17:57:09 -07:00
Jason Duell
d194b9d486 Merge from m-c.
Fair amount of merge conflicts.

Biggest item was changes to nsHttpChannel from web sockets changes.

Other likely suspects if things are borken:

nsFrameLoader.cpp:
    - nsFrameLoader::EnsureMessageManager: pass "this" (orig e10s code) or
      nsnull (m-c) to local process call to new nsFrameMessageManager(),
      callback arg?  Smaug said null.
    - only calling SetCallBackData for local case.  also +r smaug.

nsPrefBranch.cpp had fairly extensive merge conflicts.

nsChromeRegistry had lots of changes.

Dougt did most of the non-necko changes (thanks).

--HG--
rename : netwerk/protocol/http/nsHttpChannel.cpp => netwerk/protocol/http/nsHttpChannelAuthProvider.cpp
rename : netwerk/protocol/http/nsHttpChannel.h => netwerk/protocol/http/nsHttpChannelAuthProvider.h
2010-06-22 17:33:57 -07:00
Honza Bambas
424bc30c44 Bug 569227 - Join HttpChannelChild with its TabChild, r=smaug 2010-06-18 12:49:28 +02:00
Josh Matthews
670215298c Bug 564382 - Remove CPOWs from PContentProcess tree. r=olli 2010-06-17 14:10:14 -07:00
Doug Turner
ded51c1c5f Merging with M-C.
Hand merged the following files:

U chrome/src/nsChromeRegistry.cpp
U chrome/src/nsChromeRegistry.h
U content/base/src/nsFrameLoader.cpp
U content/base/src/nsFrameLoader.h
U dom/src/geolocation/nsGeolocation.cpp
U dom/src/geolocation/nsGeolocation.h
U netwerk/build/Makefile.in
U netwerk/cookie/nsCookieService.cpp
U netwerk/cookie/nsCookieService.h

--HG--
rename : extensions/cookie/test/unit/test_cookies.js => extensions/cookie/test/unit/test_cookies_thirdparty.js
rename : netwerk/cookie/src/nsCookieService.cpp => netwerk/cookie/nsCookieService.cpp
rename : netwerk/cookie/src/nsCookieService.h => netwerk/cookie/nsCookieService.h
rename : netwerk/dns/src/nsIDNKitInterface.h => netwerk/dns/nsIDNKitInterface.h
rename : netwerk/protocol/http/src/nsHttp.h => netwerk/protocol/http/nsHttp.h
rename : netwerk/protocol/http/src/nsHttpChannel.cpp => netwerk/protocol/http/nsHttpChannel.cpp
rename : netwerk/protocol/http/src/nsHttpChannel.h => netwerk/protocol/http/nsHttpChannel.h
rename : netwerk/protocol/http/src/nsHttpChunkedDecoder.h => netwerk/protocol/http/nsHttpChunkedDecoder.h
rename : netwerk/protocol/http/src/nsHttpHandler.cpp => netwerk/protocol/http/nsHttpHandler.cpp
rename : netwerk/protocol/http/src/nsHttpHeaderArray.h => netwerk/protocol/http/nsHttpHeaderArray.h
rename : netwerk/protocol/http/src/nsHttpRequestHead.h => netwerk/protocol/http/nsHttpRequestHead.h
rename : netwerk/protocol/http/src/nsHttpResponseHead.h => netwerk/protocol/http/nsHttpResponseHead.h
rename : netwerk/protocol/http/src/nsHttpTransaction.cpp => netwerk/protocol/http/nsHttpTransaction.cpp
rename : netwerk/protocol/res/src/nsResProtocolHandler.cpp => netwerk/protocol/res/nsResProtocolHandler.cpp
rename : netwerk/protocol/res/src/nsResProtocolHandler.h => netwerk/protocol/res/nsResProtocolHandler.h
2010-06-07 13:38:02 -07:00
Oleg Romashin
b36fb69349 Merge with latest mozilla central r 42802:ffbc3baf03ae 2010-05-25 15:19:33 -04:00
Olli Pettay
93849c0c9f bustage fix for non-IPC 2010-05-25 11:58:38 +03:00
Olli Pettay
58b4f71840 m-c to e10 merge 2010-05-24 17:45:59 +03:00
Robert Sayre
91c79aee06 Merge tracemonkey to mozilla-central. 2010-05-24 16:27:35 -07:00
Mats Palmgren
ba7b7616e3 Make use of SkipInvisibleContent flag to skip invisible content in Selection.toString(). r=dbaron b=564967 2010-05-25 01:24:15 +02:00
Mats Palmgren
4915b380e1 Bug 39098 - Elements with visibility:hidden, visibility:collapse, or display:none get copied to the clipboard. r=dbaron 2010-05-25 01:24:15 +02:00
Robert Sayre
855a6ca0a4 Get rid of some js_AllocStack usage. 2010-05-24 10:23:47 -07:00
Michael Kohler
5f19df86e0 Bug 564091: Fix spelling of nonexistent across the tree. r=timeless
--HG--
extra : rebase_source : 4f15f7fd6f90926b77d136be83af7f22c5ffa830
2010-05-23 12:26:15 -07:00
Mounir Lamouri
06ad5cda45 Bug 551846. <select> size should default to 4 when 'multiple' attribute is present. r=smaug, sr=jst 2010-05-24 09:36:49 +12:00
Doug Turner
3ad0032930 Merged with MC. Hand merged netwerk/protocol/http/src/nsHttpHandler.cpp
also removed modules/plugin/default*
2010-05-17 08:59:15 -07:00
Olli Pettay
df0addb92f Bustage fix (Bug 548847) 2010-05-17 15:14:31 +03:00
Olli Pettay
61c8ca96ee Bug 548847 - [E10s] forward modal (chrome) dialogs from content to chrome, r=jst 2010-05-17 14:25:22 +03:00
Chris Jones
e4786c8d43 Followup to bug 528146 for dom/ipc, and revert chome registry merge.
--HG--
rename : dom/ipc/ContentProcessThread.cpp => dom/ipc/ContentProcessProcess.cpp
rename : dom/ipc/ContentProcessThread.h => dom/ipc/ContentProcessProcess.h
2010-05-13 18:44:53 -05:00
Chris Jones
9327ed8dcc Merged m-c 2010-05-13 18:04:53 -05:00
Henri Sivonen
2250d7a27c Bug 534071 - Treat carriage returns as tab-like whitespace in layout. r=roc. 2010-05-12 10:57:12 +03:00
Daniel Holbert
733a6070b2 Bug 574049: Remove unused variable 'tabChildC'. r=smaug 2010-06-23 17:30:57 -07:00
Johnny Stenback
841261676e Fixing bug 572609. Use faster version of GetElementById() from our C++ code. r=jonas@sicking.cc 2010-06-23 14:35:57 -07:00
Doug Turner
fe405e740c merge with m-c. resolved conflicts in:
U chrome/src/nsChromeRegistry.cpp
U content/base/src/Makefile.in
U dom/base/nsDOMClassInfo.cpp
U toolkit/toolkit-tiers.mk

--HG--
rename : toolkit/mozapps/extensions/test/unit/test_bug541420.js => toolkit/mozapps/extensions/test/xpcshell/test_bug541420.js
2010-05-11 11:09:54 -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
Jason Duell
84b443f1c0 # User Michal Novotny <michal.novotny@gmail.com>
# Date 1272456176 -7200
Bug 549241 - Channel classifier should run in chrome process. r=biesi, sr=jst
2010-05-21 14:03:02 -07:00
Doug Turner
8f97a20153 Merge with m-c. no hand edits 2010-04-29 21:04:50 -07:00
Jim Mathies
da75b9c3d9 Bug 513162 - Add support for 'chromemargin' property on XUL windows. r=smaug. 2010-06-24 21:01:07 -05:00
Jim Mathies
dfb12206b9 Bug 513162 - Add 'top, right, bottom, left' margin support in nsAttrValue. r=smaug. 2010-06-24 21:01:07 -05:00
Mats Palmgren
fb69d7564f Backout bug 39098 due to Tinderbox orange. 2010-05-21 18:28:39 +02:00
Mats Palmgren
b80392e005 Backout bug 564967. 2010-05-21 18:26:33 +02:00
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
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
Ehsan Akhgari
d051ffeaed Bug 534785 - Move the ownership of editor and selection controller from the text frame to the content node; r=roc,jst sr=roc
(transplanted from 2437636244f39bbdc7d20b062e2c978b9d85c239)

--HG--
rename : layout/reftests/forms/placeholder/placeholder-14.html => layout/reftests/forms/placeholder/placeholder-18.html
extra : transplant_source : %247cbD%F3%9B%BD%C7%D2%0B%06.%2C%97%8B%9D%85%C29
2010-04-21 16:17:41 -04:00
Craig Topper
00d9a2b835 Bug 566808 - "DeCOMtaminate nsIStyleRule method signatures" [r=dbaron]
(transplanted from 9a7be1835b530c72a46069a5c3951b80b16804a3)

--HG--
extra : transplant_source : %9A%7B%E1%83%5BS%0Cr%A4%60i%A5%C3%95%1B%80%B1h%04%A3
2010-05-19 22:28:00 -04:00
Mounir Lamouri
d51cd6c01d Bug 565611 - ""ASSERTION: How did that happen?: 'form == aThisForm'" with <legend>" [r=bz, sr=smaug]
(transplanted from 0c87f407797d0bc7353049a52f5c705fc1d4ae67)

--HG--
extra : transplant_source : %0C%87%F4%07y%7D%0B%C750I%A5/%5Cp_%C1%D4%AEg
2010-05-19 16:33:00 -04:00
Jonas Sicking
abd1ecb72b Bug 564591: Speed up BindToTree/UnbindFromTree by only doing XBL related work when needed. r=smaug 2010-06-03 18:09:08 -07:00
Justin Wood
6c6c2a5543 Merge of Backout 69df59e99741 -- Bug 564591: Speed up BindToTree/UnbindFromTree by only doing XBL related work when needed. 2010-06-03 21:45:19 -04:00
Justin Wood
a9a1502ea5 Backout 69df59e99741 -- Bug 564591: Speed up BindToTree/UnbindFromTree by only doing XBL related work when needed. 2010-06-03 21:44:14 -04:00
Jonas Sicking
0a93bbb190 Bug 564863: Speed up id/name handling by letting elements register/unregister themselves. r=smaug 2010-06-03 18:09:20 -07:00
Jonas Sicking
3b63e1a120 Bug 564591: Speed up BindToTree/UnbindFromTree by only doing XBL related work when needed. r=smaug 2010-06-03 18:09:08 -07: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
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
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
Mounir Lamouri
21c25202c6 Bug 562008 - HTML5 section DOM elements should be of type HTMLElement; r=mrbkap,sicking,timeless,ehsan sr=jst 2010-06-19 11:44:43 -07:00
Masayuki Nakano
edd928ad58 Bug 545775 part.7 remove an assertion from nsContentIterator r=roc 2010-06-19 19:40:27 +09:00
Olli Pettay
b74fc9cde6 Bug 562681, add error handler to CC 2010-06-19 12:00:57 +03:00
wfernandom2004@gmail.com
f8e8fddd2c Bug 562681, tests and small fixes, r=smaug
--HG--
extra : rebase_source : 0b4bb2f3c4b11101a0d97b546549c605297639c4
2010-06-18 23:48:42 +03:00
wfernandom2004@gmail.com
eac77c5f8b Bug 562681, websockets (protocol v76), r=smaug
--HG--
extra : rebase_source : 3fd1b153d688eba6fa6ffb499bc704dd9ca2a3c2
2010-06-17 21:36:01 +03:00
wfernandom2004@gmail.com
7b192188c1 Bug 472529, websockets (protocol v75), r=smaug+biesi
--HG--
rename : netwerk/protocol/http/nsHttpChannel.cpp => netwerk/protocol/http/nsHttpChannelAuthProvider.cpp
rename : netwerk/protocol/http/nsHttpChannel.h => netwerk/protocol/http/nsHttpChannelAuthProvider.h
extra : rebase_source : 44e45b23f85ec0095677233cdbd970c33b0c87b4
2010-06-17 21:34:24 +03:00
wfernandom2004@gmail.com
e1b3b326b5 Bug 472529, websockets (content patch)
--HG--
extra : rebase_source : 831a44f14acffa793cd3814d40a0d44bf152decb
2010-06-17 14:27:52 +03:00
Boris Zbarsky
8f5ac05aaf Bug 479655 part 2. Add element restyle flags. r=dbaron, sr=jst 2010-06-18 12:23:04 -04:00
Boris Zbarsky
f4cb58ddb5 Bug 479655 part 1.5. Free up two more element bits. r=jst 2010-06-18 12:23:04 -04:00
Boris Zbarsky
044abc53b6 Bug 479655 part 1. Add some assertions to catch it if we add too many flags. r=jst 2010-06-18 12:23:04 -04:00
Mounir Lamouri
acf70f5ddb Bug 571139 - text-decoration should be an atom even if SVG is disabled. r=jonas 2010-06-17 12:53:05 +02:00
Ehsan Akhgari
59ce9793d3 Backed out changeset 2dcce82f9d66 because of mochitest failures 2010-06-16 22:14:11 -04:00
Mounir Lamouri
540508e5de Bug 562008 - HTML5 section DOM elements should be of type HTMLElement; r=mrbkap,sicking,timeless,ehsan sr=jst 2010-06-16 20:33:46 -04:00
Neil Deakin
6d6ff9188a Bug 379745, add some additional template sort hint options to sort case-insensitive, sort by integers, and skip natural sort order, r=neil,sr=sicking 2010-06-16 13:09:51 -04:00
Shawn Wilsher
f1d155f2bc Bug 551838 - Adding empty href attribute doesn't add link styling
r=bz
2010-06-16 09:59:26 -07:00
Saint Wesonga
5fcfe77b22 Bug 571736 - warning: comparison between signed and unsigned integer expressions in NameSpaceManagerImpl::AddNameSpace(const nsAString_internal&, PRInt32). r=roc 2010-06-16 18:54:27 +02:00
Olli Pettay
cb4704d113 Bug 568975 - m-c message manager slowed down event handling a bit, r=jst 2010-06-16 14:42:42 +03:00
Chris Jones
d53b8a18d0 Merged m-c 2010-04-27 01:53:06 -05:00
Doug Turner
ed6494b616 merge with m-c. 2010-04-26 23:17:51 -07:00
Ben Newman
941ed3332c Replace direct instantiations of nsRunnableMethod with calls to the templatized NS_NewRunnableMethod function (part 3/3 of bug 558498). r=dwitte sr=dbaron 2010-04-20 16:21:35 -07:00
Ben Newman
2b2bd4076f Eliminate duplicate code by combining nsNonOwningRunnableMethod with nsRunnableMethod (part 1/3 of bug 558498). r=dwitte sr=dbaron 2010-04-20 10:22:04 -07:00
Brandon Sterne
ff6f070e4e Bug 515460 - check GetCsp return value, r=sstamm, a=developers 2010-04-26 12:14:49 -07: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
Ben Turner
f01104db34 Bug 560959 - 'Update Structured Clone for recent spec changes'. r=sicking. 2010-04-28 18:32:16 -07:00
Ben Turner
0edf1180b5 Bug 559476 - Do a fast copy of dense primitive arrays when making a structured clone. r=mrbkap+jst. 2010-04-28 18:32:13 -07:00
Daniel Holbert
c240503b49 Bug 436418, patch F: SVG/SMIL animateMotion - add support for keyPoints attribute. r=roc 2010-04-28 16:00:54 -07:00
Daniel Holbert
49730afb12 Bug 436418, patch E: SVG/SMIL animateMotion - add support for <animateMotion> element and its core logic. r=roc 2010-04-28 16:00:54 -07:00
Blake Kaplan
453d23ad35 Fix bug 532730. r=jst sr=sicking
--HG--
extra : rebase_source : 0188a1388b4c82a55d29a54e08c91568b1ff817f
2010-04-27 15:39:52 -07:00
Mats Palmgren
f5cdcbb5d5 Call EnsureTextRun() and null-check GetTextRun() return value before using it. b=560780 r=roc 2010-04-28 19:47:23 +02:00
Oleg Romashin
87c511839e Merged with mozilla-central 2010-04-22 20:22:26 -04:00
Doug Turner
6c196f14e2 Automerge with mc. no manual changes 2010-04-21 03:31:13 -07:00
Neil Deakin
ceb1712f98 Bug 418521, improve the way focus indicators are displayed to correlate better with system behaviour, add -moz-focusring property to apply only when focus rings should be drawn, r=dao,jmathies,dbaron sr=neil 2010-04-21 10:53:42 -04:00
Olli Pettay
0640f45817 Bug 559311 - [HTML5] nsContentUtils::CreateContextualFragment doesn't cache HTML5 parser properly, r=hsivonen 2010-04-21 14:53:57 +03:00
Olli Pettay
00eb3e8d19 Backout Bug 559311 for now 2010-04-19 16:21:19 +03:00
Chris Jones
09869cfb77 Merge mozilla-central 2010-04-16 01:34:35 -05:00
Olli Pettay
f61e2208ef Bug 557892 - Crash [@ nsGenericElement::SetAttr], r=sicking
--HG--
extra : rebase_source : 55eae64fcad1d2ad4343b5ac0e70a26e67021722
2010-04-15 14:07:30 +03:00
Olli Pettay
09746cd281 Bug 559311 - [HTML5] nsContentUtils::CreateContextualFragment doesn't cache HTML5 parser, r=hsivonen 2010-04-15 12:40:30 +03:00
Josh Matthews
a31149e931 b=545237 Notify PIFrameEmbedding's owner on actor deletion r=bsmedberg 2010-04-12 12:34:02 +12:00
Josh Matthews
af3e5b062a b=545237 Keep track of the ContentProcessParent singleton's life and recreate it if necessary r=bsmedberg 2010-04-12 12:24:45 +12:00
Geoff Lankow
9f6ee2918a Skip -moz-user-select=none only when copying. Follow-up to bug 166235. b=558726 r=roc 2010-04-14 16:55:16 +02:00
timeless@mozdev.org
ec2da51d62 Bug 555692 - mEnabled is never used in CSPService, r=bsterne
--HG--
extra : rebase_source : 943559708654622bcc26d684afecf8e9556d7bcd
2010-03-29 05:33:00 -07:00
Oleg Romashin
8de514e284 Merged with mozilla-central 2010-04-07 06:59:04 -04:00
Ehsan Akhgari
2989d30bcc Merge backout of bug 221820 2010-04-06 21:10:47 -04:00
Ehsan Akhgari
a7ebcd12b9 Back out the editor lazy inititialization patches (bug 221820) to try to solve the orange in bug 557689 2010-04-06 21:08:58 -04:00
L. David Baron
519717b298 No need to null-check aRuleWalker. (Bug 557154) r=bzbarsky 2010-04-06 15:32:51 -07:00
Olli Pettay
b4a11d8557 Bug 554941 - [E10s] CPOW for synchronous TabChildGlobal messages, r=bnewman 2010-03-29 23:29:45 +03:00
Olli Pettay
de7b07408d backout Bug 554941 again 2010-03-28 20:07:16 +03:00
Olli Pettay
9a1e450904 Bug 554941 - [E10s] CPOW for synchronous TabChildGlobal messages, r=bnewman 2010-03-28 19:02:05 +03:00
Olli Pettay
d0ab5348f1 Backout Bug 554941 2010-03-28 00:58:49 +02:00
Olli Pettay
7dbad85a52 Bug 554941 - [E10s] CPOW for synchronous TabChildGlobal messages, r=bnewman 2010-03-27 18:54:57 +02:00
Doug Turner
c15f159231 merge from m-c. manually merging modules/plugin/test/testplugin/nptest.cpp dom/plugins/PluginModuleChild.cpp. 2010-03-26 14:22:48 -07:00
Benedict Hsieh
dfa9ca21a4 Bug 51470 - [E10s] The tab browser should inform the chrome process during navigation. r=smaug,
sr=bsmedberg
2010-03-26 11:39:39 -07:00
Josh Matthews
b60190028f Bug 554835 - Build fixes for undefined MOZ_IPC. r=bnewman,joe 2010-03-25 12:10:14 -04:00
Timothy Nikkel
d0c1cab2a9 Bug 553366. When flushing, make sure to flush external documents too. r=bzbarsky 2010-04-10 13:03:40 -05:00
Olli Pettay
b27dd3c583 Bug 571390, add a comment
--HG--
extra : rebase_source : 5960b90841cfa37decfb48d61e904c97c9d4f91e
2010-06-14 10:32:41 +03:00
Olli Pettay
77e8c01739 Bug 571390 - classList is always empty on xul elements, r=bz
--HG--
extra : rebase_source : 00d58d4fa7e0bffe2bf6b60b4d8a74fd0e27eebe
2010-06-14 10:29:54 +03: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
9397418412 Bug 506041 Part 2: Correct misspellings in source code
r=timeless
2010-05-13 14:19:50 +02:00
Craig Topper
c3fc5fa456 Bug 554253 - Convert nsCOMPtr<nsPresContext> to nsRefPtr<nsPresContext>. r=roc
--HG--
extra : rebase_source : d828daca07188864d055f3d1a72f5217632eb358
2010-03-25 14:17:11 +01: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
Neil Deakin
16e62a0020 Bug 545714, consolidate dropped link handlers into one single component and use it for security checking, r=mano,neil,sr=sicking 2010-04-18 14:27:18 -04:00
Johnny Stenback
c61e5af484 fixing bug 558944. Don't do atomic incr/decr in nsNodeInfoManager, which isn't thread-safe anyways. r=jonas@sicking.cc 2010-04-15 15:18:22 -07:00
Olli Pettay
79f6246f12 Bug 559526 - Moving a NodeIterator from its NodeFilter causes a crash, r=sicking
--HG--
extra : rebase_source : fc22f797ae28009752075c21a280647f042c886c
2010-04-16 21:45:13 +03:00
Chris Jones
7329573dd7 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
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
Ehsan Akhgari
862eb9644f Bug 221820 - Part 4: Fix the newline handling for text fields without an editor; r=bzbarsky
--HG--
extra : rebase_source : 92d9e491351a6183f0232604cd989c14d10d5fad
2010-02-22 16:15:56 -08:00
Ehsan Akhgari
af32591ddc Bug 221820 - Part 4: Fix the newline handling for text fields without an editor; r=bzbarsky 2010-02-22 16:15:56 -08:00
Olli Pettay
d55a9c4d4f Bug 561173 - Reduce QIing and Addref/Release while setting innerHTML, r=jst, a=1hourlimit 2010-04-24 13:41:02 +03:00
Olli Pettay
0797892373 Bug 552255, a bit more strict focus handling, r=enndeakin, sr=jst, a=1hourlimit 2010-04-24 13:40:48 +03:00
Jonas Sicking
930783a5d2 Bug 515401: Make implementation of <base> HTML5 compliant, and clean it up. r=benjamn a=dholbert 2010-04-23 09:10:07 -07:00
Sid Stamm
66e397e0cb Bug 524066 - make CSP support dotless hosts, r=dveditz, a=dholbert_sheriff 2010-04-23 12:57:51 -07:00
Brandon Sterne
24e0358531 Bug 515460 - enforce CSP during XHR redirects, r=jst, a=dholbert_sheriff 2010-04-23 12:54:09 -07:00
Brandon Sterne
05bb2289cd Bug 515460 - enforce CSP during object redirects, r=jst, a=dholbert_sheriff 2010-04-23 12:51:25 -07:00
Brandon Sterne
a0d39d75e7 Bug 515460 - enforce CSP during script redirects, r=jst, a=dholbert_sheriff 2010-04-23 12:49:48 -07:00
Brandon Sterne
cdca2eb7e4 Bug 523239 - CSP nsIChannelEventSink impl, r=jst, a=dholbert_sheriff 2010-04-23 10:03:03 -07:00
Boris Zbarsky
b85efc5557 Bug 552573. Cache the Unicode responseText. r=sicking 2010-04-23 13:37:02 -04:00
Brandon Sterne
5866e4b419 Bug 556625 - fix CSP report-only header, r=dveditz, a=bustage-fix 2010-04-23 08:45:40 -07:00
Robert O'Callahan
75dc672dff Backed out changeset 7432d20f5b86 2010-04-23 16:34:06 +12:00
Mounir Lamouri
fba2c4e7f0 Bug 346485. Implement HTML5 <output> element. r=smaug,hsivonen,mrbkap,sr=jst 2010-04-23 14:43:23 +12:00
Robert O'Callahan
a982d52092 Bug 534566. Use separate nsPropertyTables for different categories so we don't pollute the property name list with unrelated names. r=sicking 2010-04-23 14:41:38 +12:00
L. David Baron
f2a1d900ab Backed out changeset f0d3b958d38d (bug 552523) for causing 137-140 mochitest failures on the two mochitest runs (both Windows) that have completed so far. 2010-07-02 18:15:13 -07:00
Sid Stamm
15ea2fb656 Bug 552523 - enable CSP active and report-only modes simultaneously, r=dveditz 2010-07-02 15:26:35 -07:00
mounir.lamouri@gmail.com
2a7d18aaa1 Bug 555711 - nsAttrValue::ParseNonNegativeIntValue should return PR_FALSE when the value is not valid, r=smaug 2010-04-11 17:12:51 +03:00
Timothy Nikkel
751acd36a6 Merge backout of 761790684f3b (Bug 553366) for suspicion of causing tsvg_opacity regression. 2010-04-10 21:53:23 -05:00
Timothy Nikkel
2dddd62f0b Backout 761790684f3b (Bug 553366) for suspicion of causing tsvg_opacity regression. 2010-04-10 21:52:53 -05:00
Craig Topper
771eede254 Bug 557416: Remove unnecessary includes and forward declarations of nsPresContext. r=roc 2010-04-10 16:10:12 -04:00
Craig Topper
9eccdbd4d7 Bug 557416: Remove unnecessary includes and forward declarations of nsIPresShell. r=roc 2010-04-10 16:09:38 -04:00
Brandon Sterne
674aa49910 Bug 515797: Allow necko to create channels that are aware of Content Security Policy. r=jduell, sr=biesi 2010-04-10 16:08:21 -04:00
Geoff Lankow
d0d55901fd Bug 166235: moz-user-select = 'none' should prevent copying to the clipboard. r=mats 2010-04-10 16:05:58 -04:00
Timothy Nikkel
4b586a06c3 Bug 553366. When flushing, make sure to flush external documents too. r=bzbarsky 2010-04-10 13:03:40 -05:00
Ben Newman
9ec1c1de7b Bug 552110 - Use of deleted object by NodeIterator using NodeFilter which called detach. r=sicking sr=jst 2010-04-09 18:36:40 -07:00
Johnny Stenback
c95863bc0a Fixing bug 534666. Limit the length of a string in a text fragment. r=jonas@sicking.cc, sr=mrbkap@gmail.com 2010-04-09 15:55:11 -07:00
Timothy Nikkel
224192af2f Bug 502937. Part 3. Implement lazy frame construction. r=bzbarsky sr=roc 2010-01-18 03:26:40 -06:00
Timothy Nikkel
2323e2a038 Bug 502937. Part 2.5. Provide an API to get the flattened tree parent of an nsIContent. r=bzbarsky 2010-04-16 13:15:28 -05:00
Timothy Nikkel
c00189dcc3 Bug 502937. Part 0. Make sure onload blocker is in place with document.open(). r=bzbarsky 2010-01-18 03:07:08 -06:00
Olli Pettay
f49a1036af Bug 558148 - Optimize nsContentUtils::HasMutationListeners, r=sicking
--HG--
extra : rebase_source : f5e8a726afadcc0af75f32407849638badfb65b9
2010-04-16 12:05:25 +03:00
Peter Van der Beken
8e3acb1006 Fix for bug 533637 (Speed up unwrapping a node in quickstubs that use nsINode (dromaeo)). Pair every DOMCI to a specific C++ class. r=jst.
--HG--
extra : rebase_source : 9a7823b365cfca04bb08c5be94eab29d218f1e61
2010-01-12 14:08:43 +01:00
Brian Hackett
ed4defc8b5 Add interface for JSStackFrame.fun/script/thisv/rval, bug 586533. r=lw 2010-08-15 08:44:51 -04:00
Justin Dolske
f72ceb215b Bug 544597 - Remap plugin names to a more readable form for plugin-crashed UI. r=gavin, r=jst 2010-04-08 00:45:00 -07:00
Felipe Gomes
3a5e3b045a Bug 489127 - nodesFromRect required for better usability on mobile devices (part 4) [r=roc] 2010-04-07 20:31:26 -04:00
Ben Turner
ba2cd42a88 Bug 553128 - 'Add better support for typed arrays in structured clone'. r=vlad+jst+jorendorff. 2010-04-07 13:55:12 -07: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
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
Jonas Sicking
1efbd766ca Back out bug 546857 Part 6 due to talos failures. a=backout 2010-08-19 18:41:58 -07:00
Mounir Lamouri
199316d774 Bug 566160 - Implement formaction for <input> and <button> which ovverid <form> action attribute. r=sicking sr=smaug a2.0=blocking 2010-08-20 01:23:59 +02:00
Mounir Lamouri
75d4416512 Bug 566064 (2/2) - Implement formtarget for <input> and <button> which override <form> target attribute. r=sicking a2.0=blocking 2010-08-20 00:58:10 +02:00
Mounir Lamouri
ac22730bb3 Bug 566064 (1/2) - Moving form submission originating element to nsFormSubmission. r=sicking a2.0=blocking 2010-08-19 23:58:20 +02:00
Jonas Sicking
1a06bd84dd Bug 546857 Part 6: Disable XUL for pages, unless user specifically opts in for domain. r=jst a=blocker 2010-08-19 16:12:46 -07:00
Jonas Sicking
a658707f99 Bug 546857 Part 1: Fix nsDOMParser to make it useful from xpcshell tests. r=bz a=blocker 2010-08-19 16:06:06 -07:00
Rich Dougherty ext:(%2C%20Chris%20Pearce%20%3Cchris%40pearce.org.nz%3E)
eccf17ee01 Bug 548523 - Replace HTMLMediaElement.autobuffer attribute with 'preload'. r=roc a=blocking2.0
--HG--
rename : content/media/test/test_autobuffer.html => content/media/test/test_preload_attribute.html
rename : content/media/test/test_autobuffer2.html => content/media/test/test_preload_suspend.html
2010-08-20 10:50:37 +12:00
Mounir Lamouri
335de1dc4f Bug 345512 - Implement pattern attribute for input elements. f=ajvincent r=sicking,jorendorff sr=smaug a2.0=blocking 2010-08-18 21:26:22 +02:00
Mounir Lamouri
b0401c6221 Bug 583610 - Value sanitizing algorithm form <input type='url'>. r=smaug sr=jst a2.0=blocking 2010-08-18 20:34:14 +02:00
Mounir Lamouri
3c37076481 Bug 345822 - Implement required attribute. f=ajvincent r=smaug sr=sicking a2.0=blocking 2010-08-18 20:30:41 +02:00
Mounir Lamouri
b3a82943f3 Bug 345624 - Implement HTML 5's Constraint Validation API. f=ajvincent r=smaug sr=sicking a2.0=blocking 2010-08-18 20:28:08 +02:00
Ben Newman
b3cb7ea79d Bug 516522 - CPOW: Cross-Process (JavaScript) Object Wrapper. r=mrbkap r=bent sr=jst 2009-11-06 12:43:39 -08:00
Doug Turner
9e52c27932 merge from mozilla-central. no merges required 2010-03-23 02:53:35 -07:00
Jason Duell
69b885991b Merge from m-c in order to fix e10s necko hangs caused by last m-c merge. 2010-03-19 23:55:40 -07:00
Ms2ger@gmail.com
d6bc4e12a7 Bug 553896 - Node.isEqualNode(null) shouldn't throw. r=smaug 2010-03-22 17:06:57 +01:00
Markus Stange
5fb3e948bb 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
Craig Topper
a956b85435 Bug 253889: DeCOMtaminate nsIPresShell r=roc 2010-03-20 17:54:19 -04:00
Neil Deakin
8f3acb3041 Bug 501154, consolidate places where clipboard events are fired from, r=smaug,sr=neil 2010-03-19 14:32:13 -04:00
Laurent Jouanneau
8b9930f133 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
e5d87ec5bb 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
3e3654ffca 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
6469f57d89 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
Ben Turner
0bdadbfbee Bug 550275 - 'Implement the HTML5 structured clone algorithm'. r=jst+mrbkap, sr=jst. 2010-03-17 12:55:45 -07:00
Markus Stange
4a997d3554 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
f1f3037861 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
Justin Dolske
1db3f5a1ce 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
efb0109f58 Fix bug 552090. r=sicking sr=jst 2010-03-16 16:23:45 -07:00
Daniel Holbert
52f0b1c7e3 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
1b7f3ee4bc Bug 534028, Patch A: Make nsIContent::GetAnimatedAttr()'s nsIAtom argument non-const. r=roc 2010-03-16 16:17:32 -07:00
Daniel Holbert
e0134144b0 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
c8c9e7615a 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
Makoto Kato
0736aa6001 Bug 182954 - Content should use the newer nsIPrefService APIs instead of nsIPref. r=neil,bzbarsky 2010-03-13 22:23:27 +09:00
Robert Longson
7f73b235c7 Bug 510202 - simplify C++ code now that bug 461199 has landed. r=sdwilsh,sr=bzbarsky 2010-03-13 10:32:19 +00:00
timeless@mozdev.org
c3bbdc001a Bug 494683 warning: comparison between signed and unsigned and incorrect initialization order
r=jst sr=jst

--HG--
extra : rebase_source : b216615bd1813d661496432f508bb2755aa55877
2010-03-12 07:50:13 +01:00
timeless@mozdev.org
5eb4371fee Bug 551091 fix signed warning because Count() is signed ...
r=jst

--HG--
extra : rebase_source : a54a095b0bd3e4150bc75985863d47c4b8fe9d73
2010-03-12 07:50:12 +01:00
Daniel Holbert
56c3c6778a 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
Jason Duell
a5f74621b1 Merge from mozilla-central (rev 783ef71b479e) to e10s tree; gets xpcshell working again. 2010-03-18 14:59:34 -07:00
Doug Turner
ef22106e0b [Bug 553149] Implement sendCrossProcessKeyEvent for e10s. r=smaug 2010-03-18 23:52:18 -07:00
Doug Turner
85bd4fb391 Merge with mc 2010-03-17 10:37:32 -07:00
Doug Turner
f295d7422b Merge 2010-03-12 15:20:36 -08:00
Doug Turner
16e2fd5fe7 Merge. manually merged. modules/plugin/test/testplugin/nptest.cpp, testing/xpcshell/head.js. 2010-03-10 19:13:35 -08:00
Doug Turner
87cf185e2d Fixing build bustage on Qt. This is similar to bug 550261. 2010-03-09 00:44:28 -08:00
Chris Jones
733adfeaaf Fix some merge bustage. 2010-03-08 14:16:41 -06:00
Doug Turner
d08632917d Merge with mc 2010-03-08 10:09:55 -08:00
Jonas Sicking
088a5c3e1c Bug 534136 Part 4: Inline accessors on nsIAtom. r=peterv sr=jst 2010-03-08 07:45:00 -08:00
Jonas Sicking
3175f89133 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
c4106f7f22 Bug 534136 Part 2: Use 16bit-char buffers inside atoms. r=bz sr=mrbkap 2010-03-08 07:45:00 -08:00
Jonas Sicking
1a6c0165bf 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
Ginn Chen
51b8057cbc Bug 550386: content/base/src/nsFileDataProtocolHandler.cpp failed to compile with SS12 r=bzbarsky 2010-03-08 17:33:14 +08:00
Daniel Veditz
d7f89f6fbd bug 548993 wrong return type from CSP inline script check, r=sicking 2010-03-08 00:28:13 -08:00
Sid Stamm
1335f2114e bug 550442 object sub loads should obey the object-src policy 2010-03-08 00:24:30 -08:00
Olli Pettay
354fead050 Bug 549693 - [E10s] addMessageListener callback object should have access to browser object, r=jst 2010-03-05 13:00:43 +02:00
Olli Pettay
e2ad087211 Bug 549884 - [E10s] add .docShell to TabChildGlobal, r=dougt 2010-03-03 22:30:25 +02:00
Doug Turner
5daaf36bf1 Merge 2010-03-01 15:36:51 -08:00
Oleg Romashin
cb70343ee4 Bug 545899 - Qt XEmbedding must be updated according to QWidget->QGraphicsWidget change. r=dougt 2010-03-01 21:05:48 +02:00
Oleg Romashin
08c04079d6 Bug 545899 - Qt XEmbedding, not initialized socket. r=dougt 2010-02-27 14:49:35 +02:00
Olli Pettay
4ebc1a5dae Bug 548065 - Segfault when sending async message to remote process that has not initialized yet, r=jst 2010-02-24 12:05:49 +02:00
Olli Pettay
fb7533d660 Bug 547856 - ###!!! ASSERTION: Uh, cx is not the current JS context!: 'cx == GetCurrentJSContext()' when using dump() in content process remote script, r=jst 2010-02-24 12:03:22 +02:00
Olli Pettay
4874094ab0 Bug 548065 - Segfault when sending async message to remote process that has not initialized yet, r=jst 2010-02-24 12:02:28 +02:00
Olli Pettay
0d9effc7af Bug 548056 - Don't try to parse empty json, r=jst 2010-02-24 12:01:49 +02:00
Chris Jones
bc05dd163b Merge from mozilla-central 2010-02-22 21:31:18 -06:00
Boris Zbarsky
d14db3049f Bug 530373 followup. Fix build bustage. 2010-02-22 15:13:19 -05:00
Jae-Seong Lee-Russo
30218c70c3 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
Olli Pettay
72dc86132d Bug 542242 - E10s, content process event handlers, r=jst, r=bsmedberg 2010-02-20 19:05:20 +02:00
mounir.lamouri@gmail.com
b243710610 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
Chris Jones
f0560d9e8e 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
Olli Pettay
83b813bb98 Bug 549566, clean-up beforeunload message, r=sicking
--HG--
extra : rebase_source : 5abe27de295f9285b926f105d7ec317ebe1503ff
2010-03-03 14:41:57 +02:00
Jonas Sicking
aeb9ba77c3 Bug 543870: Implement File.url. r=bz sr=jst 2010-03-02 23:51:09 -08:00
Daniel Holbert
627f47b186 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
Zack Weinberg
2c3e543d1d 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
1e69ee7cc3 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
96887d3f38 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
2591c1ea57 Fix bug 490790. r=dveditz 2010-03-02 11:40:14 -08:00
Craig Topper
5c68d29b38 Bug 544372: Fix more harmless UMRs to avoid valgrind complaining. r=sicking 2010-03-01 21:06:29 -08:00
Michael Ventnor
25bc9c7d85 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
a5c6c0b995 Bug 551396: Remove unused helper-function GetURIHash from nsDocument.cpp. r=smaug 2010-03-10 12:33:37 -08:00
Frédéric Wang
d6904c21a4 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
dbb6144442 Bug 549576 - Remove ::MaybeCC from XMLHttpRequest, r=peterv 2010-03-10 12:51:21 +02:00
Shawn Wilsher
cb211422b2 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
Alexander Surkov
be2b5e3966 Bug 534527 - Accessibility needs new DOM API part 2, r=smaug, sr=bz 2010-02-20 16:52:50 -08:00
Timothy Nikkel
92355591c8 Bug 545593. Remove nsViewManager::Enable/DisableRefresh. r=roc 2010-02-18 13:23:23 -06:00
Shawn Wilsher
8074dd15b2 Backed out changeset 1622d8dab8c3 2010-02-18 10:13:35 -08:00
Mounir Lamouri
54f1561afc 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
Henri Sivonen
56cd24d21e 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
Ms2ger
0d8a8bc9bb imported patch 499092-prefix-v2 2010-02-25 10:49:34 -08:00
Jonas Sicking
bf568e77dc Bug 544372: Reading unitialized memory in nsNodeIterator. Also fix a minor perf issue. r=peterv 2010-02-25 10:34:36 -08:00
Jonas Sicking
eb4d99e601 Fix license in new files added for bug 546528 2010-02-25 01:25:53 -08:00
Jonas Sicking
1a41a3c97c Bug 546528 part 3: Implement FormData. r=benjamn 2010-02-24 21:58:18 -08:00
Jonas Sicking
833517ace9 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
aecb30c8cf 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
51fbd0da83 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
Robert O'Callahan
ef6f3c2ae0 Bug 503989. Break MediaLoadListener reference cycle at shutdown. r=sicking,doublec
--HG--
extra : rebase_source : bbd326582e4a7d0864affcfe3a715e228c4b2647
2010-02-24 11:14:14 -08:00
Shawn Wilsher
cb0509c597 Bug 461199 (Part 30) - Fixes invalidation issues when changing the href attribute.
r=bz
2010-02-24 08:37:38 -08:00
Shawn Wilsher
b6e4bfa8f1 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
149f5aac0a 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
94b3600d96 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
aab3b02a8b 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
40dabb5bd0 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