Commit Graph

26 Commits

Author SHA1 Message Date
Ray Lin
8f4815c8d7 Bug 985915 - Vertically move up closed caption to not overlap control bar. r=rillian
MozReview-Commit-ID: HzJ3ppbmQnk
2016-06-27 11:22:15 +08:00
bechen
e48b33a3a0 Bug 1278151 - Fix web-platform/meta/html/semantics/embedded-content/media-elements/interfaces/TextTrack/cues.html. r=rillian
MozReview-Commit-ID: 7VuUfyegq2d
2016-06-22 16:03:46 +08:00
bechen
835da4b871 Bug 1280814 - Prevent the media::Interval crash due to the unexpected playback position. r=rillian
MozReview-Commit-ID: AZ9Gb2Y0wDF
2016-06-20 15:58:58 +08:00
bechen
3cdd14dfed Bug 1276530 - part2: The id of cue might be empty, so don't use it for checking. r=rillian
MozReview-Commit-ID: CyjEkOmDNG0
2016-06-17 17:20:24 +08:00
bechen
d2e8373ca8 Bug 882717 - Invoke TimeMarchesOn when the startTime/endTime/pauseOnExit be changed of TextTrackCue. r=rillian
MozReview-Commit-ID: 7Xol9x83lLx
2016-06-08 16:53:30 +08:00
bechen
dea4a1a40f Bug 1274884 - Add/Remove cue into MediaElement when TextTrack::mMode changed. r=rillian
MozReview-Commit-ID: 9PGEV5g8iv3
2016-06-02 16:08:32 +08:00
bechen
e0bae2d76b Bug 1275808 - Move the UpdateCueDisplay() into TimeMarchesOn() as step 18. r=rillian
MozReview-Commit-ID: GrcZCjstBy9
2016-06-01 17:37:26 +08:00
bechen
7a60c08ea5 Bug 882718 - Do not dispatch task to main thread when shutdown. r=rillian
MozReview-Commit-ID: 5Y79Fbhyoc3
2016-06-01 15:13:45 +08:00
bechen
b3a670e7fd Bug 882718 - 1. Fix testcase crash/failed . 2. The cuechange event should be fired in TimeMarchesOn. r=rillian
MozReview-Commit-ID: EYi9iZ1mfjg
2016-06-01 15:13:43 +08:00
bechen
8351247123 Bug 882718 - triggerTimeMarchesOn. r=rillian
MozReview-Commit-ID: 2OOqr1Z6X9
2016-06-01 13:35:58 +08:00
Andrew Quartey
cf228a188b Bug 882718 - Implement "TimeMarchesOn". r=rillian
MozReview-Commit-ID: 1RqUmgz056N
* * *
[mq]: hotfix

MozReview-Commit-ID: CPByIPsUag4
2016-06-01 13:35:56 +08:00
Sebastian Hengst
ed6d27c5af Backed out changeset f6363fdbbf29 (bug 882718) 2016-05-31 18:54:41 +02:00
Sebastian Hengst
5f6a0468d7 Backed out changeset 7f61a6bd8a3d (bug 882718) 2016-05-31 18:54:41 +02:00
Sebastian Hengst
780319fe94 Backed out changeset 883bfabfde46 (bug 882718) 2016-05-31 18:54:41 +02:00
Sebastian Hengst
661632111a Backed out changeset 830cccc16bd9 (bug 882718) 2016-05-31 18:54:41 +02:00
bechen
b5b9e680da Bug 882718 - Do not dispatch task to main thread when shutdown. r=rillian
MozReview-Commit-ID: 5Y79Fbhyoc3
2016-05-30 12:03:15 +08:00
bechen
6274ffece2 Bug 882718 - 1. Fix testcase crash/failed . 2. The cuechange event should be fired in TimeMarchesOn. r=rillian
MozReview-Commit-ID: EYi9iZ1mfjg
2016-05-26 11:45:43 +08:00
bechen
da72c8bd4c Bug 882718 - triggerTimeMarchesOn. r=rillian
MozReview-Commit-ID: 2OOqr1Z6X9
2016-05-25 16:11:28 +08:00
Andrew Quartey
6391e8e2b5 Bug 882718 - Implement "TimeMarchesOn". r=rillian
MozReview-Commit-ID: 1RqUmgz056N
* * *
[mq]: hotfix

MozReview-Commit-ID: CPByIPsUag4
2016-05-25 16:11:27 +08:00
Kyle Huey
e95edb30a9 Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug 2016-01-30 09:05:36 -08:00
Nathan Froyd
4e6d8f6705 Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout.  The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.

CLOSED TREE makes big refactorings like this a piece of cake.

 # The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
    xargs perl -p -i -e '
 s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
 s/nsRefPtr ?</RefPtr</g;   # handle declarations and variables
'

 # Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h

 # Handle nsRefPtr.h itself, a couple places that define constructors
 # from nsRefPtr, and code generators specially.  We do this here, rather
 # than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
 # things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
     mfbt/nsRefPtr.h \
     xpcom/glue/nsCOMPtr.h \
     xpcom/base/OwningNonNull.h \
     ipc/ipdl/ipdl/lower.py \
     ipc/ipdl/ipdl/builtin.py \
     dom/bindings/Codegen.py \
     python/lldbutils/lldbutils/utils.py

 # In our indiscriminate substitution above, we renamed
 # nsRefPtrGetterAddRefs, the class behind getter_AddRefs.  Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
    xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'

if [ -d .git ]; then
    git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
    hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi
2015-10-18 01:24:48 -04:00
Andrew McCreight
844e01aa14 Bug 1210591, part 1 - Use nsVariantCC in various places. r=smaug
Most of these will end up in DataTransfer:mItems, so this is needed
for it to do anything useful.
2015-10-09 10:24:23 -07:00
Andrew McCreight
222ce9e7f0 Bug 1210517 - Create nsVariant directly rather than via do_CreateInstance(). r=froydnj
The goal here is to leave creation stuff mostly for JS, so we can
convert it entirely over to a non-threadsafe cycle-collected version
without breaking any existing C++ users.

I didn't do this for a remaining use in nsGlobalWindow.h to avoid
including nsVariant.h all over the place.
2015-10-07 08:17:42 -07:00
Andrew McCreight
92010d3e4c Bug 1152551, part 2 - Fix mode lines in dom/. r=jst 2015-05-03 15:32:37 -04:00
Olli Pettay
dd023be2aa Bug 1108721, HTMLMediaElement.textTracks needs to be nullable in Gecko for now, r=peterv 2015-01-12 13:07:38 +02:00
Birunthan Mohanathas
86c0c5b215 Bug 946065 - Part 11: Move content/html/ to dom/ and flatten subdirectories. r=peterv 2014-10-25 20:24:55 +03:00