Ms2ger
c139a24967
Bug 688190 part a: Allow using nsIDocument::WarnOnceAbout for more cases. r=bz
2011-09-27 10:18:25 +02:00
Dão Gottwald
a07e7b0674
merge backout
2011-09-27 10:53:28 +02:00
Dão Gottwald
e9edba93dd
Backed out changeset da0d9bc38cad
2011-09-27 10:52:51 +02:00
Dão Gottwald
f577c0e6de
merge backout
2011-09-27 10:52:18 +02:00
Dão Gottwald
a61151cef0
Backed out changeset 58d2b33f0e0d
2011-09-27 10:51:42 +02:00
Masatoshi Kimura
0f69ea4ac2
automated test for bug 669049, r=sicking
2011-09-27 10:40:36 +02:00
Ms2ger
8fc1a9a9d2
Bug 688190 part b: Add various warnings. r=bz
2011-09-27 10:18:50 +02:00
Ms2ger
c9d08ded04
Bug 688190 part a: Allow using nsIDocument::WarnOnceAbout for more cases. r=bz
2011-09-27 10:18:25 +02:00
David Zbarsky
f28bcb747a
Bug 682367 - Call nsINode::GetChildAt less. r=smaug
2011-09-27 09:54:58 +02:00
Boris Zbarsky
f394844f02
Bug 677643 part 2. Clone the URI argument when loading external stylesheets from a <link> element to work around content policies mutating the URI. r=jlebar
2011-09-26 18:03:16 -04:00
Boris Zbarsky
f022a015e7
Bug 185236 part 5. Fire load and error events on stylesheet linking elements. r=peterv
2011-09-26 17:27:13 -04:00
Mats Palmgren
ccb640b088
Bug 686581 - Implement -moz-is-resource-document media query. r=roc
2011-09-24 10:28:54 +02:00
Jonas Sicking
1e4cc44dc8
Bug 687087 part 3. Implement XHR.responseType="moz-chunked-text" and XHR.responseType="moz-chunked-arraybuffer". r=smaug on code changes, rs=smaug on tests.
2011-09-23 18:57:36 -07:00
Jonas Sicking
da49f9cf41
Bug 687087 part 2: Clean up how we handle text decoding so that we don't re-charset-decode unless really needed. r=smaug
2011-09-23 18:57:36 -07:00
Jonas Sicking
d8bd4ad3d0
Bug 687087 part 1: Always fire a "progress" event before onload if we've received data since the last progress event. Also ensure that event..loaded on progress events have the correct value for all response-types. r=smaug
2011-09-23 18:57:22 -07:00
Jesse Ruderman
63a423e86d
Test for bug 682463.
2011-09-24 02:56:38 +02:00
Mats Palmgren
8e699614fb
Bug 682463 - "ASSERTION: unexpected disconnected nodes" with DOM range, splitText. r=smaug
2011-09-24 02:56:38 +02:00
Ehsan Akhgari
bf9853332c
Bug 686032 - Test for bug 622088 conceals its location after it's done; r=ted,jlebar
2011-09-23 16:30:07 -04:00
Boris Zbarsky
085b188f8c
Bug 684671. Allow the onreadystatechange getter/setter on Document.prototype to not throw even if its |this| is bogus. r=peterv,sicking
2011-09-23 01:03:50 -04:00
Boris Zbarsky
788803a0af
Bug 660233 part 1. Fix tests that assume UniversalXPConnect in otherwise-untrusted pages will get one nodePrincipal, documentURIObject, baseURIObject properties. r=mrbkap
...
--HG--
rename : dom/tests/mochitest/bugs/test_bug396843.html => dom/tests/browser/browser_bug396843.js
2011-09-23 01:03:50 -04:00
Gabor Krizsanits
e9acfc4dca
Bug 678465 - 'document-element-inserted' doesn't fire on ImageDocument; r=sicking
2011-09-22 17:35:25 +01:00
Masayuki Nakano
46636681cc
Bug 543789 part.1 Add DOM3 composition events r=smaug, sr=roc
2011-09-22 18:17:40 +09:00
Luke Wagner
cc2ce861d1
Bug 684526 - Unify jsval and js::Value (r=jorendorff)
...
--HG--
extra : rebase_source : 5655602775d575bb5adba0a8fc4c20621f393a67
2011-09-19 09:34:49 -07:00
Patrick McManus
c598a54eb0
bug 686312 - websockets should not reject non character utf-8 sequence as invalid r=dbaron
2011-09-20 18:13:43 -04:00
Patrick McManus
4128dd84a8
687295 - disable websockets deprecated deflate-stream extension due to thin vnc interop problem r=bz
2011-09-20 17:04:57 -04:00
Boris Zbarsky
cace3f9b5b
Bug 444641 part 2. Factor out the channel owner setting from docshell so other consumers can use it too. r=jst,dveditz
2011-09-20 17:00:42 -04:00
Boris Zbarsky
a1f21e752a
Bug 444641 part 1. Factor out IsAboutBlank into nsNetUtil.h. r=jduell,jst
2011-09-20 17:00:41 -04:00
Ehsan Akhgari
41c2a18909
Merge the last green changeset of mozilla-inbound to mozilla-central
2011-09-20 10:22:17 -04:00
Olli Pettay
12f3b41155
Bug 686449 - Make ProcessingInstruction inherit from CharacterData, r=sicking
2011-09-20 08:08:00 +03:00
Olli Pettay
7dfe430f16
Bug 432698 - mouseenter and mouseleave, r=masayuki
...
--HG--
extra : rebase_source : 2664d2655546602edc88bcadc7dd981b01d76820
2011-09-18 02:45:14 -05:00
Olli Pettay
2f2d683768
Bug 675166 - Make DocumentTypeNode to use NodeInfoManager of the document, r=sicking
...
--HG--
extra : rebase_source : c05867591dc394695c35de92a0c62ca5df9db1d6
2011-09-17 06:32:32 -07:00
Ms2ger
7b7048fda0
Bug 649603 - Make nsIScriptContext::GetNativeContext return JSContext; r=jst
2011-09-18 11:22:17 +02:00
Ehsan Akhgari
97e0f80e7f
Merge the last green changeset of mozilla-inbound to mozilla-central
2011-09-16 09:31:43 -04:00
Kyle Huey
70eb6e2b02
Remove some silly LOCAL_INCLUDES from content/base/src. r=me
2011-09-15 16:47:29 -07:00
Olli Pettay
586e545839
Bug 685798 - Node.parentElement, r=bz
2011-09-11 16:05:19 -07:00
Olli Pettay
9efa44eaaa
Bug 685798 - Node.parentElement, r=bz
2011-09-11 15:45:39 -07:00
Igor Bukanov
9dc4e22f8a
bug 678830 - Use JSScript, not script objects, in compile/evaluate API. r=jorendorff
2011-09-02 08:46:00 +02:00
Boris Zbarsky
7ddc04fb21
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
d9ab900089
Bug 682554. Move onreadystatechange to live on Document only. r=smaug
2011-09-19 22:56:45 -04:00
Nick Hurley
7400a85df3
bug 589292 - add contentDisposition{Filename} props to nsIChannel. r=honzab sr=bzbarsky
2011-09-09 15:41:04 -07:00
arno renevier
2e9028ee92
bug 682592: do bidi scan when nsTextFragment content is changed
2011-09-09 12:27:00 -04:00
Ehsan Akhgari
d5610a5cbf
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
9640476441
Bug 655727. Implemented responseType='moz-json', r=sicking
2011-09-08 15:12:18 -07:00
Shawn Gong
b292b3f582
Fixed bug 678432: Sending arraybuffers using XMLHttpRequest.send. r=sicking
2011-08-17 18:44:56 -07:00
Ben Turner
5e71f9c013
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
561cc364d2
bug 481395 - replace nsAccessibilityAtoms with nsGkAtoms r=surkov, sicking
2011-06-03 14:35:17 -07:00
Phil Ringnalda
a0dbb25cfa
Back out 307b5fa030fd (bug 683280) for timeouts in test_ipAddressOrigin.html
2011-09-14 09:10:41 -07:00
Ben Turner
d2770f97e2
Bug 683280 - 'Workers: creating workers from 'localhost' or an IP address fails'. r=sicking.
2011-09-08 17:07:11 -07:00
Malini Das
841f72da21
Bug 677626 - Add a profiling test suite for mochitest. r=jmaher
2011-09-19 14:52:04 -04:00
Jesse Ruderman
b4b375bdbc
Test for bug 679459.
2011-09-08 23:32:07 +02:00
Mats Palmgren
0459922a98
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
28b580015a
Bug 685404. Make callers of nsDisplayList::HitTest use nsAutoTArrays to reduce allocations. r=tnikkel
2011-09-08 17:29:54 -04:00
Neil Rashbrook
74f24154f1
Bug 684726 Add missing content types to nsContentBlocker r=bz
2011-09-08 21:20:44 +01:00
Olli Pettay
07fd1062c0
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
d50edc2277
Bug 684627 - Add time limit to nsEventStateManager::IsHandlingUserInput(). r=smaug
2011-09-07 08:14:59 +12:00
Ed Morley
59e8ad1ced
Merge mozilla-central to mozilla-inbound
2011-09-05 01:18:16 +01:00
Chris Pearce
c28e8a66d9
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
fb98936759
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
c782ba7555
Bug 545812 - Implement iframe.mozallowfullscreen. r=jst
2011-09-05 08:40:17 +12:00
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
Marco Bonardo
f7ab1e5a89
Merge last green changeset from mozilla-inbound to mozilla-central
2011-09-03 11:49:40 +02: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
Jason Duell
ea66f51c13
Bug 678595: Remove test assumption that cancel causes cache invalidation. r=jdm
2011-09-02 13:03:24 -07: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
7eae96eca2
Bug 680816: Test
2011-08-24 12:33:31 -04: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
Michael Wu
9b8b4f4ffd
Reapply change dropped from bug 676465 due to bug 672536 merging idls
2011-08-27 08:45:25 -07:00
Marco Bonardo
40c1e206de
Merge mozilla-central and mozilla-inbound
2011-08-27 10:40:12 +02:00
David Zbarsky
0f136718bb
Bug 682366 - Remove nsINode::ChildIterator r=smaug
2011-08-27 00:23:02 +01: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
Marco Castelluccio
1d98c5c4d4
Bug 650494 - Remove nsIXULPrototypeCache; r=khuey,smaug
2011-08-26 20:50:23 +01: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
7b68e9930e
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
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
Neil Deakin
5fc1072d0e
Bug 673301, crash using non-string data with text/plain drags, r=josh
2011-08-18 09:22:52 -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
Ms2ger
66ab4757eb
Merge m-c to m-i
2011-08-13 14:47:03 +02:00
Malini Das
960a7c7495
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
02665c9658
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
e306b1b5aa
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
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
arno renevier
2485241198
Bug 338427 - Spellchecker should respect the langi attribute; r=ehsan
2011-08-12 15:12:45 -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
Dão Gottwald
703eb19bf2
Backed out changeset 2878f506066a
2011-07-31 21:39:32 +02:00
Justin Lebar
5a5898ffc0
Bug 673467 - Part 2. Fix test. r=smaug
2011-07-31 13:22:14 -04: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
394c34977d
Merge the last green changeset on mozilla-inbound to mozilla-central
2011-07-29 11:48:24 +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
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
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
Mats Palmgren
eb7ef218f8
Bug 677105 - <noscript> content cannot be copied to clipboard. r=bzbarsky
2011-08-09 17:14:37 +02:00
David Zbarsky
b849d09dcc
Bug 672536 - Merge nsISelection2 into nsISelectionPrivate r=smaug
2011-08-07 16:17:00 -04:00
David Zbarsky
8509478d01
Bug 672536 - Merge nsISelection3 into nsISelection r=smaug
2011-08-07 16:18: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
Michael Wu
ccaba60ed1
Bug 676465 - Replace PRBool with boolean in IDL files, r=bsmedberg
2011-08-06 22:03:32 -07: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
8e5777e1a0
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
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
98187f1068
bug 675038 - websockets wss:// tests r=biesi
...
--HG--
extra : rebase_source : 0d1c6c22d20124d7456eea91a2263eec9100517a
2011-08-03 15:38:56 -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
Patrick McManus
2adea969f2
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
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
Patrick McManus
b363c5480c
bug 674527 - websockets sub-protocol array implementation and tests r=sicking sr=bz
2011-08-03 12:42:02 -04:00
Justin Lebar
2bc2762f54
Bug 673467 - Part 2. Fix tests. r=smaug
...
--HG--
extra : rebase_source : 2b4d7c00e42f4fa54121fc4a9e0360984709357e
2011-08-01 19:45:47 -04:00
Marco Bonardo
b92ca56a08
Merge last green changeset from mozilla-inbound to mozilla-central
2011-08-03 10:46:22 +02:00
Patrick McManus
c0f9203b99
bug 667853: Missing close() event if websocket::init fails. r=mcmanus, jdm
2011-08-02 16:55:17 -07:00
Daniel Holbert
6c50e93a4f
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
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
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