Commit Graph

1575 Commits

Author SHA1 Message Date
Peter Van der Beken
f9600ddc3b Bug 984495 - Add Window.onwheel to WebIDL. r=bz. 2014-02-15 22:12:33 +01:00
Ed Morley
05dcbf9506 Backed out changeset 00fa39c23b44 (bug 778077) for reftest failures 2014-03-28 12:31:29 +00:00
Chris Pearce
dac6ce38ba Bug 778077 - Implement HTMLMediaElement.fastSeek(time). r=cajbir
Implement HTMLMediaElement.fastSeek(), basically by changing all the
MediaDecoderReader::Seek() overrides to not call
MediaDecoderReader::DecodeToTarget(), and have MediaDecoderReader::DecodeSeek()
call DecodeToTarget() if we're doing an accurate (non-fast) seek.

Update gizmo.mp4 to have a keyframe every second, instead of only 1 keyframe at
the start of stream. This makes the unit test I added more useful for mp4...

I pushed most of the seek target clamping logic in MediaDecoder up into
HTMLMediaElement, so that we're clamping in fewer places. Note
MediaDecoderStateMachine::Seek() still sanity checks the seek target.

We have to update the currentTime/MediaDecoder playback position after a seek
completes now, rather than assuming the seek always got it exactly right.

Removed those pesky assertions about seek target lying in the first frame after
seek, since actually sometimes the media doesn't have samples for all streams
after a seek (either due to the media being encoded like that, or because of a
bug in the platform's decoder, not entirely sure).

Green: https://tbpl.mozilla.org/?tree=Try&rev=b028258565e2
2014-03-28 22:36:10 +13:00
Phil Ringnalda
e21145ad4a Backed out 2 changesets (bug 778077, bug 631058)
CLOSED TREE

Backed out changeset dda301682977 (bug 631058)
Backed out changeset 25b633e7dcd5 (bug 778077)
2014-03-27 21:50:02 -07:00
Ehsan Akhgari
0f3af82c2d Bug 983920 - Port window.sidebar and window.external to WebIDL; r=bzbarsky 2014-03-28 00:03:03 -04:00
Chris Pearce
fc3fc91d79 Bug 778077 - Implement HTMLMediaElement.fastSeek(time). r=cajbir
Implement HTMLMediaElement.fastSeek(), basically by changing all the
MediaDecoderReader::Seek() overrides to not call
MediaDecoderReader::DecodeToTarget(), and have MediaDecoderReader::DecodeSeek()
call DecodeToTarget() if we're doing an accurate (non-fast) seek.

Update gizmo.mp4 to have a keyframe every second, instead of only 1 keyframe at
the start of stream. This makes the unit test I added more useful for mp4...

I pushed most of the seek target clamping logic in MediaDecoder up into
HTMLMediaElement, so that we're clamping in fewer places. Note
MediaDecoderStateMachine::Seek() still sanity checks the seek target.

We have to update the currentTime/MediaDecoder playback position after a seek
completes now, rather than assuming the seek always got it exactly right.

Removed those pesky assertions about seek target lying in the first frame after
seek, since actually sometimes the media doesn't have samples for all streams
after a seek (either due to the media being encoded like that, or because of a
bug in the platform's decoder, not entirely sure).

Green: https://tbpl.mozilla.org/?tree=Try&rev=b028258565e2
2014-03-28 15:50:28 +13:00
John Shih
6aa0595d71 Bug 960426 - Part 2: Modifications for IDL change. r=blassey 2014-03-05 11:54:55 +08:00
John Shih
534d30eb9c Bug 960426 - Part 1: WebIDL changes for NetInfo API. r=sicking, r=marcosc
--HG--
rename : dom/webidl/MozConnection.webidl => dom/webidl/NetworkInformation.webidl
2014-03-05 11:22:39 +08:00
Wei Deng
2da14f8552 Bug 960946 - Correct events which can be generated and sent repeatedly from longpressing a key. r=yxl 2014-03-25 15:46:52 +08:00
Ms2ger
593a960690 Bug 860731 - Part c: Move LockedFile to WebIDL; r=janv 2014-03-24 16:10:27 +01:00
Rik Cabanier
5ef249b3be Bug 985257 - Add implementation for Path2D constructor that takes an SVG path string. r=roc 2014-03-24 09:31:19 -04:00
Ehsan Akhgari
762d150c8f Bug 983845 follow-up: Move the header to content/base and enable BrowserFeedWriter for xulrunner as well 2014-03-22 21:34:02 -04:00
Ehsan Akhgari
0b275ae564 Bug 985796 - Port the permission settings API to WebIDL; r=bzbarsky 2014-03-22 09:58:24 -04:00
Ehsan Akhgari
5605246beb Bug 985812 - Make a ActivityRequestHandler.source a pure cached frozen dictionary; r=bzbarsky 2014-03-22 09:54:40 -04:00
Ehsan Akhgari
7a1c2562be Bug 903873 - Finish porting Web Activities to WebIDL; r=bzbarsky
This patch ports over the ActivityRequestHandler interface.

Unfortunately the original design of the interface specifies that
ActivityRequestHandler.source should be of type ActivityOptions which is
a dictionary.  This is not expressible in WebIDL, so for now we're just
using the type 'object' for that.
2014-03-22 09:52:21 -04:00
Ehsan Akhgari
9c07d6ac20 Bug 983845 follow-up: Don't try to build BrowserFeedWriter.webidl for xulrunner builds 2014-03-21 18:34:27 -04:00
Ryan VanderMeulen
a361d3f8f1 Merge m-c to inbound. 2014-03-21 16:49:07 -04:00
Ehsan Akhgari
27a82cef75 Backed out 2 changesets (bug 957431) because we decided we're keeping Attr.ownerElement in the end
Backed out changeset ab12a8416a1d (bug 957431)
Backed out changeset 188d1e255d40 (bug 957431)
2014-03-21 16:04:09 -04:00
Ryan VanderMeulen
e9fc16e201 Backed out changeset 463fa756b43b (bug 886110) for causing various regressions. 2014-03-21 14:44:05 -04:00
Srirakshith Betageri
209a660012 Bug 955860. Implement the CSS.escape API for escaping CSS identifiers from script. r=bzbarsky 2014-03-20 23:19:43 -04:00
Ryan VanderMeulen
99c262d103 Backed out changeset e9c807b1e3d4 (bug 985257) for bustage. 2014-03-21 10:07:07 -04:00
Rik Cabanier
82602e6861 Bug 985257 - Add implementation for Path2D constructor that takes an SVG path string. r=roc 2014-03-21 09:18:58 -04:00
Robert O'Callahan
d30f7006c6 Bug 918189. Part 1.5: Implement GeometryUtils.convertPointFromNode, convertRectFromNode, and convertQuadFromNode. r=jst
--HG--
extra : rebase_source : 2d01b350d84f220add776341a9cbcda5ace2ef01
2014-03-12 09:11:39 +08:00
Robert O'Callahan
41f30becb0 Bug 917755. Part 5.5: Implement getBoxQuads DOM API. r=jst
--HG--
extra : rebase_source : 02febe9fad731185bfbc50454683b485d551bf59
2014-03-12 09:11:38 +08:00
Robert O'Callahan
a34eb189bd Bug 917755. Part 4: Add DOMQuad implementation. r=jst
--HG--
extra : rebase_source : e74d516f27c004ecf5deea40fb397c2a8f5acfae
2013-09-20 22:21:04 +12:00
Robert O'Callahan
44d25079da Bug 917755. Part 3: Implement DOMRect per spec. r=jst
--HG--
extra : rebase_source : 46ef3a90763ceaea5bb43652e5c97e16667a9e7f
2013-09-20 22:21:03 +12:00
Robert O'Callahan
1672e4a456 Bug 917755. Part 2: Implement DOMPoint. r=jst
DOMPointReadOnly is not currently used by anything but it's in the spec so we
might as well support it. It would be useful for adding "topLeft"-style APIs
to DOMRect.

--HG--
extra : rebase_source : 8df6b51b3305e91c7c7693128e70e3e928d44b27
2014-03-12 09:11:37 +08:00
Ryan VanderMeulen
e3fad36dc4 Merge inbound to m-c. 2014-03-20 17:03:59 -04:00
Carsten "Tomcat" Book
4b81d7b07b Merge mozilla-central to b2g-inbound 2014-03-20 14:21:13 +01:00
Carsten "Tomcat" Book
8dd01a51fe merge b2g-inbound to mozilla-central 2014-03-20 14:07:58 +01:00
Carsten "Tomcat" Book
25e80771a2 Merge mozilla-central to b2g-inbound 2014-03-19 16:30:49 +01:00
Carsten "Tomcat" Book
73bc975564 Backed out changeset 92e5d79ec57f (bug 917755) 2014-03-19 09:46:12 +01:00
Carsten "Tomcat" Book
de82eb9a6f Backed out changeset 3b41ab878fcd (bug 917755) 2014-03-19 09:46:09 +01:00
Carsten "Tomcat" Book
2d05ba4b43 Backed out changeset 8ad57cf09e75 (bug 917755) 2014-03-19 09:46:07 +01:00
Carsten "Tomcat" Book
92dc706141 Backed out changeset 896bfaeab866 (bug 917755) 2014-03-19 09:46:03 +01:00
Carsten "Tomcat" Book
174014df63 Backed out changeset e60fe593236d (bug 918189) 2014-03-19 09:45:57 +01:00
Rik Cabanier
2878b85708 Bug 985178 - Implementation + test cases for isPointInPath and isPointInStroke. r=roc 2014-03-19 13:42:38 -04:00
Ehsan Akhgari
8259bd86d3 Bug 983845 - Port nsIFeedWriter to WebIDL and stop exposing BrowserFeedWriter to the Web; r=bzbarsky
X-Git-Commit-ID: 487d201e67d932da2d4a73b680181072a13e35b3
2014-03-19 12:29:00 -04:00
Ehsan Akhgari
ed0b551281 Bug 866528 - Make nsIDOMActivityOptions a dictionary; r=bzbarsky 2014-03-18 00:38:36 -04:00
Randy Lin
2a3e1a4f03 Bug 959490 - [MediaEncoder] Support *.3gp with AMR-NB audio format on certificated application. r=roc 2014-03-19 14:52:45 +08:00
Dimi Lee
0047931b0e Bug 886110 - Convert WifiManager to WebIDL. r=mrbkap 2014-03-19 14:04:58 +08:00
Wes Kocher
01bb0237bc Merge inbound to m-c 2014-03-18 14:15:03 -07:00
Rik Cabanier
f0b9b7d32e Bug 830734 - Implement Path primitives. r=roc 2014-03-18 08:03:06 -04:00
Phil Ringnalda
c042f4ffc2 Back out a2e5b6d2f31a (bug 866528) for gaia-unit bustage 2014-03-17 22:53:54 -07:00
Ehsan Akhgari
3c0feb2faf Bug 866528 - Make nsIDOMActivityOptions a dictionary; r=bzbarsky 2014-03-18 00:38:36 -04:00
Andrea Marchesini
ef4f22b8fd Bug 985432 - URLSearchParams is not nullable, r=bz 2014-03-19 15:36:46 +00:00
Yuan Xulei
11142664f7 Bug 934368 - Implement |remove| and |removeDeep| for Directory. r=dhylands 2014-03-12 14:30:21 +08:00
"allstars.chh"
5625b09b35 Bug 960510 - Part 1: Make type, id and payload optional. r=khuey
From 4ac0853ddabfadb99bfcd037d3831904d8353fbf Mon Sep 17 00:00:00 2001
---
 dom/nfc/MozNDEFRecord.cpp       |   26 +++++++++++++++++++-------
 dom/nfc/MozNDEFRecord.h         |   36 +++++++++++++++++++++++++-----------
 dom/webidl/MozNDEFRecord.webidl |    8 ++++----
 3 files changed, 48 insertions(+), 22 deletions(-)
2014-02-20 15:08:46 +08:00
Rick Eyre
3ae2f0eecc Bug 982183 - Put VTTRegion DOM API behind a pref. r=rillian, r=bz 2014-03-12 13:55:45 -04:00
Rik Cabanier
fc29621ea7 Bug 982480 - Add support + test case for context alpha attribute. r=roc 2014-03-16 15:34:14 -04:00
Ryan VanderMeulen
04a55e8668 Backed out changeset 9a2aab98a8d0 (bug 982480) for reftest failures. 2014-03-15 19:18:13 -04:00
Rik Cabanier
72854581eb Bug 982480 - Add support + test case for context alpha attribute. r=roc 2014-03-15 17:29:24 -04:00
Wes Kocher
aa89f0292c Merge inbound to m-c 2014-03-14 22:20:25 -07:00
Wes Kocher
6491e6f95b Merge b2g-inbound to m-c 2014-03-14 19:34:15 -07:00
Jan-Ivar Bruaroey
57b144b21b Bug 970686: Outbound getStats: Fixed RTCP timestamps and remote packets/bytes received. r=jesup 2014-03-14 14:34:02 -04:00
David Rajchenbach-Teller
f239dd5dfa Bug 961665 - Native implementation of OS.File.read, native bits. r=froydnj, r=bz, r=paolo 2014-03-14 10:13:26 -04:00
Yuan Xulei
ca0c726448 Bug 910412 - WebIDL and DOM binding for filesystem API. r=baku, r=smaug, f=dhylands, f=jonas 2014-03-05 11:26:39 +08:00
Rick Eyre
d192be9622 Bug 978163 - Part 2: VTTCue should have Region property. r=rillian, r=bz
See spec bug: https://www.w3.org/Bugs/Public/show_bug.cgi?id=24380
2014-03-11 13:33:58 -04:00
Rick Eyre
350c89b361 Bug 978163 - Part 1: Remove VTTRegionList and VTTRegion TextTrack extensions. r=rillian, r=bz
- These two parts of the spec were recently removed as they
were seen as unecessary or bad design, in the case of the
VTTRegion TextTrack extensions. See the spec bug at:
https://www.w3.org/Bugs/Public/show_bug.cgi?id=24380
2014-03-10 11:33:06 -04:00
Paul Adenot
d8a22556ad Bug 982541 - Update OscillatorNode.{start, stop} to have the first argument optional and default to zero. r=ehsan 2014-03-13 14:51:41 +08:00
Wes Kocher
a4de6958ad Merge m-c to inbound 2014-03-12 18:59:54 -07:00
Jan-Ivar Bruaroey
fe2bc5a3f5 Bug 964127: Add a/v sync status to about:webrtc. r=jesup 2014-03-12 17:13:20 -04:00
Benoit Jacob
1509f589e0 Bug 977757 - 3/3 - Expose CSS_PROPERTY_ALWAYS_ENABLED_IN_CHROME_OR_CERTIFIED_APP properties in JS bindings as needed - r=bz 2014-03-07 12:14:26 -05:00
Peter Chang
1e4d8e1868 backout of rev 45253e02bde3, fd02f1217e4c, 75217485ce5a b=981804 2014-03-12 15:16:20 +08:00
Peter Van der Beken
6e079aacea Backout 8aca83520a91 (bug 983619) to fix orange/red on a CLOSED TREE. 2014-03-17 20:27:53 +01:00
Peter Van der Beken
bb1ee2a3ab Bug 983619 - Add Window.getInterface/QueryInterface to WebIDL. r=bz. 2014-02-15 22:12:33 +01:00
Tom Schuster
75ecb45f05 Bug 355430 - Add the thrown error object to the dom error event. r=bz 2014-01-03 01:04:15 +00:00
Ryan VanderMeulen
5099e8a290 Backed out 5 changesets (bug 910412) for intermittent crash whack-a-mole.
Backed out changeset e3eb9463b3e1 (bug 910412)
Backed out changeset d5863d302bde (bug 910412)
Backed out changeset 422b66d4b1ca (bug 910412)
Backed out changeset 3431d59d752e (bug 910412)
Backed out changeset b1c0310cdac1 (bug 910412)
2014-03-11 12:17:03 -04:00
Giovanni Sferro
a8dcd8b811 Bug 968637 - Add "rel" and "relList" to HTMLAreaElement and "relList" to HTMLLinkElement, HTMLAnchorElement. r=bz 2014-03-11 08:04:26 -04:00
Jeff Gilbert
91352f644c Bug 943190 - Implement WEBGL_compressed_texture_et1. - r=kamidphish 2014-03-10 15:42:58 -07:00
Max Vujovic
49c8567b01 Bug 948265 - Remove deprecated filterRes attribute from SVG filters. r=roc, r=hsivonen 2014-03-10 08:55:25 -04:00
Jeff Gilbert
bdd584a1f9 Bug 843666 - Implement color-buffer-(half-)float for WebGL. - r=kamidphish 2014-03-07 13:26:17 -08:00
Ryan VanderMeulen
d76583a0fc Merge inbound to m-c. 2014-03-07 15:38:19 -05:00
Benoit Jacob
9b658d0e51 Bug 977757 - 3/3 - Expose CSS_PROPERTY_ALWAYS_ENABLED_IN_CHROME_OR_CERTIFIED_APP properties in JS bindings as needed - r=bz 2014-03-07 12:14:26 -05:00
Carsten "Tomcat" Book
c346b6e437 merge b2g-inbound to mozilla-central 2014-03-07 12:49:50 +01:00
Mike Habicher
bd1cc81444 Bug 965425 - expose ISO setting, r=dhylands,jst 2014-03-07 01:00:43 -05:00
Ryan VanderMeulen
a82c72c6ca Merge m-c to inbound on a CLOSED TREE. 2014-03-05 16:08:02 -05:00
Byron Campen [:bwc]
88008dfd1d Bug 958221 - Part 3: New webidl for WebrtcGlobalInformation, c++ impl, and removing logging-related stuff from PeerConnectionImpl. r=jib 2014-02-20 09:35:35 -08:00
Yuan Xulei
51a5ebf8e6 Bug 910412 - WebIDL and DOM binding for filesystem API. r=baku, r=smaug, f=dhylands, f=jonas 2014-03-05 11:26:39 +08:00
Carsten "Tomcat" Book
4124791bb3 merge mozilla-inbound to mozilla-central 2014-03-05 13:04:39 +01:00
William Chen
85c733191c Bug 978398 - Rename custom element callbacks from enteredView/leftView to attached/detached. r=mrbkap 2014-02-28 17:45:31 -08:00
Alan Huang
dbb6bb4e64 Bug 971612 - Implement "mount" and "unmount" API for device storage. r=dhylands 2014-03-04 19:24:19 +08:00
Matthew Gregan
87855800ef Bug 962353 - Remove totalFrameDelay from VideoPlaybackQuality. r=chris.double
It's not implemented by other vendors and marked as "at risk" in the spec.
Easy to add back if there's real demand/a concrete spec.
2014-03-04 15:31:57 +13:00
Carsten "Tomcat" Book
67b964e295 Merge mozilla-central to mozilla-inbound on a CLOSED TREE
--HG--
extra : amend_source : 42c86ef1edf2141b6ac81506dd8a31cd68818292
2014-03-07 13:55:46 +01:00
Masatoshi Kimura
24d07e5da7 Bug 978611 - Part 2: Move lagacy dictionaries to WebIDL dictionaries for B2G. r=vicamo
--HG--
rename : dom/mobileconnection/interfaces/nsIDOMMobileConnection.idl => dom/webidl/MozMobileConnection.webidl
rename : dom/network/interfaces/nsIDOMNetworkStatsManager.idl => dom/webidl/MozNetworkStats.webidl
2014-03-07 20:51:49 +09:00
Masatoshi Kimura
811f1e846e Bug 978611 - Part 1: Stop using legacy dictionaries from MmsMessage. r=vicamo 2014-03-07 20:51:48 +09:00
Olli Pettay
edea165111 Bug 978605, DataTransfer.files may return null, r=khuey 2014-03-03 00:45:43 +02:00
Wes Kocher
b158b5183e Backed out changeset c14980a16210 (bug 948265) so it can address review comments first, despite the CLOSED TREE 2014-02-28 14:48:31 -08:00
Max Vujovic
60efc69207 Bug 948265 - Remove deprecated filterRes attribute from SVG filters. r=roc 2014-02-28 16:40:14 -05:00
Ryan VanderMeulen
a94a1ab0bc Merge inbound to m-c. 2014-02-28 16:03:19 -05:00
Ryan VanderMeulen
9cdadc836a Merge m-c to b2g-inbound. 2014-02-28 10:16:37 -05:00
Andrea Marchesini
2ddf6e9da6 Bug 976313 - DataStoreChangeEvent should have 'owner' property, r=ehsan 2014-02-28 07:34:38 +00:00
Oleg Romashin
0f3424c689 Bug 977695 - Update bubbles/cancelable attribute for pointer events. r=smaug 2014-02-27 16:13:05 -08:00
Chuck Lee
b4e63d4f53 Bug 975813 - Support IPv6 in Network Manager. r=vicamo,fabrice 2014-02-28 20:24:35 +08:00
Ryan VanderMeulen
48d69f19f8 Merge inbound to m-c. 2014-02-27 16:55:18 -05:00
Masayuki Nakano
1237687ca3 Bug 975688 part.20 Rename nsDOMTouchEvent and nsDOMTouchList to mozilla::dom::TouchEvent and TouchList r=smaug
--HG--
rename : dom/events/nsDOMTouchEvent.cpp => dom/events/TouchEvent.cpp
rename : dom/events/nsDOMTouchEvent.h => dom/events/TouchEvent.h
2014-02-28 23:58:42 +09:00
Ted Clancy (:tedders1)
fa918be1f0 Bug 970340 - Large file sizes not displayed correctly. r=khuey 2014-02-25 15:38:56 -08:00
Carsten "Tomcat" Book
236427f5bf Merge mozilla-central to b2g-inbound 2014-02-27 15:59:39 +01:00
Carsten "Tomcat" Book
d603bc01af merge b2g-inbound to mozilla-central 2014-02-27 15:10:44 +01:00
Szu-Yu Chen [:aknow]
135fee9c50 Bug 969218 - Part 1: Use promise for dial and dialEmergency - webidl. r=hsinyi 2014-02-27 14:12:30 +08:00