Commit Graph
25 Commits
Author SHA1 Message Date
bechen fcc54f72a4 Bug 1344604 - part2: Return empty DocumentFragment if the ConvertCueToDOMTree() return null. r=alwu
It is a regression of bug1307710, if something wrong during the ConvertCueToDOMTree() in vtt.jsm, we will get null ptr.

MozReview-Commit-ID: LSQrJIhBzRU
2017-03-16 15:25:56 +08:00
bechen 4ddd7617ff Bug 1307710 - part1: Return Documentfragment instead of div for convertCueToDOMTree. r=rillian,smaug
MozReview-Commit-ID: KV1MNaMhNOG
2017-03-01 15:01:52 +08:00
Bevis Tseng 80ea683dc0 Bug 1314833 - Part 2.1: Factor out AbstractThread::MainThread() used in Media Playback. r=billm,jwwang
MozReview-Commit-ID: 9yJi3iDtVZG
2016-11-29 13:03:36 +08:00
Boris Zbarsky 8f3999d77b Bug 1318479 part 5. Remove nsIDOMNode::AppendChild from TextTrackCue. r=ehsan 2016-11-18 16:38:29 -05:00
Alastor Wu f756ed1131 Bug 1283417 - part2 : notify media element when cue's display states changed. r=bechen
MozReview-Commit-ID: 4bzS62wveGq
2016-08-09 16:58:52 +08:00
Alastor Wu e4b9fa835e Bug 1283417 - part1 : implement function to notify cue's display states changed. r=bechen
MozReview-Commit-ID: AF2S2UOLCt1
2016-08-09 16:43:07 +08:00
Alastor Wu 93eeb0124c Bug 1276831 - part1 : VTTCue's position should be double or auto keyword. r=rillian,smaug
MozReview-Commit-ID: 5zsEMxbwuEH
2016-06-15 16:51:17 +01:00
Alastor Wu cafc6b7f84 Bug 1276130 - part1 : replace the value 'middle' with 'center. r=rillian,smaug
MozReview-Commit-ID: 9rh32HkilYv
2016-06-14 14:39:29 +01:00
Sebastian Hengst 97024f5385 Backed out changeset 5ad647bf5727 (bug 1276130) for web-platform-test failure invttcue-interface/align.html. r=backout 2016-06-14 17:21:02 +02:00
Alastor Wu 5057755bee Bug 1276130 - part1 : replace the value 'middle' with 'center. r=rillian,smaug
MozReview-Commit-ID: 9rh32HkilYv
2016-06-14 14:39:29 +01:00
Sebastian Hengst 1c8339ab2f Backed out changeset 568a08748f67 (bug 1276831) for failure in web-platform-test webvtt/interfaces.html. r=backout 2016-06-14 14:34:30 +02:00
Sebastian Hengst d1c3050d66 Backed out changeset 3f17eaa46dd9 (bug 1276130) 2016-06-14 14:33:12 +02:00
Alastor Wu f3ceb06158 Bug 1276130 - part1 : replace the value 'middle' with 'center. r=rillian,smaug
MozReview-Commit-ID: HVrExS6nNZA
2016-06-14 12:11:53 +01:00
Alastor Wu 70ff14fcaf Bug 1276831 - part1 : VTTCue's position should be double or auto keyword. r=rillian,smaug
MozReview-Commit-ID: 459CjJUPpW9
2016-06-14 11:57:18 +01:00
Alastor Wu 361b6cd97a Bug 1276833 - part1 : size should be double. r=rillian,smaug
MozReview-Commit-ID: FwDGgcqWfs5
2016-06-14 11:51:40 +01:00
Alastor Wu 16f6a3ef4a Bug 1276832 - part1 : modify VTTCue's line to double. r=rillian,smaug
MozReview-Commit-ID: 7P79SO5TI0K
2016-06-14 11:47:32 +01:00
Alastor Wu a73821a634 Bug 1276830 - part1 : introduce LineAlignSetting. r=rillian,smaug
MozReview-Commit-ID: 1nZhCpPpTEh
2016-06-06 09:53:16 +08:00
Alastor Wu 63e01b305c Bug 1276129 - part1 : introduce PositionAlignSetting. r=rillian,smaug
MozReview-Commit-ID: AWzNCPLPdYw
2016-06-02 10:40:23 +08:00
bechen a7f31253c1 Bug 882718 - Implement ActiveFlag at TextTrackCue object. r=rillian
MozReview-Commit-ID: 4FksCKzB0Ep
2016-06-01 13:35:53 +08:00
Sebastian Hengst a7c28401c3 Backed out changeset 453431d7a2c8 (bug 882718) for crashing in track.html with nsXBLPrototypeBinding::GetRuleProcessor(). r=backout 2016-05-31 18:54:41 +02:00
bechen ede86a3047 Bug 882718 - Implement ActiveFlag at TextTrackCue object. r=rillian
MozReview-Commit-ID: 4FksCKzB0Ep
2016-05-24 11:30:22 +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
Boris Zbarsky 3a822d99b4 Bug 1117172 part 3. Change the wrappercached WrapObject methods to allow passing in aGivenProto. r=peterv
The only manual changes here are to BindingUtils.h, BindingUtils.cpp,
Codegen.py, Element.cpp, IDBFileRequest.cpp, IDBObjectStore.cpp,
dom/workers/Navigator.cpp, WorkerPrivate.cpp, DeviceStorageRequestChild.cpp,
Notification.cpp, nsGlobalWindow.cpp, MessagePort.cpp, nsJSEnvironment.cpp,
Sandbox.cpp, XPCConvert.cpp, ExportHelpers.cpp, and DataStoreService.cpp.  The
rest of this diff was generated by running the following commands:

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObjectInternal\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObjectInternal\((?:aCx|cx|aContext|aCtx|js))\)/\1, aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapNode\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapNode\((?:aCx|cx|aContext|aCtx|js))\)/\1, aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObject\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(Binding(?:_workers)?::Wrap\((?:aCx|cx|aContext|aCtx|js), [^,)]+)\)/\1, aGivenProto)/g'
2015-03-19 10:13:33 -04:00
Birunthan Mohanathas 417b400d55 Bug 946065 - Part 10: Move content/media/ to dom/. r=peterv 2014-10-25 20:24:36 +03:00