Commit Graph

1849 Commits

Author SHA1 Message Date
Peter Van der Beken
76cf6809a4 Part 3 of fix for bug 564266 (DOMCI GetItemAt/GetNamedItem should return nsWrapperCache) - make GetNodeAt return nsIContent*. r=jst.
--HG--
extra : rebase_source : 4653ed3c0f67141bbace1b1973db4aca4b4d908d
2010-05-09 21:33:00 +02:00
Olli Pettay
abf43f852b Bug 566466 - speed up createElement(), r=jst, peterv 2010-07-23 12:49:57 +03:00
Boris Zbarsky
29f6154921 Bug 579744. Extract the actual content type from the attribute value before using it as a type hint for the channel. r=jst 2010-07-22 17:33:38 -04:00
Boris Zbarsky
cde30a5919 Bug 581007. We might not have an ownerDocument. r=jst 2010-07-22 17:33:37 -04:00
Masayuki Nakano
660981e020 Bug 389372 - Contenteditable node is still editable without focus; r=ehsan,masayuki,roc sr=jst a=blocking-2.0:betaN+ 2010-07-22 12:22:44 -04:00
wfernandom2004@gmail.com
d5782a9534 Bug 578276 - websocket test suite is pretty flaky, r=smaug, a=benjamin
--HG--
extra : rebase_source : 73af3b9a4c48ed1ac89895412bc9868156d6f12e
2010-07-21 19:05:56 +03:00
Olli Pettay
8d289f0549 Bug 580094 - Few SetInnerHTML micro optimizations , r=jst, a=benjamin
--HG--
extra : rebase_source : d23e9583ef631e1a93d6aece9c3543c4b23ed9c2
2010-07-21 19:03:21 +03:00
Masayuki Nakano
d7540e477b backout the previous my check-ins 2010-07-22 11:11:34 +09:00
Masayuki Nakano
742e98c291 Bug 389372 Contenteditable node is still editable without focus r=ehsan+roc, sr=jst 2010-07-22 08:46:52 +09:00
Craig Topper
6ad94d826e Bug 577438 Part 3: Make TreeWalker use new tree walking functions. r=sicking 2010-07-21 15:05:23 -07:00
Craig Topper
5b63b9520a Bug 577438 Part 2: Make NodeIterator use new tree walking functions. r=sicking 2010-07-21 15:05:20 -07:00
Craig Topper
b9673b8709 Bug 577438 Part 1: Add previous sibling to nsIMutationObserver::ContentRemoved. r=sicking 2010-07-21 15:05:17 -07:00
Brandon Sterne
d6c74984ec Bug 475530 - X-Frame-Options w/ redirect to about:blank, r=jst 2010-07-21 08:51:09 -07:00
Boris Zbarsky
93922db9e1 Bug 578696 part 11. Stop holding strong refs when calling ContentRemoved and remove the now-unused IMPL_STRONGREF_MUTATION_NOTIFICATION macro. r=sicking 2010-07-21 11:37:41 -04:00
Boris Zbarsky
235296fdf0 Bug 578696 part 10. Stop holding strong refs when calling ContentInserted. r=sicking 2010-07-21 11:33:32 -04:00
Boris Zbarsky
998b474e42 Bug 578696 part 9. Stop holding strong refs when calling ContentAppended. r=sicking 2010-07-21 11:33:32 -04:00
Boris Zbarsky
8cfe0849e3 Bug 578696 part 8. Stop holding strong refs when calling AttributeChanged. r=sicking 2010-07-21 11:33:32 -04:00
Boris Zbarsky
39c6f594bb Bug 578696 part 7. Stop holding strong refs when calling AttributeWillChange. r=sicking 2010-07-21 11:33:32 -04:00
Boris Zbarsky
ae9e1bc03c Bug 578696 part 6. Stop holding strong refs when calling CharacterDataChanged. r=sicking 2010-07-21 11:33:32 -04:00
Boris Zbarsky
76ef6dec31 Bug 578696 part 5. Stop holding strong refs when calling CharacterDataWillChange. r=sicking 2010-07-21 11:33:32 -04:00
Boris Zbarsky
b8256cdb51 Bug 578696 part 4. Stop holding strong refs when calling NodeWillBeDestroyed. r=sicking 2010-07-21 11:33:32 -04:00
Boris Zbarsky
fc02cf625f Bug 578696 part 3. Stop holding strong refs when calling ParentChainChanged. r=sicking 2010-07-21 11:33:31 -04:00
Boris Zbarsky
b891fc7b78 Bug 578696 part 1. Create new macros to notify nsTObserverArray observers without holding strong refs. No behavior changes yet. r=sicking 2010-07-21 11:33:31 -04:00
Johnny Stenback
b26e56fce3 Fixing bug 580445. Fix loop condition and remove extra null check. r=jonas@sicking.cc 2010-07-20 20:29:25 -07:00
Peter Van der Beken
8ac29c76fa Part 2 of fix for bug 564266 (DOMCI GetItemAt/GetNamedItem should return nsWrapperCache) - store nsHTMLOptionElement in nsHTMLOptionCollection instead of nsIDOMHTMLOptionElement. r=jst.
--HG--
extra : rebase_source : 0dab994cd3bfbc72b7b876876b89b138cb3290f1
2010-05-09 20:32:57 +02:00
Peter Van der Beken
8c1a0bae2b Part 1 of fix for bug 564266 (DOMCI GetItemAt/GetNamedItem should return nsWrapperCache) - store nsDOMAttribute in nsDOMAttributeMap instead of nsIDOMNode. r=jst.
--HG--
extra : rebase_source : d9a660d478412545c7f1717b034b04d419111757
2010-04-19 17:41:39 +02:00
Markus Stange
b5159a8bd0 Bug 392188 - Add a XUL attribute called "clickthrough" that determines whether an element accepts mouse events when it's in a background window. r=smaug 2010-07-16 14:50:28 +02:00
Robert O'Callahan
e98a518e3c Bug 564991. Part 34: Make sure that ThebesLayerBuffers are always allocated as similar surfaces to the widget surface, whenever possible. r=cjones 2010-07-16 09:08:10 +12:00
Vivien Nicolas
e5affe632f Bug 568818 - sendSyncMessage fails with 'SyntaxError: JSON.parse' if one of the listeners did not return a value [r=smaug] 2010-07-15 16:33:35 +02:00
Henri Sivonen
e985ea0186 Bug 560256 - Ignore document.write() from external scripts when there is no proper insertion point. r=jonas. 2010-06-19 09:38:41 +03:00
Dão Gottwald
a2e4b780ff Backed out changeset adaf0592cdfa 2010-07-15 12:37:32 +02:00
Vivien Nicolas
886f83302e Bug 568818 - sendSyncMessage fails with 'SyntaxError: JSON.parse' if one of the listeners did not return a value [r=smaug] 2010-07-15 09:46:36 +02:00
Zack Weinberg
63f91528d4 Bug 558235 part 2: Kill CSS2PropertiesTearoff. r=dbaron 2010-07-14 13:58:56 -07:00
Peter Van der Beken
ba965ac95d Backout 249ee5a4b51d, f3003a80bf28 and 1b4359586ce5 to fix leak.
--HG--
extra : rebase_source : effdeb6ac33a5a065689ca5c3f8f6da249eb6375
2010-07-14 15:45:11 +02:00
Robert Sayre
7846424f94 Merge 2010-07-14 06:00:55 -07:00
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