Commit Graph

7317 Commits

Author SHA1 Message Date
Ms2ger
3fea5b3901 Bug 677101, part c - Reduce nsIDOMText.h inclusions; r=volkmar 2011-08-11 15:29:58 +02:00
Ms2ger
4ca9cbc0f3 Bug 677101, part b - Remove nsContentUtils.h includes from headers; r=volkmar 2011-08-11 15:29:50 +02:00
Mounir Lamouri
43d40b8987 Merging mozilla-inbound into mozilla-central. 2011-08-11 13:08:47 +02:00
L. David Baron
50fab69e73 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
a81e58524f 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
b25b4bffbe Bug 677658, disable scriptloader when parsing in innerHTML/InsertAdjacentHTML, r=sicking 2011-08-10 23:53:14 +03:00
Olli Pettay
e789398821 Bug 677847 - Crash [@ nsContentUtils::IsEventAttributeName ], r=jst 2011-08-10 23:24:48 +03:00
Mounir Lamouri
2395006a80 Bug 669904 - Add nsAttrValue size to the DOM Memory Reporter. f=bz r=jst 2011-08-11 00:54:19 +02:00
Paul ADENOT
e82199ff00 Bug 462892 - Add a mIsSynthetic member to nsIDocument r=roc 2011-08-09 08:35:00 -04:00
arno renevier
56a37f401e Bug 338427 - Spellchecker should respect the langi attribute; r=ehsan 2011-08-12 15:12:45 -04:00
Henri Sivonen
9ebccb6c57 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
21d32e82f3 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
6739221259 Bug 583533 - Implement AccessKeyLabel attribute r=smaug, ui-review=faaborg 2011-07-31 21:43:54 +02:00
Dão Gottwald
2e2aeb86fd Backed out changeset 2878f506066a 2011-07-31 21:39:32 +02:00
Justin Lebar
4419b304b5 Bug 673467 - Part 2. Fix test. r=smaug 2011-07-31 13:22:14 -04:00
Boris Zbarsky
2495a40343 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
8983ada153 Bug 672014. Pass the crossorigin attribute through to image preloading code. r=joe,hsivonen 2011-07-29 14:30:00 -04:00
Boris Zbarsky
ed28a9a6e4 Merge backout of rev f5aecf9010ef (bug 672014) 2011-07-29 15:29:27 -04:00
Boris Zbarsky
1242922ac9 Back out changeset f5aecf9010ef (bug 672014) due to build bustage. 2011-07-29 15:29:01 -04:00
Boris Zbarsky
23f2cddc95 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
6468dbcdf7 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
7c13c0d93c 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
506125133a Merge mozilla-central and mozilla-inbound 2011-07-29 13:46:15 +02:00
Marco Bonardo
90e7ef2184 Merge the last green changeset on mozilla-inbound to mozilla-central 2011-07-29 11:48:24 +02:00
Marco Bonardo
76e359171e Bug 674578 - Support resizer[dir="bottomstart"].
r=enn
2011-07-29 11:38:41 +02:00
Olli Pettay
3f55f147db 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
7cecc562ac Bug 674436 - Relax message listener restrictions to allow callable proxies. r=smaug 2011-07-27 16:21:53 -04:00
Dão Gottwald
4befa4efb9 merge backout 2011-07-28 11:52:18 +02:00
Dão Gottwald
d0d9a88e6a Backed out changeset 3d3f25a67e24 2011-07-28 11:51:14 +02:00
Josh Matthews
4c6cbf634d Bug 674436 - Relax message listener restrictions to allow callable proxies. r=smaug 2011-07-27 16:21:53 -04:00
Ginn Chen
7b5e7e6d4a 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
e3464bb801 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
4359420cae 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
46a170c5f0 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
5ce917a794 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
57a986e1bb 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
Felipe Gomes
cae957ce8a Bug 667077 - Add atob/btoa to frame scripts. r=smaug 2011-06-25 05:52:00 -04:00
Ehsan Akhgari
aed48ece37 Merge the last green changeset on mozilla-inbound to mozilla-central 2011-07-26 14:03:34 -04:00
Olli Pettay
fd4edaef0e bug 335998, strong parentNode, r=peterv 2011-07-26 14:11:14 +03:00
Marco Bonardo
e3d3e25769 Merge last green changeset from mozilla-inbound to mozilla-central 2011-07-26 11:50:00 +02:00
Boris Zbarsky
b1cbe6237a Bug 667336. Make sure we don't overflow unsigned int on item(). r=peterv 2011-07-26 10:01:31 -04:00
Olli Pettay
0282058875 Bug 673806, unlink animation controller, r=dholbert 2011-07-25 20:50:29 +03:00
Kyle Huey
6311b456b0 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
4a2d60fa6f Merge mozilla-central and mozilla-inbound 2011-07-24 12:52:51 -04:00
Julian Reschke
4a4110664c Bug 666562. fix quoted-string unescaping in HTTP link header fields, r=bzbarsky 2011-07-23 14:31:49 +02:00
Ms2ger
19bead777e Bug 666665 - Remove isindex content code; r=sicking+hsivonen 2011-07-23 11:45:38 +02:00
Brandon Sterne
33f4a72172 Bug 673588 - use correct location when resolving CSP sources and report-uris, r=dveditz 2011-07-22 16:14:58 -07:00
Kyle Huey
ae5e8e9dcf Merge m-c to b-s. 2011-07-22 00:03:35 -07:00
Brandon Sterne
3d76e0ad34 Bug 664983 - don't send request headers with CSP violation reports, r=dveditz 2011-07-21 13:47:35 -07:00
Oleg Romashin
36e1d316e0 Bug 648250 - remove wrong assert r=Olli.Pettay 2011-07-21 13:05:55 -07:00
Ehsan Akhgari
a67d9bdc60 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
6a8c4ffada 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
41e8bbcab3 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
aadd188062 Merge mozilla-central and mozilla-inbound 2011-07-18 18:16:25 -04:00
Josh Matthews
7d2b53dcf4 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
9be7041486 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
8475a70b73 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
5cd7d5f37e Merge backout 2011-07-20 15:49:38 -04:00
Ehsan Akhgari
10e0951fce Backout volkmar's push for breaking Windows builds 2011-07-20 15:49:16 -04:00
Mounir Lamouri
57fe0a2e82 Bug 669310 - Fixes various includes and forward declarations. f=Ms2ger r=jst 2011-07-20 12:18:54 -07:00
Mounir Lamouri
ffa5084e04 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
bef176c1be Bug 670964 - Add NS_FINAL_CLASS annotation to nsTextFragment. r=ehsan 2011-07-19 10:04:42 -07:00
Mounir Lamouri
8442e5120e Bug 670962 - Make nsGenericDOMDataNode and nsTextFragment participate to the DOM Memory Reporter. r=jst 2011-07-19 10:04:09 -07:00
Mounir Lamouri
6ad3fb9ad0 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
0675b475f9 Bug 667887 - Implement nsMappedAttributes::SizeOf(). r=jst,bz 2011-07-19 09:42:14 -07:00
Mounir Lamouri
5c8698b962 Bug 668013 - Add nsHTMLStyleSheet::SizeOf(). r=bz 2011-07-19 09:40:18 -07:00
Ehsan Akhgari
8aa36b3b5c Revert to changeset e0ce7821fce1 because the latest push broke all of the builds DONTBUILD 2011-07-19 16:25:54 -04:00
Mounir Lamouri
653b1ce364 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
502af0ee07 Bug 670964 - Add NS_FINAL_CLASS annotation to nsTextFragment. r=ehsan 2011-07-19 10:04:42 -07:00
Mounir Lamouri
50e884b393 Bug 670962 - Make nsGenericDOMDataNode and nsTextFragment participate to the DOM Memory Reporter. r=jst 2011-07-19 10:46:01 -07:00
Mounir Lamouri
21cf779916 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
6545d1886a Bug 667887 - Implement nsMappedAttributes::SizeOf(). r=jst,bz 2011-07-19 09:42:14 -07:00
Mounir Lamouri
083bf2d659 Bug 668013 - Add nsHTMLStyleSheet::SizeOf(). r=bz 2011-07-19 09:40:18 -07:00
Mounir Lamouri
b6d655dff0 Bug 669310 - Fixes various includes and forward declarations. f=Ms2ger r=jst 2011-07-19 11:22:43 -07:00
Mounir Lamouri
58e2fd59fd 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
17a0ee001f 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
d7ab5fd420 Bug 667887 - Implement nsMappedAttributes::SizeOf(). r=jst,bz 2011-07-19 09:42:14 -07:00
Mounir Lamouri
210a9fc749 Bug 668013 - Add nsHTMLStyleSheet::SizeOf(). r=bz 2011-07-19 09:40:18 -07:00
Mounir Lamouri
8ae6e80c16 Bug 669310 - Fixes various includes and forward declarations. f=Ms2ger r=jst 2011-07-18 17:05:10 -07:00
Boris Zbarsky
c8b8d529a5 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
a80c7de2cb bug 662692 - mixed-content websockets should check more than https:// r=bz 2011-07-19 09:17:39 -04:00
Benjamin Smedberg
3ee6f4f68e Bug 617539 - Combine nsIRadioGroupContainer_MOZILLA_2_0_BRANCH; r=bz 2011-07-19 11:44:55 +02:00
Oleg Romashin
c189f1ba66 Backed out changeset 31cbb80c705e, win burning 2011-07-15 14:30:29 -07:00
Oleg Romashin
7494986a3e 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
62312843c5 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
5e56126930 Merge the last green changeset on mozilla-inbound to mozilla-central 2011-07-15 08:13:08 -04:00
Ms2ger
8c78d3f478 Bug 670235 - Remove nsIDOMWindowInternal; r=sicking 2011-07-15 12:31:34 +02:00
Ehsan Akhgari
523ebb7851 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
Mats Palmgren
8172925bbc Bug 677105 - <noscript> content cannot be copied to clipboard. r=bzbarsky 2011-08-09 17:14:37 +02:00
David Zbarsky
feef9bcb83 Bug 672536 - Merge nsISelection2 into nsISelectionPrivate r=smaug 2011-08-07 16:17:00 -04:00
David Zbarsky
110e54925e Bug 672536 - Merge nsISelection3 into nsISelection r=smaug 2011-08-07 16:18:00 -04:00
Justin Wood
bc9a7d1530 Merge from m-c 2011-08-09 06:31:01 -04:00
Jan Varga
a298beaa2e 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
6e9a9ac2a9 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
d941fafb57 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
f8614a3cec Backed out changeset e60f96b64dfa 2011-08-07 16:58:43 +02:00
Marco Castelluccio
b5d75a1431 Bug 612839 - Removed nsAHtml5FragmentParser. r=hsivonen 2011-08-07 16:11:13 +02:00
Jason Duell
749d97aaae bug 675784 - websockets early cancel part 2/2 r=mcmanus. 2011-08-07 09:44:19 -04:00
Patrick McManus
7fdc6c1a65 bug 675784 - websockets early cancel part 1/2 r=jduell 2011-08-07 09:43:53 -04:00
Michael Wu
fbcd07dca0 Bug 676465 - Replace PRBool with boolean in IDL files, r=bsmedberg 2011-08-06 22:03:32 -07:00
Benoit Jacob
319ff59084 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
2acb1181b7 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
6a78d85a21 Bug 646641 - Part 1: Create nsSHEntryShared, so SHEntries from the same document can share state. r=smaug
--HG--
extra : rebase_source : 67c37d16f9ac4cbd69f7a76ee94e47c8adf59ae3
2011-08-06 11:44:02 -04:00
Marco Bonardo
0e079365b6 Backout changeset d43b06e79794 (Bug 612839) due to build bustage. 2011-08-04 11:02:49 +02:00
Robert Sesek
73a22986c4 Bug 448168 - Apply |s/entires/entries/g|; r=roc 2011-08-04 09:04:29 +02:00
Julian Reschke
0011037320 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
3cfcb2e4ef Bug 612839 - Removed nsAHtml5FragmentParser. r=hsivonen 2011-08-03 19:54:55 +02:00
Patrick McManus
2f338d19b9 bug 674905 - implement ws extensions attribute r=biesi r=sicking sr=bz 2011-08-03 23:46:13 -04:00
Patrick McManus
4a430a805c bug 676277 - websockets onmessage event.origin should be ws://* r=sicking 2011-08-03 20:32:23 -04:00
Patrick McManus
fca47cdeb4 bug 675038 - websockets wss:// tests r=biesi
--HG--
extra : rebase_source : 0d1c6c22d20124d7456eea91a2263eec9100517a
2011-08-03 15:38:56 -04:00
Patrick McManus
19ad699c32 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
Patrick McManus
bee8ccf02b bug 662612 - speed up test_websocket.html execution r=bz
--HG--
extra : rebase_source : 44bfc07b2ef3d4de4ae9faeb3e09bd0b60d22c66
2011-08-03 15:15:25 -04:00
Boris Zbarsky
ecd63441dd 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
19143738ab 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
6512f1ba68 Bug 676025 - Websockets - failure to connect should generate onerror r=sicking 2011-08-03 12:42:04 -04:00
Patrick McManus
a83ee88943 bug 674527 - websockets sub-protocol array implementation and tests r=sicking sr=bz 2011-08-03 12:42:02 -04:00
Justin Lebar
d4e32e4c4e Bug 673467 - Part 2. Fix tests. r=smaug
--HG--
extra : rebase_source : 2b4d7c00e42f4fa54121fc4a9e0360984709357e
2011-08-01 19:45:47 -04:00
Marco Bonardo
b245bb61dd Merge last green changeset from mozilla-inbound to mozilla-central 2011-08-03 10:46:22 +02:00
Patrick McManus
415852d1a2 bug 667853: Missing close() event if websocket::init fails. r=mcmanus, jdm 2011-08-02 16:55:17 -07:00
Daniel Holbert
65aa2c6c65 Bug 675722: Reduce severity of "Expecting to be paused for pagehide before disconnect" SMIL assertion, and catch it earlier in ~nsDocument. r=bz 2011-08-02 16:12:32 -07:00
Patrick McManus
226b80bf51 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
b547ed8606 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
a741dc1e02 Backing out cfea4859f458, 883e581e0849 due to permaorange on moth opt. 2011-08-02 13:23:11 -04:00
Justin Lebar
03a349bb3e 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
298a1cf040 bug 670687 - ws origin handling bogus r=bz 2011-07-18 16:51:28 -04:00
Benjamin Stover
771b24b9fe 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
3e031dd8e2 backport 659324 664692 - prefix websocket as mozwebsocket, based on nossralf. r=sicking 2011-07-26 09:30:14 -04:00
Marco Bonardo
abada7c3fd Merge mozilla-central to mozilla-inbound 2011-07-26 11:53:11 +02:00
Josh Matthews
60e0ec659e Bug 661035 - Print frame script errors to stdout. r=smaug 2011-07-08 16:15:58 -04:00
Ehsan Akhgari
64320d8ec6 Merge mozilla-central and mozilla-inbound 2011-07-22 15:51:08 -04:00
Mounir Lamouri
b63e2362b0 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
7cc7e8254f Bug 670964 - Add NS_FINAL_CLASS annotation to nsTextFragment. r=ehsan 2011-07-19 10:04:42 -07:00
Mounir Lamouri
cfac2c6c28 Bug 670962 - Make nsGenericDOMDataNode and nsTextFragment participate to the DOM Memory Reporter. r=jst 2011-07-19 10:04:09 -07:00
Mounir Lamouri
8e859605a8 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
f4288b839b Bug 667887 - Implement nsMappedAttributes::SizeOf(). r=jst,bz 2011-07-19 09:42:14 -07:00
Mounir Lamouri
b511862894 Bug 668013 - Add nsHTMLStyleSheet::SizeOf(). r=bz 2011-07-19 09:40:18 -07:00
Jeff Walden
33158c2a8c 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
743f1281ec Bug 661297 Part 1: Remove Add/RemoveEventListenerByIID API. r=smaug 2011-08-08 11:26:26 -07:00
Mike Hommey
73e9c2d6c7 Bug 676252 part 1 - Don't use $(OBJ_SUFFIX) before including config.mk. r=ted 2011-08-29 07:34:02 +02:00
Mounir Lamouri
bbef6d1373 Bug 667883 - Implement nsAttrAndChildArray::SizeOf(). r=bz 2011-07-12 16:56:01 +02:00
Daniel Holbert
0915b6264e Bug 669438: Remove unused helper-function "DOMFileResult" from nsDOMFile.cpp. r=sicking 2011-07-12 00:10:23 -07:00
Jonas Sicking
41aa9e9689 Bug 669437: Implement BlobBuilder.getFile. r=khuey 2011-07-11 19:42:02 -07:00
Jonas Sicking
904c1e5607 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
a130fb2231 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
cd761b1960 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
095f54e27f 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
039573fbff bug 662692 - Do not allow mixed-content WebSockets r=smaug 2011-07-10 12:31:41 -04:00
Felipe Gomes
9628013f99 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
cd0044077e 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
9c7b33f3ba 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
471f4fa93c Bug 662500. Drop support for pref that forces OOP tabs. r=bsmedberg 2011-06-07 12:23:15 -07:00
Boris Zbarsky
98438db3d3 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
3af495ae2e Bug 669727: Remove set-but-unused variable isDeepDocumentClone from nsNodeUtils.cpp. r=smaug 2011-07-07 09:57:22 -07:00
Kyle Huey
34b5ded286 Bug 668361: File ctor should fail if passed a directory. r=sicking 2011-07-06 09:35:12 -07:00
Olli Pettay
cbd9514f5a Additional test for Bug 666604, r=volkmar
--HG--
extra : rebase_source : 3ff98e5bb1ab594db111e81501abb5cf2b43d60d
2011-07-06 16:02:26 +03:00
Mounir Lamouri
7967fa907e Merge mozilla-inbound into mozilla-central. 2011-07-06 14:43:52 +02:00
Chris Leary
289351b012 Merge mozilla-central and tracemonkey. 2011-07-05 17:30:35 -07:00
Boris Zbarsky
9d196a37bb Bug 668690. When scripts are disabled, don't bother preloading them. r=sicking 2011-07-05 17:33:03 -04:00
Jason Duell
df9f677e15 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
2687f9cc18 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
c21b0d9b6e Merge m-c to m-i 2011-07-03 21:54:56 +02:00
Ms2ger
6cb46d8fab Bug 668184 - Make nsIDocument::AddXMLEventsContent return void; r=smaug 2011-07-03 11:53:41 +02:00
Ms2ger
06d251356c Bug 647433 - Rename mContent to mElement in implementations of nsIContentSerializer; r=bz 2011-07-03 11:53:40 +02:00
Marco Bonardo
d34d39f9a7 No bug - Fix merge conflict across mozilla-inbound and mozilla-central. 2011-07-02 11:22:57 +02:00
Marco Bonardo
434e057510 Merge mozilla-inbound and mozilla-central 2011-07-02 10:39:08 +02:00
Kyle Huey
d9c62ff95b Bug 661582: XHR.response should return a Blob, not a File. r=sicking 2011-06-30 14:42:15 -07:00
Masatoshi Kimura
c6446e569d 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
f53a61be9d Bug 664470, unlink document some more, r=peterv
--HG--
extra : rebase_source : dbafa0618f381c4dc9360f972676de137d2d9885
2011-07-01 17:05:37 +03:00
Matt Brubeck
e2840da521 Back out 9fc0e6867256, 6947bbce9672, fb91a23bd158, a5870dd2ad7c, c3d3292fbd1e, 42f2aca1fde9 to fix Android failures on a CLOSED TREE 2011-07-01 11:20:52 -07:00
Marco Bonardo
7ee885dea5 Backout due to mobile failures these changesets: 9f451a1901dd, e99f86ba7278, 447b48b79e6a, cef046665c53, c9237cc1fae0, d77a331a6d5a, f8f3afb95355, a050168887ee, 3ec4303ebf4d, 671b7c0d99f0, 56b17efbb62b, beceddeee3f4 on a CLOSED TREE 2011-07-01 16:28:07 +02:00
Felipe Gomes
6172c4fb0d 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
3a4ec1255f 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
914820b65d Bug 663035. Retrieving docShell of remote frames should simply return null instead of throwing. r=bsmedberg 2011-06-14 17:29:10 -07:00
Marco Bonardo
e1de548d00 Merge last green changeset from mozilla-central to mozilla-inbound 2011-07-01 23:56:44 +02:00
Shawn Gong
71e98c36a4 Fixed bug 632255: implemented FileReader.readAsArrayBuffer() API. r=sicking 2011-06-30 17:50:44 -07:00
Matheus Kerschbaum
a4cdbc65f6 Bug 383383 - Remove nsIScriptEventManager and nsIScriptEventHandler. r=smaug 2011-06-30 14:30:08 +02:00
Ehsan Akhgari
86da6932d3 Merge mozilla-central and mozilla-inbound 2011-06-30 05:08:20 -04:00
Jonas Sicking
c29b638436 Bug 647603: a.replaceChild(b, b) does not remove and re-insert the affected node. r=bz 2011-06-29 23:16:09 -07:00
Jonas Sicking
4e6a9c5461 Bug 649150: Make sure that all blobs and files sent using FormData have a filename in the encoded submission. r=mounir 2011-06-29 11:03:36 -07:00
Mounir Lamouri
1b5a5e91d1 Bug 667497 - Add documents' element size to documents' size computation. r=jst 2011-06-29 13:19:21 +02:00
Mounir Lamouri
3467081aae Bug 667485 - Add windows' document size to windows size. r=jst 2011-06-29 13:18:54 +02:00
Boris Zbarsky
6da65c9938 Bug 667618 followup. The maemo compiler doesn't like arrays ending with ',', apparently 2011-06-28 22:41:27 -04:00
Boris Zbarsky
dc3b67a6d9 Bug 668030. Warn when enablePrivilege is used. r=sicking 2011-06-28 21:05:45 -04:00
Boris Zbarsky
4fb0dee587 Bug 667618. Prevent mismatches between our enum and our strings. r=sicking 2011-06-28 21:05:34 -04:00
Ehsan Akhgari
ea86dfa105 Merge mozilla-central and mozilla-inbound 2011-06-28 18:43:09 -04:00
Doug Turner
6143433d38 Bug 667919 - Add support for window.ondevicemotion and window.ondeviceorientation. r=smaug 2011-06-28 15:37:31 -07:00
Felipe Gomes
54f2b32d74 Bug 662500. Drop support for pref that forces OOP tabs. r=bsmedberg 2011-06-07 12:23:15 -07:00
Kyle Huey
865ec818f7 Merge b-s to m-c 2011-06-30 18:10:40 -07:00
Kyle Huey
941e3135b3 Bug 661582: XHR.response should return a Blob, not a File. r=sicking 2011-06-30 14:42:15 -07:00
Masatoshi Kimura
5d3956e4f1 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
e5f1a50b21 Bug 666604 - Allow untrusted events to trigger a link, r=bz
--HG--
extra : rebase_source : e0b8510a039425c17a3d412241aa8f24df05558a
2011-06-30 14:52:11 +03:00
Ehsan Akhgari
2a3dbb4205 Back out bug 10209 and bug 656875 (its regression fix) from Aurora because the work on this bug has not been finished yet
--HG--
extra : transplant_source : t%9F%EB%2Aa%A4%C0%9Ab%A5%DDQ%3EMD%5E%01h%E7%2A
2011-06-01 16:18:15 -04:00
Jonas Sicking
a3ec770366 Bug 664058: Remove Add/RemoveEventListenerByIID from nsImageMap and nsSliderFrame. r=smaug 2011-06-28 10:59:14 -07:00
Chris Leary
b6e46acdbd Merge mozilla-central and tracemonkey. 2011-06-27 11:07:22 -07:00
Jeff Walden
c35a61253a Bug 665835 - Remove JSOPTION_ANONFUNFIX. r=cdleary
--HG--
rename : js/src/tests/js1_5/extensions/regress-376052.js => js/src/tests/ecma_5/misc/unnamed-function.js
2011-06-21 09:53:19 -07:00
Chris Leary
6ad07be206 Merge mozilla central and tracemonkey. 2011-06-20 16:49:20 -07:00
Jesse Ruderman
dd2baf6b22 Add crashtest from bug 605672 2011-06-20 11:42:05 -07:00
Doug Turner
12569c1c97 Bug 615597 - Implement devicemotion and fix up deviceorientation events. r=smaug/azakai
--HG--
rename : content/events/src/nsDOMOrientationEvent.cpp => content/events/src/nsDOMDeviceOrientationEvent.cpp
rename : content/events/src/nsDOMOrientationEvent.h => content/events/src/nsDOMDeviceOrientationEvent.h
rename : dom/system/android/nsAccelerometerSystem.cpp => dom/system/android/nsDeviceMotionSystem.cpp
rename : dom/system/android/nsAccelerometerSystem.h => dom/system/android/nsDeviceMotionSystem.h
rename : dom/system/cocoa/nsAccelerometerSystem.h => dom/system/cocoa/nsDeviceMotionSystem.h
rename : dom/system/cocoa/nsAccelerometerSystem.mm => dom/system/cocoa/nsDeviceMotionSystem.mm
rename : dom/system/nsAccelerometer.cpp => dom/system/nsDeviceMotion.cpp
rename : dom/system/nsAccelerometer.h => dom/system/nsDeviceMotion.h
rename : dom/system/unix/nsAccelerometerSystem.cpp => dom/system/unix/nsDeviceMotionSystem.cpp
rename : dom/system/unix/nsAccelerometerSystem.h => dom/system/unix/nsDeviceMotionSystem.h
rename : dom/system/windows/nsAccelerometerSystem.cpp => dom/system/windows/nsDeviceMotionSystem.cpp
rename : dom/system/windows/nsAccelerometerSystem.h => dom/system/windows/nsDeviceMotionSystem.h
rename : xpcom/system/nsIAccelerometer.idl => xpcom/system/nsIDeviceMotion.idl
2011-06-19 22:36:17 -07:00
Josh Matthews
2694e83b1c Bug 537787 - Update websocket test to use SpecialPowers. r=ctalbert try: -b do -p all -u mochitests -t none 2011-05-24 02:43:05 +03:00
Nikhil Marathe
6e753ee711 Bug 664577 - Make sure non-SpiderMonkey users don't require knowledge about JSObject when using ArrayBuffers. r=mrbkap 2011-06-16 15:46:39 -04:00