Commit Graph

2966 Commits

Author SHA1 Message Date
Chris Pearce
0ae15dea93 Bug 545812 - Dispatch mozfullscreenchange event when we change full-screen mode. r=smaug 2011-09-05 08:40:11 +12:00
Chris Pearce
7c3df7aedd Bug 545812 - Implement -moz-full-screen css pseudoclass. r=bz 2011-09-05 08:39:08 +12:00
Chris Pearce
7c1b965126 Bug 545812 - DOM/content changes required for DOM full-screen API. r=jst 2011-09-05 08:39:05 +12:00
Olli Pettay
926e572e15 Bug 683852 - Implement Node.contains(node), r=bz
--HG--
extra : rebase_source : 192368ed31e612ad078a3d71a7ea2913e8a95532
2011-09-02 23:15:53 +03:00
Ed Morley
19a1226d22 Merge last green changeset on m-i to m-c 2011-09-01 08:41:18 +01:00
Boris Zbarsky
55a9249c51 Bug 679671. Save the original string when parsing nonnegative or positive integer values shows them as non-strict. r=mounir 2011-08-31 18:09:23 -04:00
Boris Zbarsky
185007f906 Bug 679689. Allow empty string values to be associtated to enumerated attributes. r=sicking 2011-08-31 18:09:58 -04:00
Ed Morley
243415d54c Backout 89b87e96dc17 (bug 639720), b449db7a038b (bug 679689) & ef216b965a04 (bug 679671) for Mochitest oranges, on a CLOSED TREE; a=philor 2011-09-01 00:58:00 +01:00
Kyle Huey
7b7b45a351 Merge m-c to b-s. 2011-08-31 07:52:43 -04:00
Marco Castelluccio
7cb0506077 Bug 682744 - Sprinkle some do_QueryObject fairy dust around the tree; r=khuey 2011-08-30 22:45:31 +01:00
Boris Zbarsky
5df1c9dfe4 Bug 679689. Allow empty string values to be associtated to enumerated attributes. r=sicking 2011-08-31 18:09:58 -04:00
Boris Zbarsky
b98b1e5b49 Bug 679671. Save the original string when parsing nonnegative or positive integer values shows them as non-strict. r=mounir 2011-08-31 18:09:23 -04:00
Josh Aas
74ef464fac Merge backout of changeset 33031c875984, bug 90268. r=josh 2011-08-30 02:11:57 -04:00
Josh Aas
32d0be0cd8 Backed out changeset 33031c875984. Bug 90268. r=josh 2011-08-30 02:09:56 -04:00
Rob Campbell
b9acef0ccf merge m-c to fx-team, clobbered windows 2011-08-29 12:19:08 -03:00
Josh Aas
4ab4397277 Bug 90268: Make content own plugin instances instead of frames. Allows display:none instances and re-parenting instances without stopping them. r=roc 2011-08-29 03:09:22 -04:00
Peter Van der Beken
c7c99a0fea Fix for bug 678528 (Traverse mChildNodes (and consolidate node CC code)). r=jst. 2011-08-28 16:07:24 +02:00
Rob Campbell
f6795ab075 merge m-c to fx-team 2011-08-26 11:38:59 -03:00
Ms2ger
6aeeb50315 Bug 672054 - Part b: Remove nsIDOMNSMouseEvent; r=smaug 2011-08-26 09:43:56 +02:00
Ms2ger
b12351fbda Bug 672054 - Part a: Remove nsIDOMNSUIEvent; r=smaug 2011-08-26 09:43:49 +02:00
Kyle Huey
18452e06eb Merge b-s to m-c. 2011-08-25 08:19:48 -04:00
Ed Morley
1cf0ed230b Merge last green changeset of mozilla-inbound to mozilla-central 2011-08-25 01:09:05 +01:00
Mats Palmgren
6894179e71 Bug 653649 - New way of getting child lists from frames. (part 4/5) r=roc
Remove the nsIAtom* child list names and use child list ID enum instead.
2011-08-24 22:54:30 +02:00
Boris Zbarsky
8bdd1a64af Bug 659350 part 5. The guts of the change to move from storing inline event handlers on the JSObject to storing them in the event listener manager directly, so we can easily set/read them via IDL.
The changes here are as follows:
1) nsIJSEventListener now stores the handler.  This is guaranteed to be already bound properly, if needed, before being set in the nsIJSEventListener.
2) The old classinfo glue to deal with on* properties is gone.
3) IDL-based methods for on* properties have been added.
2011-08-24 15:49:25 -04:00
Boris Zbarsky
81585dfcf4 Bug 659350 part 3. Add nsITouchEventReceiver for elements. r=smaug 2011-08-24 15:49:25 -04:00
Boris Zbarsky
4cacf55049 Bug 659350 part 1. Add an nsITouchEventReceiver interface that will hold the touch-related on* properties, make it possible to declare conditional interfaces in classinfo, and make this new interface conditional on the touch event preference for documents. r=smaug,peterv 2011-08-24 15:49:25 -04:00
Kyle Huey
24a657212d Bug 681688: Outparamdel nsXMLHttpRequest::GetLoadGroup. r=smaug 2011-08-24 13:46:53 -04:00
Mounir Lamouri
2aafc1d5d8 Bug 678820 - nsAttrAndChildArray shouldn't ask for a new slot in the mapped attributes object when it is not needed. f=bz r=sicking 2011-08-24 19:27:52 +02:00
Brandon Sterne
fd6068bf11 Bug 679772 - Send cookies and HTTP auth with CSP report requests, r=dveditz 2011-08-24 09:53:56 -07:00
Kyle Huey
278b4062fd Bug 680816: XHR cannot be reused with responseType='arraybuffer'. r=sicking 2011-08-24 11:31:29 -04:00
Olli Pettay
5d9d7020f5 Bug 681206 removeDelayedFrameScript, r=jst 2011-08-24 13:16:29 +03:00
Mihai Sucan
726b8bb058 Bug 670896 - Add inner window ID and timestamp to nsIScriptError2; r=bzbarsky 2011-08-24 23:44:35 +03:00
Olli Pettay
883279b75a Bug 680687, Follow COM rules - keep strong ref to object, r=jst 2011-08-23 15:57:29 +03:00
Olli Pettay
9a5ad4ddcc Bug 682264 - Make EventListenerManager participate to the DOM Memory Reporter, r=volkmar,bz 2011-08-27 01:39:00 +03:00
Benjamin Smedberg
22f2972acb Merge the electrolysis branch to mozilla-central. 2011-08-19 10:15:52 -04:00
Marco Bonardo
9f05b4a35e Merge last green changeset from mozilla-inbound to mozilla-central 2011-08-19 11:39:42 +02:00
Kyle Huey
73d0fb8be1 Bug 555482: Allow resetting resizers by double-clicking on the resizer. r=Enn 2011-08-18 10:25:36 -04:00
William Chen
c4f4423774 Bug 664783 - Implement FileReaderSync for Workers. r=bent+sicking. 2011-08-15 20:40:38 -07:00
Mats Palmgren
95bdda5ee4 Bug 191864 - Range and Selection broken with splitText() and normalize(). r=sicking 2011-08-16 02:55:20 +02:00
Brad Lassey
156110781c bug 654352 - document.caretPositionFromPoint API r=roc,smaug 2011-08-18 16:54:34 -04:00
Olli Pettay
2705184e88 Bug 669640 - Fix the message manager API to work with multiple content processes, r=bsmedberg
--HG--
extra : rebase_source : bdb66e3f1a9a956d80b2e01869a7ed15b3710c0e
2011-08-02 15:57:48 -04:00
Benjamin Smedberg
9432e1edba Bug 666748 - Optionally support a pool of content processes instead of a single one. r=jdm The followup patch for 669640 must land together with this one. 2011-08-02 15:35:42 -04:00
Kyle Huey
46020de267 Merge b-s to m-c. 2011-08-02 11:34:34 -04:00
Kyle Huey
03cf2fd98c Bug 675641: Enumerate nsIStyleRuleProcessors in about:memory. r=bz 2011-08-01 14:25:20 -04:00
Jonas Sicking
923d52af7d Bug 667612: Make addEventListener not throw if passed a null listener. r=smaug 2011-08-18 02:45:00 -07:00
Markus Stange
076571f0ef Bug 679717 - Add "mac-lion-theme" system metric in order to allow for Lion-specific CSS rules without the need for per-file manifest overrides. r=dbaron 2011-08-18 10:40:27 +02:00
Oleg Romashin
bc66c9bdd2 Bug 678431 - Compilation without MOZ_MEDIA defined is broken r=Olli.Pettay 2011-08-14 19:31:36 -07:00
Marco Castelluccio
b8fd68e0c6 Bug 612839 - Removed nsAHtml5FragmentParser. r=hsivonen 2011-08-14 10:39:26 -07:00
Boris Zbarsky
a7f91c37d8 Bug 676413 - crossOrigin attribute invalid-value-default should be Anonymous - r=sicking
As specified in http://www.whatwg.org/specs/web-apps/current-work/multipage/urls.html#cors-settings-attribute

"The empty string is also a valid keyword, and maps to the Anonymous state. The attribute's invalid value default is the Anonymous state. The missing value default, used when the attribute is omitted, is the No CORS state."
2011-08-10 18:25:22 -04:00
Ms2ger
d377c55ed2 Bug 677101, part c - Reduce nsIDOMText.h inclusions; r=volkmar 2011-08-11 15:29:58 +02:00
Ms2ger
9414376b01 Bug 677101, part b - Remove nsContentUtils.h includes from headers; r=volkmar 2011-08-11 15:29:50 +02:00
Mounir Lamouri
8b3a5c07fb Merging mozilla-inbound into mozilla-central. 2011-08-11 13:08:47 +02:00
L. David Baron
61b034946c Backout changeset 89a9f4a88d5b (bug 676413) for causing content/html/content/test/test_bug664299.html failures. 2011-08-10 18:00:39 -07:00
Boris Zbarsky
ee08b0a2a4 Bug 676413 - crossOrigin attribute invalid-value-default should be Anonymous - r=sicking
As specified in http://www.whatwg.org/specs/web-apps/current-work/multipage/urls.html#cors-settings-attribute

"The empty string is also a valid keyword, and maps to the Anonymous state. The attribute's invalid value default is the Anonymous state. The missing value default, used when the attribute is omitted, is the No CORS state."
2011-08-10 18:25:22 -04:00
Olli Pettay
badccfcde0 Bug 677658, disable scriptloader when parsing in innerHTML/InsertAdjacentHTML, r=sicking 2011-08-10 23:53:14 +03:00
Olli Pettay
378005e1f1 Bug 677847 - Crash [@ nsContentUtils::IsEventAttributeName ], r=jst 2011-08-10 23:24:48 +03:00
Mounir Lamouri
358ba35c5c Bug 669904 - Add nsAttrValue size to the DOM Memory Reporter. f=bz r=jst 2011-08-11 00:54:19 +02:00
Paul ADENOT
1493cdedf4 Bug 462892 - Add a mIsSynthetic member to nsIDocument r=roc 2011-08-09 08:35:00 -04:00
Henri Sivonen
c7d8484bd1 Bug 563322 part 2 - Avoid calling nsScriptLoader::SetEnabled in the innerHTML setter when using the XML parser. r=Olli.Pettay. 2011-08-01 10:48:28 +03:00
Henri Sivonen
0176915bb7 Bug 596182 - Make fragment parsers global. Remove resulting dead code. r=Olli.Pettay, r=bzbarsky. 2011-08-01 10:48:24 +03:00
David Zbarsky
d15acdd08b Bug 583533 - Implement AccessKeyLabel attribute r=smaug, ui-review=faaborg 2011-07-31 21:43:54 +02:00
Boris Zbarsky
f34542d2df Bug 675267. Remove some target arguments from nsEventListenerManager APIs, since we have a perfectly good mTarget. r=smaug 2011-07-29 15:37:17 -04:00
Boris Zbarsky
8876cdd39c Bug 672014. Pass the crossorigin attribute through to image preloading code. r=joe,hsivonen 2011-07-29 14:30:00 -04:00
Boris Zbarsky
162b88864a Merge backout of rev f5aecf9010ef (bug 672014) 2011-07-29 15:29:27 -04:00
Boris Zbarsky
df03cbc9fa Back out changeset f5aecf9010ef (bug 672014) due to build bustage. 2011-07-29 15:29:01 -04:00
Boris Zbarsky
42b3776aac Bug 672014. Pass the crossorigin attribute through to image preloading code. r=joe,hsivonen 2011-07-29 14:30:00 -04:00
julian.reschke@gmx.de
287e6143da Fix bug 672079: single quotes are not delimiters inside the Link header field, r=bzbarsky 2011-07-29 14:30:00 -04:00
Henri Sivonen
147c3287ec Bug 482909 part 2 - Implement an HTML/SVG/MathML sanitizer independently of parsers or serializers. r=bzbarsky. 2011-07-29 14:48:04 +03:00
Marco Bonardo
b818d65b85 Merge mozilla-central and mozilla-inbound 2011-07-29 13:46:15 +02:00
Marco Bonardo
57d585b73d Bug 674578 - Support resizer[dir="bottomstart"].
r=enn
2011-07-29 11:38:41 +02:00
Olli Pettay
697af3d7df Bug 674658 - nsDOMEventTargetWrapperCache fails to unlink inherited fields, r=bent
--HG--
extra : rebase_source : b5d6292372a57373bd8230862f1808fa6e99ed4e
2011-07-28 22:54:35 +03:00
Josh Matthews
126bd273b1 Bug 674436 - Relax message listener restrictions to allow callable proxies. r=smaug 2011-07-27 16:21:53 -04:00
Dão Gottwald
613326a532 merge backout 2011-07-28 11:52:18 +02:00
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
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
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
Ehsan Akhgari
e48161b8ff Bug 677661 - Remove nsTPtrArray and add a SafeElementAt(index_type) API to nsTArray when it's instantiated with a pointer type; r=sicking 2011-08-10 01:36:00 -04:00
Justin Wood
f20a7276c2 Merge from m-c 2011-08-09 06:31:01 -04:00
Jan Varga
5020b003ce Bug 617528 Part 2 - Core implementation r=smaug
--HG--
rename : content/html/content/test/test_bug418756.html => content/html/content/test/test_checked.html
2011-08-08 19:31:32 +02:00
Boris Zbarsky
e359172ab9 Bug 675405 part 3. Expand the event list to contain more information than just the name and move all the information from the tables in nsContentUtils to it. r=smaug 2011-08-07 22:30:17 -04:00
Boris Zbarsky
d1bba9b0c6 Bug 675121. Unregister animation frame callbacks from the refresh driver while we have event handling suppressed. r=smaug,roc 2011-08-07 22:24:28 -04:00
Dão Gottwald
fafbb5b865 Backed out changeset e60f96b64dfa 2011-08-07 16:58:43 +02:00
Marco Castelluccio
c46588a43f Bug 612839 - Removed nsAHtml5FragmentParser. r=hsivonen 2011-08-07 16:11:13 +02:00
Jason Duell
ef3ae06a49 bug 675784 - websockets early cancel part 2/2 r=mcmanus. 2011-08-07 09:44:19 -04:00
Patrick McManus
7b31953ff1 bug 675784 - websockets early cancel part 1/2 r=jduell 2011-08-07 09:43:53 -04: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
Marco Bonardo
195908f0b1 Backout changeset d43b06e79794 (Bug 612839) due to build bustage. 2011-08-04 11:02:49 +02:00
Robert Sesek
6a70e0ff21 Bug 448168 - Apply |s/entires/entries/g|; r=roc 2011-08-04 09:04:29 +02:00
Julian Reschke
45ba259841 Bug 230703 - only accept link header field target when it's first in the value. r=bz 2011-08-04 08:56:25 +02:00
Marco Castelluccio
21c8d81293 Bug 612839 - Removed nsAHtml5FragmentParser. r=hsivonen 2011-08-03 19:54:55 +02:00
Patrick McManus
8cb5471157 bug 674905 - implement ws extensions attribute r=biesi r=sicking sr=bz 2011-08-03 23:46:13 -04:00
Patrick McManus
a18697492c bug 676277 - websockets onmessage event.origin should be ws://* r=sicking 2011-08-03 20:32:23 -04:00
Patrick McManus
c9a6067c84 bug 674716 - websockets API close reason codes and messages r=sicking r=biesi sr=bz
--HG--
extra : rebase_source : f7a0eb6b310f29f8e697c26ff5e0ef9d2fde559a
2011-08-03 15:15:25 -04:00
Boris Zbarsky
2dd5488c1b Bug 506844. Remove kids in order, not in reverse order, when clearing textContent and innerHTML. r=sicking 2011-08-03 14:32:32 -04:00
Boris Zbarsky
2526c9c039 Bug 653120. Switch sBlockedScriptRunners to be an nsTArray so removing from it is faster. r=sicking 2011-08-03 14:32:32 -04:00
Patrick McManus
ccf0b9d389 Bug 676025 - Websockets - failure to connect should generate onerror r=sicking 2011-08-03 12:42:04 -04:00