Commit Graph

1549 Commits

Author SHA1 Message Date
Martin Thomson
2ac58150d3 [PATCH] Bug 959870 - Error reporting improvements to WebRTC IdP r=jib
From e1fce543ab34ddd69bb8f8efde56c45bddaa1152 Mon Sep 17 00:00:00 2001
---
 dom/events/test/test_all_synthetic_events.html     |   6 +-
 dom/media/IdpProxy.jsm                             |  10 +-
 dom/media/PeerConnection.js                        |  31 ++----
 dom/media/PeerConnectionIdp.jsm                    | 124 +++++++++++++--------
 dom/media/tests/identity/identityevent.js          |  15 +++
 dom/media/tests/identity/idp-proxy.js              |  10 +-
 dom/media/tests/identity/mochitest.ini             |   1 +
 .../tests/identity/test_getIdentityAssertion.html  |  30 +++--
 dom/media/tests/identity/test_idpproxy.html        |   7 --
 .../tests/identity/test_setIdentityProvider.html   |  25 ++++-
 .../test_setIdentityProviderWithErrors.html        |  72 +++++++++---
 dom/media/tests/mochitest/pc.js                    |  22 +++-
 dom/webidl/RTCPeerConnection.webidl                |   7 +-
 .../RTCPeerConnectionIdentityErrorEvent.webidl     |  23 ++++
 dom/webidl/moz.build                               |   1 +
 modules/libpref/src/init/all.js                    | 108 +++++++++---------
 16 files changed, 316 insertions(+), 176 deletions(-)
 create mode 100644 dom/media/tests/identity/identityevent.js
 create mode 100644 dom/webidl/RTCPeerConnectionIdentityErrorEvent.webidl
2014-03-14 11:26:19 -07:00
Peter Van der Beken
7b5ecff2b8 Bug 983619 - Add Window.getInterface/QueryInterface to WebIDL. r=bz.
--HG--
extra : rebase_source : 4a4f368ba4f84e6e5104522181eb3043efd7ed38
2014-02-15 22:12:33 +01:00
Peter Van der Beken
a4e18b4c79 Bug 990475 - Add WebIDL APIs for WindowModal. r=bz.
--HG--
rename : content/media/webspeech/synth/test/test_setup.html => content/media/webspeech/synth/test/file_setup.html
rename : content/media/webspeech/synth/test/test_speech_queue.html => content/media/webspeech/synth/test/file_speech_queue.html
rename : content/media/webspeech/synth/test/test_speech_simple.html => content/media/webspeech/synth/test/file_speech_simple.html
extra : rebase_source : c2d23e5c973c117ab3fb66b2a98a451acfabc7e5
2014-02-05 22:09:18 +01:00
Teiichiro Fukuda
0819406ba8 Bug 909224 - "Want to add the phonetic name of the name to mozContacts". r=reuben 2014-04-07 03:14:00 +02:00
Peter Van der Beken
f8dd810da5 Back out 75c95dac7fe0 (bug 984497) and f1b0d3d13755 (bug 990475) to fix bustage on a CLOSED TREE.
--HG--
extra : rebase_source : a63315cd428faeb95464f6ad76946d1c0c6d36c3
2014-04-07 22:18:53 +02:00
Andrea Marchesini
30fc62c7d2 Bug 963038 - Datastore: Support for Transactional semantics, r=ehsan
--HG--
rename : dom/datastore/tests/test_basic.html => dom/datastore/tests/test_transactions.html
2014-04-07 21:08:11 +01:00
Peter Van der Beken
7aa8d63812 Bug 990475 - Add WebIDL APIs for WindowModal. r=bz.
--HG--
rename : content/media/webspeech/synth/test/test_setup.html => content/media/webspeech/synth/test/file_setup.html
rename : content/media/webspeech/synth/test/test_speech_queue.html => content/media/webspeech/synth/test/file_speech_queue.html
rename : content/media/webspeech/synth/test/test_speech_simple.html => content/media/webspeech/synth/test/file_speech_simple.html
extra : rebase_source : f21f16a257d39a108233dd8106b33543110df9b5
2014-02-05 22:09:18 +01:00
Jan-Ivar Bruaroey
5198d30d69 Bug 916012 - Clean up gUM to use webidl unions and filter by media-type. r=bz, r=bwc 2014-04-04 05:54:25 -04:00
Maksim Lebedev
518ac59f91 Bug 968148 - Implement PointerCapture for pointer events. r=smaug
--HG--
extra : rebase_source : 331cf187194c8827e4b75835e85b2d79fdc419c7
2014-04-04 10:09:10 -07:00
Boris Zbarsky
0cd8749fc6 Bug 985536 followup: mark argument that should be optional as optional. r=orange 2014-04-04 00:21:24 -04:00
Boris Zbarsky
ac98569cac Bug 985536. Go back to allowing optional any with no default value in WebIDL, but treat it as having a default value of undefined. r=khuey 2014-04-03 23:32:11 -04:00
Matthew Gregan
ced956736c Bug 927245 - Remove deprecated Audio Data API implementation. r=cajbir,smaug 2014-04-03 10:53:39 +13:00
Ryan VanderMeulen
52484dbcb0 Merge inbound to m-c. 2014-04-01 16:45:00 -04:00
Yuan Xulei
ad6d9bc72b Bug 986992 - Part 1: Merge navigator.mozKeyboard to navigator.mozInputMethod. r=fabrice 2014-03-31 10:38:45 +08:00
Ryan VanderMeulen
52012c6ec6 Backed out changeset 9511f53e3f38 (bug 934367) for frequent OSX m-oth crashes.
CLOSED TREE
2014-03-31 14:51:30 -04:00
Carsten "Tomcat" Book
a1c8f47ffe Backed out changeset aa90cb0be515 (bug 909224) for mochitest 1 test failures 2014-03-31 13:30:33 +02:00
Chris Pearce
a8e52798ff 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
* * *
Bug 778077 - Fix up MediaOMXReader fastseek to ensure audio stream stays in sync with video stream. r=cajbir
2014-04-01 16:39:04 +13:00
Peter Van der Beken
a823977af4 Bug 984495 - Add Window.onwheel to WebIDL. r=bz.
--HG--
extra : rebase_source : 3ab4bcb83696de8dffda3d216043438c6d1e3332
2014-02-15 22:12:33 +01:00
Yuan Xulei
85163bc565 Bug 934367 - Implement createFile for Directory. r=dhylands 2014-03-05 16:40:48 +08:00
Teiichiro Fukuda
b2f5789c43 Bug 909224 - Want to add the phonetic name of the name to mozContacts. r=reuben 2014-03-27 01:33:00 +01:00
Masatoshi Kimura
e407e8d737 Bug 980134 - Hide DataContainerEvent from content. r=smaug 2014-03-31 06:28:00 +09:00
Jessica Jong
d0526bcd0a Bug 978709 - 4.c/6: NetworkUtils changes to support IPv4v6. f=echen, r=vicamo 2014-03-29 15:18:19 +08:00
Vicamo Yang
612f4dfdfc Bug 978709 - 1/6: remove nsINetworkInterface::broadcast. r=hsinyi 2014-03-29 15:18:09 +08:00
Ed Morley
104a0c2f3d Backed out changeset f86715f86157 (bug 984495) for something in the push causing test_bug470212.html failures; CLOSED TREE 2014-03-28 17:15:36 +00:00
Peter Van der Beken
60fef7f9e3 Bug 984495 - Add Window.onwheel to WebIDL. r=bz. 2014-02-15 22:12:33 +01:00
Ed Morley
9d7a5cff30 Backed out changeset 00fa39c23b44 (bug 778077) for reftest failures 2014-03-28 12:31:29 +00:00
Chris Pearce
c9cd61eb5d 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
1a6280a756 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
e3c6df3e5f Bug 983920 - Port window.sidebar and window.external to WebIDL; r=bzbarsky 2014-03-28 00:03:03 -04:00
Chris Pearce
b26d467d58 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
e48d8ac267 Bug 960426 - Part 2: Modifications for IDL change. r=blassey 2014-03-05 11:54:55 +08:00
John Shih
124b6eaef6 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
79f324822a 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
8e4b6960fa Bug 860731 - Part c: Move LockedFile to WebIDL; r=janv 2014-03-24 16:10:27 +01:00
Rik Cabanier
3425d5a8cf 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
0a1fe8c669 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
678b53ce27 Bug 985796 - Port the permission settings API to WebIDL; r=bzbarsky 2014-03-22 09:58:24 -04:00
Ehsan Akhgari
5b963a3d75 Bug 985812 - Make a ActivityRequestHandler.source a pure cached frozen dictionary; r=bzbarsky 2014-03-22 09:54:40 -04:00
Ehsan Akhgari
bdb6a06376 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
242dcf017a Bug 983845 follow-up: Don't try to build BrowserFeedWriter.webidl for xulrunner builds 2014-03-21 18:34:27 -04:00
Ryan VanderMeulen
2ecebddb0e Merge m-c to inbound. 2014-03-21 16:49:07 -04:00
Ehsan Akhgari
0cfc414bc6 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
c46dd0aaa3 Backed out changeset 463fa756b43b (bug 886110) for causing various regressions. 2014-03-21 14:44:05 -04:00
Srirakshith Betageri
9e99311a3a 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
52db30b7a6 Backed out changeset e9c807b1e3d4 (bug 985257) for bustage. 2014-03-21 10:07:07 -04:00
Rik Cabanier
086c625c06 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
ae259da2ce 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
8bcebeb7f3 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
cf6b0995cb 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
4a84273760 Bug 917755. Part 3: Implement DOMRect per spec. r=jst
--HG--
extra : rebase_source : 46ef3a90763ceaea5bb43652e5c97e16667a9e7f
2013-09-20 22:21:03 +12:00