Dão Gottwald
be402e81a8
Backed out changeset 3d3f25a67e24
2011-07-28 11:51:14 +02:00
Josh Matthews
fa435d3a55
Bug 674436 - Relax message listener restrictions to allow callable proxies. r=smaug
2011-07-27 16:21:53 -04:00
Ginn Chen
53a099ed8a
Bug 674469 - Add -xarch=sse2 flag for *SSE2.cpp with Solaris Studio compiler. r=khuey.
2011-07-28 11:40:39 +08:00
Ed Morley
24be888a22
Bug 666984 - Remove/substitute NS_FloatIsFinite since it does the same thing as NS_finite; r=jwatt
2011-08-01 13:43:23 -04:00
Henri Sivonen
c358d9fe7e
Bug 675437 - Obtain the local name atom of attributes in a non-crashy way in nsTreeSanitizer. r=bzbarsky.
2011-08-01 17:10:07 +03:00
Michael Wu
6a28121ce1
Bug 671417 - Incorrect use of PRBool when other types are more appropriate or vice versa, r=bz,ehsan,dwitte,joe,vlad,luke,mak,roc
2011-07-26 23:43:37 -07:00
Ehsan Akhgari
2f51d73796
Bug 674558 - Implement the HTML5 selectionDirection property for text controls (input and textarea); r=bzbarsky
2011-07-28 13:51:22 -04:00
Joel Maher
631c8bced7
Bug 674319 - move test_bug391728.html to mochitest-chrome. r=mossop, a=test-only
...
--HG--
rename : content/base/test/file_bug391728.html => content/base/test/chrome/file_bug391728.html
rename : content/base/test/file_bug391728_2.html => content/base/test/chrome/file_bug391728_2.html
rename : content/base/test/test_bug391728.html => content/base/test/chrome/test_bug391728.html
2011-07-28 12:04:00 -04:00
Patrick McManus
011db5d5e1
bug 674890 - Update WebSocket API to latest draft - send() should return void r=sicking sr=bz
2011-08-02 15:35:45 -04:00
Henri Sivonen
67c15d561f
Bug 675916 - Restart iteration over attributes in the sanitizer when URL check ends up removing an attribute. r=bzbarsky.
2011-08-02 20:45:38 +03:00
Justin Lebar
f12a40a987
Backing out cfea4859f458, 883e581e0849 due to permaorange on moth opt.
2011-08-02 13:23:11 -04:00
Felipe Gomes
ed24e05b84
Bug 667077 - Add atob/btoa to frame scripts. r=smaug
2011-06-25 05:52:00 -04:00
Ehsan Akhgari
0742b4d4cd
Merge the last green changeset on mozilla-inbound to mozilla-central
2011-07-26 14:03:34 -04:00
Olli Pettay
1fb309ad40
bug 335998, strong parentNode, r=peterv
2011-07-26 14:11:14 +03:00
Marco Bonardo
a132380d79
Merge last green changeset from mozilla-inbound to mozilla-central
2011-07-26 11:50:00 +02:00
Boris Zbarsky
7df8bf6eb3
Bug 667336. Make sure we don't overflow unsigned int on item(). r=peterv
2011-07-26 10:01:31 -04:00
Olli Pettay
c2d3b57f2f
Bug 673806, unlink animation controller, r=dholbert
2011-07-25 20:50:29 +03:00
Kyle Huey
8fdc989fae
Bug 673859: Don't overwrite the event's trusted flag in nsGenericElement::DispatchClickEvent. r=smaug
2011-07-25 10:35:25 -07:00
Ehsan Akhgari
cadef9ec48
Merge mozilla-central and mozilla-inbound
2011-07-24 12:52:51 -04:00
Julian Reschke
f5d0e89f29
Bug 666562. fix quoted-string unescaping in HTTP link header fields, r=bzbarsky
2011-07-23 14:31:49 +02:00
Ms2ger
2a3176b2ee
Bug 666665 - Remove isindex content code; r=sicking+hsivonen
2011-07-23 11:45:38 +02:00
Brandon Sterne
d43b2cf01e
Bug 673588 - use correct location when resolving CSP sources and report-uris, r=dveditz
2011-07-22 16:14:58 -07:00
Kyle Huey
21cdfe78c0
Merge m-c to b-s.
2011-07-22 00:03:35 -07:00
Brandon Sterne
a55852a70c
Bug 664983 - don't send request headers with CSP violation reports, r=dveditz
2011-07-21 13:47:35 -07:00
Oleg Romashin
d3e0751ed0
Bug 648250 - remove wrong assert r=Olli.Pettay
2011-07-21 13:05:55 -07:00
Ehsan Akhgari
aa9c0820e7
Bug 672709 - Update the intrinsic state for elements in designMode documents correctly; r=bzbarsky
...
This patch fixes two things:
* The intrinsic state on elements inserted in a contenteditable section when the
document is in designMode (the nsGenericElement::UpdateEditableState change).
* The intrinsic state on elements existing in the document when the document first
enters designMode (the nsHTMLDocument::EditingStateChanged change).
The reftest included tests both cases.
2011-07-20 15:58:25 -04:00
Kyle Huey
6b82f92f13
Bug 664254: Make DOM File objects implement nsIMutable so they can be immutabilized for sharing across threads. r=sicking
2011-07-19 09:27:46 -07:00
Kyle Huey
085174474c
Bug 646157: Prevent 2^n growth in event dispatch in a chain of nested labels. r=smaug
...
Prior to this patch, Gecko allowed bubbling click events to trigger multiple <label>s, and for the synthetic click events generated by <label>s to also trigger additional <label>s. In contrast, Opera allows only the latter, and Webkit/IE allow neither. Gecko's behavior leads to 2^n events being dispatched in the case of markup like:
<label for="thing1" /><input type="foo" name="thing1" />
<label for="thing2" /><input type="foo" name="thing2" />
...
After this patch a bubbling click event triggers at most one <label>, and the synthetic click event cannot trigger additional labels. Our behavior is still not identical to Webkit/IE though, because in Gecko a click event will still bubble up past a <label>, while in Webkit/IE the click event will stop at the <label>.
2011-07-19 09:19:32 -07:00
Ehsan Akhgari
34ec9e0587
Merge mozilla-central and mozilla-inbound
2011-07-18 18:16:25 -04:00
Josh Matthews
87d0248899
Bug 674048 - Check the correct condition when setting a header on an XHR. r=sicking
2011-07-25 18:08:44 -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
Ehsan Akhgari
08f9ee5a5c
Merge backout
2011-07-20 15:49:38 -04:00
Ehsan Akhgari
17ab950e8e
Backout volkmar's push for breaking Windows builds
2011-07-20 15:49:16 -04:00
Mounir Lamouri
2e1dfaef9e
Bug 669310 - Fixes various includes and forward declarations. f=Ms2ger r=jst
2011-07-20 12:18:54 -07:00
Mounir Lamouri
c7716a9bb6
Bug 670965 - Make nsCommentNode, nsTextNode, nsXMLCDATASection and nsXMLProcessingInstruction participate in the DOM Memory Reporter. r=jst
2011-07-19 10:05:37 -07:00
Mounir Lamouri
08432d075d
Bug 670964 - Add NS_FINAL_CLASS annotation to nsTextFragment. r=ehsan
2011-07-19 10:04:42 -07:00
Mounir Lamouri
f91f167ea8
Bug 670962 - Make nsGenericDOMDataNode and nsTextFragment participate to the DOM Memory Reporter. r=jst
2011-07-19 10:04:09 -07:00
Mounir Lamouri
fe35661680
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
731f1f7323
Bug 667887 - Implement nsMappedAttributes::SizeOf(). r=jst,bz
2011-07-19 09:42:14 -07:00
Mounir Lamouri
411d52c1fe
Bug 668013 - Add nsHTMLStyleSheet::SizeOf(). r=bz
2011-07-19 09:40:18 -07:00
Ehsan Akhgari
ee5215c7a6
Revert to changeset e0ce7821fce1 because the latest push broke all of the builds DONTBUILD
2011-07-19 16:25:54 -04:00
Mounir Lamouri
ddf04b3189
Bug 670965 - Make nsCommentNode, nsTextNode, nsXMLCDATASection and nsXMLProcessingInstruction participate in the DOM Memory Reporter. r=jst
2011-07-19 10:05:37 -07:00
Mounir Lamouri
824a1a98b6
Bug 670964 - Add NS_FINAL_CLASS annotation to nsTextFragment. r=ehsan
2011-07-19 10:04:42 -07:00
Mounir Lamouri
6e68512b87
Bug 670962 - Make nsGenericDOMDataNode and nsTextFragment participate to the DOM Memory Reporter. r=jst
2011-07-19 10:46:01 -07:00
Mounir Lamouri
97235c7d3d
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
42346e6d0b
Bug 667887 - Implement nsMappedAttributes::SizeOf(). r=jst,bz
2011-07-19 09:42:14 -07:00
Mounir Lamouri
3a70fea833
Bug 668013 - Add nsHTMLStyleSheet::SizeOf(). r=bz
2011-07-19 09:40:18 -07:00
Mounir Lamouri
5937d63965
Bug 669310 - Fixes various includes and forward declarations. f=Ms2ger r=jst
2011-07-19 11:22:43 -07:00
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
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
Justin Lebar
a895a1311d
Bug 646641 - Part 1: SHEntries for the same document should share bfcache state. r=smaug
2011-05-09 17:59:49 -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
Patrick McManus
d0453f20a5
backport 659324 664692 - prefix websocket as mozwebsocket, based on nossralf. r=sicking
2011-07-26 09:30:14 -04:00
Marco Bonardo
e6d7be7e60
Merge mozilla-central to mozilla-inbound
2011-07-26 11:53:11 +02:00
Josh Matthews
4ade623280
Bug 661035 - Print frame script errors to stdout. r=smaug
2011-07-08 16:15:58 -04:00
Ehsan Akhgari
b85c178117
Merge mozilla-central and mozilla-inbound
2011-07-22 15:51:08 -04:00
Mounir Lamouri
60e4b00054
Bug 670965 - Make nsCommentNode, nsTextNode, nsXMLCDATASection and nsXMLProcessingInstruction participate in the DOM Memory Reporter. r=jst
2011-07-19 10:05:37 -07:00
Mounir Lamouri
91ef97c1f9
Bug 670964 - Add NS_FINAL_CLASS annotation to nsTextFragment. r=ehsan
2011-07-19 10:04:42 -07:00
Mounir Lamouri
4d1f52da24
Bug 670962 - Make nsGenericDOMDataNode and nsTextFragment participate to the DOM Memory Reporter. r=jst
2011-07-19 10:04:09 -07:00
Mounir Lamouri
c513cd9d9f
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
00b4aa4898
Bug 667887 - Implement nsMappedAttributes::SizeOf(). r=jst,bz
2011-07-19 09:42:14 -07:00
Mounir Lamouri
7e7c6831b6
Bug 668013 - Add nsHTMLStyleSheet::SizeOf(). r=bz
2011-07-19 09:40:18 -07:00
Jeff Walden
1ae34fd49a
Bug 676738 - Change the index argument to JS_SetElement from jsint to uint32. r=dmandelin
2011-08-04 19:39:13 -07:00
Jonas Sicking
5491caaaf4
Bug 661297 Part 1: Remove Add/RemoveEventListenerByIID API. r=smaug
2011-08-08 11:26:26 -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