Commit Graph

27555 Commits

Author SHA1 Message Date
Antonio M. Amaya
a039485f76 Bug 1022791 - Keep previous values for PROMPT permissions on system updates. r=fabrice 2014-11-03 02:24:00 -05:00
Carsten "Tomcat" Book
bd30faa5c9 Merge mozilla-central to b2g-inbound 2014-11-12 16:11:42 +01:00
Carsten "Tomcat" Book
948e7a2ea4 Backed out changeset 53e23b1b3642 (bug 1092450) for test bustage 2014-11-12 11:19:26 +01:00
David Anderson
a7471fe91b Put meta viewport support behind a pref (bug 1092450, r=kats).
--HG--
extra : rebase_source : 888513255b2d672643beb9933ebb67ac6a2452ca
2014-11-12 00:15:40 -08:00
David Major
b7838d5451 Bug 1097283: Fix count/byte mismatches in NS_ABORT_OOM calls. r=froydnj
--HG--
extra : rebase_source : a9f4ae9e6f05e5ade56b741fa2f110974c5f08ac
2014-11-12 21:13:44 +13:00
Matt Woodrow
d49117d925 Bug 1097375 - Implement MediaSource::setDuration. r=kinetik
--HG--
extra : rebase_source : 7e5f5387de5db3deccc6e74222b32f461359beb2
2014-11-12 17:11:33 +13:00
David Major
e70355d1e5 Bug 1091008 bustage fix - the second parameter was unused and removed by changeset 6907c1cb8bc0 CLOSED TREE
--HG--
extra : amend_source : 70685616cb814de1f0d8fc641b626682905075e3
2014-11-12 18:24:29 +13:00
Kan-Ru Chen (陳侃如)
e3650fe425 Bug 1044736 - Part 6. Widget should only require embed-widgets permission. r=fabrice
As discussed on dev-webapi[1] the app that wants to use widgets only
need the "embed-widgets" permission to use <iframe mozbrowser mozwidget>

If the app also wants to implement a browser, it could request the
"browser" separately. A <iframe mozbrowser mozwidget> will have
restricted mozbrowser API defined on the prototype if the embedder has
the "brower" permission; they will always throw when used.

[1]: https://groups.google.com/d/msg/mozilla.dev.webapi/uQweGWtVKRA/Bj1jZq3LN-0J

--HG--
rename : dom/apps/tests/test_widget.html => dom/apps/tests/test_widget_browser.html
2014-11-12 19:27:32 +08:00
Kan-Ru Chen (陳侃如)
533b505fab Bug 1044736 - Part 5. Extract tests functions to file_test_widget.js. r=fabrice 2014-11-12 19:27:32 +08:00
Kan-Ru Chen (陳侃如)
7b748bb7ba Bug 1044736 - Part 4.3. Export BrowserElementParent component from BrowserElementParent.js. r=bz,fabrice 2014-11-12 19:27:32 +08:00
Kan-Ru Chen (陳侃如)
53a533505e Bug 1044736 - Part 4.2. Rename BrowserElementParent.jsm to BrowserElementParent.js. r=bz,fabrice
--HG--
rename : dom/browser-element/BrowserElementParent.jsm => dom/browser-element/BrowserElementParent.js
2014-11-12 19:27:32 +08:00
Kan-Ru Chen (陳侃如)
23d47bc56f Bug 1044736 - Part 4.1. Delete old BrowserElementParent.js. r=bz,fabrice 2014-11-12 19:27:32 +08:00
Kan-Ru Chen (陳侃如)
fc3be95159 Bug 1044736 - Part 3. Make BrowserElementParent implement nsIBrowserElementAPI and use it. r=bz,fabrice 2014-11-12 19:27:31 +08:00
Kan-Ru Chen (陳侃如)
36617edbff Bug 1044736 - Part 2. Add nsIBrowserElementAPI.idl and implement nsBrowserElement. r=bz 2014-11-12 19:27:31 +08:00
Kan-Ru Chen (陳侃如)
a4aab03400 Bug 1044736 - Part 1. Add BrowserElement.webidl and stub implementation. r=bz 2014-11-12 19:27:31 +08:00
Yoshi Huang
40974d05e0 Bug 1097442 - Part 2: rename nsINfcEventListener. r=dimi
From f2abd94c7d0c1f79c55b813bcd32a1b2761949d1 Mon Sep 17 00:00:00 2001
---
 dom/nfc/gonk/Nfc.js             | 2 +-
 dom/nfc/gonk/NfcService.cpp     | 2 +-
 dom/nfc/gonk/NfcService.h       | 2 +-
 dom/nfc/gonk/nsINfcService.idl  | 8 ++++----
 dom/nfc/nsINfcContentHelper.idl | 6 +++---
 dom/nfc/nsNfc.js                | 2 +-
 6 files changed, 11 insertions(+), 11 deletions(-)
2014-11-12 11:22:36 +08:00
Yoshi Huang
7b50cbd594 Bug 1097442 - Part 1: rename eventTarget to eventListener. r=dimi
From 3e4d4deffb10f715e03725700d4078aa98cc1803 Mon Sep 17 00:00:00 2001
---
 dom/nfc/NfcContentHelper.js     | 18 +++++++++---------
 dom/nfc/gonk/Nfc.js             | 28 ++++++++++++++--------------
 dom/nfc/nsINfcContentHelper.idl | 13 +++++++------
 dom/nfc/nsNfc.js                |  4 ++--
 4 files changed, 32 insertions(+), 31 deletions(-)
2014-11-12 10:26:09 +08:00
Jason Orendorff
4b7cb49bce Bug 1058252 - Use of uninitialized value in DOMProxyHandler::delete_. r=bz.
--HG--
extra : rebase_source : cc8437789c3a9e307c4ba851ded49a7d2afd538d
2014-10-30 16:51:32 -05:00
Bobby Holley
6bb6f36de7 Bug 1093020 - Tests. r=karlt 2014-11-11 20:50:22 -08:00
Bobby Holley
356c46f407 Bug 1093020 - Don't use a buffering wait for MSE. r=cpearce 2014-11-11 20:50:22 -08:00
Bobby Holley
21c29c6312 Bug 1063323 - Tests. r=cajbir 2014-11-11 20:50:22 -08:00
Bobby Holley
dbc96fc572 Bug 1096597 - Switch to buffering mode on WAITING_FOR_DATA. r=cpearce 2014-11-11 20:50:22 -08:00
Bobby Holley
6b0f6dc55f Bug 1091008 - Reimplement HasLowUndecodedData in terms of GetBuffered. r=cpearce
Since GetBuffered now has a sane implementation for MSE, this should
make this function sane for MSE as well.
2014-11-11 20:50:21 -08:00
Bobby Holley
c2ce46072f Bug 1091008 - Remove special handling for MSE in HTMLMediaElement::Buffered. r=cajbir
The same code will now be reached by invoking this method on the decoder.
2014-11-11 20:50:21 -08:00
Bobby Holley
d114248ee6 Bug 1091008 - Implement a sensible GetBuffered override for MediaSourceReader using the existing GetBuffered on MediaSource. r=cajbir 2014-11-11 20:50:21 -08:00
Bobby Holley
a8b29b832b Bug 1091008 - Remove the aStartTime argument from MediaDecoderReader::GetBuffered. r=cpearce
We now have this stashed on the superclass.
2014-11-11 20:50:21 -08:00
Bobby Holley
bb3c4d25f1 Bug 1091008 - Teach MediaDecoderReader about its start time. r=cpearce
Duplicating state is never great, but this lets the reader make calculations
using this immutable state variable without involving the state machine. We
could alternatively punch a hole from MediaDecoderReader to
MediaDecoderStateMachine and access it there, but that would create tighter
coupling, and weird relationships for MSE.
2014-11-11 20:50:20 -08:00
Bobby Holley
36a9fb4e35 Bug 1091008 - Make sure to always set mStartTime via SetStartTime. r=cpearce 2014-11-11 20:50:20 -08:00
Bobby Holley
882a2e8acd Bug 1091008 - Factor out IsDataCachedToEndOfResource() into a higher-level question and answer it sensibly for MSE. r=cpearce 2014-11-11 20:50:20 -08:00
David Major
b8f2362dd9 Backed out changeset 8a4595cc5ec4 for Linux build failure on a CLOESD TREE
just kidding it's a CLOSED TREE

--HG--
extra : rebase_source : 163a9bff0ad836095057d5911b792c34517d14cc
2014-11-12 17:19:15 +13:00
Chris Double
88a86034eb Backout 471009c10ae0 for web platform test failure on CLOSED TREE 2014-11-12 17:13:10 +13:00
Chris Double
ac68c94749 Backout 39fcd286ce68 for web platform test failure 2014-11-12 17:12:16 +13:00
David Major
da3daae259 Bug 1097283: Fix count/byte mismatches in NS_ABORT_OOM calls. r=froydnj
--HG--
extra : rebase_source : b24e0b9d2e491ace3c045ee6b01e36b33c3ac21d
2014-11-12 15:42:53 +13:00
Anthony Jones
20feb4c8fb Bug 1096157 - Add IsMediaSegmentPresent() for MP4; r=mattwoodrow 2014-11-12 16:37:43 +13:00
Shawn Huang
9bce597139 Bug 1096194 - Responding Enhanced call control with ERROR if enhanced call control is not supported, r=btian 2014-11-12 11:15:21 +08:00
Karl Tomlinson
e04362ca98 backout bug 1096132 for Mac build failure
--HG--
extra : rebase_source : 6994fe50e8fb1a4f89298e1b9ad1c714acdfe39e
2014-11-12 16:02:34 +13:00
Chris Double
2fb56f7879 Bug 1065215 - Fix EME test for changes to MediaSource::endOfStream - r=cpearce 2014-11-12 15:53:47 +13:00
Chris Double
1078731c5e Bug 1065215 - MSE endOfStream() called within an 'updateend' event can fail with 'object no longer usable' - r=karl
Reopens the MediaSource when SourceBuffer::Remove is called on an Ended
MediaSource. Only run the Range Removal algorithm when MediaSource
duration is changed instead of calling Remove on SourceBuffers.
Updates tests for the fact that update{start,end} can now be called more than once due to DurationChange.
2014-11-12 15:53:43 +13:00
Karl Tomlinson
b61db0deda bug 1096132 rename nsDeviceContext PixelScale to FullZoom r=tn
--HG--
extra : rebase_source : 06d57772b2dc04d606b3d98517085aeb817ae0e8
2014-11-10 15:47:55 +13:00
Karl Tomlinson
1085e66407 bug 1096132 rename UnscaledAppUnitsPerDevPixel() to AppUnitsPerDevPixelAtUnitFullZoom() r=tn
--HG--
extra : rebase_source : 113b249f2cb6f1619e0b1a495655726b5100038b
2014-11-08 17:48:14 +13:00
Chris Double ext:(%20with%20tweaks%20by%20Karl%20Tomlinson%20%3Ckarlt%2B%40karlt.net%3E)
ff5415dbf5 Bug 1089937 Add a fuzz time to end times for MSE reader switching on EOS r=karl,mattwoodrow
mLast{Audio,Video}Time differs from the actual end time because of
Bug 1065207 - the duration of a WebM fragment is an estimate not the
actual duration. In the case of audio time an example of where they
differ would be the actual sample duration being small but the
previous sample being large. The buffered end time uses that last
sample duration as an estimate of the end time duration giving an end
time that is greater than mLastAudioTime, which is the actual sample
end time.

Reader switching is based on the buffered end time though so we can't use
the actual sample end time for switching comparison.

For this reason we use the end time from the buffers to compare if we
should switch readers in this patch. We also add an EOS_FUZZ_US to allow
for the fact that it is an estimate and can differ slightly from actual times.

--HG--
extra : rebase_source : 47149609119c5dcd1ca7374501dd7c1e285469ef
2014-11-12 12:12:21 +13:00
Matthew Gregan
a14a83ab0f Bug 1096750 - use getPlayableVideos in test_video_in_audio_element. 2014-11-12 15:39:46 +13:00
Matthew Gregan
fb84352191 Bug 1096750 - Expect error event in test_video_in_audio_element if used with video-only media. r=cpearce 2014-11-11 15:52:37 +13:00
Chris Peterson
db947d8d0f Bug 1095867 - Fix nsDeviceSensors.cpp typo and remove obsolete comment. r=dougt 2014-11-07 20:48:38 -08:00
Seth Fowler
f72fd5c619 Bug 1071217 - Explicitly initialize the image module from gfxPlatform::Init. r=bas
--HG--
extra : rebase_source : c4c96ff051347dd85e053669533bd00d6120c75a
2014-11-11 17:28:50 -08:00
Wes Kocher
627563bda6 Merge m-c to inbound a=merge CLOSED TREE 2014-11-11 18:07:10 -08:00
Ryan VanderMeulen
3d798f2811 Merge m-c to fx-team. a=merge 2014-11-11 16:53:12 -05:00
Steven Michaud
42f83a103d Bug 1092855 - Work around bad interaction between jemalloc and Apple uninitialized memory bug. r=spohl 2014-11-11 15:28:18 -06:00
Ryan VanderMeulen
a8b4417549 Merge fx-team to m-c. a=merge 2014-11-11 16:43:46 -05:00
Ryan VanderMeulen
41f3d97ad7 Merge inbound to m-c. a=merge 2014-11-11 16:29:57 -05:00