Commit Graph

425153 Commits

Author SHA1 Message Date
Bobby Holley
aa6c9ce796 Bug 1160695 - Drop Support for Content-Duration. r=cpearce 2015-06-08 09:22:46 -07:00
Bobby Holley
73b793c991 Bug 1160695 - Fix up test to require the true duration, rather than the fake duration. r=jww,sr=cpearce
From the bug it corresponds to, this test was designed to make sure that we don't
read ogg duration by seeking (which causes network activity) when the server
offers the X-Content-Duration header. However, preserving this behavior requires
the ogg reader to be aware of the presence of network duration when it's reading
metadata, which isn't easily accomplished in our new model here. I think both ogg
and X-Content-Duration are sufficiently unimportant at this point that this is an
acceptable regression.
2015-06-08 09:22:44 -07:00
Bobby Holley
bc78dbf53c Bug 1160695 - Hoist post-duration-change seeking into MediaDecoder where it belongs. r=jww
Without this, we get failures in test_TruncatedDuration.html etc. I decided that
integrating this into the precisely correct position in the patch stack was too
much work.
2015-06-08 09:22:43 -07:00
Bobby Holley
4d2d835310 Bug 1160695 - Clarify the semantics of when we fire DurationChanged. r=jww
It would be better for SetDuration to do this, and base it off of the current
MDSM state rather than the cause of the duration change. But this clarifies the
current situation a bit without adding more risk to this patch stack.
2015-06-08 09:22:41 -07:00
Bobby Holley
8bdb81bbd6 Bug 1160695 - Clean up SetDuration and remove negative duration case. r=jww 2015-06-08 09:22:40 -07:00
Bobby Holley
5d37b9d6aa Bug 1160695 - Track observed duration separately. r=jww 2015-06-08 09:22:39 -07:00
Bobby Holley
6af84ec47e Bug 1160695 - Track demuxer-estimated duration separately. r=jww 2015-06-08 09:22:37 -07:00
Bobby Holley
54cc593e26 Bug 1160695 - Track explicit (mediasource) duration separately. f=jww,rpending=jya 2015-06-08 09:22:28 -07:00
Bobby Holley
027a3eaded Bug 1160695 - Make MediaDecoder::DurationChanged take a duration argument rather than reading it back synchronously from the MDSM. r=jww 2015-06-08 09:21:23 -07:00
Bobby Holley
4243d5fe16 Bug 1160695 - Remove unused codepath for off-main-thread MediaSource duration change. r=jww 2015-06-08 09:21:22 -07:00
Bobby Holley
f83f94efbb Bug 1160695 - Track "metadata duration" separately and mirror it to MediaDecoderReader. r=jww 2015-06-08 09:21:22 -07:00
Bobby Holley
1893956886 Bug 1160695 - Track "network duration" separately and mirror it to the MDSM. r=jww 2015-06-08 09:21:20 -07:00
Bobby Holley
bcb8dfea10 Bug 1160695 - Miscellaneous changes to TimeUnit. r=jww
I contemplated using the mIsValid bit on CheckedInt for nullability, but
eventually decided that it's too much of an overload. typedef-ing a Maybe<>
solves things nicely.

The current clash between the constants makes it impossible to do using
|using namespace mozilla::media;| in most cpp files. It would be nice to
put the constants in mozilla::media, but that requires updating a bunch of
files, so I'm not doing it now.
2015-06-08 09:21:19 -07:00
Michael Layzell
293a84e371 Bug 1027560 - Return false from document.execCommand() and friends when not in editable document. r=ehsan 2015-06-02 09:07:00 -04:00
Jan Horak
1f0864644b Bug 1129873 - [GTK3] Implement wrapper to GtkAppChooserDialog to allow using native application chooser. r=karlt 2015-06-08 04:41:00 -04:00
David Parks
6bfe79757c Bug 1125325 - Store TabParents with their WindowRoot. r=smaug
nsContentUtils::CallOnAllRemoteChildren calls a callback on all tabs
connected to a given window but it has only worked in Firefox e10s tabs.
This patch adds a list of (weak) references to each top-level document's
WindowRoot so that e.g. the nsPresContext can access them instead of
using nsContentUtils.  This provides a solution to the problem of finding remote PBrowsers generally.
2015-06-07 22:39:39 -07:00
David Parks
f412d3f7b6 Bug 1125325 - Make TabParent/TabChild UpdateDimensions messages aware of the display scale. r=kats
When connecting a lowdpi external monitor on hidpi mac, TabChild gets an
UpdateDimensions call, followed by a UIResolutionChanged call.  After
the UpdateDimensions call, the content process is in an incorrect state
where it has the dimensions of the new display and scale of the old one.
After the UIResolutionChanged message, the values are again consistent.
In the interim, reflow resizes layers based on the incorrect (old) scale
and subsequently uses those incorrect values when the new scale comes
in.  This patch normalizes the message parameters by dividing by scale
(the result is what OS X calls point coordinates) so that this doesn't happen.
2015-06-07 22:39:28 -07:00
Milan Sreckovic
0f04052e65 Bug 1171171 - Make sure the graphics preferences are initialized early enough. r=billm 2015-06-04 14:44:30 -04:00
Karl Dubost
82c1538f3c Bug 1171828 - Remove UA override for domains (starting 2015-06-05). r=lmandel 2015-06-05 00:33:00 -04:00
Kelly Davis
cb2e865dda Bug 1171850 - Remove 'models' dir from MODELSPS_DEST as the dir 'models' now comes from MODELSPS_FILES. r=gps 2015-06-05 01:57:00 -04:00
Randall Barker
5cecde5f49 Bug 659285 - Extend media.autoplay.enabled to provide a way to disable untrusted play() invocations. r=cpearce 2015-06-05 09:03:00 -04:00
Ting-Yu Lin
2217c13f8b Bug 1170084 - Dispatch CaretStateChangedEvent via AsyncEventDispatcher. r=mtseng
We should not dispatch an event if it is not safe to run script since
the event handlers might be implemented by Javascript.
To fix this, we always use AsyncEventDispatcher to dispatch the event.

--HG--
extra : transplant_source : %1F%C0%7C%DBGDn%F7%F7%E5%92%18Cw%28%D5C%88%23%9F
2015-06-05 15:03:47 +08:00
Ryan VanderMeulen
56574135d1 Backed out changeset fda85020d842 (bug 1010068) for Android test_cert_overrides.js failures.
CLOSED TREE
2015-06-08 11:37:33 -04:00
Ehsan Akhgari
ab951e3376 Bug 1172139 - Convert nsIHttpChannel to builtinclass; r=mcmanus 2015-06-08 11:27:35 -04:00
Lorien Hu
5b82e263af no bug - cleaning up trailing whitespace in mac a11y code rs=tbsaunde 2015-06-08 10:59:19 -04:00
Lorien Hu
bc86c605b9 Bug 1169701 - Add wrapper to get mozAccessibles from ProxyAccessibles r=tbsaunde 2015-06-08 10:42:33 -04:00
Lorien Hu
f52568e4e7 Bug 1169701 - Fire native OS X accessibility events for proxied accessibles r=tbsaunde 2015-05-29 13:50:26 -04:00
Hannes Verschore
9010b092dd Bug 1169213 - SharedStubs: Introduce JitFrame_IonStub to allow vmcalls out of sharedstubs in IonMonkey, r=npb 2015-06-08 16:39:19 +02:00
Hannes Verschore
de26cda8df Bug 1168753 - SharedStubs: Simplification to push BaselineFrame* in stubs, r=jandem 2015-06-08 16:38:55 +02:00
Hannes Verschore
7c5bf3c667 Bug 1168750 - SharedStubs: (part4) Track for which engine a stub needs to get compiled, r=jandem 2015-06-08 16:38:55 +02:00
Hannes Verschore
df00b796cd Bug 1168750 - SharedStubs: (part3) Make split between baseline only and shared stubs, r=jandem
--HG--
rename : js/src/jit/BaselineIC.cpp => js/src/jit/SharedIC.cpp
rename : js/src/jit/BaselineIC.h => js/src/jit/SharedIC.h
2015-06-08 16:38:55 +02:00
Hannes Verschore
d2c404fd11 Bug 1168750 - SharedStubs: (part2) Rename registers used by baseline stubs for use with shared stubs, r=jandem 2015-06-08 16:38:54 +02:00
Hannes Verschore
d05b62c063 Bug 1168750 - SharedStubs: (part1) Rename BaselineRegisters.h and BaselineHelpers.h, r=jandem
--HG--
rename : js/src/jit/BaselineHelpers.h => js/src/jit/SharedICHelpers.h
rename : js/src/jit/BaselineRegisters.h => js/src/jit/SharedICRegisters.h
rename : js/src/jit/arm/BaselineHelpers-arm.h => js/src/jit/arm/SharedICHelpers-arm.h
rename : js/src/jit/arm/BaselineRegisters-arm.h => js/src/jit/arm/SharedICRegisters-arm.h
rename : js/src/jit/mips/BaselineHelpers-mips.h => js/src/jit/mips/SharedICHelpers-mips.h
rename : js/src/jit/mips/BaselineRegisters-mips.h => js/src/jit/mips/SharedICRegisters-mips.h
rename : js/src/jit/none/BaselineHelpers-none.h => js/src/jit/none/SharedICHelpers-none.h
rename : js/src/jit/none/BaselineRegisters-none.h => js/src/jit/none/SharedICRegisters-none.h
rename : js/src/jit/x64/BaselineHelpers-x64.h => js/src/jit/x64/SharedICHelpers-x64.h
rename : js/src/jit/x64/BaselineRegisters-x64.h => js/src/jit/x64/SharedICRegisters-x64.h
rename : js/src/jit/x86/BaselineHelpers-x86.h => js/src/jit/x86/SharedICHelpers-x86.h
rename : js/src/jit/x86/BaselineRegisters-x86.h => js/src/jit/x86/SharedICRegisters-x86.h
2015-06-08 16:38:54 +02:00
Richard Barnes
3824033dee Bug 1010068 - Disable OCSP for DV certificates in Firefox for Android r=keeler 2015-05-28 13:29:13 -07:00
Tooru Fujisawa
205dced600 Bug 1171777 - Make sure the index is nonnegative in GetElement IC with hole. r=jandem 2015-06-08 22:31:43 +09:00
Tooru Fujisawa
70137b7e93 Bug 1171871 - Fix bytecode documentation comment for JSOP_NEWTARGET. r=efaust 2015-06-08 22:31:43 +09:00
David Major
7f0bd81672 Bug 1154298: Use XPSP2 crash URL for XPx64 and Server2003SP1. r=ted 2015-06-08 09:12:17 -04:00
Fernando Jimenez
b0b4524945 Bug 1168783 - Expose principal in mozIApplication. r=fabrice 2015-06-08 14:02:09 +02:00
James Graham
6ff6b91577 Bug 1076787 - Add expectation data for running web-platform-tests on debug builds, r=Ms2ger 2015-06-08 12:59:09 +01:00
JW Wang
fb26695226 Bug 1162381. Part 2 - refactor DecodedStreamData::mInitialTime to be consistent with AudioSink when computing stream position. r=roc. 2015-06-08 16:51:36 +08:00
JW Wang
32bf125df8 Bug 1162381. Part 1 - include mStartTime when calculating endPosition. r=roc. 2015-06-08 16:51:33 +08:00
Carsten "Tomcat" Book
92670bab08 Merge mozilla-central to mozilla-inbound 2015-06-08 12:02:40 +02:00
Carsten "Tomcat" Book
ac2974150a merge mozilla-inbound to mozilla-central a=merge 2015-06-08 11:55:30 +02:00
Carsten "Tomcat" Book
61ad0febe1 merge fx-team to mozilla-central a=merge 2015-06-08 11:51:28 +02:00
Carsten "Tomcat" Book
c8e3039fea merge b2g-inbound to mozilla-central a=merge 2015-06-08 11:49:24 +02:00
Edmund Wong
26d45a9e4f Bug 1171786 - Add DetailedPromise.h to MediaKeySession.h r=cpearce 2015-06-08 11:34:23 +08:00
JW Wang
a17e6e3483 Bug 1172387 - Clean up code of MediaDecoderStateMachine::StopAudioThread. r=kinetik. 2015-06-08 11:27:22 +08:00
Gabor Krizsanits
c5989e232b Bug 1164014 - Shim optimization. r=billm 2015-06-08 09:28:54 +02:00
Bill McCloskey
e60ea179cb Bug 1164014 - Workaround for GC bug 1172193. r=gkrizsanits 2015-06-08 09:28:51 +02:00
Gabor Krizsanits
526094fdf3 Bug 1164014 - Fixing defaultShims. r=billm 2015-06-08 09:28:48 +02:00