Commit Graph

7402 Commits

Author SHA1 Message Date
Igor Bukanov
5f051a4c5b bug 678830 - Use JSScript, not script objects, in compile/evaluate API. r=jorendorff 2011-09-02 08:46:00 +02:00
Boris Zbarsky
e9fdffb33a Bug 680922. Don't try to remove anonymous elements from the name map. r=sicking 2011-09-19 22:59:43 -04:00
Boris Zbarsky
77a0ff867b Bug 682554. Move onreadystatechange to live on Document only. r=smaug 2011-09-19 22:56:45 -04:00
Nick Hurley
924d548d31 bug 589292 - add contentDisposition{Filename} props to nsIChannel. r=honzab sr=bzbarsky 2011-09-09 15:41:04 -07:00
arno renevier
e3f01cd889 bug 682592: do bidi scan when nsTextFragment content is changed 2011-09-09 12:27:00 -04:00
Ehsan Akhgari
319f91efee Backout changesets 58d026601240, c5a9a439d72c and cfdf675266b2 because of mochitest-3 crash
--HG--
extra : rebase_source : e6774b1220eabb7b9e2dce59bd487f48920d76b2
2011-09-08 22:04:43 -04:00
Shawn Gong
c67fc718dc Bug 655727. Implemented responseType='moz-json', r=sicking 2011-09-08 15:12:18 -07:00
Shawn Gong
9bdf4f101e Fixed bug 678432: Sending arraybuffers using XMLHttpRequest.send. r=sicking 2011-08-17 18:44:56 -07:00
Ben Turner
ff1d59c4cb Bug 683280 - 'Workers: creating workers from 'localhost' or an IP address fails'. r=sicking.
--HG--
extra : transplant_source : IT%B5%DC%B6%D1%16%1F%C9%99%FF%F2%B5%5BV%3B%9E%99%F4%8D
2011-09-08 17:07:11 -07:00
Trevor Saunders
a634cefede bug 481395 - replace nsAccessibilityAtoms with nsGkAtoms r=surkov, sicking 2011-06-03 14:35:17 -07:00
Phil Ringnalda
0693fea49c Back out 307b5fa030fd (bug 683280) for timeouts in test_ipAddressOrigin.html 2011-09-14 09:10:41 -07:00
Ben Turner
92f904aeb4 Bug 683280 - 'Workers: creating workers from 'localhost' or an IP address fails'. r=sicking. 2011-09-08 17:07:11 -07:00
Malini Das
be9aa36b26 Bug 677626 - Add a profiling test suite for mochitest. r=jmaher 2011-09-19 14:52:04 -04:00
Jesse Ruderman
ab3a8c4bf0 Test for bug 679459. 2011-09-08 23:32:07 +02:00
Mats Palmgren
d77366f05b Bug 679459 - "ASSERTION: mEndOffset is beyond the end of this node" in nsRange::ContentInserted. r=smaug 2011-09-08 23:32:07 +02:00
Robert O'Callahan
e3944d8a9f Bug 685404. Make callers of nsDisplayList::HitTest use nsAutoTArrays to reduce allocations. r=tnikkel 2011-09-08 17:29:54 -04:00
Neil Rashbrook
f3e6df7c77 Bug 684726 Add missing content types to nsContentBlocker r=bz 2011-09-08 21:20:44 +01:00
Olli Pettay
bd01f442a8 Bug 685139 - node.contains(node) should return true, r=bz
--HG--
extra : rebase_source : 28fb40bf63e90ea319c517f0c86104080f20cc1a
2011-09-07 18:04:04 +03:00
Chris Pearce
3bc7160178 Bug 684627 - Add time limit to nsEventStateManager::IsHandlingUserInput(). r=smaug 2011-09-07 08:14:59 +12:00
Ed Morley
8db61027f2 Merge mozilla-central to mozilla-inbound 2011-09-05 01:18:16 +01:00
Chris Pearce
b813cf0b10 Bug 545812 - Break out of DOM full-screen mode upon non-alpha-numeric key input. r=smaug 2011-09-05 08:40:18 +12:00
Chris Pearce
24027175fc Bug 545812 - Only allow request and cancel full-screen api to work from a trusted event handler. r=smaug 2011-09-05 08:40:18 +12:00
Chris Pearce
6cad4d7a4a Bug 545812 - Implement iframe.mozallowfullscreen. r=jst 2011-09-05 08:40:17 +12:00
Chris Pearce
0cc316b66d Bug 545812 - Dispatch mozfullscreenchange event when we change full-screen mode. r=smaug 2011-09-05 08:40:11 +12:00
Chris Pearce
9ffd0a4f24 Bug 545812 - Implement -moz-full-screen css pseudoclass. r=bz 2011-09-05 08:39:08 +12:00
Chris Pearce
ecec313658 Bug 545812 - DOM/content changes required for DOM full-screen API. r=jst 2011-09-05 08:39:05 +12:00
Marco Bonardo
913f8215a0 Merge last green changeset from mozilla-inbound to mozilla-central 2011-09-03 11:49:40 +02:00
Olli Pettay
99bab1afcd Bug 683852 - Implement Node.contains(node), r=bz
--HG--
extra : rebase_source : 192368ed31e612ad078a3d71a7ea2913e8a95532
2011-09-02 23:15:53 +03:00
Jason Duell
ee2b4f86b6 Bug 678595: Remove test assumption that cancel causes cache invalidation. r=jdm 2011-09-02 13:03:24 -07:00
Ed Morley
c62c25def9 Merge last green changeset on m-i to m-c 2011-09-01 08:41:18 +01:00
Boris Zbarsky
8933e6f98e 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
f2fdc3b216 Bug 679689. Allow empty string values to be associtated to enumerated attributes. r=sicking 2011-08-31 18:09:58 -04:00
Ed Morley
b1fc1f7d2a 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
134b8fad07 Merge m-c to b-s. 2011-08-31 07:52:43 -04:00
Marco Castelluccio
a1151d128d Bug 682744 - Sprinkle some do_QueryObject fairy dust around the tree; r=khuey 2011-08-30 22:45:31 +01:00
Boris Zbarsky
bf3b0da94a Bug 679689. Allow empty string values to be associtated to enumerated attributes. r=sicking 2011-08-31 18:09:58 -04:00
Boris Zbarsky
67f63c4d47 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
8034ed24eb Merge backout of changeset 33031c875984, bug 90268. r=josh 2011-08-30 02:11:57 -04:00
Josh Aas
3fa80a3ea0 Backed out changeset 33031c875984. Bug 90268. r=josh 2011-08-30 02:09:56 -04:00
Rob Campbell
3794850963 merge m-c to fx-team, clobbered windows 2011-08-29 12:19:08 -03:00
Josh Aas
3b6b37ef98 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
8842324523 Fix for bug 678528 (Traverse mChildNodes (and consolidate node CC code)). r=jst. 2011-08-28 16:07:24 +02:00
Rob Campbell
5d657e08b3 merge m-c to fx-team 2011-08-26 11:38:59 -03:00
Ms2ger
27a1795f34 Bug 672054 - Part b: Remove nsIDOMNSMouseEvent; r=smaug 2011-08-26 09:43:56 +02:00
Ms2ger
0b1536d069 Bug 672054 - Part a: Remove nsIDOMNSUIEvent; r=smaug 2011-08-26 09:43:49 +02:00
Kyle Huey
1b6221fb6c Merge b-s to m-c. 2011-08-25 08:19:48 -04:00
Ed Morley
cba35094d2 Merge last green changeset of mozilla-inbound to mozilla-central 2011-08-25 01:09:05 +01:00
Mats Palmgren
f1c56f2e22 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
1c9abe2f8d 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
621f69c2c1 Bug 659350 part 3. Add nsITouchEventReceiver for elements. r=smaug 2011-08-24 15:49:25 -04:00
Boris Zbarsky
467edd9085 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
c7bacdbeca Bug 681688: Outparamdel nsXMLHttpRequest::GetLoadGroup. r=smaug 2011-08-24 13:46:53 -04:00
Mounir Lamouri
e02ab94c09 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
6966c670a3 Bug 679772 - Send cookies and HTTP auth with CSP report requests, r=dveditz 2011-08-24 09:53:56 -07:00
Kyle Huey
3ddd814eea Bug 680816: Test 2011-08-24 12:33:31 -04:00
Kyle Huey
1bbca22aa7 Bug 680816: XHR cannot be reused with responseType='arraybuffer'. r=sicking 2011-08-24 11:31:29 -04:00
Olli Pettay
39375cac8a Bug 681206 removeDelayedFrameScript, r=jst 2011-08-24 13:16:29 +03:00
Mihai Sucan
47eca82a8c Bug 670896 - Add inner window ID and timestamp to nsIScriptError2; r=bzbarsky 2011-08-24 23:44:35 +03:00
Olli Pettay
b3a4be3d45 Bug 680687, Follow COM rules - keep strong ref to object, r=jst 2011-08-23 15:57:29 +03:00
Michael Wu
ee4abbe5cb Reapply change dropped from bug 676465 due to bug 672536 merging idls 2011-08-27 08:45:25 -07:00
Marco Bonardo
3c6c1791d8 Merge mozilla-central and mozilla-inbound 2011-08-27 10:40:12 +02:00
David Zbarsky
3cba444615 Bug 682366 - Remove nsINode::ChildIterator r=smaug 2011-08-27 00:23:02 +01:00
Olli Pettay
7532bbf6d5 Bug 682264 - Make EventListenerManager participate to the DOM Memory Reporter, r=volkmar,bz 2011-08-27 01:39:00 +03:00
Marco Castelluccio
59b2b657f4 Bug 650494 - Remove nsIXULPrototypeCache; r=khuey,smaug 2011-08-26 20:50:23 +01:00
Benjamin Smedberg
75ebf12f44 Merge the electrolysis branch to mozilla-central. 2011-08-19 10:15:52 -04:00
Marco Bonardo
83f600a726 Merge last green changeset from mozilla-inbound to mozilla-central 2011-08-19 11:39:42 +02:00
Kyle Huey
fa3c2e7eb4 Bug 555482: Allow resetting resizers by double-clicking on the resizer. r=Enn 2011-08-18 10:25:36 -04:00
William Chen
a5a375d3a6 Bug 664783 - Implement FileReaderSync for Workers. r=bent+sicking. 2011-08-15 20:40:38 -07:00
Mats Palmgren
658d79ef70 Bug 191864 - Range and Selection broken with splitText() and normalize(). r=sicking 2011-08-16 02:55:20 +02:00
Brad Lassey
642a86f53c bug 654352 - follow up to make test for document.caretPositionFromPoint API more reliable r=me
--HG--
extra : rebase_source : f9c86be2647c942ad807cc9d31a10650ce68b58f
2011-08-18 19:05:49 -04:00
Brad Lassey
0ff9802473 bug 654352 - document.caretPositionFromPoint API r=roc,smaug 2011-08-18 16:54:34 -04:00
Olli Pettay
2fecadd5dd 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
3ad781c193 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
2b024fafc7 Merge b-s to m-c. 2011-08-02 11:34:34 -04:00
Kyle Huey
8b23d8f061 Bug 675641: Enumerate nsIStyleRuleProcessors in about:memory. r=bz 2011-08-01 14:25:20 -04:00
Neil Deakin
a4e61699e9 Bug 673301, crash using non-string data with text/plain drags, r=josh 2011-08-18 09:22:52 -04:00
Jonas Sicking
e50dc8cb66 Bug 667612: Make addEventListener not throw if passed a null listener. r=smaug 2011-08-18 02:45:00 -07:00
Markus Stange
e13a330778 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
0e6f0b05b1 Bug 678431 - Compilation without MOZ_MEDIA defined is broken r=Olli.Pettay 2011-08-14 19:31:36 -07:00
Marco Castelluccio
d3f9d68e9e Bug 612839 - Removed nsAHtml5FragmentParser. r=hsivonen 2011-08-14 10:39:26 -07:00
Ms2ger
f1ce0d69e4 Merge m-c to m-i 2011-08-13 14:47:03 +02:00
Malini Das
132054c82e Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- new tests. r=jmaher, a=test-only 2011-08-12 12:21:44 -04:00
Malini Das
ee09d54d6f Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- plain 1/1. r=jmaher, a=test-only 2011-08-12 12:21:42 -04:00
Malini Das
ea71db787e Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- chrome. r=jmaher, a=test-only 2011-08-12 12:21:36 -04:00
Boris Zbarsky
cb62b5e34b 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
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