Commit Graph

3280 Commits

Author SHA1 Message Date
Mounir Lamouri
b088e154d6 Backed out bug 669310, bug 668013, bug 667887 and bug 669886 due to build bustage. 2011-07-19 10:49:48 -07:00
Mounir Lamouri
fe7ffbef8b Bug 669886 - Make nsMappedAttributeElement, nsStyledElement, nsStyledElementNotElementCSSInline, nsGenericHTMLElement, nsGenericHTMLFormElement and nsGenericHTMLFrameElement participate in the DOM Memory Reporter. r=jst 2011-07-19 09:54:43 -07:00
Mounir Lamouri
2179f30023 Bug 667887 - Implement nsMappedAttributes::SizeOf(). r=jst,bz 2011-07-19 09:42:14 -07:00
Mounir Lamouri
79c9d3ee6f Bug 668013 - Add nsHTMLStyleSheet::SizeOf(). r=bz 2011-07-19 09:40:18 -07:00
Mounir Lamouri
d2f5a3b4c3 Bug 669310 - Fixes various includes and forward declarations. f=Ms2ger r=jst 2011-07-18 17:05:10 -07:00
Boris Zbarsky
343cb4fe2b Bug 664721. Treat a document load in a subframe as first-party if it's first-party with all _ancestors_ of the subframe, no matter what's loaded in the subframe itself. r=dwitte 2011-07-19 11:28:03 -04:00
Patrick McManus
f341dfca7a bug 662692 - mixed-content websockets should check more than https:// r=bz 2011-07-19 09:17:39 -04:00
Benjamin Smedberg
697f27ea00 Bug 617539 - Combine nsIRadioGroupContainer_MOZILLA_2_0_BRANCH; r=bz 2011-07-19 11:44:55 +02:00
Ehsan Akhgari
34ec9e0587 Merge mozilla-central and mozilla-inbound 2011-07-18 18:16:25 -04:00
Oleg Romashin
5e896583c6 Bug 648250 - image based navigational bar is useless in remote Fennec (window.outerWidth throws js errors). r=Olli.Pettay 2011-07-15 14:46:56 -07:00
Joe Drew
33e03d0d4b Bug 671906 - Rename crossOrigin atom to crossorigin, because attributes are lowercased before being mapped to atoms. r=bz 2011-07-17 13:40:22 -04:00
Oleg Romashin
37cc5f01d3 Backed out changeset 31cbb80c705e, win burning 2011-07-15 14:30:29 -07:00
Oleg Romashin
5dfda6c571 Bug 648250 - image based navigational bar is useless in remote Fennec (window.outerWidth throws js errors). r=Olli.Pettay
--HG--
extra : rebase_source : 226d9655eb425e6ef18dc0269eb90495c00dbd91
2011-07-15 13:37:03 -07:00
Ehsan Akhgari
4a9dec68d7 Bug 414526 - Backspace at the beginning of a contenteditable element or delete at the end of one should not affect the rest of the contenteditable elements on the page; r=roc
The main fix here involves the introduction of the nsHTMLEditor::IsNodeInActiveEditor
API.  This API returns true if the current selection in the document falls
inside the active editable section.  The patch adds a bunch of checks using
this API to various places in the code to make sure that editing operations do
not escape their editing host.

There are also some unrelated fixes to range promotion code which fix the
bugs that have existed in that code before, but because of the lack of this
check were not uncovered before.

This patch also removes the nsTextEditUtils::InBody API which only made sense
in designMode documents, and was insufficient for contenteditable elements.
2011-07-14 11:25:07 -04:00
Ehsan Akhgari
0787743cf4 Merge the last green changeset on mozilla-inbound to mozilla-central 2011-07-15 08:13:08 -04:00
Ms2ger
36c532ffa2 Bug 670235 - Remove nsIDOMWindowInternal; r=sicking 2011-07-15 12:31:34 +02:00
Benoit Jacob
a51099130a Bug 664299 - Add support for the crossorigin attribute on the html:img tag, and pass the appropriate CORS mode to imgILoader::loadImage when it's specified. r=bz 2011-07-14 14:47:35 -04:00
Joe Drew
952b8c93a0 Bug 664299 - Pass the loading principal to imgILoader::loadImage so we can operate on it later. r=bz 2011-07-14 14:47:32 -04:00
Patrick McManus
a4f443af86 bug 670687 - ws origin handling bogus r=bz 2011-07-18 16:51:28 -04:00
Benjamin Stover
e2377d2b80 Bug 626792 Content view contentWidth/Height do not update immediately after scaling r=roc r=mbrubeck 2011-07-18 11:04:47 -07:00
Mounir Lamouri
0dfc533aac Bug 667883 - Implement nsAttrAndChildArray::SizeOf(). r=bz 2011-07-12 16:56:01 +02:00
Daniel Holbert
19a9a14397 Bug 669438: Remove unused helper-function "DOMFileResult" from nsDOMFile.cpp. r=sicking 2011-07-12 00:10:23 -07:00
Jonas Sicking
742a5593a3 Bug 669437: Implement BlobBuilder.getFile. r=khuey 2011-07-11 19:42:02 -07:00
Jonas Sicking
0103221c13 Bug 669433 Part 3: Make first argument to Blob.slice optional and defaulting to 0. r=khuey 2011-07-11 19:41:55 -07:00
Jonas Sicking
6f2e35cdd5 Bug 669433 Part 2: Clean up File implementations. Move functions around such that they are grouped with their respective class. No other changes. r=khuey 2011-07-11 19:41:44 -07:00
Jonas Sicking
eb9ce9a027 Bug 669433 Part 1: Clean up File implementations by creating a storage-agnostic base class, nsDOMFileBase. r=khuey 2011-07-11 19:41:29 -07:00
Mounir Lamouri
7b98e99ad6 Bug 669308 - Introduce macros and method helpers to simplify participation of classes to the DOM Memory Reporter. r=bz 2011-07-11 17:23:26 +02:00
Patrick McManus
58c63edee3 bug 662692 - Do not allow mixed-content WebSockets r=smaug 2011-07-10 12:31:41 -04:00
Felipe Gomes
bdcb64d147 Bug 583976. Part 3 - Automatically forward mouse and key input events to out-of-process content, and add cursor support in PuppetWidget. r=smaug,stechz 2011-06-21 17:32:43 -07:00
Felipe Gomes
0a988c309a Bug 583976. Part 1 - Add focus manager support for focus activation/deactivation in remote content. r=enn,smaug 2011-06-17 17:08:32 -07:00
Felipe Gomes
527cbc1e43 Bug 663035. Retrieving docShell of remote frames should simply return null instead of throwing. r=bsmedberg 2011-06-14 17:29:10 -07:00
Felipe Gomes
091d656e1b Bug 662500. Drop support for pref that forces OOP tabs. r=bsmedberg 2011-06-07 12:23:15 -07:00
Boris Zbarsky
6311e0ed15 Bug 664916. Make sure that we're dealing with an element when getting tagName. r=sicking 2011-07-07 14:17:13 -04:00
Daniel Holbert
6cd47754b0 Bug 669727: Remove set-but-unused variable isDeepDocumentClone from nsNodeUtils.cpp. r=smaug 2011-07-07 09:57:22 -07:00
Kyle Huey
3b073151cf Bug 668361: File ctor should fail if passed a directory. r=sicking 2011-07-06 09:35:12 -07:00
Olli Pettay
1e52239020 Additional test for Bug 666604, r=volkmar
--HG--
extra : rebase_source : 3ff98e5bb1ab594db111e81501abb5cf2b43d60d
2011-07-06 16:02:26 +03:00
Mounir Lamouri
a15518f8d7 Merge mozilla-inbound into mozilla-central. 2011-07-06 14:43:52 +02:00
Chris Leary
679a65fe47 Merge mozilla-central and tracemonkey. 2011-07-05 17:30:35 -07:00
Boris Zbarsky
b6a4808b23 Bug 668690. When scripts are disabled, don't bother preloading them. r=sicking 2011-07-05 17:33:03 -04:00
Jason Duell
45ea24eb5d Bug 664860. Rename nsIWebSocketHandler -> nsIWebSocketChannel. r=biesi
--HG--
rename : netwerk/protocol/websocket/nsIWebSocketProtocol.idl => netwerk/protocol/websocket/nsIWebSocketChannel.idl
rename : netwerk/protocol/websocket/nsIWebSocketProtocol.idl => netwerk/protocol/websocket/nsIWebSocketListener.idl
2011-07-04 21:18:32 -07:00
Jason Duell
ebaf20a075 bug 664860: Rename websockets mochi test. r=biesi
--HG--
rename : content/base/test/file_ws_basic_tests_wsh.py => content/base/test/file_websocket_basic_wsh.py
rename : content/base/test/test_ws_basic_tests.html => content/base/test/test_websocket_basic.html
2011-07-04 21:18:30 -07:00
Ms2ger
11413e95a1 Merge m-c to m-i 2011-07-03 21:54:56 +02:00
Ms2ger
e6aaa3671f Bug 668184 - Make nsIDocument::AddXMLEventsContent return void; r=smaug 2011-07-03 11:53:41 +02:00
Ms2ger
ae8afde742 Bug 647433 - Rename mContent to mElement in implementations of nsIContentSerializer; r=bz 2011-07-03 11:53:40 +02:00
Marco Bonardo
e46465dc77 No bug - Fix merge conflict across mozilla-inbound and mozilla-central. 2011-07-02 11:22:57 +02:00
Marco Bonardo
13b5cd08c3 Merge mozilla-inbound and mozilla-central 2011-07-02 10:39:08 +02:00
Kyle Huey
3d981011e9 Bug 661582: XHR.response should return a Blob, not a File. r=sicking 2011-06-30 14:42:15 -07:00
Masatoshi Kimura
938ba969e8 Bug 661583: Hold onto the cache token if our response blob is backed by a cache file. r=sicking 2011-06-30 14:41:39 -07:00
Olli Pettay
d99aaa1cc3 Bug 664470, unlink document some more, r=peterv
--HG--
extra : rebase_source : dbafa0618f381c4dc9360f972676de137d2d9885
2011-07-01 17:05:37 +03:00
Matt Brubeck
27d39ad214 Back out 9fc0e6867256, 6947bbce9672, fb91a23bd158, a5870dd2ad7c, c3d3292fbd1e, 42f2aca1fde9 to fix Android failures on a CLOSED TREE 2011-07-01 11:20:52 -07:00