Boris Zbarsky
39660aee15
Bug 567511. Don't consider document.domain when deciding whether to taint a canvas. r=roc
2012-08-29 01:14:47 -04:00
Chris Pearce
ce03c78256
Bug 785909 - Don't init FileMediaResource::mSize on the main thread. r=roc
2012-08-29 15:55:57 +12:00
Matthew Gregan
7f1be93029
Bug 785967 - Reject Wave files with invalid data block size in the format chunk. r=doublec
2012-08-28 18:21:58 +12:00
Ryan VanderMeulen
93bb5ffbd7
Merge m-c to inbound.
2012-08-28 13:23:42 -04:00
Olli Pettay
ec8a1d0493
Bug 784259 - nsDOMMutationObserver should inherit nsWrapperCache, r=peterv
2012-08-28 18:25:19 +03:00
Ed Morley
2b2533f754
Bug 752796 - Disable test_streams_element_capture{,_reset}.html on Windows for too many timeouts. r=kinetik
2012-08-28 12:59:33 +12:00
Andrea Marchesini
2e3a4473c5
Bug 783562 - blob: protocol wrong Content-Type header. r=sicking
2012-08-27 19:34:30 -04:00
Andrea Marchesini
4924648d1f
Bug 782342 - blob: protocol no Content-Length header. r=sicking
2012-08-27 19:34:29 -04:00
Phil Ames
cd2459e50f
Bug 690168. Implement the 'Allow-From' directive for X-Frame-Options. r=bzbarsky
2012-08-27 15:46:24 -04:00
Josh Matthews
22c30bb0c4
Back out bug 722861.
2012-08-27 15:31:29 -04:00
Boris Zbarsky
1d5a53d649
Bug 784869. Stop allowing undefined as the second argument to createPattern in the WebIDL 2d context bindings. r=peterv
2012-08-28 13:10:10 -04:00
Boris Zbarsky
ccd4da9732
Bug 732209 part 4. Propagate the CORS state throughout the CSS loading process. r=sicking,dbaron
2012-08-28 13:10:08 -04:00
Boris Zbarsky
927e2bc32d
Bug 732209 part 3. Communicate the CORS state of preloads to the CSS loader. r=sicking,hsivonen
2012-08-28 13:10:08 -04:00
Boris Zbarsky
41ac1056bf
Bug 732209 part 2. Communicate the CORS state of style link loads to the CSS loader. r=sicking
2012-08-28 13:10:07 -04:00
Boris Zbarsky
8f232d40ed
Bug 732209 part 1. Clean up nsContentSink methods that used to take an element and now don't. r=sicking
2012-08-28 13:10:07 -04:00
Ben Turner
3ebc67242c
Bug 786003 - 'Fix file handle leak in nsDOMFileReader, add tests to IndexedDB'. r=jst.
...
--HG--
extra : transplant_source : %FB%7Ew%94%1C%9D%29%DD%B9%08%EC%FC%E5N%B7P%3F.1%C9
2012-08-28 07:59:18 -07:00
Rafael Ávila de Espíndola
3ae64f38a4
Bug 786148 - s/IPC/ipc/. r=ted.
...
This makes our builds a bit more reproducible. Without it when processing
#include "IPC/IPCMessageUtils.h
we end up in
#include "ShadowLayers.h"
which in the final XUL translates into the symbol (run nm -a to see it):
- 00 0000 SOL ../../../../gfx/layers/IPC/ShadowLayers.h
now when some file in gfx/layers/ipc does
#include "ShadowLayres.h"
the file found is the local one with the lowercase directory name and we end up
with
- 00 0000 SOL ../../../../gfx/layers/ipc/ShadowLayers.h
--HG--
extra : rebase_source : 96c68f6a3448eedaa280039960df911a9c707cac
2012-08-28 08:41:04 -04:00
John Schoenick
07ef6a9ca8
Bug 784185 - object/embed tags without a type shouldn't display plugin error frames. r=josh
2012-08-28 13:34:16 -07: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
Boris Zbarsky
2b5786b5f1
Bug 784809. Allow null for the repeat argument of canvas createPattern. r=peterv
2012-08-23 12:23:23 -07:00
Luke Wagner
94264a0bc8
Bug 625199 - s/JSAutoEnterCompartment/JSAutoCompartment/ and make it infallible (r=bholley)
...
--HG--
extra : rebase_source : 12acf2288285f5caefd7fecea8207de3a47eab5b
2012-08-21 18:42:53 -07:00
Luke Wagner
18c0268620
Bug 625199 - kill dummy frames (r=mrbkap)
...
--HG--
extra : rebase_source : df4e3bddabf20cdc5b9122370fa62b40e64177c7
2012-08-17 18:05:06 -07:00
Matthew Gregan
1ddcfabab5
Bug 596453 - Fix typo in test_error_on_404.
...
--HG--
extra : rebase_source : b9d8a71051c06a17d59ba321e2c62c095fa917b8
2012-08-24 11:51:37 +12:00
Bobby Holley
a2d7eabc5a
Bug 774607 - Remove use of JS_{Is,Make}SystemObject from Gecko. r=bz
...
We currently set this for system globals and anything whose parent
chain leads to a system global. Maybe this was relevant before, but
with CPG this is just equivalent to asking whether the object is in
a system compartment. And the only place where we _check_ this bit
is immediately after checking for a system compartment, in
WrapperFactory. So AFAICT this can go away entirely.
2012-08-23 16:44:53 -07:00
Daniel Holbert
7aec61a9d3
Bug 785191: Push a null JSContext when binding / unbinding image elements in a document. r=bz
2012-08-23 16:24:58 -07:00
Matt Brubeck
0e09726934
Back out 156eaa94f73c (bug 782786) and 05d1a3fba90b (bug 777028) for frequent Linux reftest failures on a CLOSED TREE
2012-08-23 14:47:07 -07:00
Matt Brubeck
31933d7e8b
Back out b88ccf7bd3e3 for Linux test_canvas.html failures on a CLOSED TREE
2012-08-23 14:08:42 -07:00
Ben Turner
0727b7098c
Bug 784726 - 'Remove old IPC::URI'. r=cjones+khuey.
...
--HG--
rename : ipc/glue/IPCSerializableParams.ipdlh => ipc/glue/InputStreamParams.ipdlh
extra : transplant_source : %A6%BC%8B%8D%3A_%7Df%2B%FE%AA%94%81%AB%CAW%15K%A7%03
2012-08-23 12:33:46 -07:00
Boris Zbarsky
9d2ad14dab
Bug 784809. Allow null for the repeat argument of canvas createPattern. r=peterv
2012-08-23 12:23:23 -07:00
Benoit Jacob
95a8db507f
Bug 777028 - honor gfx.work-around-driver-bugs for Mesa WebGL workaround - r=jgilbert
2012-08-23 14:56:17 -04:00
Bobby Holley
7d93b33884
Bug 784560 - Fix more tests. r=mccr8
2012-08-23 11:45:28 -07:00
Robert O'Callahan
e70e7093ce
Bug 779715. Part 8: Make it safe to call MediaInputPort::Destroy after streams at both ends of the port have been destroyed. r=jesup
...
We had problems because we'd call Destroy on a port after calling Destroy on
its streams. This patch makes the port's Destroy ControlMessage not use a stream,
instead we get the stream from the port directly. It also makes us update the
graph's mPortCount only when the port is finally destroyed; this fixes a potential
bug where the current graph could shut down when all streams are removed, before
all ports have been completely destroyed.
--HG--
extra : rebase_source : 3245fa64b79fb8a75c17190f1a4a2af6d42a5012
2012-08-24 00:46:20 +12:00
Robert O'Callahan
982fceed0a
Bug 779715. Part 7: Update test_streams_element_capture_reset.html to test new functionality. r=cpearce
...
test_streams_element_capture_reset.html is updated to test that mozCaptureStreamUntilEnded actually stops
capturing when the stream ends. It also tests that seeking and reloading the media resource keep
feeding a mozCaptureStream stream, and feed the right amount of data.
--HG--
extra : rebase_source : 07faf20b8a99b5e7dcdfb27b3a2096fdfd570f45
2012-08-20 16:57:12 +12:00
Robert O'Callahan
727fa86a21
Bug 779715. Part 6: Rework capturing MediaStreams from media elements to use TrackUnionStreams. r=cpearce,jesup
...
Moves to a new setup where a decoder manages a single SourceMediaStream internally. Each stream
returned from mozCaptureStream(UntilEnded) is a TrackUnionStream which is fed by the
decoder's SourceMediaStream.
We want the captured streams to be blocked while the media element is not playing. We do that
by blocking any captured stream that has no SourceMediaStream feeding into it, and blocking
any SourceMediaStream while its decoder is not playing.
We arrange for the decoders's PlaybackEnded to be delayed until its SourceMediaStream has
finished according to the media stream graph. This ensures the state of captured media streams
corresponds more closely to the media element state.
--HG--
extra : rebase_source : 3324ff0e9bdce9c71a23c0f5f2032815e9046081
2012-08-01 00:17:22 +12:00
Chris Double
31255e897a
Backout bug 730765 Part 3/3
...
--HG--
extra : rebase_source : 2aadbb2419cceeac30bd95484e37ab905525662f
2012-08-24 00:12:53 +12:00
Chris Double
9543e95d97
Backed out changeset 5583ccdfea18
2012-08-23 22:42:14 +12:00
Paul Adenot
15058d402d
Bug 730765 - Media cache shouldn't be used when loading from blob: urls. r=biesi
2012-08-21 16:00:23 -07:00
Ehsan Akhgari
7a743fcc5b
Bug 784536 - Use the name of the enum value directly as opposed to access it from the enum's scope; r=dzbarsky
2012-08-21 19:06:50 -04:00
Ryan VanderMeulen
351d01c8ff
Backout 3ce94808577b, 56f288230d5a, and 18ff170ecb1f (bug 730765) for bustage. r=fail
2012-08-21 18:45:54 -04:00
Daniel Holbert
bfd9bbf0da
Bug 784828 patch 2: Make nsSVGAttrTearoffTable lookups use nsRefPtr instead of manual NS_ADDREF refcounting, in nsSVGLength2.cpp. r=longsonr
2012-08-22 23:24:43 -07:00
Daniel Holbert
650d35d1e1
Bug 784828 patch 1: Make nsSVGAttrTearoffTable lookups use nsRefPtr instead of manual NS_ADDREF refcounting, in DOMSVG*List.cpp. r=longsonr
2012-08-22 23:24:41 -07:00
Paul Adenot
7751daec1e
Bug 730765 - Media cache shouldn't be used when loading from blob: urls. r=biesi
2012-08-15 10:36:12 -07:00
David Keeler
8c1cb54acb
Bug 767636 - expose plugin fallback type to extensions. r=jaws
2012-08-21 12:40:07 -07:00
Bobby Holley
625511572e
Bug 784233 - Relax __exposedProps__ check for sandboxes until we can repack AMO addons. r=gal
2012-08-21 10:27:08 -07:00
Paul Adenot
9670c86dc2
Bug 775319 - Determine the sample format at compile time for all media code. r=kinetik
2012-08-16 18:10:36 -07:00
Kan-Ru Chen (陳侃如)
cd9d182e06
Bug 767480 - Gralloc backed video buffer. r=roc
2012-08-21 18:22:58 +08:00
Kan-Ru Chen (陳侃如)
f5e3f3d680
Bug 767480 - PlanarYCbCrImage Refactoring. r=roc
2012-08-21 18:18:20 +08:00
Kan-Ru Chen (陳侃如)
22db9a8e93
Back out c8f7bace9cf9, 17ec4e01c126 (bug 767480) r=bustage
2012-08-21 17:55:02 +08:00
Kan-Ru Chen (陳侃如)
2225b447e6
Bug 767480 - Gralloc backed video buffer. r=roc
2012-08-21 14:59:42 +08:00
Kan-Ru Chen (陳侃如)
4787af5685
Bug 767480 - PlanarYCbCrImage refactoring. r=roc
2012-08-21 17:31:36 +08:00
Chris Pearce
cdc788f72d
Bug 779914 - Remove redundant reset of nsHTMLMediaElement::mAudioStream. r=kinetik.
2012-08-21 17:07:00 +12:00
Chris Pearce
3eaba47273
Bug 779914 - Reset Mozilla Audio Data API in nsHTMLMediaElment::AbortExistingLoads(). r=doublec
2012-08-21 17:06:55 +12:00
Chris Double
90e10cebf3
Bug 783927 - Handle zero length audio reads in stagefright backend to fix audio issues - r=cpeterson
2012-08-21 17:03:21 +12:00
Bobby Holley
da84660fd1
Backed out changeset 61e9eaf9aae2
...
--HG--
extra : rebase_source : 30fb2e7a057482412d29a96f8b8e98135beb6a79
2012-08-20 21:07:07 -07:00
David Zbarsky
fbb04700b6
Bug 784004 - Don't include Layers.h everywhere Part 3 r=nical
2012-08-21 00:06:46 -04:00
Bobby Holley
e4a6e10695
Bug 784233 - Relax __exposedProps__ check for sandboxes until we can repack AMO addons. r=gal
2012-08-20 21:03:44 -07:00
L. David Baron
876e60a116
Back out nsXBLPrototypeHandler changes from changeset d09b4e60bb09 to fix bug 776075.
2012-08-20 19:23:32 -07:00
L. David Baron
8861dbb7d3
Only do hyphenation when the language was specified explicitly, rather than using an encoding-inferred language. (Bug 702121, patch 2) r=jfkthame
2012-08-20 19:23:32 -07:00
Ryan VanderMeulen
f12fa88179
Merge m-c to inbound.
2012-08-20 20:21:35 -04:00
Olli Pettay
baa2eb76c7
Bug 783856 - Autogen PopupBlockedEvent, r=jst
2012-08-20 11:26:34 -07:00
Matthew Gregan
48474f4d83
Bug 783940 - Remove unnecessary nsOggDecoderStateMachine class. r=cpearce
2012-08-20 15:59:25 +12:00
Matthew Gregan
70f8167360
Bug 783179 - Remove unused mCbCrSize and mCbCrBuffer members from nsBuiltinDecoderStateMachine. r=doublec
2012-08-16 18:07:26 +12:00
Matt Woodrow
7591d1ef12
Bug 782372 - Fix clang build. r=nical
2012-08-20 14:39:10 +12:00
Masayuki Nakano
b147137040
Bug 422132 part.3 Disable smooth scroll in the new test due to random orange r=smaug
2012-08-20 11:46:08 +09:00
Masayuki Nakano
f19581794b
Bug 422132 part.2 Add new tests r=smaug
2012-08-20 11:46:08 +09:00
Matthew Gregan
a1936af774
Bug 780490 - Re-enable test_seek, test_seek_out_of_range, and test_timeupdate_small_files on Linux. (Also bug 780491 and bug 780492). Test only.
2012-08-20 12:10:05 +12:00
Nicolas Silva
047b99ba78
Bug 782372 - Splits ImageLayers.h into ImageLayers.h ImageContainer.h and ImageTypes.h, r=bgirard
2012-08-19 15:33:25 -04:00
Phil Ringnalda
00e466bc6f
Merge mozilla-central to mozilla-inbound
2012-08-19 11:20:45 -07:00
Phil Ringnalda
1b1d28cb1f
Merge last PGO-green changeset from mozilla-inbound to mozilla-central
2012-08-19 11:17:28 -07:00
Masayuki Nakano
3a537dd0d1
Bug 422132 part.1 Store unused fractional scroll amount for later wheel events r=smaug
2012-08-20 01:46:21 +09:00
Kyle Huey
806819677e
Bug 773435: Remove some extraneous nsIImageLoadingContent includes. r=jlebar
2012-08-18 12:15:04 -07:00
Bobby Holley
4a569927e2
Bug 553102 - Make content-> access default to deny if __exposedProps__ is not defined. r=mrbkap
2012-08-17 23:14:55 -07:00
Bobby Holley
88955fb8ce
Bug 553102 - Remove unnecessary SpecialPowers wrap in test_canvas.html. r=me
...
I put this in in bug 778420, but it looks like it wasn't necessary, since the
tests seem to pass without it. It's on the critical path for this longish-running
test, and it also breaks stuff with respect to __exposedProps__. Let's kill it.
2012-08-17 23:14:55 -07:00
Gregor Wagner
fc14a541a1
Bug 781331 - Hook up systemXHR to permissions manager. r=sicking
2012-08-17 17:42:00 -07:00
Sid Stamm
8b2cf899c7
Bug 783497 - Fix CSPSource expression intersection to resolve "self" data. (r=jst)
2012-08-17 15:03:24 -07:00
John Schoenick
6328e14f3f
Bug 781126 - Part 2 - nsObjectLoadingContent should call shouldLoad and shouldProcess sanely. r=jst
2012-08-17 14:45:04 -07:00
David Keeler
02cf2b5342
Bug 767636 - Expose plugin fallback type to extensions. r=josh
2012-08-17 14:24:00 -07:00
John Schoenick
938f9eee42
Bug 783351 - Remove unused variable. r=josh
2012-08-17 14:24:00 -07:00
John Schoenick
9b1ae05e71
Bug 782707 - Move waiting-on-channel bailout to after we potentially close it in nsObjectLoadingContent. r=josh
2012-08-17 14:24:00 -07:00
John Schoenick
1b88c21ec0
Bug 782703 - Ensure object tags get reloaded when unbound/rebound to the tree. r=josh
2012-08-17 14:24:00 -07:00
John Schoenick
24f0735a86
Bug 767639 - nsObjectLoadingContent - Remove activeX stubs and simpify classid/java handling. r=josh
2012-08-17 14:23:59 -07:00
Justin Lebar
c9bb43d3c4
Bug 776129 - Part 1: When an <iframe mozbrowser> calls window.open, the resulting frame must be OOP iff the opener frame is OOP. r=smaug
...
--HG--
extra : rebase_source : 14db2573db5e9d8ffb72798f3d856f98e49f8a83
2012-08-17 17:07:54 -04:00
Paul Adenot
80b3876f46
Bug 762282 - Don't notify the HTMLMediaElement if we reach the end of the media while seeking for metadata. r=chris.double
2012-08-17 10:01:08 -07:00
Brian R. Bondy
703b837984
Bug 731307 - Use async filepicker from /content. r=mounir
2012-08-17 11:35:01 -04:00
Ed Morley
7a68f05d39
Backout 506268f7735e & ea163112807d (bug 746142) for Android build failures
2012-08-17 12:30:02 +01:00
Zoe Bellot
ccf0a0450d
Bug 746142 - Part 2 - Use inputmode attribute to vary the virtual keyboard on Android. f=mounir r=cpeterson
2012-08-17 12:02:18 +02:00
Zoe Bellot
db5a881e7f
Bug 746142 - Part 1 - Add inputmode attribute to HTMLInputElement. r=mounir sr=smaug
2012-08-17 11:53:44 +02:00
Ed Morley
2d0ee22719
Backout 2b5b8baa5816 (bug 767636) for causing bug 783836
2012-08-19 02:08:13 +01:00
Chris Jones
d0eff0d38b
Bug 776069: Disable remote audio for gonk. Sigh. r=kinetik
2012-08-18 16:14:37 -07:00
Ed Morley
46062461e7
Bug 608634 - Disable test_error_in_video_document.html for too many intermittent failures; r=philor
2012-08-18 23:59:34 +01:00
Ed Morley
70e369a460
Backout 41722f2e0c33 (bug 422132), 69da5f098237 (bug 782903), 5c601428c70b (bug 422132) for bug 782903
2012-08-18 23:29:13 +01:00
Chris Jones
b565a218be
Bug 783736: Load in-gecko controls for media-plugin types. r=roc
2012-08-18 14:48:25 -07:00
Matthew Gregan
4a8b47119c
Bug 770945 - Back out unnecessary change. r=backout
2012-08-17 16:52:08 +12:00
Chris Pearce
274d465a14
Bug 775965 - Ensure presentation persists across nsSubDocumentFrame reframes. r=roc
2012-08-14 16:06:44 +12:00
Matthew Gregan
25a5e3ddb3
Bug 782876 - Remove unnecessary returns from event handlers in media tests. r=doublec
2012-08-15 16:41:24 +12:00
Matthew Gregan
2c8e9d8fe6
Bug 770945 - Simple media events shouldn't be cancelable. r=roc
2012-08-14 15:26:43 +12:00
Masayuki Nakano
843864393f
Bug 422132 part.2 Reset DeltaAccumulator::mPendingScrollAmountX and DeltaAccumulator::mPendingScrollAmountY if the direction is changed r=smaug
2012-08-17 10:32:15 +09:00
Masayuki Nakano
ac015d98bb
Bug 782175 Support slower scroll settings with mousewheel.*.delta_multiplier_* r=smaug
2012-08-17 10:32:15 +09:00
Chris Pearce
8ceac78a9d
Bug 781384 - Allow web apps to exit fullscreen outside of user generated event handlers. r=jlebar
2012-08-17 12:47:48 +12:00
Chris Pearce
a7be937da8
Bug 782852 - Assume fullscreen/pointer lock is approved hwhen full-screen-api.approval-required pref is false. r=smaug
2012-08-17 12:47:37 +12:00
Jim Blandy
15c77f9995
Bug 777174: Change CallNonGenericMethod to take the predicate and implementation as template arguments, not function arguments. r=luke
...
On x86_64 Fedora 17, this patch yields an 8ms (1.6%) speedup on SunSpider compared to the tree just prior to the introduction of CallNonGenericMethod, or a ~12ms (2.8%) speedup compared to the tree just after the introduction.
2012-08-16 11:40:05 -07:00
Marshall Moutenot
ae371ade93
Bug 737064 - sync CSP source-expression parsing with w3c spec (r=geekboy)
...
--HG--
extra : rebase_source : 895ec1b90e688f14e5c19af1411c4b2631cbc818
2012-08-16 11:02:17 -07:00
Andrew McCreight
b4633218eb
Bug 782677 - Misc. fixes for CHECK_VALID_NODEINFO, and demacro it. r=smaug
2012-08-16 08:07:55 -07: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
Ed Morley
966fee8835
Backout bcac58cbf328 & 9c75f0428f8a (bug 775965) for causing bug 782981
2012-08-15 18:10:55 +01:00
Ed Morley
42369890c2
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-08-15 16:17:53 +01:00
Kyle Huey
fa127e8648
Merge m-c to b-s.
2012-08-15 06:25:20 -07:00
Olli Pettay
aeda425867
Bug 780199 - better mutationobserver handling when attribute value doesn't change, r=sicking
2012-08-15 13:06:01 +03:00
Kyle Huey
30cef0f1d5
Merge m-c to b-s.
2012-08-14 11:14:40 -07:00
Kyle Huey
725de5f1f9
Bug 683290: Followup to placate nsObjectLoadingContent. r=johns
2012-08-14 10:15:45 -07:00
Kyle Huey
aac95c6560
Bug 683290: Followup to placate nsObjectLoadingContent.
2012-08-14 10:04:39 -07:00
Ehsan Akhgari
805b10b6d6
Merge removal of nsnull
2012-08-14 11:29:00 -04:00
Kyle Huey
4dcafaedea
Bug 697230: Part 3 - Make style images block onload. r=bz
2012-08-13 16:04:17 -07:00
Kyle Huey
2fc3f31d0c
Bug 697230: Part 2 - Push onload blocking logic down into imagelib. r=joe sr=bz
2012-08-13 15:58:53 -07:00
Kyle Huey
0cc1c18795
Bug 697230: Part 1 - Centralize style image observers. r=bz
2012-08-13 15:04:19 -07:00
Kyle Huey
e3dadea704
Bug 683290: Discard images that are not in the DOM. r=bz
2012-08-13 15:11:50 -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
Kyle Huey
adc77cb365
Bug 685516: Instead of decoding small images synchronously and large images asynchronously, always decode synchronously for some time, and post the remainder to the event loop if necessary. r=joe
2012-08-13 11:12:15 -07:00
Mark Capella
7e0b8d3bac
Bug 772272 - Remove do_load_httpd_js from xpcshell tests, Misc Folders, r=ted
...
Content, DOM, Image, JS, RDF, and URILoader folders
2012-08-14 10:06:17 -04:00
Aryeh Gregor
6a9cec29c8
Bug 626472 part 3 - Remove nsnull for good; r=ehsan
2012-08-12 13:43:47 +03:00
Chris Pearce
e847557147
Bug 775965 - Ensure presentation persists across nsSubDocumentFrame reframes. r=roc
2012-08-14 16:06:44 +12:00
Alexander Boldyrev
45a38ebb0b
Bug 738866 - Implement WEBGL_depth_texture extension - r=jgilbert
2012-08-13 18:17:55 -07:00
Ryan VanderMeulen
902d64ba8e
Merge m-c to inbound.
2012-08-11 23:34:26 -04:00
Masayuki Nakano
539ddd3a14
Bug 719320 fix bustage r=no
2012-08-12 12:32:30 +09:00
Ryan VanderMeulen
870142e530
Merge inbound to m-c.
2012-08-11 22:33:42 -04:00
Masayuki Nakano
dc168c0fe1
Bug 719320 part.18 Clean up legacy mouse scroll event r=smaug
2012-08-12 10:42:37 +09:00
Masayuki Nakano
fef53e910a
Bug 719320 part.11 Fix new test failures r=smaug
2012-08-12 10:42:36 +09:00
Masayuki Nakano
054c5d328e
Bug 719320 part.10 Add new tests and remove tests for old ESM's legacy mouse scroll event handler r=smaug
2012-08-12 10:42:36 +09:00
Masayuki Nakano
d3e3af5edb
Bug 719320 part.8-11 Cancel applying delta multipliers from overflowDelta r=smaug
2012-08-12 10:42:36 +09:00
Masayuki Nakano
53c900db7e
Bug 719320 part.8-9 Handle WheelEvent.deltaZ in ESM r=smaug
2012-08-12 10:42:36 +09:00
Masayuki Nakano
737ff36abf
Bug 719320 part.8-8 widget should be able to speicify the scroll type r=smaug
2012-08-12 10:42:36 +09:00
Masayuki Nakano
3cdce54608
Bug 719320 part.8-7 Implement the other default actions of WheelEvent r=smaug
2012-08-12 10:42:36 +09:00
Masayuki Nakano
aa2205d526
Bug 719320 part.8-6 Init lineOrPageDeltaX and lineOrPageDeltaY from accumulated delta values if the wheel event is caused by pixel scroll only device or the delta values have been modified with prefs r=smaug
2012-08-12 10:42:36 +09:00
Masayuki Nakano
5ef8537b0b
Bug 719320 part.8-5 Dispatch legacy mouse scroll events before dispatching wheel event into system group if the wheel event isn't consumed r=smaug
2012-08-12 10:42:35 +09:00
Masayuki Nakano
cee821b532
Bug 719320 part.8-4 Implement D3E WheelEvent handler for scroll r=smaug
2012-08-12 10:42:35 +09:00
Masayuki Nakano
e828866df7
Bug 719320 part.8-3 Redesign nsMouseWheelTransaction for D3E WheelEvent r=smaug
2012-08-12 10:42:35 +09:00
Masayuki Nakano
1bc02406f9
Bug 719320 part.8-2 GetScrollAmount() should return both width and height for oblique wheel event r=smaug
2012-08-12 10:42:35 +09:00
Masayuki Nakano
92d1e07e69
Bug 719320 part.8-1 Drop legacy mouse scroll events from IPC r=smaug
2012-08-12 10:42:35 +09:00
Masayuki Nakano
a2e667b6b9
Bug 719320 part.7 Drop NS_QUERY_SCROLL_TARGET_INFO handler from ESM r=smaug
2012-08-12 10:42:35 +09:00
Masayuki Nakano
a418ba8a35
Bug 719320 part.6 Separate pixel delta value accumulation code r=smaug
2012-08-12 10:42:35 +09:00
Masayuki Nakano
1818fe2fb2
Bug 719320 part.5 Redesign mouse wheel action prefs r=smaug
2012-08-12 10:42:35 +09:00
Masayuki Nakano
d26b327f14
Bug 719320 part.4 Remove mousewheel.*.*numlines and add mousewheel.*.delta_multiplier_* r=smaug
2012-08-12 10:42:34 +09:00
Masayuki Nakano
785b73e21d
Bug 719320 part.3 Use ComputeScrollTarget() for deciding detail value of legacy mouse scroll events r=smaug
2012-08-12 10:42:34 +09:00
Masayuki Nakano
06c7f1baf6
Bug 719320 part.2 Separate code for deciding scroll target from nsEventStateManager::DoScrollText() r=smaug
2012-08-12 10:42:34 +09:00
Masayuki Nakano
c748a0f833
Bug 719320 part.1 Add DOM3 WheelEvent r=smaug, sr=jst
2012-08-12 10:42:34 +09:00
Honza Bambas
541453729c
Bug 215450: Allow uploading of files greater than 2gb in size. Involves making input streams 64-bit capable. Significant work done by Makoto Kato, finished by Honza Bambas. r=hbambas,bsmedberg,jdrew,sicking
2012-08-10 22:44:11 -04:00
David Zbarsky
b462ec011a
Bug 773842 - Fix build warnings under content/ r=mounir
2012-08-10 14:01:16 -04:00
Alexandros Chronopoulos
b42d0e9db4
Bug 748144 - Support multichannel Opus files. r=rillian
...
The Opus audio format supports multichannel (surround) audio, but our initial implementation used a simpler API which only supported mono and stereo output.
To handle these files gracefully, this patch uses the multichannel api and downmixes the output, if possible, to stereo, since we don't currently support surround sound playback.
2012-08-09 15:53:23 -07:00
Justin Lebar
1994f4ebb3
Bug 780761 - Fix race condition in initialization of message manager for popups from <iframe mozbrowser>. r=smaug
...
Calling show() causes EnsureMessageManager() to SetCallbackData() on the message manager. If we don't do this, then the message manager will throw when we try to send a message.
2012-08-13 15:19:09 -04:00
Justin Lebar
0d4822afe2
Bug 777135 - Part 2: Stop using nsDOMWindowUtils::GetIsApp and friends, and instead use the relevant methods on the principal. r=mounir
...
--HG--
extra : rebase_source : fa8a153a1edc8f64b230b67f121ba5eaaf1098e6
2012-08-13 12:58:38 -04:00
Masayuki Nakano
b88a7758de
Bug 659071 DoScrollZoom() should check if the event target is under XUL document rather than checking if it's XUL element r=smaug
2012-08-13 23:20:13 +09:00
Masayuki Nakano
933a9ad01b
Bug 782181 Remove unused method nsMouseWheelTransaction::IsAccelerationEnabled() r=smaug
2012-08-13 21:11:20 +09:00
Mounir Lamouri
1077929b19
Bug 782227 - Add a todo() when there is no invalid form submission observer (content/ tests). r=Ms2ger
2012-08-13 12:14:34 +02:00
Matt Woodrow
41a9a1a13c
Bug 539356 - Part 31 - Call Azure canvas DidTransactionCallback even when painting from DrawWindow(). r=roc
2012-08-13 22:10:57 +12: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