Commit Graph

11511 Commits

Author SHA1 Message Date
David Anderson
bee6a61001 Merge.
--HG--
rename : content/base/src/nsGenericElement.h => content/base/public/FragmentOrElement.h
rename : content/base/src/nsGenericElement.cpp => content/base/src/FragmentOrElement.cpp
rename : gfx/thebes/nsCoreAnimationSupport.mm => gfx/2d/QuartzSupport.mm
2012-08-01 11:30:00 -07:00
Ed Morley
b5c712e1ca Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-08-01 18:36:33 +01:00
Olli Pettay
4c2811f3c2 Bug 777278 - Implement nsIDOMStorageEvent using event implementation codegen, r=mayhemer 2012-08-01 19:17:19 +03:00
Olli Pettay
3083c0bdec Bug 777285 - Autogenerate SettingsEvent implementation, r=anygregor
--HG--
extra : rebase_source : 038f38a4f9efae15a3fbf4236c4456bf9cfa4577
2012-08-01 12:48:35 +03:00
Matthew Gregan
54b084c615 Bug 779416 - Shrink some unnecessarily large char arrays used for codec types. r=cpearce 2012-08-01 18:15:27 +12:00
Matthew Gregan
fc44cc213c Bug 779412 - Iterate over correct test array in test_info_leak. r=cpearce 2012-08-01 17:58:09 +12:00
Ryan VanderMeulen
45d1e5a186 Bustage fix for bug 779535 follow-up. 2012-08-01 18:40:24 -04:00
Oleg Romashin
b82742bece Bug 779535 - readability followup. r=jgilbert 2012-08-01 15:13:49 -07:00
Eric Faust
4f1dd6602a Bug 749535 - Part 2: Rewrite dom::TypedArray to use JS_UnwrapObjectAs*Array(). (r=bz) 2012-07-31 20:45:20 -07:00
Eric Faust
e8671110a6 Backout changesets 6e78bc0145ee, 97a1463cde9c, and 9097d0b3acc6 (Bug 749535) for
erroneous bug number (r=me).
2012-07-31 20:24:32 -07:00
Eric Faust
a7fa8d3129 Bug 747935 - Part 2: Rewrite dom::TypedArray to use JS_UnwrapObjectAs*Array(). (r=bz) 2012-07-31 20:06:35 -07:00
Chris Pearce
1448181589 Bug 778105 - Fix an nsOggReader::GetBuffered() return value type mismatch. r=doublec 2012-08-01 13:24:25 +12:00
David Anderson
9929d37fcc Merge from mozilla-central. 2012-07-31 17:19:41 -07:00
Matthew Gregan
f9ae5a3992 Bug 768333 - Follow up: remove redundant call to GetPositionInFrames. r=cpearce 2012-07-31 21:11:52 +12:00
Aryeh Gregor
e9d849fa17 Bug 563659 part 6 - Remove #if 0'd code; r=bz 2012-07-31 18:36:21 +03:00
Nicholas Cameron
5763a6c405 Merge backout, a=bustage fix 2012-07-31 18:17:53 +12:00
Nicholas Cameron
db90500fee Back out bug 779001, bug 746883, bug 778595, bug 776803, bug 7118849 2012-07-31 18:17:23 +12:00
Nicholas Cameron
12480ec1e9 Bug 776802; Give better info about Azure. r=Bas 2012-07-31 13:45:59 +12:00
David Anderson
644c651c3e Merge from mozilla-central. 2012-07-30 13:15:39 -07:00
Mark Finkle
70a01196ec Backout 169ff207ed19, a34baed70c1b, f9ccdd490bd7, 39550ed860e6, 2194a2dd66b2, 908eb2e26843, a76e0a267f26 due to mobile viewport bustage (bug 778580) 2012-07-30 14:36:12 -04:00
Ed Morley
4c9a339aa1 Merge mozilla-central to mozilla-inbound 2012-08-08 19:13:29 +01:00
Aryeh Gregor
e806eeab4f Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Phil Ringnalda
cf09173698 Backout 5439489dc320, 983f76488e59, 7a92558a8dec (Bug 714358) for debug build assertions and leaks 2012-08-07 22:18:27 -07:00
Jonathan Watt
e5a6a757ae Bug 776747 - Talos Regression :( SVG, Opacity Row Major increase 4.54%. r=roc. 2012-07-30 01:35:26 +01:00
David Anderson
88ed1ce560 Merge from mozilla-central. 2012-07-26 18:19:02 -07:00
Mark Capella
a4e84ebc03 Bug 730925 - XHR.getAllResponseHeaders should use CRLF, not LF per spec, r=jst, r=jonas, f=ms2ger 2012-07-26 11:55:23 -04:00
David Anderson
83c5be4f84 Merge from mozilla-central. 2012-07-25 14:30:08 -07:00
David Anderson
5fc5a16b63 Merge from mozilla-central. 2012-07-24 16:32:08 -07:00
Olli Pettay
8d25c299d6 Bug 776929 - Let event implementation codegen to generate MozContactChangeEvent, r=gwagner 2012-07-24 22:28:26 +03:00
Aryeh Gregor
3881decf87 Bug 563659 part 5 - Move things from FragmentOrElement to nsGenericElement; r=bz 2012-07-24 11:10:25 +03:00
Matt Brubeck
2e41f92cb5 Back out f4f5189b1d0c, 3b4f0606c547, b8a5a1ab8a5f, 5078933d6954, 7e0260c45de9 (bug 768440, bug 755084, bug 706179) because of reftest failures 2012-07-23 20:25:51 -07:00
Makoto Kato
b64403c744 Bug 776488 - content/base/src/nsFrameLoader.cpp(1987) : warning C4305: 'return' : truncation from 'nsresult' to 'bool'. r=jlebar 2012-07-24 11:56:50 +09:00
Oleg Romashin
bf0a78292f Bug 779535 - defaultNoAlpha preference is not used in case if nsIPropertyBag argument is 0. r=vlad 2012-08-01 11:58:44 -07:00
Nicholas Cameron
9f4ddcf0fb Bug 776802; Give better info about Azure. r=Bas 2012-07-31 18:30:10 +12:00
David Anderson
10352157a6 Merge from mozilla-central. 2012-07-23 12:37:49 -07:00
Ed Morley
1368da883d Backout b4a63a0b90c2 (bug 778420), b849f1b3859a (bug 778420), d522b5a13b27 (bug 72964), 3a12c64bf53a (bug 778420), c07148142675 (bug 726053) for failures in test_bug435425.html on a CLOSED TREE 2012-08-07 00:57:27 +01:00
Kyle Huey
d3aa5ece64 Bug 689328: Ensure that lengthComputable is always the same for a given series of progress events by claiming that it is false even if all the data has been received. r=sicking 2012-08-06 13:56:28 -07:00
John Schoenick
73657f644a Bug 745030 - Followup, consider capabilities when checking content policy. r=josh 2012-08-06 13:48:26 -07:00
John Schoenick
43c6e623e2 Bug 745030 - Refactor nsObjectLoadingContent fallback paths. r=josh,sr=jst 2012-08-06 13:48:26 -07:00
John Schoenick
b47165349e Bug 745030 - Refactor nsObjectLoadingContent loading paths. r=josh,sr=jst 2012-08-06 13:48:25 -07:00
Bobby Holley
1138ef9062 Bug 778420 - Fix up tests that don't like the new enablePrivilege, r=jmaher.
--HG--
extra : rebase_source : 07565c66b279ba5a58b5902b697110f940c255fd
2012-08-06 22:38:19 +02:00
William Chen
aa4917eef9 Bug 778420 - Initial stab at the tests. v2 r=bholley
--HG--
extra : rebase_source : e014ba90baa75ba3146f4e3fb5c447b87a8e83c0
2012-08-06 22:15:49 +02:00
Gijs Kruitbosch
e382a1a5d5 Bug 778420 - Fix test_bug372964. v1 r=bholley
--HG--
extra : rebase_source : 1c2e55604e0cd8dc0476463ed58346a1e326d7e4
2012-08-06 22:15:28 +02:00
Camilo Viecco
b0baf98f91 Bug 726053 This patch removes all forms of 'obj instanceof Components.interfaces' for the new specialpowersAPI call. r=bholley
--HG--
extra : rebase_source : 8a246ed35698c4da3f8a4a5202dcce949121d722
2012-08-06 22:13:46 +02:00
Jim Mathies
378c4cc0b3 Bug 780511 - Pipe additional debug output to the Windows debugger, r=neil. 2012-08-06 15:41:40 -05:00
Patrick McManus
69378be6f2 bug 767005 backout bug 235853 r=jduell
--HG--
extra : rebase_source : c5aee6699ad20b85c11d52ca70365d6adebaec7c
2012-07-24 22:40:34 -04:00
David Anderson
7b87cb9a76 Merge from mozilla-central. 2012-07-20 12:02:04 -07:00
David Zbarsky
3c4a102656 Bug 768440 Part 2: Animate CSS Transitions on the compositor r=roc,dbaron 2012-07-23 17:34:49 -07:00
David Zbarsky
5deebe2e9b Bug 755084 Part 2: Perform CSS animations of transform and opacity on the compositor r=roc, dbaron 2012-07-23 17:34:46 -07:00
Benjamin Peterson
5775e05fb8 Bug 776317 - Separate the body of a constructed function from its braces with newlines. r=luke 2012-07-23 17:03:41 -07:00
Jonas Sicking
c3bf967163 Bug 774585 - Make GetChannelPrincipal get the correct app principal. r=mounir 2012-07-20 00:07:49 -07:00
David Anderson
180cbd4d9d Merge from mozilla-central. 2012-07-19 14:34:36 -07:00
Ed Morley
c7736aea1d Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-07-19 13:25:37 +01:00
Olli Pettay
9590583311 Bug 773945, remove nsXULElement::mPrototype, part 6, r=bz 2012-07-19 12:21:40 +03:00
Olli Pettay
d0359571b1 Bug 773945, remove nsXULElement::mPrototype, part 5, r=bz 2012-07-19 12:18:01 +03:00
Olli Pettay
e84fb0914b Bug 773945, remove nsXULElement::mPrototype, part 4, r=bz 2012-07-19 12:14:27 +03:00
David Anderson
921bd834c9 Merge from mozilla-central.
--HG--
rename : js/xpconnect/wrappers/CrossOriginWrapper.cpp => js/xpconnect/wrappers/WaiveXrayWrapper.cpp
rename : js/xpconnect/wrappers/CrossOriginWrapper.h => js/xpconnect/wrappers/WaiveXrayWrapper.h
2012-07-18 19:02:32 -07:00
Chris Jones
149887977b Bug 776649, part 2: Refactor content-process/browser creation to use mozIApplication for passing app info. r=jlebar 2012-08-08 19:58:06 -07:00
Chris Jones
7867ac451f Back out bug 776649. r=bustage 2012-08-08 20:13:12 -07:00
Chris Jones
eec2b983ed Bug 776649, part 2: Refactor content-process/browser creation to use mozIApplication for passing app info. r=jlebar 2012-08-08 19:58:06 -07:00
Bobby Holley
364da93593 Bug 778420 - Fix up tests that don't like the new enablePrivilege. r=jmaher
--HG--
extra : rebase_source : 1158df4a4eb917074204e649efd8f2b8e699f115
2012-08-03 22:19:54 +02:00
William Chen
7a0429e652 Bug 778420 - Initial stab at the tests. v2 r=bholley
--HG--
extra : rebase_source : c24abc031c82a87f2f669e4b708f8ee364a9682b
2012-08-06 22:15:49 +02:00
Gijs Kruitbosch
373fda679f Bug 778420 - Fix test_bug372964. r=bholley
--HG--
extra : rebase_source : 7d87cacdf187e743f40b6d56741e7d71101b58ec
2012-08-03 22:19:54 +02:00
Nicholas Cameron
a5d03b307c Bug 780392. Crashtest. r=bas
--HG--
extra : rebase_source : b2761827d90ceb99818b7beda5bcc596de90d7a3
2012-08-09 08:17:03 +12:00
Jared Wein
d20b6112aa Bug 756419 - White standalone image background flashes into view when switching tabs. r=roc,bholley 2012-08-08 12:42:37 -07:00
Masayuki Nakano
7a210f7746 Bug 751749 part.2 Support Win key for a modifier of shortcut key and access key r=smaug, enn 2012-07-19 10:28:16 +09:00
Wes Johnston
0ab42df208 Bug 775162 - Turn on touch events tests for all platforms. r=smaug 2012-07-19 16:37:19 -07:00
Mounir Lamouri
ed3e904642 Bug 770831 - Make nsIDocShell carry the app id. r=jlebar sr=sicking 2012-07-19 10:32:49 -07:00
Mounir Lamouri
397bc64735 Bug 774957 - Update nsDocShell jazz so distinction between browser and app frame is clearer. r=jlebar sr=sicking 2012-07-18 22:26:21 -07:00
Steve Fink
3b5b986d0b Backed out changeset 060a9d9fc1c6 from a CLOSED TREE since it seems to depend on afc1cf222996 or 1bafff5720a8 that I just backed out 2012-07-19 15:45:27 -07:00
Steve Fink
29dc82d8e8 Backed out changeset c2ffcbf39231 from a CLOSED TREE since it seems to depend on afc1cf222996 or 1bafff5720a8 that I just backed out 2012-07-19 15:45:19 -07:00
Ed Morley
ab4a6323cd Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-07-18 13:32:24 +01:00
Ms2ger
9855466146 Bug 579638 - Reinstate Range.intersectsNode; r=smaug 2012-07-18 12:36:08 +02:00
Ms2ger
7dc6caf2a7 Bug 763323 - Use .forget(I**) in a few places; r=longsonr 2012-07-18 12:36:08 +02:00
Ms2ger
1a4b2fb61b Bug 756397 - Enable FAIL_ON_WARNINGS in content/media; r=cpearce 2012-07-18 12:36:08 +02:00
Ms2ger
53b7edc708 Bug 771933 - Make nsDOMEvent::SetEventType return void; r=smaug 2012-07-18 12:36:08 +02:00
Jonas Sicking
3563d90909 Back out 44f8cae1dcf0, part of bug 769594, due to orange 2012-07-18 16:18:42 -07:00
Andrew McCreight
aa60136d0a Bug 770218 - null check mAList during unlink of DOMSVG{Length,Number,Transform}List. r=jwatt 2012-07-18 15:44:22 -07:00
David Zbarsky
b6548ad674 [Bug 774751] Use nsRefPtr in nsIDocument r=bz 2012-07-18 12:47:37 -04:00
David Zbarsky
88371b030a [Bug 774505] Don't include Layers.h everywhere r=cjones 2012-07-18 12:31:40 -04:00
Matthew Gregan
9ae4b13c59 Bug 761274 - Work around buffer sizing bug in PulseAudio ALSA plugin. r=doublec 2012-07-16 17:15:24 -04:00
Matthew Gregan
0d47132a00 Bug 768333 - nsBufferedAudioStream::GetPositionInFrames miscompiled with Win32 PGO. r=cpearce 2012-07-16 17:21:04 -04:00
Luqman A.
f71f7ae597 Bug 775049 - DeCOMtaminate nsIRadioGroupContainer; f=Ms2ger r=mounir 2012-08-03 12:38:52 +02:00
Paul Adenot
54bd98e36a Bug 774357 - Fix a crash in nsHTMLMediaElement::EndMediaStreamPlayback r=roc 2012-07-18 18:27:43 -04:00
Matthew Gregan
e274db737a Bug 779187 - Fix nsBufferedAudioStream's sample format selection for big endian machines. r=doublec 2012-08-06 15:26:41 +12:00
David Zbarsky
72cd4190b0 [Bug 780439] Kill off the remains of nsIBox r=roc 2012-08-05 23:00:57 -04:00
David Zbarsky
d50e4a7565 [Bug 780428] Don't include nsIFrame.h in places where it's not necessary r=roc 2012-08-05 23:00:56 -04:00
David Zbarsky
0039e134c7 Bug 779684: Create a stack-based nsFrameIterator class out of nsIFrameTraversal and nsIFrameEnumerator r=roc
--HG--
rename : layout/base/nsFrameTraversal.cpp => layout/base/nsFrameIterator.cpp
rename : layout/base/nsFrameTraversal.h => layout/base/nsFrameIterator.h
2012-08-05 23:00:55 -04:00
Andrew McCreight
ea0bad742e Bug 777806 - rename RootResultArrayBuffer to RootJSResultObjects. r=bz 2012-08-05 08:41:13 -07:00
Olli Pettay
1561080c51 Bug 773945, remove nsXULElement::mPrototype, part 3, r=bz 2012-07-14 18:28:54 +03:00
Olli Pettay
c50f03fc47 Bug 773945, remove nsXULElement::mPrototype, part 2, r=bz 2012-07-19 11:31:47 +03:00
Olli Pettay
bca8bf5697 Bug 773945, remove nsXULElement::mPrototype, part 1, r=bz 2012-07-14 14:28:35 +03:00
Oleg Romashin
999917220b Bug 775257 - Gstreamer backend on Meego N9 produce extra noise in audio playback.r=giles 2012-07-18 22:46:11 -04:00
Benoit Jacob
f391d5b89f Bug 617453 - lose the least-recently-used WebGL context when a certain limit is exceeded - r=vladv
The current limits are:

#ifdef MOZ_GFX_OPTIMIZE_MOBILE
    // some mobile devices can't have more than 8 GL contexts overall
    const size_t kMaxWebGLContextsPerPrincipal = 2;
    const size_t kMaxWebGLContexts             = 4;
#else
    const size_t kMaxWebGLContextsPerPrincipal = 8;
    const size_t kMaxWebGLContexts             = 16;
#endif
2012-08-02 17:28:02 -04:00
Benoit Jacob
bb0ac80d76 Bug 749678 - re-add missing MakeCurrent call in certain WebGL uniform setters - r=jgilbert 2012-08-02 17:28:02 -04:00
David Anderson
c36e0f89e0 Merge from mozilla-central. 2012-07-13 19:50:02 -07:00
Olli Pettay
b064b2c26e Bug 773606 - XBL fastload creates XUL element before feeding proto attributes to the protoelement, r=enndeakin 2012-07-14 00:25:01 +03:00
Boris Zbarsky
8b318ef3f7 Bug 761278. Remove the non-standard uploadprogress event on XMLHttpRequest. r=sicking 2012-07-21 22:28:26 -04:00
Jason Duell
00135ee99f Backout f142f32a98a3 (Bug 775317) and ef14686c31d0 (Bug 761278). r=bustage 2012-07-21 20:05:37 -07:00
Boris Zbarsky
eb0d24fee5 Bug 761278. Remove the non-standard uploadprogress event on XMLHttpRequest. r=sicking 2012-07-21 22:28:26 -04:00
Jonathan Watt
bba15f0a70 Bug 776250 - Rename nsISVGChildFrame::UpdateBounds to nsISVGChildFrame::ReflowSVG to make it easier for non-SVG devs to understand the SVG code. r=roc.
--HG--
extra : rebase_source : 9c2d8f3d76dab1a842d6cc5607a13a49703061d6
2012-07-21 20:01:44 -04:00
Mounir Lamouri
f47d0639b2 Bug 770532 - Make new nsIPrincipal and nsIDocShell attributes work in content process. r=jlebar 2012-07-21 17:16:11 -07:00
Mounir Lamouri
7935452e46 Bug 775408 - Rename nsIDocShell::SetIsBrowser() to SetIsBrowserElement(). r=jlebar 2012-07-21 17:39:41 -07:00
Jonas Sicking
7b45d4a7a3 Bug 769594: Make nsObjectLoadingContent use principals when calling into permission manager. r=josh 2012-07-21 00:29:40 -07:00
Jonas Sicking
68ce0e34aa Bug 774585: Rename getCodebasePrincipal to getSimpleCodebasePrincipal since the behavior has semantically changed. r=mounir 2012-07-21 00:29:40 -07:00
Ryan VanderMeulen
a2282bd7e8 Merge m-c to inbound. 2012-07-20 20:19:31 -04:00
Olli Pettay
cf203e6e6c Bug 775972 - crash in nsGenericElement::BindToTree, r=bz 2012-07-21 00:55:19 +03:00
Olli Pettay
d4c22e1e8d Bug 765766 - Convert more event interface implementations to be autogenerated, r=jst 2012-07-20 19:58:28 +03:00
Olli Pettay
e9cea4305c Bug 765163 - Implement code generator for simple DOM events, r=jst,khuey 2012-07-20 19:42:08 +03:00
Robert O'Callahan
0be0d048a2 Bug 774597. Avoid accessing MediaStreamGraphImpl members after the graph object may have been cleaned up by the main thread. r=jesup
--HG--
extra : rebase_source : 5f6c34855ad5df629c25d4b11f008b03cf2266ae
2012-07-18 01:02:06 -04:00
David Anderson
b93d6b9c04 Merge from mozilla-central. 2012-07-12 13:23:26 -07:00
Anant Narayanan
e91b26162f Bug 691234: Part 2/3: Implement WebRTC backend for MediaEngine on Desktop; r=jesup, r=roc 2012-07-12 04:53:08 -07:00
Ehsan Akhgari
2aa2577db9 Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (more content parts); r=bzbarsky 2012-07-11 00:06:42 -04:00
David Anderson
56d1e29054 Merge from mozilla-central.
--HG--
rename : editor/libeditor/base/DeleteElementTxn.cpp => editor/libeditor/base/DeleteNodeTxn.cpp
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicBuffers.cpp
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicBuffers.h
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicCanvasLayer.cpp
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicColorLayer.cpp
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicContainerLayer.cpp
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicContainerLayer.h
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicImageLayer.cpp
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicLayerManager.cpp
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicLayersImpl.cpp
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicLayersImpl.h
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicThebesLayer.cpp
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicThebesLayer.h
rename : js/src/jsobj.cpp => js/src/builtin/Eval.cpp
2012-07-10 19:45:14 -07:00
Daniel Veditz
a45e786a60 Fix test failure from bug 767778, r=sstamm, a=akeybl 2012-07-10 10:15:49 -07:00
Daniel Veditz
1acc96ee87 bug 767778 bring report struct in-line w/1.0 spec; include original URI for redirects r=sstamm, a=akeybl 2012-07-10 00:44:05 -07:00
Olli Pettay
074509c71f Bug 765139, prevent leaking oldDocument, r=peterv 2012-07-10 18:09:00 +03:00
Ed Morley
ace8d0d5b2 Backout 1cefe3f794ba (bug 767778) for xpcshell failures 2012-07-10 12:13:57 +01:00
Daniel Veditz
ec37f6b673 bug 767778 bring report struct in-line w/1.0 spec; include original URI for redirects r=sstamm, a=akeybl 2012-07-10 00:44:05 -07:00
Ryan VanderMeulen
22a9fed718 Backout a516a86f854d (bug 767064) due to Android M1 orange. 2012-07-09 21:49:50 -04:00
Ryan VanderMeulen
99f4efb3c0 Merge the last PGO-green inbound changeset to m-c. 2012-07-09 20:59:12 -04:00
Olli Pettay
e31a87a730 Bug 770887 - MutationReceiver doesn't need to be cycle collected, r=mccr8 2012-07-09 23:44:33 +03:00
Jonas Sicking
598a670137 Bug 769594: Make nsObjectLoadingContent use TestPermissionFromPrincipal. r=mounir 2012-07-18 14:18:46 -07:00
Chris Jones
3608c39652 Bug 774989: Transform touch-event coordinates for remote content. r=smaug 2012-07-18 12:43:06 -07:00
Nicholas Cameron
2efe977e3b Bug 767337; crash test. r=roc 2012-07-18 15:04:15 -04:00
Mounir Lamouri
9ec92252b8 Bug 769594 - Make nsContentUtils use TestPermissionFromPrincipal instead of TestPermission. r=sicking 2012-07-18 11:38:02 -07:00
Jonathan Watt
3faefe06c8 Bug 774077 - Fix Clang warning in nsSVGGraphicElement.cpp. r=dholbert.
--HG--
extra : rebase_source : 20a6001c421008c19d6000541077c78819520393
2012-07-18 13:47:40 -04:00
Rafael Ávila de Espíndola
6fa6b984a6 Bug 775134 - Remove extra ; r=ehsan.
--HG--
extra : rebase_source : 1d44663679e8f1944649d54608e5e6e6694e88c5
2012-07-18 12:15:47 -04:00
Joshua Cranmer
774444109e Bug 773637 - Kill NS_SCRIPTABLE attributes, Part 2: Remove NS_SCRIPTABLE. r=ehsan
--HG--
extra : rebase_source : 83020e0a1961ed5b33d5e0599419c6b7b82caa87
2012-07-06 15:31:49 -05:00
Joshua Cranmer
4b8f318e78 Bug 773637 - Kill NS_SCRIPTABLE annotations, Part 1: Remove NS_*PARAM annotations. r=ehsan
--HG--
extra : rebase_source : a0b4bc50fece36d9a90fed61431635948bfa33b5
2012-07-06 15:14:07 -05:00
Joshua Cranmer
4ad48824ad Bug 702877 - Replace NS_OVERRIDE with MOZ_OVERRIDE. r=ehsan
--HG--
extra : rebase_source : 1843575683c3897f96f3966cbce26140ff1a7d90
2012-07-06 13:15:45 -05:00
Aryeh Gregor
e57dd159b2 Bug 626472 part 1 - Define nsnull as nullptr where available; r=ehsan 2012-07-20 14:16:17 +03:00
Mark Capella
fd9b625002 Bug 775041 - Make nsIWidget::IsEnabled return bool, r=roc, f=ms2ger 2012-07-23 01:19:08 -04:00
Vladimir Vukicevic
ebab93cfd3 b=767064; use 4444/565 GL context format for WebGL on mobile; r=jgilbert,r=bjacob 2012-07-06 09:19:27 -04:00
Chris Jones
5a130fe7a4 Bug 774139: Forward touch events across processes. r=felipe,smaug 2012-07-15 19:58:43 -07:00
Boris Zbarsky
8e925299c6 Bug 768537 part 1. Update parser support for dictionaries to spec changes. r=jlebar
There are several parts here:

1)  Enforce the requirement that dictionary arguments not followed by a required argument are optional.
2)  Make dictionaries no longer be distinguishable from nullable types.
3)  Disallow dictionaries or unions containing dictionaries inside a nullable type.
4)  Force optional dictionaries to have a default value of null so that codegen doesn't have to worry about dealing with
    optional arguments that have no default value in the IDL but need to be treated as if they were null.
2012-07-17 12:18:53 -04:00
Ed Morley
8a2ea81bc5 Backout 9deb8edb5070 (bug 773519), ea5a243a60f1 & 0cad1e553bea (bug 768537) for compilation failures 2012-07-17 17:48:11 +01:00
Boris Zbarsky
56133baee1 Bug 768537 part 1. Update parser support for dictionaries to spec changes. r=jlebar
There are several parts here:

1)  Enforce the requirement that dictionary arguments not followed by a required argument are optional.
2)  Make dictionaries no longer be distinguishable from nullable types.
3)  Disallow dictionaries or unions containing dictionaries inside a nullable type.
4)  Force optional dictionaries to have a default value of null so that codegen doesn't have to worry about dealing with
    optional arguments that have no default value in the IDL but need to be treated as if they were null.
2012-07-17 12:18:53 -04:00
Ms2ger
3007264a48 Bug 780164 - Make nsAttrAndChildArray::GetModifiableMapped infallible; r=bz 2012-08-04 09:44:01 +02:00
Ms2ger
5671da5b26 Bug 780165 - Part c: Use nsPIDOMWindow::GetDoc() in drag&drop; r=smaug 2012-08-04 09:44:01 +02:00
Ms2ger
c6b094bee3 Bug 777306 - Remove NS_NewHTMLStyleSheet; r=dbaron 2012-08-04 09:44:01 +02:00
Ms2ger
391cca2e24 Bug 777293 - Remove NS_NewCSSStyleSheet; r=dbaron 2012-08-04 09:44:01 +02:00
Ms2ger
76a2db4268 Bug 600111 - Throw the correct exceptions in XMLHttpRequest.setRequestHeader(); r=sicking 2012-08-04 09:44:01 +02:00
Ms2ger
aaa1adf3e4 Bug 714279 - range.compareBoundaryPoints should throw NOT_SUPPORTED_ERR when called with an invalid 'how' argument; r=smaug 2012-08-04 09:44:00 +02:00
Ms2ger
8006613631 Bug 636123 - Part b: Don't null-check the result of nsDocument::GetOrCreateRadioGroup; r=mounir 2012-08-04 09:44:00 +02:00
Ms2ger
157e981a5c Bug 636123 - Part a: Split nsDocument::GetRadioGroup in two methods: one to get the radio group and one to create it; r=mounir 2012-08-04 09:44:00 +02:00
Ms2ger
c7a5b33778 Bug 716822 - Move attributes and methods on nsIDOMNSEvent to nsIDOMEvent; r=smaug 2012-08-04 09:44:00 +02:00
Ms2ger
4d2ce04c95 Bug 771934 - Throw NOT_FOUND_ERR instead of HIERARCHY_REQUEST_ERR from nsINode::RemoveChild; r=bz 2012-08-04 09:43:59 +02:00
Ms2ger
bf92bcb5fc Bug 768310 - Don't throw from Event.initEvent if it's called during event dispatch; r=smaug 2012-08-04 09:43:59 +02:00
Ms2ger
07d12c4a23 Bug 672814 - Part e: Expand the set of JS mime types we support; r=bz 2012-08-04 09:43:59 +02:00
Ms2ger
3ace1d2272 Bug 672814 - Part d: Move the type attribute parsing in nsScriptLoader::ProcessScriptElement into a helper function; r=bz 2012-08-04 09:43:59 +02:00
Ms2ger
10e0a74f56 Bug 672814 - Part c: Remove the typeID variable in nsScriptLoader::ProcessScriptElement; r=bz 2012-08-04 09:43:59 +02:00
Ms2ger
1c0d6a2933 Bug 672814 - Part b: Introduce nsContentUtils::IsJavascriptMIMEType; r=bz 2012-08-04 09:43:59 +02:00
Ms2ger
c6bffb8f7c Bug 672814 - Part a: Move nsJSRuntime::ParseVersion to nsContentUtils; r=bz 2012-08-04 09:43:59 +02:00
Mike Hommey
6173fa297f Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Ed Morley
bba173e66e Revert inbound to 3d5d1daa2505 to stop OS X M5 failures (backout not clean/could have been a bad merge) on a CLOSED TREE 2012-08-04 18:05:15 +01:00
Ms2ger
2529739530 Merge m-c to m-i. 2012-08-04 13:02:15 +02:00
Mike Hommey
4e998b1d36 Backout changeset 2ef51674316a (bug 774032 bonus) for various Mochitest bustages on a CLOSED TREE 2012-08-04 10:38:41 +02:00
Ms2ger
e93a90d4c5 Bug 780164 - Make nsAttrAndChildArray::GetModifiableMapped infallible; r=bz 2012-08-04 09:44:01 +02:00
Ms2ger
23cddca634 Bug 780165 - Part c: Use nsPIDOMWindow::GetDoc() in drag&drop; r=smaug 2012-08-04 09:44:01 +02:00
Ms2ger
db59149c25 Bug 777306 - Remove NS_NewHTMLStyleSheet; r=dbaron 2012-08-04 09:44:01 +02:00
Ms2ger
eacd737410 Bug 777293 - Remove NS_NewCSSStyleSheet; r=dbaron 2012-08-04 09:44:01 +02:00
Ms2ger
5410b1a8c6 Bug 600111 - Throw the correct exceptions in XMLHttpRequest.setRequestHeader(); r=sicking 2012-08-04 09:44:01 +02:00
Ms2ger
a30c097281 Bug 714279 - range.compareBoundaryPoints should throw NOT_SUPPORTED_ERR when called with an invalid 'how' argument; r=smaug 2012-08-04 09:44:00 +02:00
Ms2ger
887873c1d4 Bug 636123 - Part b: Don't null-check the result of nsDocument::GetOrCreateRadioGroup; r=mounir 2012-08-04 09:44:00 +02:00
Ms2ger
a93a9c2df5 Bug 636123 - Part a: Split nsDocument::GetRadioGroup in two methods: one to get the radio group and one to create it; r=mounir 2012-08-04 09:44:00 +02:00
Ms2ger
babf67cce2 Bug 716822 - Move attributes and methods on nsIDOMNSEvent to nsIDOMEvent; r=smaug 2012-08-04 09:44:00 +02:00
Ms2ger
e9cb743eb1 Bug 771934 - Throw NOT_FOUND_ERR instead of HIERARCHY_REQUEST_ERR from nsINode::RemoveChild; r=bz 2012-08-04 09:43:59 +02:00
Ms2ger
3f18e578e9 Bug 768310 - Don't throw from Event.initEvent if it's called during event dispatch; r=smaug 2012-08-04 09:43:59 +02:00
Ms2ger
4468cb8425 Bug 672814 - Part e: Expand the set of JS mime types we support; r=bz 2012-08-04 09:43:59 +02:00
Ms2ger
7867863e95 Bug 672814 - Part d: Move the type attribute parsing in nsScriptLoader::ProcessScriptElement into a helper function; r=bz 2012-08-04 09:43:59 +02:00
Ms2ger
2253c97797 Bug 672814 - Part c: Remove the typeID variable in nsScriptLoader::ProcessScriptElement; r=bz 2012-08-04 09:43:59 +02:00
Ms2ger
94472714fc Bug 672814 - Part b: Introduce nsContentUtils::IsJavascriptMIMEType; r=bz 2012-08-04 09:43:59 +02:00
Ms2ger
fe9aa1e2db Bug 672814 - Part a: Move nsJSRuntime::ParseVersion to nsContentUtils; r=bz 2012-08-04 09:43:59 +02:00
Mike Hommey
17fb6cad2d Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 08:48:56 +02:00
Ed Morley
37898217b6 Backout 14245bf85a3d (bug 778420), b9f603d3eef4 (bug 778420), e9bc27234022 (bug 72964), d5aa53121d29 (bug 778420), 959cc7ef5f5a (bug 726053) for m1 failures in test_offline_gzip.html 2012-08-03 23:29:10 +01:00
Ben Turner
d4f1fddc7f Bug 780048 - 'Some input stream types cannot be transferred via IPC'. r=khuey.
--HG--
extra : transplant_source : %C5m%04S%92%9F%E6%A7%02%0D%7E%CCz%8B%BBW%AA%C5%81%06
2012-08-03 13:37:58 -07:00
Ed Morley
bcf7c16b44 Backout 21d92e8dd85a (bug 780048) for bustage 2012-08-03 21:26:23 +01:00
Bobby Holley
33def11e6c Bug 778420 - Fix up tests that don't like the new enablePrivilege. r=jmaher 2012-08-03 22:19:54 +02:00
William Chen
9951db756c Bug 778420 - Initial stab at the tests. r=bholley 2012-08-03 22:19:54 +02:00
Gijs Kruitbosch
ee4eecb528 Bug 778420 - Fix test_bug372964. r=bholley 2012-08-03 22:19:54 +02:00
Ben Turner
4280f504ac Bug 780048 - 'Some input stream types cannot be transferred via IPC'. r=khuey.
--HG--
extra : transplant_source : K%881/0%0DV%D9m%D3%D6%F3O%15%1CX%9E%22%18%DE
2012-08-03 13:10:15 -07:00
Andrew McCreight
5e33ad1781 Bug 777806. r=bent 2012-08-03 09:29:53 -07:00
Wes Johnston
80b58a4efd Bug 732052 - Internal touch event listeners should not enable slow path. r=smaug 2012-07-09 09:55:37 -07:00
Wes Johnston
2088574285 Bug 777706 - Backout new dom bindings for touchlists. r=smaug 2012-08-02 10:41:42 -07:00
Ed Morley
10d4e6b7e1 Merge mozilla-central to mozilla-inbound 2012-08-02 14:20:05 +01:00
Cameron McCormack
ba7efb66ff Bug 655877 - Part 15: Don't treat SVG text frames as being positioned. r=roc 2012-08-02 21:38:50 +10:00
Felipe Gomes
c521e7d51e Bug 775403: When touch events are being consumed by a remote frame, continue to dispatch synthesized mouse events *only* in the parent process, for the focus manager. r=cjones 2012-07-19 12:40:24 -07:00
Mounir Lamouri
e0678a58f5 Bug 770831 - Make nsIDocShell carry the app id. r=jlebar sr=sicking 2012-07-19 10:32:49 -07:00
Mounir Lamouri
d6d9b5f0b7 Bug 774957 - Update nsDocShell jazz so distinction between browser and app frame is clearer. r=jlebar sr=sicking 2012-07-18 22:26:21 -07:00
Mounir Lamouri
96545b3886 Bug 327244 (2/2) - Remove nsIScriptSecurityManager::CheckLoadURI(). r=sicking,jlebar 2012-07-18 15:27:02 -07:00
Mounir Lamouri
15ea035b93 Bug 327244 (1/2) - Remove nsIScriptSecurityManager::CheckLoadURIStr(). r=sicking 2012-07-19 10:49:17 -07:00
Matthew Gregan
68e63d3ddc Bug 775170 - Use naming convention from coding style guide for static member of StateMachineTracker. r=doublec
--HG--
extra : rebase_source : 4dacfc1e600fe1ba00c16a235032f7e52a1cd10a
2012-07-18 13:26:24 -04:00
Aryeh Gregor
7070a755d7 Bug 768756 part 2 - Make nsComputedDOMStyle Init infallible and merge into constructor; r=bz 2012-07-06 15:28:33 +03:00
Ehsan Akhgari
6f83bbeaa8 Merge mozilla-central into mozilla-inbound 2012-07-19 08:44:19 -04:00
Jacek Caban
35647e8a59 Bug 472799 - Undefine GetCurrentTime in nsDOMMediaStream.h r=cpearce 2012-07-19 11:58:48 +02:00
Ed Morley
80af77da9d Backout ea6db8f420c0 (bug 770831), b51c79ee0883 (bug 774957), 020f6ed5958b (bug 758258), 11d8e19e1fca (bug 758258), 707fc51bfe2e (bug 775354), 489d944a6fe6 (bug 327244), be7df3c9d50f (bug 327244) for m-oth orange 2012-07-19 08:29:48 +01:00
Mounir Lamouri
6efeb5b2d6 Bug 770831 - Make nsIDocShell carry the app id. r=jlebar sr=sicking 2012-07-18 22:28:05 -07:00
Mounir Lamouri
8cfd0a9baa Bug 774957 - Update nsDocShell jazz so distinction between browser and app frame is clearer. r=jlebar sr=sicking 2012-07-18 22:26:21 -07:00
Mounir Lamouri
8a2133a405 Bug 327244 (2/2) - Remove nsIScriptSecurityManager::CheckLoadURI(). r=sicking,jlebar 2012-07-18 15:27:02 -07:00
Mounir Lamouri
32d220e324 Bug 327244 (1/2) - Remove nsIScriptSecurityManager::CheckLoadURIStr(). r=sicking 2012-07-18 13:35:15 -07:00
Aryeh Gregor
df1115d2cb Bug 563659 part 4 - Make nsDocumentFragment stop inheriting from nsGenericElement; r=bz 2012-07-02 16:31:49 +03:00
Robert O'Callahan
d53617a13e Bug 383026. Centralize code that converts DOM scroll offsets to/from layout scroll positions. r=dbaron
--HG--
extra : rebase_source : a6118e0eeea749a601e055741e35cdcd15d81e57
2012-08-10 23:17:06 +12:00
Olli Pettay
e7c825623c Bug 770684, make sure chrome DOMParser doesn't load external resources, r=bz 2012-07-09 21:24:58 +03:00
Cameron McCormack
4242f88d3d Bug 771903 - Fix member initialization order warning. r=smaug 2012-07-09 11:09:51 +10:00
Cameron McCormack
ecdfad2302 Bug 771900 - Don't have presentation attributes for properties we don't support. r=jwatt 2012-07-09 11:09:49 +10:00
Jonathan Watt
8b34895f35 Bug 769742 - Account for nsSVGOuterSVGFrames' border/padding offset by giving nsSVGOuterSVGFrame an anonymous child to wrap its real children. r=roc. 2012-07-09 02:04:56 +01:00
Aryeh Gregor
0b6b626d97 Bug 767169 part 3 - Use script runner for nsHTMLEditor::ResetRootElementAndEventTarget; r=ehsan,bz 2012-07-05 10:45:08 +03:00
Cameron McCormack
c437bc6e92 Bug 769115 - Calculate marker orientation correctly for arc endpoints. r=jwatt 2012-07-08 21:36:07 +10:00
Justin Lebar
f84800f98f Bug 772076 - Fix race condition whereby BrowserElementParent.js can be loaded /after/ BrowserElementChild.js, for popup windows in <iframe mozbrowser>. r=smaug
--HG--
extra : rebase_source : 725a604814379760736cba5a020cf10de57e895f
2012-07-09 14:00:55 -04:00
Jonathan Watt
9eeaa6feea Bug 771042, part 1 - Fix invalidation of animateMotion. r=birtles. 2012-07-09 18:41:12 +01:00
Nathan Froyd
a7eb97f896 Bug 370750 - consolidate mochitest files installation; r=glandium
With assistance on the patch from Ms2ger, Waldo, and Mossop.
2012-07-03 16:49:02 -04:00
Vladimir Vukicevic
4c6ced282f b=767064; use 4444/565 GL context format for WebGL on mobile; r=jgilbert 2012-07-06 09:19:27 -04:00
Wes Johnston
1ac7209852 Bug 732052 - Internal touch event listeners should not enable slow path. r=smaug 2012-07-09 09:55:37 -07:00
Mark Capella
fc1d905831 Bug 704311 - Element CopyInnerTo shouldn't be const, r=jst, f=ms2ger 2012-07-09 08:36:05 -04:00
Aryeh Gregor
9f8028c3c1 Bug 771639 - Handle null current node in nsRange.cpp's ValidateCurrentNode; r=smaug 2012-07-09 11:41:47 +03:00
David Anderson
8cc88ca2e4 Merge from mozilla-central. 2012-06-28 15:17:18 -07:00
Vivien Nicolas
714578e283 Bug 760102 - Authorize web applications to use fullscreen by default. r=cpearce 2012-06-28 20:54:37 +12:00
Chris Pearce
407767521d Bug 762191 - Make video controls mute/volume widgets do nothing if the video doesn't have audio. r=jaws 2012-06-28 17:31:09 +12:00
David Anderson
af248c16a6 Merge from mozilla-central. 2012-06-27 11:00:48 -07:00
David Zbarsky
c0fdd4656f Bug 768440 Part 2: Animate CSS Transitions on the compositor r=roc,dbaron 2012-07-31 10:28:22 -07:00
David Zbarsky
f386a1e940 Bug 755084 Part 2: Perform CSS animations of transform and opacity on the compositor r=roc, dbaron 2012-07-31 10:28:21 -07:00
Boris Zbarsky
9f3eafd3a0 Bug 778128. Make putImageData and createImageData on non-Azure canvas work with Xrays. r=peterv 2012-07-31 11:35:25 -04:00
Andrew McCreight
4b4ebeaccd Bug 776213 - don't forget about sortedControls. r=smaug 2012-07-31 07:00:13 -07:00
Aryeh Gregor
4cd4d55f74 Bug 778681 part 5 - Convert nsXULTemplateQueryProcessorRDF::mBindingDependencies from nsCOMArray to nsTArray; r=bz 2012-07-30 16:48:02 +03:00
Aryeh Gregor
cc5b835612 Bug 778681 part 3 - Convert nsXULTemplateQueryProcessorRDF::mQueries from nsCOMArray to nsTArray; r=bz 2012-07-30 16:48:02 +03:00
Aryeh Gregor
50c29f19f4 Bug 778681 part 2 - Convert nsXULDocument::mUnloadedOverlays from nsCOMArray to nsTArray; r=bz 2012-07-30 16:48:02 +03:00
Aryeh Gregor
e64f56cb8b Bug 778681 part 1 - Make some nsHTMLSelectElement methods infallible; r=bz 2012-07-30 16:48:02 +03:00
Ben Turner
10787d0206 Bug 781256 - 'Share FileDescriptors across processes in preparation for OS-level sandbox'. r=khuey+cjones.
--HG--
rename : netwerk/base/public/nsIIPCSerializable.idl => netwerk/base/public/nsIIPCSerializableObsolete.idl
extra : transplant_source : %EB%18%9D%E6%B1%C6%26%A2%16%F3%85g%1A%25%B1%8E%A1%E72e
2012-08-16 00:02:32 -04:00
Masayuki Nakano
dcc77e57b8 Bug 782190 Implement onwheel attribute and onwheel property on window, document and element r=smaug, sr=jst 2012-08-16 08:09:42 +09:00
Neil Deakin
c3d4dfaf57 Bug 743975 - Remove events that are now unused, r=smaug 2012-08-15 14:52:42 -04:00
Neil Deakin
ebcdb10b44 Bug 743975 - remove accessibility events from widget, replace with a nsBaseWidget::GetAccessible method, r=trevsaunders 2012-08-15 14:52:37 -04:00
John Schoenick
5e8c71800a Bug 781265 - Remove old logic that double-creates frameloaders in nsObjectLoadingContent. r=josh 2012-08-15 11:26:36 -07:00
John Schoenick
1336ce86e5 Bug 782707 - Avoid an assertion in nsObjectLoadingContent. r=josh 2012-08-15 11:26:35 -07:00
John Schoenick
882f758477 Bug 781394 - Don't fire plugin errors for plugins that never got to a determined type. r=josh 2012-08-15 11:26:35 -07:00
Ed Morley
9cdd0db8cb Merge mozilla-central to mozilla-inbound 2012-08-15 19:00:48 +01:00
Gregor Wagner
f79e6cb659 Bug 781355 - Hook up mozBrowser to Permission Manager. r=jlebar 2012-08-15 10:22:30 -07:00
Masayuki Nakano
7ab97ad2aa Bug 782739 Handle new mousewheel prefs in browser_fullZoom.js r=smaug+dao 2012-08-16 00:51:13 +09:00
Benoit Jacob
19c5d673a6 Bug 763355 - attempt to fix timeouts in WebGL mochitest on Android slaves by avoiding loading the js-test-post.js script - r=jgilbert
Indeed, we have data here showing that the timeouts are caused by failure to load this file. Reason not yet understood.
2012-08-14 12:59:14 -04:00
Aryeh Gregor
1091dc5149 Bug 782252 - Change named constants to correct types; r=ehsan 2012-08-07 18:11:35 +03:00
Aryeh Gregor
1f5f272808 Bug 782252 - Cast NS_ENUMERATOR_FALSE to nsresult; r=ehsan 2012-08-07 17:54:44 +03:00
Aryeh Gregor
dbff4eaa1c Bug 782252 - Convert declared types to nsresult; r=ehsan 2012-08-06 15:02:31 +03:00
Masayuki Nakano
c5307640f6 Bug 782903 Set enough long timeout time in test_bug422132.html r=smaug 2012-08-15 22:28:17 +09:00
Robert Longson
41330707fe Bug 782387 - Blank SVG rendering, after clicking a link to a view fragment and then navigating back. r=dholbert 2012-08-15 12:50:48 +01:00
Aryeh Gregor
c29a19dfd3 Bug 563659 part 3 - Make Element inherit from FragmentOrElement; r=bz 2012-06-27 16:01:55 +03:00
Aryeh Gregor
dc689d9e7a Bug 563659 part 2 - Create FragmentOrElement and move all nsGenericElement functionality to it; r=bz
--HG--
rename : content/base/src/nsGenericElement.h => content/base/public/FragmentOrElement.h
rename : content/base/src/nsGenericElement.cpp => content/base/src/FragmentOrElement.cpp
2012-06-27 16:01:55 +03:00
Trevor Saunders
829d31a16c bug 683855 implement width and height attributes for html inputs r=bz 2012-06-27 01:17:31 -04:00
Josh Matthews
1de8cc6897 Bug 722861 - Add privacy information to image requests, and use a separate cache for private requests. r=joe 2012-06-26 00:20:12 -04:00
Andrew McCreight
3f6c58c43d Bug 749366 - Remove mostly bogus size arg from CC callbacks. r=smaug 2012-08-27 10:41:04 -07:00
Ehsan Akhgari
4549b4f331 Bug 579517 follow-up: Remove NSPR types that crept in 2012-08-27 12:28:11 -04:00
Marshall Moutenot
bb2f4a9d43 Bug 784315 - fix CSP parser to handle single-token hosts via regex correctly. r=geekboy 2012-08-27 08:51:02 -07:00
Philipp von Weitershausen
5801c8b2ab Bug 776825 - Separate message managers into senders and broadcasters. r=smaug
--HG--
rename : content/base/public/nsIFrameMessageManager.idl => content/base/public/nsIMessageManager.idl
2012-08-27 11:13:02 -03:00
Benjamin Peterson
de7d529c1c Bug 781035 - Use the C++ JS compile API in more places. r=jorendorff sr=jst 2012-08-27 08:04:37 -04:00
Ms2ger
f900f266f1 Backout bug 781731. 2012-08-27 12:27:40 +02:00
Anthony Jones
1257ef6e3e Bug 781731 - Fixed crash caused by an empty shadow region; r=Bas 2012-08-27 11:35:10 +02:00
Anthony Jones
cd3e2d436b Bug 781731 - Use a similar surface for non-blurred shadows to improve performance; r=roc 2012-08-27 11:34:33 +02:00
Anthony Jones
a31102686a Bug 781731 - Set azure shadow canvas size match thebes in order to match performance; r=roc 2012-08-27 11:34:12 +02:00
Anthony Jones
e1f0182516 Bug 781731 - Speed up shadows by using tee surface to avoid doing a read back; r=roc 2012-08-27 11:34:07 +02:00
Anthony Jones
8e7ebbe775 Bug 781731 - Fixed passing of text bounds to AdjustedTarget in order to limit the size of the temporary target; r=Bas 2012-08-27 11:31:36 +02:00
Chris Pearce
14f7d80c2c Bug 784932 - Allow HTMLMediaElement.buffered to be read when readyState > HAVE_NOTHING instead of > HAVE_METADATA. r=roc 2012-08-27 20:30:29 +12:00
Zoe Bellot
c7a4582c95 Bug 746142 - Part 2 - Use inputmode attribute to vary the virtual keyboard on Android. f=mounir r=cpeterson 2012-08-26 23:16:22 -03:00
Zoe Bellot
ca74cd158f Bug 746142 - Part 1 - Add inputmode attribute to HTMLInputElement. r=mounir sr=smaug 2012-08-17 11:53:44 +02:00
David Zbarsky
ae85eb5db3 Bug 785671 - nsHTMLMediaElement::mSrcStreamListener should be an nsRefPtr r=roc 2012-08-26 19:33:56 -04:00
David Zbarsky
76fa752392 Bug 785630 - nsIDocument's mAttrStyleSheet can be nsRefPtr r=khuey 2012-08-26 12:51:58 -04:00
David Zbarsky
c970dcfde7 Bug 785630 - nsIDocument's mstyleImageLoader can be nsRefPtr r=khuey 2012-08-26 12:51:49 -04:00
Kan-Ru Chen (陳侃如)
b6dc323f77 Bug 767480 - Remove offset field from PlanarYCbCrImage::Data. r=roc 2012-08-26 00:22:51 -03:00
Yury
f71d14e548 Bug 776208 - Plugin preview overlay. r=johns,jaws,margaret, sr=joshmoz 2012-08-25 17:18:44 -04:00
Daniel Holbert
be4e080a87 (no bug) fix an instance of end-of-line whitespace, so I can label this push as DONTBUILD since it just backs out & relands a cset (no code changes, other than this whitespace fix) 2012-08-25 10:06:10 -07:00
Robert Longson
292fc70a0c Bug 783915 - Make SVG Fragment identifier processing more robust. r=dholbert 2012-08-25 10:02:34 -07:00
Daniel Holbert
f02731254d back out 8247f7b038ce because it landed with the wrong bug # in commit message (said bug 785017, should've said bug 783915) 2012-08-25 10:01:48 -07:00
Robert Longson
d35423bd41 Bug 785017 - Make SVG Fragment identifier processing more robust. r=dholbert 2012-08-25 11:07:54 +01:00
Benjamin Smedberg
b8603666c1 Revert bug 776208 for semi-consistent failures:
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/browser_pluginplaypreview.js | Test 1a, the overlay about: content is expected
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/browser_pluginplaypreview.js | an unexpected uncaught JS exception reported through window.onerror - TypeError: Components.classes is undefined at jar:file:///c:/talos-slave/test/build/firefox/omni.ja!/chrome/toolkit/content/global/about.xhtml:38
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/browser_pluginplaypreview.js | an unexpected uncaught JS exception reported through window.onerror - TypeError: Components.classes is undefined at jar:file:///c:/talos-slave/test/build/firefox/omni.ja!/chrome/toolkit/content/global/about.xhtml:38
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/browser_pluginplaypreview.js | Found an unexpected tab at the end of test run: jar:file:///c:/talos-slave/test/build/firefox/omni.ja!/chrome/toolkit/content/global/about.xhtml
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/browser_pluginplaypreview.js | Found an unexpected tab at the end of test run: chrome://mochitests/content/browser/browser/base/content/test/plugin_test.html

CLOSED TREE
2012-08-24 13:08:15 -04:00
Yury
b3e51b2f82 Bug 776208 - Plugin preview overlay. r=johns,jaws,margaret, sr=joshmoz 2012-08-24 16:18:16 -04:00
Kyle Huey
1a68eab98d Bug 783162: Make mapped attributes hold the image alive. r=bz
The nsCSSValue in nsGenericHTMLElement::MapBackgroundInto is a temporary.  This causes a problem after Bug 697230 landed, because the nsCSSValue::Image we put into that value is destroyed once we're done doing style stuff.  Previously the nsImageLoader would grab the request off the nsCSSValue::Image and hold it alive.  Bug 697230 changed the behavior here; now when the nsCSSValue::Image is destroyed it tells the image loader to drop the request.  The result is that all the references to the request are dropped and the frame is never told it has a background.

The solution is to keep the nsCSSValue::Image alive longer.  This patch adds two new types of nsAttrValue.  The first is an nsCSSValue::URL.  A ParseBackgroundAttribute method is added on nsGenericHTMLElement that the relevant elements (body/td/th/table/tr/tbody/thead/tfoot) call that parses background into an nsCSSValue::URL.  The second is an nsCSSValue::Image.  nsGenericHTMLElement::MapBackgroundInto attempts to convert the nsCSSValue::URL into an nsCSSValue::Image by kicking off the image load.  The result is that image loads are only started when the element is actually visible.  This also mirrors the way background-image works.  This also allows us to fix two longstanding bugs in this code.  Since MapBackgroundInto doesn't have a pointer to the actual element, it relied on grabbing the principal of the document.  Now we can grab the principal of the node in ParseBackgroundAttribute.  MapBackgroundInto also has no way to get at the element's base URI (to honor xml:base), which is now possible in ParseBackgroundAttribute.

nsCSSValue::[Image|URL] have also been moved to be mozilla::css::[Image|URL]Value.  nsAttrValue.h is included in external linkage code, so it can't include nsCSSValue.h to get the declarations of nsCSSValue::[Image|URL], and nested classes can't be forward declared.  Moving the classes to a namespace solves the problem.

Finally some old inoperative quirks mode code was removed.  This code has done nothing since Bug 273078 was landed in 2004.
2012-08-24 10:50:49 -07:00
Benjamin Smedberg
583084b3a2 Revert bug 776208 for semi-consistent failures:
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/browser_pluginplaypreview.js | Test 1a, the overlay about: content is expected
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/browser_pluginplaypreview.js | an unexpected uncaught JS exception reported through window.onerror - TypeError: Components.classes is undefined at jar:file:///c:/talos-slave/test/build/firefox/omni.ja!/chrome/toolkit/content/global/about.xhtml:38
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/browser_pluginplaypreview.js | an unexpected uncaught JS exception reported through window.onerror - TypeError: Components.classes is undefined at jar:file:///c:/talos-slave/test/build/firefox/omni.ja!/chrome/toolkit/content/global/about.xhtml:38
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/browser_pluginplaypreview.js | Found an unexpected tab at the end of test run: jar:file:///c:/talos-slave/test/build/firefox/omni.ja!/chrome/toolkit/content/global/about.xhtml
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/browser_pluginplaypreview.js | Found an unexpected tab at the end of test run: chrome://mochitests/content/browser/browser/base/content/test/plugin_test.html

--HG--
extra : rebase_source : e000988677d466b4796c5b2a51968f586743e6db
2012-08-24 13:08:15 -04:00
Benoit Jacob
63c08f3f80 Bug 777028 - honor gfx.work-around-driver-bugs for Mesa WebGL workaround - r=jgilbert 2012-08-23 14:56:17 -04:00
Andrew McCreight
ae88d3a894 Bug 782735 - turn nsNodeInfoManager into a non-leaking native CC class. r=smaug 2012-08-24 09:50:06 -07:00
Andrew McCreight
471b1a13bf Bug 782485 - turn nsXULPrototypeNode into a native CC class. r=smaug 2012-08-24 09:50:06 -07:00
Andrew McCreight
62325fa9f3 Bug 750570, part 4 - Switch most native CC classes to use the purple buffer. r=smaug
This patch actually converts over most of the existing native CC classes
to use the participant. This is done by converting them to use
the newly generalized nsCycleCollectingAutoRefCnt instead of their usual
ref count.

This is mostly a matter of defining new macros defining AddRef() and Release()
for native CC classes with the CC ref count.

nsTimeout is left as a legacy native CC class because it is a weird class,
but hopefully eventually it too can be converted over.  See bug 774874.
2012-08-24 09:50:06 -07:00
Yury
51f5276dad Bug 776208 - Plugin preview overlay. r=johns,jaws,margaret sr=joshmoz
--HG--
extra : rebase_source : f9b13bbda1318dbdaa71b04b3e04736655e65081
2012-08-23 17:11:51 -04:00
Robert Longson
1345bb8a0e Bug 785017 - Use NS_GetStaticAtom in svg content where appropriate. r=dholbert 2012-08-24 08:29:09 +01:00
Matt Brubeck
5e47d4412f Back out 670c8a2695b3 (bug 771354), 134557d57e6e 4ad52e488977 (bug 774607), and...
036eb8c2a08a d4d36e3b948f 35334e820632 6bd07fd5147d d49e7c0d762c 407f19deb14c d84551808abb (bug 774633)
on a CLOSED TREE
2012-08-23 21:34:27 -07:00
Ralph Giles
ce957c9c8b Bug 766331 - Don't rescan old data for Ogg timestamps - r=cpearce
nsOggReader::RangeEndTime() relied on CRC values from valid ogg
pages to keep track of already-searched data when looking for a
end timestamp. This caused quadratic behaviour searching in a
section of a file with no valid pages.

Instead, remember where we last looked, and backoff immediately
if we go more than the maximum length of a page into previously
scanned data. This avoids searching data we've eliminated as
containing valid Ogg pages and lets us search backward with O(N)
instead.
2012-06-25 09:38:56 -07:00
Daniel Holbert
348d6c9a3d Bug 666041 patch 2: Add "-moz-flex" & "-moz-inline-flex" values for "display" property. r=bz 2012-06-26 15:11:38 -07:00
Bill McCloskey
2fab59d87e Bug 766717 - nsNodeInfoManager needs to be able to add itself to the purple buffer (r=smaug) 2012-06-26 13:35:29 -07:00
Mark Goodwin
a0a94d6984 Bug 712859 - show CSP policy violation messages in the web developer console. r=bz 2012-06-26 13:34:41 -07:00
Jonathan Watt
6380335603 Bug 767388 - Kill NS_DEBUG. r=bz.
--HG--
extra : rebase_source : d045208a26345712dbb4628c973c616cd9504f28
2012-06-25 20:59:42 +01:00
Ryan VanderMeulen
2661c4efbe Merge m-c to inbound. 2012-07-20 17:37:53 -04:00
Robert O'Callahan
c4ac2b7c5f Bug 771135. Add MediaStreamListener::NotifyPull to give SourceMediaStream generators an easy way to implement pulling data from some source. r=jesup 2012-07-20 12:36:03 -07:00
Jonathan Watt
77a641125d Bug 614732 - Implement display list based painting and hit-testing for SVG. r=roc.
--HG--
extra : rebase_source : 77e55885fbbf428008f5be787ddeb7e561c0d9bd
2012-07-20 14:12:29 -04:00
Benjamin Peterson
7243e1144c Bug 761723 - Load chrome source code when it's needed for Function.prototype.toSource(). r=bz
--HG--
extra : rebase_source : d8b058ff15515ad3fcce7e8ebffa016dbf1d2df4
2012-07-20 20:19:42 +02:00
Benjamin Peterson
d1064385b3 Bug 761723 - Save script sources to implement Function.prototype.toString. r=jorendorff,njn,jimb,jst,Ms2ger
--HG--
extra : rebase_source : de1b55647780a30f98fe84d29ee3cb4a437a3ece
2012-07-20 20:17:38 +02:00
David Keeler
12645e6e65 bug 760625 - use the blocklist to inform click-to-play plugins. r=joshmoz,bmcbride 2012-07-11 08:56:34 -07:00
Anant Narayanan
2a355449fc Bug 691234: Part 1/3: Move MediaEngine files and tweak interface; r=roc
--HG--
rename : content/media/MediaEngine.h => content/media/webrtc/MediaEngine.h
rename : content/media/MediaEngineDefault.cpp => content/media/webrtc/MediaEngineDefault.cpp
rename : content/media/MediaEngineDefault.h => content/media/webrtc/MediaEngineDefault.h
2012-06-19 17:29:43 -07:00
Benoit Jacob
eae0b8c0a9 Bug 760323 - fix --disable-webgl : let it also disable the bindings and s3tc extension - r=bz 2012-07-12 01:30:17 -04:00
Anant Narayanan
bb04cfc046 Backout 431ab4d097c9, bustage 2012-07-11 21:51:20 -07:00
Anant Narayanan
a268b8a7a6 Backout 431ab4d097c9, bustage 2012-07-11 21:45:20 -07:00
Anant Narayanan
de0f08c487 Backout 038e89521330, bustage 2012-07-11 21:44:16 -07:00
Anant Narayanan
641e5c597a Bug 691234: Part 2/3: Implement WebRTC backend for MediaEngine on Desktop; r=jesup, r=roc 2012-07-11 21:22:24 -07:00
Anant Narayanan
f8751ea4ae Bug 691234: Part 1/3: Move MediaEngine files and tweak interface; r=roc
--HG--
rename : content/media/MediaEngine.h => content/media/webrtc/MediaEngine.h
rename : content/media/MediaEngineDefault.cpp => content/media/webrtc/MediaEngineDefault.cpp
rename : content/media/MediaEngineDefault.h => content/media/webrtc/MediaEngineDefault.h
2012-06-19 17:29:43 -07:00