Commit Graph

15494 Commits

Author SHA1 Message Date
Rick Eyre
73e8300de5 Bug 833382 - Implement WebVTTLoadListener r=cpearce,bz
- Implemented WebVTTLoadListener to manage the webvtt parser.
- TextTrackCue now handles the conversion of webvtt nodes to
  anonymous content which will be displayed on the video div
  overlay.
- HTMLTrackElement manages the lifetime of the WebVTTLoadListener.
2013-06-10 08:30:00 -07:00
Paul Adenot
633030a223 Bug 865244 - Test for AudioContext.destination.maxChannelCount. r=ehsan 2013-06-10 19:32:28 +02:00
Paul Adenot
7bd9ae8ec4 Bug 865244 - Implement AudioContext.destination.maxChannelCount. r=ehsan 2013-06-10 19:32:28 +02:00
Paul Adenot
4042de8a8d Bug 865244 - Expose the maximum channel count in the AudioStream. r=kinetik 2013-06-10 19:32:28 +02:00
Rick Eyre
a3ed8d4819 Bug 875169 - Fix crash when loading an HTMLTrackElement. r=bz
Previously we had been trying to load a DOMString that already has
a string buffer by using the DOMString::&operator. This causes a
MOZ_ASSERT error in DOMString. Solution is to add function overloads
to HTMLTrackElement's getters that just use nsString in the first place.
2013-05-23 19:57:00 -07:00
Mike Habicher
a4ff9b75f8 Bug 879478 - fix regressions when starting camera (crash and de-virtualized functions -- see also bug 880780), r=roc 2013-06-10 15:01:19 -04:00
Sotaro Ikeda
fb0816d02d Bug 871485 - Share hw codec between applications/tasks. r=mwu, r=doublec, r=roc 2013-06-10 08:22:05 -04:00
Kyle Huey
fa511cb934 Bug 877584: Route JS holding through the cycle collection runtime so it can do different things on different threads. r=mccr8 2013-06-09 16:02:02 -07:00
Ivaylo Dimitrov
90b6f694ef Bug 880029 - gstreamer - high CPU usage after patch for Bug 856562 landed. r=alessandro.d 2013-06-08 20:53:10 +01:00
Sankha Narayan Guria
2bfc77e0ce Bug 880265 - Remove AudioBufferSourceNode.gain; r=ehsan 2013-06-08 00:55:04 +05:30
Jon Coppeard
d99e2a4f5c Bug 860573 - Part 2 - Use spare bits of wrapper cache flags for nsINode r=smaug 2013-06-08 09:54:59 +01:00
Boris Zbarsky
6a7b47964f Bug 877281 part 6. Replace ${jsvalPtr} with a MutableHandle ${jsvalHandle}. r=peterv
It's a little unfortunate that we need both ${jsvalHandle} and
${jsvalRef}, but the only other option is to consistently have a
MutableHandle in this code.  If the thing we have to work with is a
Rooted, that means doing JS::MutableHandle<JS::Value>(&myRooted) as
the thing to substitute for ${jsvalHandle}.  Just using "&myRooted"
doesn't work, because things like "&myRooted.set()" or
"&myRooted.address()" fail, even if parenthesized as
"(&myRooted).set()", because &myRooted is actually a Rooted*, not a
MutableHandle.

We could go the JS::MutableHandle<JS::Value>(&myRooted) route if
desired; it would primarily uglify dictionary and sequence to-js
conversions.  With the setup in this patch, ideally it looks pretty
idiomatic except for the use of .set() instead of operator= on Rooted.
2013-06-07 22:45:46 -04:00
Trevor Saunders
b2546f7648 bug 877886 - get rid of a number of static constructors in content/ and dom/ r=smaug 2013-05-30 18:34:53 -04:00
David Zbarsky
bdf2a2f2ed [Bug 879998] Remove some dead code in content/ r=Ms2ger, emk 2013-06-07 14:05:57 -07:00
David Zbarsky
ca3ddd10cc Bug 880037: Don't try to mark message managers when we're not in the root process r=jlebar 2013-06-07 14:05:36 -07:00
David Zbarsky
936b80da0d Bug 879998 - Remove some dead code in content/events r=smaug 2013-06-07 11:42:13 -07:00
David Zbarsky
b52e2a3f6a Bug 798438 - Use a dictionary to set context options instead of an nsIPropertyBag r=bz 2013-06-07 11:42:12 -07:00
Paul Adenot
58b0235609 Bug 878875 - Port Blink's LayoutTest for PannerNode to mochitest-plain. r=ehsan 2013-06-07 20:06:40 +02:00
Paul Adenot
9b4fefabf4 Bug 878875 - Import PannerNode tests from Blink. r=ehsan
Imported from Blink SVN revision 152035
2013-06-07 20:06:40 +02:00
Ehsan Akhgari
69dd040cef Test case for bug 880724 2013-06-07 13:22:40 -04:00
Ehsan Akhgari
b0f5abb2d1 Test case for bug 880404 2013-06-07 11:29:25 -04:00
Ehsan Akhgari
021d3cb4b8 Test case for bug 880384
--HG--
extra : rebase_source : a77b7f0c32555d645c1903164e0a7740ac61ca19
2013-06-07 11:22:46 -04:00
Ehsan Akhgari
0260d850c7 Test case for bug 880342 2013-06-07 11:14:51 -04:00
Ryan VanderMeulen
f5c3e7c7b7 Merge inbound to m-c. 2013-06-07 11:10:54 -04:00
Ehsan Akhgari
1391c0772c Bug 880129 - Correctly handle AnalyserNodes with a buffer size smaller than 128; r=roc 2013-06-07 07:33:00 -04:00
Ryan VanderMeulen
24f3657c0a Merge m-c to fx-team. 2013-06-06 15:21:01 -04:00
Tim Taubert
0b02403a61 Bug 878747 - part 1 - implement 'nodefaultsrc' attribute for XUL frames; r=smaug 2013-06-06 21:05:21 +02:00
James Willcox
91c353d366 Bug 848482 - Make SourceSurface work with SkiaGL r=mattwoodrow
--HG--
extra : rebase_source : ef4a315401edfad5e574ffd387c9951b12f1e9d7
2013-06-06 10:58:45 -04:00
Andrea Marchesini
74860e8fe9 Bug 857116 - Remove nsIDOMHTMLCommandElement; r=Ms2ger 2013-06-06 15:57:26 +02:00
Ed Morley
c55145e3be Merge mozilla-central and inbound 2013-06-06 10:46:45 +01:00
Ed Morley
ba374cc04b Merge latest green birch changeset and mozilla-central 2013-06-06 10:44:11 +01:00
Michael Wu
a6e67842ea Bug 771551 - Add CSS Media Query for physical home buttons, r=heycam 2013-06-05 22:42:02 -04:00
David Bolter
db7f4014bd Bug 577727 - Make pinned tabs distinguishable from other tabs for accessibility. r=marcoz 2013-06-05 17:03:52 +02:00
Vladimir Vukicevic
903320a647 b=843599; use gralloc buffers for WebGL streaming on B2G; r=nical,jgilbert,jrmuizel 2013-05-27 10:12:13 -04:00
Peter Van der Beken
5eba9021ed Bug 877654 - Remove thisptr offset tables - Remove offset tables from non-HTMLElement objects and remove offset table macros. r=Ms2ger.
--HG--
extra : rebase_source : 6d6fbb260c564d295d33c76a1b21ffd7187eeae2
2013-05-21 21:59:27 +02:00
Peter Van der Beken
f4faf57e53 Bug 877654 - Remove thisptr offset tables - Replace HTML element QI map end macro with generic macros. r=Ms2ger.
--HG--
extra : rebase_source : 1a425102a6d183814e4afbb16ee3416e138567ff
2013-05-21 15:38:33 +02:00
Peter Van der Beken
e7eb39bee5 Bug 877654 - Remove thisptr offset tables - Replace HTML element table to map segue macros with generic macros. r=Ms2ger.
--HG--
extra : rebase_source : 9acc316cbf68bc841f6751603aa512138e2f6de6
2013-05-21 15:38:15 +02:00
Peter Van der Beken
d8f14564ed Bug 877654 - Remove thisptr offset tables - Replace HTML element offset table macros with generic QI macros. r=Ms2ger.
--HG--
extra : rebase_source : a90cbb2d5b25c6e8dee96d206dd6e4951d2b3cab
2013-05-21 15:07:38 +02:00
Peter Van der Beken
9512f5d3d4 Bug 877654 - Remove thisptr offset tables - Refactor HTML element QI macros. r=Ms2ger.
--HG--
extra : rebase_source : a4e166501aaf35617f369648155b566b6bac5761
2013-05-21 13:55:29 +02:00
Phil Ringnalda
d22d45ebed Back out 1ba9dc37c2ef:c6bc2193a72b (bug 877461) for b2g build bustage
CLOSED TREE
2013-06-05 23:38:04 -07:00
Robert O'Callahan
ad4b16ef20 Bug 877461. Part 3: Retry libstagefright audio/video decoding if it fails due to a timeout. r=sotaro 2013-06-06 11:43:43 +12:00
Robert O'Callahan
e2d82f6a04 Bug 877461. Part 2: Initialize VideoFrame members to 0. r=doublec 2013-06-06 10:48:25 +12:00
Robert O'Callahan
96f749ac49 Fix build bustage for bug 877461 2013-06-07 20:16:17 +12:00
Robert O'Callahan
ee22922f7e Bug 865537. Part 2: The Range used to track the source element pointer for a media element should not gravitate outside the media element. r=cpearce
--HG--
extra : rebase_source : 6d4d5de2f0841fe602821013f0a33bb035d1cb76
2013-06-07 16:26:55 +12:00
Robert O'Callahan
8c99c9f5e0 Bug 865537. Part 1: Add nsRange::SetEnableGravitationOnElementRemoval to suppress 'gravitation' behavior on node removal. r=smaug
--HG--
extra : rebase_source : 3823c3a0400c80b6f22021f22195f73febd5d85e
2013-06-07 16:26:28 +12:00
Robert O'Callahan
54857756c2 Bug 877461. Part 3: Retry libstagefright audio/video decoding if it fails due to a timeout. r=sotaro
--HG--
extra : rebase_source : 2ccd8afaca1e4055eb0105f25754176b0ff37034
2013-06-06 11:43:43 +12:00
Robert O'Callahan
30c4640f2a Bug 877461. Part 2: Initialize VideoFrame members to 0. r=doublec
--HG--
extra : rebase_source : d447561e74bc760c2ccbcba925e54579e3a15088
2013-06-06 10:48:25 +12:00
Peter Van der Beken
78659f5642 Bug 871849 - Correctly trace expando objects for OverrideBuiltin proxies. r=bzbarsky.
--HG--
extra : rebase_source : 0c848e1c18a366ecd95b1a9acc4b517d108131fe
2013-05-17 17:04:08 +02:00
Paul Adenot
558b667bdb Bug 878765 - Add missing incrementation in AudioBlockPanStereoToStereo. r=ehsan 2013-06-04 15:51:23 +02:00
Paul Adenot
d9670a9a90 Bug 877527. 2013-06-04 15:07:01 +02:00
Alfredo Yang
0709aa6320 Bug 855741 - Add test case for FocusEvent webidl. r=smaug 2013-06-05 08:02:51 -04:00
Alfredo Yang
f3f1eae58a Bug 855741 - Update Focus webidl from Event to FocusEvent. r=smaug 2013-06-05 08:02:51 -04:00
Bobby Holley
2efb065754 Bug 877478 - Fix tests that depend on creating verboten instances in content. r=mrbkap
XPConnect generally throws when trying to create instances of non-DOM objects
in content. Due to some bugs this has historically worked in certain cases, but
we're fixing those now. So we need to fix the tests that do this sort of thing.
2013-06-04 19:56:42 -07:00
Bobby Holley
30b74b2c6b Bug 877478 - Fix mochitests with problematic callbacks to use the new API. r=mrbkap 2013-06-04 19:56:41 -07:00
Bobby Holley
91c205adb7 Bug 877478 - Move crashtests that now error-out to chrome tests. r=mrbkap
These crashtests now throw, because we run XUL tests in content, and they create
forbidden objects and fail the CanCreateWrapper check. Unfortunately, the
crashtest harness isn't set up to catch onerror. And even if they were, they
wouldn't be testing what they wanted to, because all of the relevant work here
happens in onload.

--HG--
rename : content/xul/content/crashtests/236853.rdf => content/xul/content/test/file_bug236853.rdf
rename : content/xul/templates/src/crashtests/330010-1.rdf => content/xul/templates/tests/chrome/file_bug330010.rdf
rename : content/xul/templates/src/crashtests/329335-1.xul => content/xul/templates/tests/chrome/test_bug329335.xul
rename : content/xul/templates/src/crashtests/330010-1.xul => content/xul/templates/tests/chrome/test_bug330010.xul
2013-06-04 19:56:41 -07:00
Robert O'Callahan
cf39cf939f Fix bustage on a CLOSED TREE for bug 877461 2013-06-05 14:44:20 +12:00
Robert O'Callahan
cca52984c0 Bug 877461. Make MediaCache aggressively cache data just behind the current playback position. r=cpearce
This should help with the straight playback, non-seeking case where we get into
trouble because libstagefright video and audio codecs are reading from different
places.
2013-06-05 01:52:57 +12:00
Roberto Agostino Vitillo
9a36d271ff Bug 869703 - Fix failure to retrieve uniform. r=jgilbert 2013-06-04 20:51:58 -04:00
Jeff Gilbert
09828109d6 Bug 877309 - drawImage should copy from default framebuffer, not the currently bound fb. - r=bjacob 2013-06-04 15:25:57 -07:00
Guillaume Abadie
f2699b1354 Bug 879304 - Add "webgl.max-warnings-per-context" preference. r=bjacob 2013-06-04 15:44:08 -04:00
Ryan VanderMeulen
0599716525 Merge inbound to m-c. 2013-06-04 15:01:10 -04:00
Ryan VanderMeulen
63636e5fd9 Merge birch to m-c. 2013-06-04 15:00:37 -04:00
Justin Lebar
09e9ae0948 Bug 879214 - Try to fix race condition in test_audio_wakelock.html. r=baku
--HG--
extra : rebase_source : af1d40db2ed8395db183a14a229ad49e4bc36bf8
2013-06-04 12:00:40 -04:00
Wellington Fernando de Macedo
863cef57d8 Bug 869882 - [eventsource] Check HTTP status:204,205,210,299 readyState returns CONNECTING but not CLOSED and throws unreached assertion; r=bugs@pettay.fi 2013-06-04 12:34:15 +03:00
Randell Jesup
1409e2dda2 Bug 878945: rename RTCDataChannelInit dictionary items to match updated spec r=smaug 2013-06-03 17:34:42 -04:00
Frédéric Wang
4a644df437 Bug 878396 - Fix a regression with mspace@mathbackground. r=karlt 2013-06-04 08:22:51 -04:00
Nicholas Cameron
88238a55e8 Bug 863635. Make gfxPlatform smarter about when we can use Moz2D for content rendering r=Bas 2013-05-28 10:04:37 +12:00
Robert O'Callahan
96e4270e65 Bug 877135. Remove HTMLMediaElement::mozLoadFrom since it's nonstandard and no longer needed (setting 'src' to another element's 'currentSrc' works just as well). r=doublec
--HG--
extra : rebase_source : f1e04fe469a1757bfabfcf79bbf0fec29faee1c7
2013-06-04 15:28:23 +12:00
Robert O'Callahan
94b708cfbf Bug 874295. Fix viewport tests. r=mbrubeck
--HG--
extra : rebase_source : 48252cd24f804fbac3c6a7eaf7792fbc9c7584b8
2013-06-03 19:02:46 +12:00
Robert O'Callahan
9964dceee8 Bug 874295. On non-Android platforms (and eventually for Android), use call GetDefaultScale instead of GetDevicePixelsPerMetaViewportPixel. r=mbrubeck
--HG--
extra : rebase_source : 92e6c476f847349969430d96fa363b6f46bb8d5b
2013-05-30 16:34:32 +12:00
Ehsan Akhgari
62640d6e21 Bug 879014 - Part 2: Implement the alternate enum values for BiquadFilterNode; r=roc 2013-06-03 19:23:06 -04:00
Ehsan Akhgari
c444ec8b37 Bug 879014 - Part 1: Implement the alternate enum values for PannerNode; r=roc 2013-06-03 19:22:48 -04:00
Jeff Gilbert
3c7a1ee3fd Bug 880019 - MakeCurrent before readback in mozGetAsFile. - r=bjacob 2013-06-06 13:54:04 -07:00
Ryan VanderMeulen
352fd9b8a9 Bug 880202 - Skip crashtest on B2G due to failures. 2013-06-06 14:29:52 -04:00
Kyle Huey
b8b637e901 Back out bug 877584 on this CLOSED TREE. 2013-06-06 10:49:09 -07:00
Kyle Huey
8ffe7e2c57 Bug 877584: Route JS holding through the cycle collection runtime so it can do different things on different threads. r=mccr8 2013-06-06 10:23:45 -07:00
Ehsan Akhgari
d675b726e0 Bug 880202 - Revert bug 878765 because it introduces a buffer overflow 2013-06-06 12:36:57 -04:00
Olli Pettay
17622d452c Bug 875252, make type=file click() to work (again) even when the element isn't in the DOM, r=jst
--HG--
extra : rebase_source : e8fecce550d5fe91a524f1b47a8429165354ac90
2013-06-04 00:40:41 +03:00
Ryan VanderMeulen
a09ed88e64 Merge m-c to inbound. 2013-06-03 17:51:25 -04:00
Ryan VanderMeulen
ada96080a4 Merge m-c to birch. 2013-06-03 15:58:10 -04:00
Ryan VanderMeulen
7e8c2a6c93 Backed out 3 changesets (bug 877862, bug 878325) for mochitest-other orange on a CLOSED TREE.
Backed out changeset 803586f0a297 (bug 878325)
Backed out changeset d4a39e18e5a7 (bug 878325)
Backed out changeset 08a29f18500a (bug 877862)
2013-06-03 15:50:59 -04:00
Scott Johnson
2d7a268651 Bug 865654: Adjust offsets within text areas only so that other text controls get correct offsets. [r=blassey] 2013-06-03 11:27:48 -05:00
Ryan VanderMeulen
3dd3218865 Backed out 3 changesets (bug 877527, bug 878765) for mochitest-1 timeouts on a CLOSED TREE.
Backed out changeset 0bf1e71fe3cc (bug 877527)
Backed out changeset 8473deb5fba9 (bug 878765)
Backed out changeset 0d327854300c (bug 877527)
2013-06-03 15:01:20 -04:00
Bobby Holley
08442eca37 Bug 878325 - Propagate exceptions out of ResolveForwardReferences. r=bz 2013-06-03 11:27:42 -07:00
Bobby Holley
8dd33a69a6 Bug 878325 - Propagate exceptions out of CreateTemplateBuilder and LoadDataSources. r=bz 2013-06-03 11:27:41 -07:00
John Schoenick
423332eebc Bug 878363 - Disable -Wreserved-user-defined-literal for problematic gstreamer header. r=ted 2013-06-03 11:10:28 -07:00
Ryan VanderMeulen
c943988608 Merge m-c to inbound. 2013-06-03 11:58:20 -04:00
Sotaro Ikeda
1591798e76 Bug 874325 - Add lock to MediaStreamSource::readAt(). r=doublec 2013-06-03 10:41:54 -04:00
Ed Morley
ea32d76a43 Backed out changeset 70cf9c347db6 (bug 509719) for crashtest orange 2013-06-03 16:05:50 +01:00
Cameron McCormack
b63bd9c849 Bug 876831 - Only reflow nsSVGTextFrame2's anonymous block frame under ReflowSVG. r=bzbarsky,longsonr f=jwatt 2013-06-04 00:15:29 +10:00
Gijs Kruitbosch
689a755272 Bug 509719 - Fix crash in XULDocument::RemoveElement, r=bz 2013-06-03 12:05:58 +02:00
Michael Harrison
947ff9b473 Bug 772153 - Add support for unprefixed cursor:zoom-in/out. r=bz 2013-06-03 08:49:38 -04:00
Ed Morley
36b419c548 Bug 850181 - Skip conformance/textures/texture-mips.html on Ubuntu VMs since they intermittently pass and fail in equal measure 2013-06-03 13:09:52 +01:00
Paul Adenot
9e29aa84a4 Bug 877527. Forgot to hg add. 2013-06-03 19:15:41 +02:00
Paul Adenot
097c1a2a72 Bug 878765 - Add missing incrementation in AudioBlockPanStereoToStereo. r=ehsan 2013-06-03 15:48:58 +02:00
Paul Adenot
eb8ab95ec5 Bug 877527 2013-06-03 19:13:23 +02:00
Daniel Holbert
a32115ff8b Bug 877510: Undefine GetClassInfo in nsHTMLFormElement.h, in case someone #including us also #included a windows header that stupidly defined it to something else. r=smaug 2013-06-03 10:00:04 -07:00
Ms2ger
c1d0d7d622 Bug 878509 - Restore the HTMLImageElement.lowsrc, x, y attributes that were unintentionally removed; r=smaug 2013-06-02 17:38:25 +02:00
Ehsan Akhgari
5698703154 Bug 878478 - Disable looping of AudioBufferSourceNode when we detect that the loopStart offset is not less than the loopEnd offset; r=roc 2013-06-02 09:26:26 -04:00
Ehsan Akhgari
b319c56bac Bug 878328 - Sanitize the time argument of AudioParam.setValueCurveAtTime; r=roc 2013-06-02 09:26:06 -04:00
Ehsan Akhgari
dc0358066e Bug 878407 - Allocate a large enough delay buffer when the delay time fraction value is less than 0.5; r=roc 2013-06-02 09:25:46 -04:00
Ehsan Akhgari
7bb5a36eda Bug 878497 - Add a test case for AudioParam.setValueAtTime; r=roc 2013-06-02 09:25:16 -04:00
Trevor Saunders
6a25cfb54f bug 873622 - speed up nsXPConnect::GetXPConnect() and rename it since it never returns null r=bholley 2013-05-17 01:49:41 -04:00
Ms2ger
bc5533af63 Merge m-c to m-i. 2013-06-01 15:00:46 +02:00
Ms2ger
85e6673fb1 Bug 877910 - Make HTMLSelectElement.namedItem return 'HTMLOptionElement' instead of 'object'; r=bz 2013-06-01 08:56:34 +02:00
Gijs Kruitbosch
6d9aab9154 Bug 877669 - nsXULPopupListener shouldn't prevent default if there are no attributes, r=neil 2013-05-31 11:49:26 +02:00
Ehsan Akhgari
1e0789da84 Bug 878014 - Use double precision when sampling the delay AudioParam; r=roc 2013-06-01 03:02:46 -04:00
Jeff Gilbert
440186baa0 Bug 877934 - Only clear what we need to for off-fb ReadPixels. - r=bjacob 2013-05-30 18:54:00 -07:00
Boris Zbarsky
1f413ade51 Bug 861938. Make the CanvasWindingRule arguments be treated as missing if undefined is passed in. r=smaug 2013-06-05 20:51:22 -04:00
Trevor Saunders
404b82a6df backout bug 877886 for bustage 2013-06-05 17:50:30 -04:00
Chia-hung Tai
d75d680f5b Bug 810099 - B2G MMS: support onretrieving event. r=vyang 2013-05-10 13:39:22 -07:00
Trevor Saunders
82ade4173d bug 877886 - get rid of a number of static constructors in content/ and dom/ r=smaug 2013-05-30 18:34:53 -04:00
Ed Morley
747fbe02ba Merge mozilla-central and inbound 2013-06-11 16:24:51 +01:00
Benjamin Smedberg
167df5915e Bug 875454 - Rework handling of per-site plugin permissions in objectloadingcontent such that users can disable or enable plugins per-site no matter what their "global" permission is (currently only plugins marked click-to-activate globally honor per-site overrides). Also change the pageInfo UI such that "use default" is separate from the explicit click-to-play setting. r=jschoenick/jaws
--HG--
extra : rebase_source : e5bfba45eaa5619d695c484573b90303cc113181
2013-06-11 10:58:43 -04:00
Benjamin Smedberg
21b1ee6a24 Bug 880675 - Remove the writable nsIPluginTag.blocklisted property, which is a poorly-constructed cache of the blocklist data, r=jschoenick r=unfocused
--HG--
extra : rebase_source : 04fd347af86d9bb47493ca37455008dedcc570f4
2013-06-11 10:58:42 -04:00
Benjamin Smedberg
61a933f3ec Bug 881270 - Remove the MIME type fallback tests in test_bug391728 because they are testing the incorrect behavior and only happen to work because the test plugin remained blocklisted from a prior test. r=johns
--HG--
extra : rebase_source : c7b1d6e6f50f35598d8ca98c1527673542c6798d
2013-06-11 10:58:42 -04:00
Trevor Saunders
71950acab6 bug 880379 - move nsIScriptGlobalObjectOwner out of nsXULPrototypeScript::Compile() r=smaug 2013-02-15 14:19:54 -05:00
Trevor Saunders
a247690814 bug 880379 - remove nsIXULDocument::GetScriptGlobalObjectOwner() r=smaug 2013-02-15 11:22:51 -05:00
William Chen
49a27c0e2f Bug 840877 - Handle null undoManager in absence of documentElement. r=ehsan 2013-06-11 18:26:11 -07:00
Ryan VanderMeulen
8160849c2b Merge m-c to inbound. 2013-05-31 11:30:38 -04:00
Ryan VanderMeulen
16c564b736 Merge m-c to birch.
--HG--
rename : gfx/layers/TestTiledLayerBuffer.cpp => gfx/tests/gtest/TestTiledLayerBuffer.cpp
2013-05-30 20:52:56 -04:00
Andreas Gal
3ee8d0ff82 Bug 876099 - re-enable 3gp support in web content r=roc, a=gal 2013-05-30 10:52:58 -07:00
L. David Baron
b31121a2a1 Bug 234485: Map xml:lang attribute into style so that it's used for font selection and hyphenation. r=bzbarsky
The code in nsHTMLStyleSheet implements LangRule to map xml:lang into
style and the code to manage its uniqueness.

The change to nsGenericHTMLElement fixes the mapping of the HTML lang
attribute to do cascading the way all other rule mapping does so that
the cascading works correctly.

The tests test that the correct style language is used for hyphenation
by copying over a set of hyphenation reftests that check its basic
response to languages.  There are no specific tests for font selection,
but font selection is known to use the same language data from style.

I verified manually (see other attachments to bug) that the rule
uniqueness is being managed correctly.

--HG--
rename : layout/reftests/text/auto-hyphenation-1.html => layout/reftests/text/auto-hyphenation-xmllang-1.xhtml
rename : layout/reftests/text/auto-hyphenation-10.html => layout/reftests/text/auto-hyphenation-xmllang-10.xhtml
rename : layout/reftests/text/auto-hyphenation-1.html => layout/reftests/text/auto-hyphenation-xmllang-11a.xhtml
rename : layout/reftests/text/auto-hyphenation-1.html => layout/reftests/text/auto-hyphenation-xmllang-11b.xhtml
rename : layout/reftests/text/auto-hyphenation-4.html => layout/reftests/text/auto-hyphenation-xmllang-12a.xhtml
rename : layout/reftests/text/auto-hyphenation-4.html => layout/reftests/text/auto-hyphenation-xmllang-12b.xhtml
rename : layout/reftests/text/auto-hyphenation-1.html => layout/reftests/text/auto-hyphenation-xmllang-13a.xhtml
rename : layout/reftests/text/auto-hyphenation-1.html => layout/reftests/text/auto-hyphenation-xmllang-13b.xhtml
rename : layout/reftests/text/auto-hyphenation-4.html => layout/reftests/text/auto-hyphenation-xmllang-14a.xhtml
rename : layout/reftests/text/auto-hyphenation-4.html => layout/reftests/text/auto-hyphenation-xmllang-14b.xhtml
rename : layout/reftests/text/auto-hyphenation-1a.html => layout/reftests/text/auto-hyphenation-xmllang-1a.xhtml
rename : layout/reftests/text/auto-hyphenation-2.html => layout/reftests/text/auto-hyphenation-xmllang-2.xhtml
rename : layout/reftests/text/auto-hyphenation-3.html => layout/reftests/text/auto-hyphenation-xmllang-3.xhtml
rename : layout/reftests/text/auto-hyphenation-4.html => layout/reftests/text/auto-hyphenation-xmllang-4.xhtml
rename : layout/reftests/text/auto-hyphenation-5.html => layout/reftests/text/auto-hyphenation-xmllang-5.xhtml
rename : layout/reftests/text/auto-hyphenation-6.html => layout/reftests/text/auto-hyphenation-xmllang-6.xhtml
rename : layout/reftests/text/auto-hyphenation-7.html => layout/reftests/text/auto-hyphenation-xmllang-7.xhtml
rename : layout/reftests/text/auto-hyphenation-8.html => layout/reftests/text/auto-hyphenation-xmllang-8.xhtml
rename : layout/reftests/text/auto-hyphenation-9.html => layout/reftests/text/auto-hyphenation-xmllang-9.xhtml
2013-05-30 16:00:20 +08:00
Phil Ringnalda
fbdc14b941 Back out 87e2bfbb427d (bug 874295) for mochitest-1 failures
CLOSED TREE
2013-05-29 23:55:29 -07:00
Arnaud Sourioux
ac2132dad0 Bug 856822: Annotate ~1700 methods with MOZ_OVERRIDE in /content r=smaug 2013-05-29 13:43:41 -07:00
Robert O'Callahan
cc51ef48ef Bug 868405. Support 'enabled' attribute on MediaStreamTrack. r=jesup
--HG--
extra : rebase_source : ec29ae2e45979baaf1b6a085549755ba86cadd40
2013-05-30 16:44:43 +12:00
Robert O'Callahan
8b6e23f489 Bug 868405. Part 1: Add a few MOZ_OVERRIDES. r=jesup
--HG--
extra : rebase_source : 9fce360b62677439a353b2fb81d9bab92b659d13
2013-05-30 16:44:40 +12:00
Robert O'Callahan
e6dc7a239c Bug 874295. On non-Android platforms (and eventually for Android), use call GetDefaultScale instead of GetDevicePixelsPerMetaViewportPixel. r=mbrubeck
--HG--
extra : rebase_source : 9c0544baccfe277e9340d185f189eda174923eb4
2013-05-30 16:34:32 +12:00
Kyle Huey
3cc4ccd2f5 Bug 876555: Avoid including xpcprivate.h in most generated dom binding code. r=bz 2013-05-30 11:15:31 +08:00
Jeff Gilbert
6c51c32a3f Bug 877048 - Add support for comments and whitespace trimming to failed/skipped mochitest-gl tests. - r=bjacob 2013-05-29 17:49:12 -07:00
Jeff Gilbert
8bab05f83d Bug 877048 - Consistently use single quotes in new code. - r=bjacob 2013-05-29 17:49:12 -07:00
Jeff Gilbert
de3747b1cb Bug 877048 - Add failing test list for android+nvidia for tegra2 slaves. - r=bjacob 2013-05-29 17:49:12 -07:00
Jeff Gilbert
24a78b62c7 Bug 877048 - Make mochitest-gl detection of os/version/driver modular. - r=bjacob 2013-05-29 17:49:11 -07:00
Jeff Gilbert
d908105467 Bug 877048 - Factor getting driver info out into a self-contained function for mochitest-gl. - r=bjacob 2013-05-29 17:49:11 -07:00
Ehsan Akhgari
286425d4f4 Crashtest for bug 868504 2013-05-30 20:59:09 -04:00
Ehsan Akhgari
72c63d4e5c Bug 877820 - Improve the argument checking for OfflineAudioContext's sampleRate argument; r=roc 2013-05-30 20:54:07 -04:00
Ehsan Akhgari
6f0d7033ca Bug 876273 - Only attempt to delete the media graph when the last stream goes away if we're waiting for all streams to be destroyed; r=roc 2013-05-30 20:53:51 -04:00
Ehsan Akhgari
13fff291bf Bug 876024 - Sanity check all of the time values passed to Web Audio; r=roc 2013-05-30 20:53:15 -04:00
Ehsan Akhgari
d822bd3533 Bug 877523 - Correctly handle small maximum delay values for DelayNode; r=roc 2013-05-30 20:52:26 -04:00
Chris Pearce
590f37edd9 Bug 870400 - Calculate audio timestamps for WMF based on audio frames played, rather than trusting the container's timestamps. r=padenot 2013-05-31 11:34:52 +12:00
Boris Zbarsky
7392630c95 Bug 877540. Fix remaining unsafe reference hazards in browser code. r=terrence 2013-05-30 17:46:48 -04:00
Boris Zbarsky
a3d695962d Bug 865377. Give EventTarget a chrome-only getter that returns its global. r=smaug
The idea is that you then do things like t.dispatchEvent(new t.ownerGlobal.Event("something")).
2013-05-30 17:46:39 -04:00
Ehsan Akhgari
b64aed8e7c Bug 877039 - Set the Web Audio maximum channel count to 32; r=roc
--HG--
extra : rebase_source : 7e5bb51cd3bd9b4fbe01649af8f14e17cf6b3042
2013-05-30 14:25:52 -04:00
Andrea Marchesini
571b536df0 Bug 877638 - Crash in WakeLockBoolWrapper::UpdateWakeLock when running crashtests. r=ehsan 2013-05-30 11:26:12 -04:00
Cameron McCormack
a46f56dda8 Bug 876323 - Avoid recomputing mPositions when COORD_CONTEXT_CHANGED unless percentages were used. r=jwatt 2013-05-30 10:44:55 +10:00
Ehsan Akhgari
df64361ce8 Bug 877231 - Make the error checking for the OfflineAudioContext constructor more strict; r=roc
--HG--
extra : rebase_source : 123a39f3d4a169c85927b4e23f99a9962efc4452
2013-05-29 19:35:30 -04:00
Michael Brennan
18d8f09c5b Bug 829603 - Change charsets to strings in nsIDocShell. r=hsivonen 2013-05-25 16:09:30 +02:00
Ehsan Akhgari
2577c23c9a Bug 877125 - Handle the case where the expected number of channels for the offline AudioDestinationNode and the actual input number of channels do not match; r=roc
--HG--
extra : rebase_source : 432c10fe039b24b1aea1d0329ebef37f9e62cd0a
2013-05-29 19:33:14 -04:00
Cosmin Clapon
15d861e7f3 Bug 764996 - Dir attribute mapping. r=karlt 2013-05-29 19:26:40 -04:00
Ryan VanderMeulen
468b93224a Backed out changeset a966aadd9ae3 (bug 856822) for Windows bustage on a CLOSED TREE. 2013-05-29 17:56:10 -04:00