Commit Graph

3069 Commits

Author SHA1 Message Date
Andrea Marchesini
8372e7d29d Bug 911972 - MessagePort and MessageChannel in workers, r=smaug, r=bent
--HG--
rename : dom/base/MessageChannel.cpp => dom/messagechannel/MessageChannel.cpp
rename : dom/base/MessageChannel.h => dom/messagechannel/MessageChannel.h
rename : dom/base/MessagePort.cpp => dom/messagechannel/MessagePort.cpp
rename : dom/base/MessagePort.h => dom/messagechannel/MessagePort.h
rename : dom/base/MessagePortList.cpp => dom/messagechannel/MessagePortList.cpp
rename : dom/base/MessagePortList.h => dom/messagechannel/MessagePortList.h
rename : dom/base/test/iframe_messageChannel_chrome.html => dom/messagechannel/tests/iframe_messageChannel_chrome.html
rename : dom/base/test/iframe_messageChannel_cloning.html => dom/messagechannel/tests/iframe_messageChannel_cloning.html
rename : dom/base/test/iframe_messageChannel_pingpong.html => dom/messagechannel/tests/iframe_messageChannel_pingpong.html
rename : dom/base/test/iframe_messageChannel_post.html => dom/messagechannel/tests/iframe_messageChannel_post.html
rename : dom/base/test/test_messageChannel.html => dom/messagechannel/tests/test_messageChannel.html
rename : dom/base/test/test_messageChannel.xul => dom/messagechannel/tests/test_messageChannel.xul
rename : dom/base/test/test_messageChannel_cloning.html => dom/messagechannel/tests/test_messageChannel_cloning.html
rename : dom/base/test/test_messageChannel_pingpong.html => dom/messagechannel/tests/test_messageChannel_pingpong.html
rename : dom/base/test/test_messageChannel_post.html => dom/messagechannel/tests/test_messageChannel_post.html
rename : dom/base/test/test_messageChannel_pref.html => dom/messagechannel/tests/test_messageChannel_pref.html
rename : dom/base/test/test_messageChannel_start.html => dom/messagechannel/tests/test_messageChannel_start.html
rename : dom/base/test/test_messageChannel_transferable.html => dom/messagechannel/tests/test_messageChannel_transferable.html
rename : dom/base/test/test_messageChannel_unshipped.html => dom/messagechannel/tests/test_messageChannel_unshipped.html
2015-06-17 11:44:27 +01:00
Boris Zbarsky
bdea574c3c Bug 1174954 part 1. Stop throwing DOMErrors from JS-implemented webidl, since we can now throw content-side Errors instead. r=bholley 2015-06-16 16:44:10 -04:00
Carsten "Tomcat" Book
715975c08d Merge mozilla-central to mozilla-inbound
--HG--
rename : browser/themes/osx/webRTC-shareDevice-16.png => browser/themes/shared/webrtc/webRTC-shareDevice-16.png
rename : browser/themes/osx/webRTC-shareDevice-16@2x.png => browser/themes/shared/webrtc/webRTC-shareDevice-16@2x.png
rename : browser/themes/osx/webRTC-shareDevice-64.png => browser/themes/shared/webrtc/webRTC-shareDevice-64.png
rename : browser/themes/osx/webRTC-shareDevice-64@2x.png => browser/themes/shared/webrtc/webRTC-shareDevice-64@2x.png
rename : browser/themes/osx/webRTC-shareMicrophone-16.png => browser/themes/shared/webrtc/webRTC-shareMicrophone-16.png
rename : browser/themes/osx/webRTC-shareMicrophone-16@2x.png => browser/themes/shared/webrtc/webRTC-shareMicrophone-16@2x.png
rename : browser/themes/osx/webRTC-shareMicrophone-64.png => browser/themes/shared/webrtc/webRTC-shareMicrophone-64.png
rename : browser/themes/osx/webRTC-shareMicrophone-64@2x.png => browser/themes/shared/webrtc/webRTC-shareMicrophone-64@2x.png
extra : rebase_source : c86cc3d7ab1a0dd27f2055886b5820fae43f8de5
2015-06-16 16:24:17 +02:00
Carsten "Tomcat" Book
56a152e92c merge mozilla-inbound to mozilla-central a=merge 2015-06-16 16:08:27 +02:00
Jocelyn Liu
0d4e05f63a Bug 1167064 - Patch1: Switch to bluetooth APIv2. r=shuang 2015-06-16 09:38:50 +08:00
Shawn Huang
434fcb6904 Backed out changesets 0832ffdd8144 for Bug 1167064 2015-06-15 19:05:03 +08:00
Jocelyn Liu
3ded2db982 Bug 1167064 - Patch1: Switch to bluetooth APIv2. r=shuang 2015-06-15 17:11:35 +08:00
Jocelyn Liu
79a8bee656 Bug 1174071 - Remove 'required' keyword for Bluetooth*EventInit dictionary members. r=btian, r=bz 2015-06-15 17:11:18 +08:00
Kelly Davis
753923ab23 Bug 1169653 - Limit use of the speech recognition API in JS to certified apps or apps with the proper flags set. r=smaug
--HG--
extra : rebase_source : 722ce76c4d7f3fb251099797f62062e5f5db27f0
2015-06-12 05:01:00 -04:00
Wes Kocher
8127240e63 Merge b2ginbound to central, a=merge 2015-06-11 17:37:23 -07:00
Ryan VanderMeulen
6bced0aeb7 Backed out changeset bdaede62fdcf (bug 1169653) for introducing new rooting hazards.
CLOSED TREE
2015-06-11 15:48:09 -04:00
Kelly Davis
284e30b335 Bug 1169653 - Patch limits use of the speech recognition API in JS to certified apps or apps with the proper flags set. r=smaug 2015-06-10 02:20:00 -04:00
Paul Rouget
53184296fe Bug 1163961 - Browser API: Page search. r=kchen, r=ehsan 2015-06-09 20:04:00 -04:00
Kelly Davis
03382cd121 Bug 1051148 - Part 1: Patch that introduces WebSpeech API implementation. r=smaug
--HG--
extra : rebase_source : 21627e11c429f5bf5f7373de804f3adfda431dbc
extra : histedit_source : a7f4210afb870d8ce7bc97d8608d0674473cc713
2015-06-09 22:49:00 -04:00
Ehsan Akhgari
cd8eec31d9 Bug 1174868 - Avoid storing RequestContext inside InternalRequest; r=nsm,bkelly,smaug
We are going to infer all RequestContext types from the corresponding
nsContentPolicyType. It no longer makes sense to store both of these on
InternalRequest.  This has the extra benefit that we don't need to worry
about keeping them in sync any more.
2015-06-15 21:36:04 -04:00
Ehsan Akhgari
fe838f3834 Bug 1174849 - Remove "serviceworker" from RequestContext; r=smaug,bkelly 2015-06-15 21:36:01 -04:00
Boris Zbarsky
90031d3619 Bug 1173593. Make it possible to throw TypeError (or, in fact, any other Error from the content compartment) from js-implemented webidl. r=bholley 2015-06-15 20:09:36 -04:00
Dan Glastonbury
e4e894d15e Bug 1170855 - Part 7: Implement MAX_CLIENT_WAIT_TIMEOUT_WEBGL. r=jgilbert, r=smaug 2015-06-11 15:12:12 +10:00
Phil Ringnalda
e9695717ce Backed out 12 changesets (bug 1170855) for Windows build bustage
CLOSED TREE

Backed out changeset 47070f494c9e (bug 1170855)
Backed out changeset 86e3fb3a2295 (bug 1170855)
Backed out changeset 49284df5294e (bug 1170855)
Backed out changeset ae7c769cb78d (bug 1170855)
Backed out changeset 1fbb0ef29363 (bug 1170855)
Backed out changeset 1fd9140044be (bug 1170855)
Backed out changeset cca48a1bc6ef (bug 1170855)
Backed out changeset 835570bc63bf (bug 1170855)
Backed out changeset 4ee1883ffc65 (bug 1170855)
Backed out changeset c666d71f4899 (bug 1170855)
Backed out changeset 046422ea849f (bug 1170855)
Backed out changeset d38fb3aea20a (bug 1170855)
2015-06-10 20:47:07 -07:00
Dan Glastonbury
23c27a31d7 Bug 1170855 - Part 7: Implement MAX_CLIENT_WAIT_TIMEOUT_WEBGL. r=jgilbert, r=smaug
This is a special addition for WebGL 2. I've updated webidl to match the
spec.

I've set the value to be 0 to match Chrome. If I query the underlying
GL, I get -1 back. (On OSX). We can discuss what a better value would
be.
2015-06-11 12:26:28 +10:00
Dan Glastonbury
7f6957db60 Bug 1170452 - Remove constants for texture swizzle and prim restart. r=smaug 2015-06-10 16:28:49 +10:00
Wes Kocher
c6d76d7fd9 Merge m-c to inbound, a=merge CLOSED TREE 2015-06-09 19:29:20 -07:00
Dan Glastonbury
b8459e912c Bug 1170454: Fix up instance type for VAOs. r=smaug,r=jgilbert
--HG--
rename : dom/canvas/WebGLVertexArrayGL.h => dom/canvas/WebGLVertexArrayObject.cpp
rename : dom/canvas/WebGLVertexArrayGL.h => dom/canvas/WebGLVertexArrayObject.h
2015-06-10 11:53:08 +10:00
Siddartha Pothapragada
bdb426b07d Bug 1118102 - Fix error handling by rejecting the promise request with specific SE errors instead of 'Generic Error'. r=allstars.chh r=khuey a=kwierso
--HG--
extra : amend_source : 6eca4fc1927356a6470ee33e70d7d52131969538
2015-06-09 11:18:51 -07:00
Mason Chang
920f2ea28a Bug 1077651 Measure frame uniformity by synthesizing native events. r=kats,mrbkap 2015-06-08 09:53:41 -07:00
Jonathan Watt
04e51d3039 Bug 1173390 - Remove the majority of the old directory picker implementation to prepare for the new implementation under bug 1164310. r=baku 2015-06-06 12:41:47 +01:00
Yoshi Huang
a1b1318d82 Bug 1170097 - Part 2: Add originAttributesToCookieJar. r=bholley 2015-06-03 14:38:55 +08:00
Yoshi Huang
b6596ba507 Bug 1170097 - Part 1: Move OriginAttributeDictionary. r=bholley 2015-06-03 14:35:09 +08:00
Nikhil Marathe
914907fc27 Bug 1114554 - Patch 1 - Notification ServiceWorker API stubs. r=wchen,baku
--HG--
extra : rebase_source : 10558f76070842454f22356d35b4f6639f990e29
2015-03-10 18:57:09 -07:00
Nikhil Marathe
6ecdd193cc Bug 916893 - Patch 1 - Notification on workers. r=khuey,wchen
Does not implement the Service Worker API - https://notifications.spec.whatwg.org/#service-worker-api
***
Folded:
Bug 916893 - Better ownership model. r=khuey
Fix for bug found by ASan where we were touching the NotificationFeature after releasing it.

--HG--
extra : rebase_source : 7522a4a51fda41726e7cf26b61fbf535c260fab3
2015-06-25 11:36:53 -07:00
David Anderson
46807997bc Add an API for snapshotting widgets as they are presented by the operating system. (bug 1167477, r=mattwoodrow, dom r=khuey)
--HG--
extra : rebase_source : f750028018bc04eddf31a1e3810e013b1d8f1631
2015-06-04 14:19:06 -07:00
Edgar Chen
6e38b077c4 Bug 1169160 - [MobileConnection] Support more call barring program: all service, outgoing service and incoming service. r=hsinyi,aknow
--HG--
rename : dom/mobileconnection/tests/marionette/test_call_barring_get_option.js => dom/mobileconnection/tests/marionette/test_call_barring_get_error.js
2015-05-28 15:41:55 +08:00
Ryan VanderMeulen
0d430ff1b0 Backed out changesets b2fb4270e0a6 and 2a0493fb37db (bug 1051148) for introducing new rooting hazards.
CLOSED TREE IGNORE IDL

--HG--
extra : rebase_source : 97a096424b43fc4bed692182841843131fdcee13
extra : histedit_source : 4754300927dac90f0ae879e90896e36f1aa28b49
2015-06-03 13:14:59 -04:00
Kelly Davis
bf300061b2 Bug 1051148 - Part 1: Patch that introduces WebSpeech API implementation. r=smaug
IGNORE IDL

--HG--
extra : histedit_source : d9d8b673d22c90cfc0e9c58e8599a2b34167c913
2015-05-27 21:48:00 -04:00
Jose Antonio Olivera Ortega
2d3a0be044 Bug 1131352 - Part 2: Add ServiceWorkerGlobalScope skipWaiting(). r=nsm, r=baku 2015-06-02 07:12:00 -04:00
Andrew Comminos
afee8c7898 Bug 1168845 - Update WebGL interface names to follow the spec. r=smaug, r=dglastonbury 2015-06-01 10:17:00 -04:00
Wes Kocher
d80ffbf1c9 Merge inbound to central, a=merge 2015-06-02 18:20:12 -07:00
Georg Fritzsche
8b5f2ef6db Bug 1150115 - Update the SelfSupport API for the unification changes. r=bsmedberg,smaug 2015-06-02 13:35:06 +07:00
Marcos Caceres
8fc79cb285 Bug 1089255 - Implement and test manifest-src CSP directive. r=bholley, r=dveditz, r=ckerschb
---
 dom/base/nsContentPolicyUtils.h                    |   1 +
 dom/base/nsDataDocumentContentPolicy.cpp           |   3 +-
 dom/base/nsIContentPolicy.idl                      |   2 +-
 dom/base/nsIContentPolicyBase.idl                  |   7 +-
 dom/base/nsISimpleContentPolicy.idl                |   2 +-
 dom/base/test/csp/browser.ini                      |   4 +
 dom/base/test/csp/browser_test_web_manifest.js     | 265 +++++++++++++++++++++
 .../csp/browser_test_web_manifest_mixed_content.js |  55 +++++
 dom/base/test/csp/file_CSP_web_manifest.html       |   6 +
 dom/base/test/csp/file_CSP_web_manifest.json       |   1 +
 .../test/csp/file_CSP_web_manifest.json^headers^   |   1 +
 dom/base/test/csp/file_CSP_web_manifest_https.html |   4 +
 dom/base/test/csp/file_CSP_web_manifest_https.json |   1 +
 .../csp/file_CSP_web_manifest_mixed_content.html   |   9 +
 .../test/csp/file_CSP_web_manifest_remote.html     |   8 +
 dom/base/test/csp/file_csp_testserver.sjs          |  14 +-
 dom/base/test/csp/mochitest.ini                    |   7 +
 dom/base/test/moz.build                            |   5 +-
 dom/fetch/InternalRequest.cpp                      |   3 +
 dom/fetch/InternalRequest.h                        |   2 +-
 .../security/nsIContentSecurityPolicy.idl          |   3 +-
 dom/ipc/manifestMessages.js                        |  25 +-
 dom/security/nsCSPUtils.cpp                        |   7 +
 dom/security/nsCSPUtils.h                          |  10 +-
 dom/security/nsMixedContentBlocker.cpp             |   1 +
 dom/webidl/CSPDictionaries.webidl                  |   1 +
 extensions/permissions/nsContentBlocker.cpp        |   6 +-
 netwerk/mime/nsMimeTypes.h                         |   1 +
 28 files changed, 439 insertions(+), 15 deletions(-)
 create mode 100644 dom/base/test/csp/browser.ini
 create mode 100644 dom/base/test/csp/browser_test_web_manifest.js
 create mode 100644 dom/base/test/csp/browser_test_web_manifest_mixed_content.js
 create mode 100644 dom/base/test/csp/file_CSP_web_manifest.html
 create mode 100644 dom/base/test/csp/file_CSP_web_manifest.json
 create mode 100644 dom/base/test/csp/file_CSP_web_manifest.json^headers^
 create mode 100644 dom/base/test/csp/file_CSP_web_manifest_https.html
 create mode 100644 dom/base/test/csp/file_CSP_web_manifest_https.json
 create mode 100644 dom/base/test/csp/file_CSP_web_manifest_mixed_content.html
 create mode 100644 dom/base/test/csp/file_CSP_web_manifest_remote.html
2015-06-02 15:42:19 -04:00
Morris Tseng
974788b953 Bug 1155493 - Part 1: Add CaretStateChangedEvent and corresponding utility function. r=roc, sr=smaug 2015-05-19 20:59:00 -04:00
Andrew Comminos
2195da3088 Bug 974832 - Add support for WebGL's EXT_disjoint_timer_query. r=dglastonbury, r=smaug 2015-05-27 07:12:00 -04:00
Ryan VanderMeulen
2e35b1209f Merge inbound to m-c. a=merge 2015-05-29 09:32:46 -04:00
Nick Fitzgerald
3641c12115 Bug 1024774 - Part 7: Add HeapSnapshot WebIDL interface; r=bholley 2015-05-28 07:37:42 -07:00
Nick Fitzgerald
cb75c6c34c Bug 1024774 - Part 1: Add the ChromeUtils WebIDL interface. r=bholley 2015-05-28 07:37:42 -07:00
Bevis Tseng
9c5bb591c3 Bug 1114938 - Part 4: (WebIDL) Type of MNC/MCC shall be the same to the one defined in MozMobileNetworkInfo. r=echen, r=htsai 2015-05-06 19:26:59 +08:00
Tim Taubert
9a87f6a0e5 Bug 1050175 - Add raw import/export for EC public keys to the WebCrypto API r=rbarnes,smaug 2015-04-28 09:13:16 +02:00
Tom Tromey
8a14d23ca5 Bug 1050500 - add fields to ProfileTimelineStackFrame; r=smaug 2015-05-26 10:52:52 -07:00
Ryan VanderMeulen
cf9976434d Backed out 4 changesets (bug 1155493) for Android test_browserElement_inproc_CopyPaste.html timeouts/crashes.
Backed out changeset 3bd7adb9f591 (bug 1155493)
Backed out changeset 0380b1684e6b (bug 1155493)
Backed out changeset 58b7c1eaf3c8 (bug 1155493)
Backed out changeset 896beb5088a7 (bug 1155493)
2015-05-25 13:15:06 -04:00
Andrea Marchesini
6a2a4a1aa9 Bug 1155761 - User Timing API in Workers, r=ehsan 2015-05-25 17:53:07 +01:00
Morris Tseng
c1b8ea5c2d Bug 1155493 - Part 1: Add CaretStateChangedEvent and corresponding utility function. r=roc, sr=smaug
--HG--
extra : source : 1e690405d3146521cb01cf4b44c92028049f237f
2015-05-19 20:59:00 -04:00
Andrea Marchesini
23bb879984 Bug 1167423 - patch 5 - Handle return values of FallibleTArray functions in WebGL2Context, r=smaug 2015-05-25 12:50:15 +01:00
Andrea Marchesini
7fb8486168 Bug 1167423 - patch 4 - Handle return values of FallibleTArray functions in CanvasRenderingContext2D, r=smaug 2015-05-25 12:50:15 +01:00
Andrea Marchesini
c98f5c0ae8 Bug 1167423 - patch 3 - Handle return values of FallibleTArray functions in MutationObserver, r=smaug 2015-05-25 12:50:15 +01:00
Phil Ringnalda
d98af6849d Merge f-t to m-c, a=merge
--HG--
rename : browser/devtools/performance/modules/io.js => browser/devtools/performance/modules/logic/io.js
2015-05-23 14:28:07 -07:00
Ryan VanderMeulen
8556f54b04 Merge m-c to fx-team. a=merge 2015-05-22 14:21:30 -04:00
Kyle Fung
66c7e91d64 Bug 1164970 - Implement failIfMajorPerformanceCaveat. r=jgilbert, r=ehsan
--HG--
extra : rebase_source : c609118df9618795a1c84a7f5749979ad8f9aa68
2015-05-21 11:51:49 -04:00
Tom Tromey
13be65d0c5 Bug 1050500 - Add callee information to Javascript timeline markers. r=smaug
--HG--
extra : rebase_source : dbd9e09496ca7c0e4f9798adf1f8f72749537d1a
2015-05-20 05:28:00 -04:00
Neil Deakin
759d8c25e5 Bug 873923, add a method to allow popups to be anchored at a rectangle, r=tn,mark,khuey 2015-05-08 14:49:54 -04:00
Bobby Holley
91e0c12696 Bug 1165162 - Rework the nsIScriptSecurityManager principal-minting API to be originAttributes-centric. r=gabor,r=bholley,sr=sicking 2015-05-20 17:11:41 -07:00
Bobby Holley
eea636ee0c Bug 1165162 - Make OriginAttributes a dictionary, and make it accessible as both a jsval and a canonical string. r=gabor,r=bholley,sr=sicking 2015-05-20 17:09:53 -07:00
Christoph Kerschbaumer
f679dfded5 Bug 1129999 - Implement CSP devtool using GCLI; CSP to JSON (r=sstamm,bholley) 2015-05-21 11:16:04 -07:00
Byron Campen [:bwc]
1fec8cf0e8 Bug 952145: Rollback support r=mt, r=smaug
--HG--
extra : rebase_source : c5615117716ca907d61b4b7c7eeff71e926821bd
2015-03-19 17:32:51 -07:00
Ted Clancy
be8a64fc3b Bug 1067788 - Part 4: Update test_bug496275.html. Add setCaretBidiLevel method to Selection. r=smontagu r=ehsan 2015-05-22 00:37:16 -04:00
Brian Birtles
e293c228f5 Bug 1166164 part 6 - Make pausing from idle set the current time; r=jwatt, r=smaug
As proposed:

  https://lists.w3.org/Archives/Public/public-fx/2015AprJun/0013.html (item g)

And agreed upon here:

  https://lists.w3.org/Archives/Public/public-fx/2015AprJun/0031.html

--HG--
extra : rebase_source : baca2fa6b9ba94afb1bb3e072e33729774a34f19
extra : histedit_source : 8348f3e8029017dbe380e30dbfc2f66b201beaf0
2015-05-19 14:55:26 +09:00
Brian Birtles
f73f30be29 Bug 1166164 part 5 - Make play() throw when it should seek to the end of an infinite effect; r=jwatt, r=smaug
--HG--
extra : rebase_source : dade110e0d071727ed5bfdb694415ae7980f4467
extra : histedit_source : 1d87ee7db7fd0ec9670fff546e4654fa07bf4f31
2015-05-19 14:00:48 +09:00
Olli Pettay
d6a44b8e13 Bug 1164981 - Add MouseEvent.movementX/Y. r=masayuki, r=ehsan
CLOSED TREE
2015-05-19 16:26:02 -04:00
Ryan VanderMeulen
32c71ac735 Backed out changeset 2ac9fe6d2333 (bug 1164981) for frequent test_bug301397.xul failures.
CLOSED TREE
2015-05-19 15:08:34 -04:00
Olli Pettay
46d974943b Bug 1164981 - Add MouseEvent.movementX/Y, r=masayuki,ehsan
--HG--
extra : rebase_source : 2119f9849223ec49075737ca8fb4356d8f0765b5
2015-05-19 19:57:24 +03:00
Jordan Santell
79b0646b65 Bug 1164338 - Move styles markers to be generated in DoProcessRestyles rather than when the Flush_Style queue is flushed. r=smaug,heycam 2015-05-18 16:03:04 -07:00
Andrea Marchesini
338c67e420 Bug 1163388 - patch 1 - make nsIDOMFile an empty interface, r=ehsan 2015-05-18 14:51:54 +01:00
Andreas Pehrson
bbda919298 Bug 1032848 - Part 1: Implement WebIDL for HTMLCanvasElement::CaptureStream. r=smaug, r=mt
--HG--
extra : transplant_source : %A5o%A1%80w%7F%F7%B9%7B%FD%C7%94Rv%F6Q%F0%FF%A4/
2015-05-13 14:04:30 +08:00
Wes Kocher
8f1445e27d Merge m-c to inbound a=merge 2015-05-15 17:32:05 -07:00
Catalin Badea
8b1fbc7805 Bug 1130684 - Implement Service Worker clients.claim. r=nsm,ehsan
--HG--
extra : rebase_source : ea1da8f6dfd8d31936c0ae495ec262581c9e5775
2015-05-14 12:41:42 -07:00
Alexandre Lissy
5521afccce Bug 1160123 - Add support for LTE/WCDMA only network selection. r=hsinyi
--HG--
extra : rebase_source : 356f4e5e0c987a094cf63050a163257b7adb4ad9
2015-05-11 07:49:00 +02:00
Krzysztof Mioduszewski
ff99cc50ee Bug 1119152 - Part 2: [SecureElement] SEReader.isSEPresent. r=smaug, allstarschh 2015-04-28 11:33:36 +02:00
Andrea Marchesini
8674a0606d Bug 1161950 - Remove support for createEvent("CloseEvent") / initCloseEvent, r=smaug 2015-05-14 12:25:36 +01:00
Andrea Marchesini
138f6d0913 Bug 1159792 - get rid of dom.workers.websocket.enabled pref, r=smaug 2015-05-14 12:24:06 +01:00
Cameron McCormack
bf9d92cf41 Bug 1163865 - Remove [Throws] from FontFaceSet.delete. r=smaug 2015-05-13 12:24:34 +10:00
Eitan Isaacson
e550c8cefd Bug 1162692 - Add SpeechSynthesisUtterance.chosenVoiceURI for testing purposes. r=smaug 2015-05-12 13:24:58 -07:00
Boris Zbarsky
068f758b05 Bug 1163898 part 1. Give DOMEventTargetHelper a sane accessor for getting its nsIGlobalObject. r=smaug 2015-05-12 15:56:39 -04:00
Jordan Santell
7b6fec2d8c Bug 922221 - implement console.timeStamp(label) to create profile timeline markers. r=khuey 2015-04-29 12:48:57 -07:00
Tom Tromey
8e26488934 Bug 1152033 - Expose CSS lexer to js. r=heycam, r=bz
--HG--
extra : rebase_source : 1eaabcb6629c185f2e18f27b8c09d9a11611869a
2015-05-04 10:28:00 -04:00
Andrea Marchesini
0d81eae126 Bug 1156875 - patch 1 - URL.createObjectURL leaks in JS sandbox, r=bholley 2015-05-07 08:05:43 +01:00
Carsten "Tomcat" Book
6e929ef81c merge mozilla-inbound to mozilla-central a=merge 2015-05-06 11:59:15 +02:00
Ben Kelly
f1808d0d50 Bug 1160138 P2 Add a [ChromeConstructor] to CacheStorage to support devtools. r=ehsan 2015-05-05 15:45:36 -07:00
Ben Kelly
359755abf1 Bug 1160138 P1 Update CacheStorage and Cache webidl to latest spec. r=ehsan 2015-05-05 15:45:36 -07:00
André Reinald
abcbead4d2 Bug 1075157 - Support action: reset search. r=gfritzsche, r=florian, r=bholley 2015-04-24 17:57:52 +02:00
Boris Zbarsky
0472742d0c Bug 1160628. Speed up the URL constructor in the common case of no base URI. r=baku 2015-05-05 13:38:56 -04:00
Kershaw Chang
6918790176 Bug 1126694 - IDL changes for DeviceStorageAreaListener. r=bz 2015-05-04 08:10:00 +02:00
Ryan VanderMeulen
2b8b4270f9 Merge m-c to inbound. a=merge 2015-05-04 16:11:38 -04:00
Ryan VanderMeulen
3ae9df90e4 Merge fx-team to m-c. a=merge 2015-05-04 15:53:32 -04:00
Ryan VanderMeulen
2f893755da Backed out changesets c6380188c418 and cc9ff30e82d6 for possible Android debug asserts/crashes.
CLOSED TREE
2015-05-04 14:12:37 -04:00
Jamin Liu
da0f8172bb Bug 1063444 - Implement LE scan related methods and LE device event. r=joliu, r=mrbkap 2015-05-04 18:59:02 +08:00
Mike Conley
97a46ed1e0 Bug 1146955 - Make the GMP pluginID a uint32_t, and dispatch it in the PluginCrashed event. r=jesup r=mrbkap
--HG--
extra : rebase_source : ef8893d470e437d93a44b393f595518acb411852
extra : source : ad87e781794d5bb5337feb6e2608730075a7f71e
extra : histedit_source : 91cbbdedc9273982d0eb6b3c58269c73e0f46f63
2015-05-04 15:40:29 -04:00
Samael Wang
60a1175c07 Bug 1044721 - Part 1: Add setSmscAddress API in MozMobileMessageManager Web IDL interface, and corresponding implementation in MobileMessageManager class. r=hsinyi 2015-04-29 10:41:05 +08:00
Brian Birtles
a606228cd8 Bug 1159082 - Rename *Readonly animation interfaces to *ReadOnly. r=smaug 2015-04-30 09:06:43 -04:00
Carsten "Tomcat" Book
b05d97c166 Backed out changeset 1b5fc672f0d4 (bug 1159082) for B2G ICS Emulator opt R6 test failures on a CLOSED TREE
--HG--
rename : dom/animation/AnimationEffectReadOnly.cpp => dom/animation/AnimationEffectReadonly.cpp
rename : dom/animation/AnimationEffectReadOnly.h => dom/animation/AnimationEffectReadonly.h
rename : dom/webidl/AnimationEffectReadOnly.webidl => dom/webidl/AnimationEffectReadonly.webidl
2015-04-30 13:15:04 +02:00
Brian Birtles
4fb166f6b2 Bug 1159082 - Rename *Readonly animation interfaces to *ReadOnly; r=smaug
--HG--
rename : dom/animation/AnimationEffectReadonly.cpp => dom/animation/AnimationEffectReadOnly.cpp
rename : dom/animation/AnimationEffectReadonly.h => dom/animation/AnimationEffectReadOnly.h
rename : dom/webidl/AnimationEffectReadonly.webidl => dom/webidl/AnimationEffectReadOnly.webidl
extra : rebase_source : 5fb31684bf494a57e208d0cfbbc76f65b502fc0e
2015-04-28 10:16:45 +09:00
André Reinald
b38e2efe0e Bug 1075157 - Support action: reset search. r=gfritzsche, r=florian, r=bholley 2015-04-24 17:57:52 +02:00
Florent Fayolle
51fab772f2 Bug 922212 - Add console.dirxml. r=bgrins, r=mrbkap 2015-04-29 11:34:00 -04:00
Doug Turner
8129277b27 Bug 1149271 - Remove subscriptionid. r=baku 2015-04-26 03:59:38 -07:00
Boris Zbarsky
34d521e285 Bug 1155984. Improve the performance of the "self" getter in both window and workers. r=peterv,jorendorff 2015-04-27 13:38:12 -04:00
Carsten "Tomcat" Book
596e5f9960 merge fx-team to mozilla-central a=merge 2015-04-27 12:34:03 +02:00
Carsten "Tomcat" Book
107708af7c merge mozilla-inbound to mozilla-central a=merge 2015-04-27 12:00:14 +02:00
Brian Birtles
b34276b816 Bug 1150807 part 2 - Expose Animation::Cancel in WebIDL; r=smaug 2015-04-27 08:53:18 +09:00
Kyle Huey
0f81e8288a Bug 1158366: Remove nsIDOMHTML[BR|Div|Heading|TableCaption|Table|Title]Element.idl. r=ehsan 2015-04-25 07:23:54 -07:00
Kershaw Chang
fe8477c8dc Bug 1035748 - WebIDL for DeviceStorageAreaChangedEvent. r=bz 2015-04-23 19:35:00 -04:00
Wes Kocher
65b94d7a9d Backed out changeset 022beda1707c (bug 1158366) for wError build bustage 2015-04-24 16:52:52 -07:00
Kyle Huey
cdd7af4cfa Bug 1158366: Remove nsIDOMHTML[BR|Div|Heading|TableCaption|Table|Title]Element.idl. r=ehsan 2015-04-24 16:09:30 -07:00
Tom Tromey
7ad4a0d1dd Bug 1050500 - Add entry reason to timeline marker. r=jsantell, r=smaug
--HG--
extra : rebase_source : 038e4e7ff6f18c6db193ada012eb162e075d6d69
2015-04-20 07:03:00 -04:00
Doug Turner
1803c2eea5 Bug 1157108 - onpush EventHandler support. r=ehsan 2015-04-23 20:43:40 +02:00
Nikhil Marathe
5b54bf699f Bug 1131327 - Patch 2 - Expose to workers. r=baku
This patch exposes ServiceWorkerRegistration (and ServiceWorker to satisfy constraints) to workers.

For now, a null registration is returned in the worker.

--HG--
extra : rebase_source : ae1b59d5ee3b3522826ed59fcfcb31e009018ac3
2015-04-03 22:46:07 -07:00
Nikhil Marathe
3f0efb4e4d Bug 1131327 - Patch 1 - Introduce ServiceWorkerRegistration{Base,MainThread,WorkerThread} r=baku
--HG--
extra : rebase_source : 352f05447f45a9dfa651bf683d22659b83508814
2015-04-03 15:18:55 -07:00
Nikhil Marathe
e8ed488816 Bug 1131350 - Move update() to ServiceWorkerRegistration. r=baku
--HG--
extra : rebase_source : 0483ec35b9b53c4970afaf76ff3b8a6f92120e34
2015-03-19 18:09:10 -07:00
Carsten "Tomcat" Book
d7660b2db1 Merge mozilla-central to mozilla-inbound on a CLOSED TREE 2015-04-23 08:41:04 +02:00
Carsten "Tomcat" Book
bab9dbe9c4 Backed out 19 changesets (bug 1149397, bug 1065657, bug 1024774) for fixing Linux PGO xpcshell bustage on a CLOSED TREE
Backed out changeset 53058615e7a3 (bug 1024774)
Backed out changeset 68fe0894bb09 (bug 1065657)
Backed out changeset 1b9620d674df (bug 1024774)
Backed out changeset a31c514b59da (bug 1024774)
Backed out changeset 0fcf8757f6c2 (bug 1024774)
Backed out changeset 9a3c71b925d4 (bug 1024774)
Backed out changeset 783acc92af04 (bug 1024774)
Backed out changeset ad71c9a3446b (bug 1024774)
Backed out changeset 4f37e72e70f6 (bug 1024774)
Backed out changeset ec869578cc0a (bug 1024774)
Backed out changeset 3c1d306c8a3d (bug 1024774)
Backed out changeset b3a90f30892d (bug 1024774)
Backed out changeset cf7bbb3774c0 (bug 1024774)
Backed out changeset 2522eb4d3cf2 (bug 1024774)
Backed out changeset 89a502d88f9c (bug 1024774)
Backed out changeset 61046ad3161f (bug 1024774)
Backed out changeset 36706aaa2f06 (bug 1024774)
Backed out changeset ba8e68e05149 (bug 1149397)
Backed out changeset 532169437c2f (bug 1065657)

--HG--
rename : toolkit/components/protobuf/src/google/protobuf/extension_set.cc => toolkit/components/protobuf/google/protobuf/extension_set.cc
rename : toolkit/components/protobuf/src/google/protobuf/extension_set.h => toolkit/components/protobuf/google/protobuf/extension_set.h
rename : toolkit/components/protobuf/src/google/protobuf/stubs/atomicops_internals_pnacl.h => toolkit/components/protobuf/google/protobuf/generated_message_util.cc
rename : toolkit/components/protobuf/src/google/protobuf/stubs/stringprintf.h => toolkit/components/protobuf/google/protobuf/generated_message_util.h
rename : toolkit/components/protobuf/src/google/protobuf/io/coded_stream.cc => toolkit/components/protobuf/google/protobuf/io/coded_stream.cc
rename : toolkit/components/protobuf/src/google/protobuf/io/coded_stream.h => toolkit/components/protobuf/google/protobuf/io/coded_stream.h
rename : toolkit/components/protobuf/src/google/protobuf/io/coded_stream_inl.h => toolkit/components/protobuf/google/protobuf/io/coded_stream_inl.h
rename : toolkit/components/protobuf/src/google/protobuf/io/package_info.h => toolkit/components/protobuf/google/protobuf/io/package_info.h
rename : toolkit/components/protobuf/src/google/protobuf/service.cc => toolkit/components/protobuf/google/protobuf/io/zero_copy_stream.cc
rename : toolkit/components/protobuf/src/google/protobuf/io/zero_copy_stream.h => toolkit/components/protobuf/google/protobuf/io/zero_copy_stream.h
rename : toolkit/components/protobuf/src/google/protobuf/io/zero_copy_stream_impl.h => toolkit/components/protobuf/google/protobuf/io/zero_copy_stream_impl.h
rename : toolkit/components/protobuf/src/google/protobuf/io/zero_copy_stream_impl_lite.cc => toolkit/components/protobuf/google/protobuf/io/zero_copy_stream_impl_lite.cc
rename : toolkit/components/protobuf/src/google/protobuf/io/zero_copy_stream_impl_lite.h => toolkit/components/protobuf/google/protobuf/io/zero_copy_stream_impl_lite.h
rename : toolkit/components/protobuf/src/google/protobuf/message_lite.cc => toolkit/components/protobuf/google/protobuf/message_lite.cc
rename : toolkit/components/protobuf/src/google/protobuf/message_lite.h => toolkit/components/protobuf/google/protobuf/message_lite.h
rename : toolkit/components/protobuf/src/google/protobuf/package_info.h => toolkit/components/protobuf/google/protobuf/package_info.h
rename : toolkit/components/protobuf/src/google/protobuf/repeated_field.cc => toolkit/components/protobuf/google/protobuf/repeated_field.cc
rename : toolkit/components/protobuf/src/google/protobuf/repeated_field.h => toolkit/components/protobuf/google/protobuf/repeated_field.h
rename : toolkit/components/protobuf/src/google/protobuf/stubs/common.cc => toolkit/components/protobuf/google/protobuf/stubs/common.cc
rename : toolkit/components/protobuf/src/google/protobuf/stubs/common.h => toolkit/components/protobuf/google/protobuf/stubs/common.h
rename : toolkit/components/protobuf/src/google/protobuf/stubs/hash.h => toolkit/components/protobuf/google/protobuf/stubs/hash.h
rename : toolkit/components/protobuf/src/google/protobuf/stubs/once.cc => toolkit/components/protobuf/google/protobuf/stubs/once.cc
rename : toolkit/components/protobuf/src/google/protobuf/stubs/once.h => toolkit/components/protobuf/google/protobuf/stubs/once.h
rename : toolkit/components/protobuf/src/google/protobuf/stubs/stl_util.h => toolkit/components/protobuf/google/protobuf/stubs/stl_util-inl.h
rename : toolkit/components/protobuf/src/google/protobuf/wire_format_lite.cc => toolkit/components/protobuf/google/protobuf/wire_format_lite.cc
rename : toolkit/components/protobuf/src/google/protobuf/wire_format_lite.h => toolkit/components/protobuf/google/protobuf/wire_format_lite.h
rename : toolkit/components/protobuf/src/google/protobuf/wire_format_lite_inl.h => toolkit/components/protobuf/google/protobuf/wire_format_lite_inl.h
2015-04-23 08:37:24 +02:00
Wes Kocher
a79764cf6b Merge inbound to m-c a=merge CLOSED TREE 2015-04-22 17:15:53 -07:00
Nick Fitzgerald
a55c57cabc Bug 1024774 - Part 7: Add HeapSnapshot WebIDL interface; r=bholley 2015-04-22 11:09:54 -07:00
Nick Fitzgerald
5f8c8f100a Bug 1024774 - Part 1: Add the ChromeUtils WebIDL interface. r=bholley 2015-04-22 11:09:54 -07:00
brian37ful
2445e6232d Bug 1131047 - Part 1: Obsolete some events (WebIDL). r=hsinyi 2015-04-16 09:33:00 -04:00
Wes Kocher
1c8090ed35 Merge m-c to fx-team a=merge 2015-04-21 15:39:12 -07:00
André Reinald
1394d77b29 Bug 1075160 - Support action: reset a pref to the default setting r=gfritzsche, r=bholley 2015-04-16 17:00:14 +02:00
Brian Birtles
5c7929fd2a Bug 1154615 part 1 - Rename AnimationPlayer to Animation in WebIDL; r=smaug
This patch is a fairly minimal rename of the AnimationPlayer interface. It
leaves a bunch of local variables and helper classes still using the word
"player". These will be addressed in subsequent patches that don't require DOM
peer review.

--HG--
rename : dom/animation/AnimationPlayer.cpp => dom/animation/Animation.cpp
rename : dom/animation/AnimationPlayer.h => dom/animation/Animation.h
rename : dom/webidl/AnimationPlayer.webidl => dom/webidl/Animation.webidl
2015-04-21 10:22:09 +09:00
Boris Zbarsky
f785c39c1e Bug 1152902 part 2. Add a fast path for the case when a Promise is resolved with another Promise. r=nsm 2015-04-17 22:01:02 -04:00
Ted Mielczarek
3a7c11fc1a bug 1155691 - Expose WindowRoot to chrome from window in webidl. r=smaug
--HG--
extra : rebase_source : ecacc739c8b642faf0e26e19c2a62d2f9e180cc4
2015-04-17 16:17:26 -04:00
Phil Ringnalda
11411ee0a4 Back out 2 changesets (bug 1152902) for Gu bustage
CLOSED TREE

Backed out changeset 462f2f668259 (bug 1152902)
Backed out changeset 1c5ed66652c3 (bug 1152902)
2015-04-18 15:30:17 -07:00
Boris Zbarsky
e5d918e74e Bug 1152902 part 2. Add a fast path for the case when a Promise is resolved with another Promise. r=nsm 2015-04-17 22:01:02 -04:00
Jocelyn Liu
8b5c28e63f Bug 1015796 - Use sequence<DOMString> as the type of attribute |attrs| in BluetoothAttributeEvent instead of any. r=btian, r=mrbkap
--HG--
extra : histedit_source : 5c14b863ffc33d75af03c001298b670c1cac3212
2015-04-19 20:09:00 -04:00
Henry Chang
f9c56cb2da Bug 992772 - Use mms specific network interface to do DNS lookup. r=echen, r=btseng, r=mrbkap
--HG--
extra : histedit_source : 670d2124210bc3769a460022214baaee6b305639
2015-04-09 19:09:37 +08:00
Ryan VanderMeulen
dd1120e715 Merge m-c to inbound. a=merge
CLOSED TREE
2015-04-17 16:11:58 -04:00
Ryan VanderMeulen
86aee22968 Merge inbound to m-c. a=merge
--HG--
rename : toolkit/modules/tests/browser/browser_AddonWatcher.js => toolkit/components/perfmonitoring/tests/browser/browser_AddonWatcher.js
2015-04-17 15:44:37 -04:00
Martin Thomson
d77e198e71 Bug 1152538 - RTCIdentityAssertion is a dictionary, r=smaug
--HG--
extra : rebase_source : cae044d5041413658b32fa008c512aceac0fee43
2015-04-16 09:55:18 -07:00
Cameron McCormack
6d96efcfac Bug 1155015 - Hide FontFaceSet.load() until we implement it. r=bzbarsky 2015-04-17 11:09:59 +10:00
Ryan VanderMeulen
c8c9a859ef Merge m-c to b2g-inbound. a=merge 2015-04-16 16:22:42 -04:00
Bruce Sun
c1123fbf68 Bug 1152653 - Implement BluetoothGatt.oncharacteristicchanged. r=jocelyn, r=mrbkap 2015-04-16 16:47:01 +08:00
Bruce Sun
ea2fb4850a Bug 1140952 - Implement read/write value of a descriptor for GATT client API (webapi part). f=jocelyn, r=btian, r=mrbkap 2015-04-16 16:44:58 +08:00
Bruce Sun
467430b746 Bug 1140952 - Implement read/write value of a characteristic for GATT client API (webapi part). f=jocelyn, r=shawnjohnjr, r=mrbkap 2015-04-16 16:44:17 +08:00
Martin Thomson
86f8c5c0cb Bug 1153294 - Exposing Document.documentLoadGroup to Chrome JS, r=sicking 2015-04-15 14:19:21 -07:00
Boris Zbarsky
7718bf2181 Bug 1154878. Stop exposing navigator.tainteEnabled in workers. r=ehsan 2015-04-15 16:33:06 -04:00
Paul Adenot
af155473a0 Bug 1148354 - Deprecate the doppler effect from the PannerNode. r=ehsan 2015-04-16 15:35:19 +02:00
Brian Birtles
7d31acbd42 Bug 1153734 part 5 - Add AnimationEffectReadonly as a superinterface of KeyframeEffectReadonly; r=smaug
This patch also replaces some tabs with spaces in KeyframeEffect.h because I was
in the area.
2015-04-15 08:48:21 +09:00
Brian Birtles
2d26fd38cb Bug 1153734 part 3 - Rename AnimationPlayer.source to AnimationPlayer.effect; r=smaug
There are still some other references to "source" in AnimationPlayer such as
HasInPlayerSource and UpdateSourceContent. These are renamed in a subsequent
patch (that doesn't require DOM peer review).
2015-04-15 08:48:21 +09:00
Brian Birtles
63e2382338 Bug 1153734 part 2 - Rename Animation to KeyframeEffectReadonly; r=smaug
We define KeyframeEffectReadonly in KeyframeEffect.cpp since Web Animations also
defines KeyframeEffect and when we come to implement that I expect we'll define
it in the same class, maybe even using the same object.

This patch also adds a few missing includes in places where
KeyframeEffectReadonly is used so that we're not just cargo-culting it in.

--HG--
rename : dom/animation/Animation.cpp => dom/animation/KeyframeEffect.cpp
rename : dom/animation/Animation.h => dom/animation/KeyframeEffect.h
rename : dom/animation/test/css-animations/test_animation-name.html => dom/animation/test/css-animations/test_effect-name.html
rename : dom/animation/test/css-animations/test_animation-target.html => dom/animation/test/css-animations/test_effect-target.html
rename : dom/animation/test/css-transitions/test_animation-name.html => dom/animation/test/css-transitions/test_effect-name.html
rename : dom/animation/test/css-transitions/test_animation-target.html => dom/animation/test/css-transitions/test_effect-target.html
rename : dom/webidl/Animation.webidl => dom/webidl/KeyframeEffect.webidl
2015-04-15 08:48:21 +09:00
Brian Birtles
d5b5205359 Bug 1153734 part 1 - Remove AnimationEffect; r=smaug
Most of this is fairly obvious. However, the addition of 'override' to
ElementPropertyTransition::Name() is not strictly necessary. It was simply added
because while making these changes I accidentally dropped the 'virtual' keyword
from the method in the superclass and the compiler didn't complain. Adding this
will hopefully make it harder to create the same bug in the future.

--HG--
rename : dom/animation/test/css-animations/test_animation-effect-name.html => dom/animation/test/css-animations/test_animation-name.html
rename : dom/animation/test/css-transitions/test_animation-effect-name.html => dom/animation/test/css-transitions/test_animation-name.html
2015-04-15 08:48:20 +09:00
Paul Adenot
bc7866deae Bug 1134034 - Add a chrome-only parentId and name on AudioParam for devtools. r=ehsan 2015-04-14 17:03:52 +02:00
Paul Adenot
e86047f94a Bug 1153783 - Implement the detune AudioParam for the AudioBufferSourceNode. r=ehsan 2015-04-14 17:03:50 +02:00
Carsten "Tomcat" Book
807db18b59 Merge mozilla-central to mozilla-inbound 2015-04-14 16:15:02 +02:00
Wes Kocher
5e9e8610ab Merge central to b2ginbound a=merge 2015-04-13 17:28:59 -07:00
James Cheng
b3d42cc729 Bug 1153717 - [Stingray] Update document reference link on InputPort API. r=baku, a=NPOTB 2015-04-12 21:07:00 -04:00
David Rajchenbach-Teller
b08ce98d2a Bug 1083361 - Exposing a PromiseDebugging API to monitor uncaught DOM Promise. r=bz
--HG--
extra : rebase_source : cba2fc37d263d431c3008739a89a4fe47d10b7da
2015-04-10 17:27:57 +02:00
Doug Turner
c915a3ef55 Bug 1038811 - Push Notifications - WebIDL changes. r=nsm. sr=jst 2015-04-10 20:19:28 -07:00
Doug Turner
ec9bd5a923 Bug 1038811 - Push Notifications - Move old push to simplepush. r=nsm. sr=jst 2015-04-10 20:19:28 -07:00
Paul Adenot
e32b404e54 Bug 1094764 - Implement AudioContext.suspend and friends. r=roc,ehsan
- Relevant spec text:
    - http://webaudio.github.io/web-audio-api/#widl-AudioContext-suspend-Promise
    - http://webaudio.github.io/web-audio-api/#widl-AudioContext-resume-Promise
    - http://webaudio.github.io/web-audio-api/#widl-AudioContext-close-Promise
    - http://webaudio.github.io/web-audio-api/#widl-AudioContext-state
    - http://webaudio.github.io/web-audio-api/#widl-AudioContext-onstatechange

- In a couple words, the behavior we want:
    - Closed context cannot have new nodes created, but can do decodeAudioData,
    and create buffers, and such.
    - OfflineAudioContexts don't support those methods, transitions happen at
    startRendering and at the end of processing. onstatechange is used to make
    this observable.
    - (regular) AudioContexts support those methods. The promises and
    onstatechange should be resolved/called when the operation has actually
    completed on the rendering thread.  Once a context has been closed, it
    cannot transition back to "running". An AudioContext switches to "running"
    when the audio callback start running, this allow authors to know how long
    the audio stack takes to start running.
    - MediaStreams that feed in/go out of a suspended graph should respectively
    not buffer at the graph input, and output silence
    - suspended context should not be doing much on the CPU, and we should try
    to pause audio streams if we can (this behaviour is the main reason we need
    this in the first place, for saving battery on mobile, and CPU on all
    platforms)

- Now, the implementation:
    - AudioNodeStreams are now tagged with a context id, to be able to operate
    on all the streams of a given AudioContext on the Graph thread without
    having to go and lock everytime to touch the AudioContext. This happens in
    the AudioNodeStream ctor. IDs are of course constant for the lifetime of the
    node.
    - When an AudioContext goes into suspended mode, streams for this
    AudioContext are moved out of the mStreams array to a second array,
    mSuspendedStreams. Streams in mSuspendedStream are not ordered, and are not
    processed.
    - The MSG will automatically switch to a SystemClockDriver when it finds
    that there are no more AudioNodeStream/Stream with an audio track. This is
    how pausing the audio subsystem and saving battery works. Subsequently, when
    the MSG finds that there are only streams in mSuspendedStreams, it will go
    to sleep (block on a monitor), so we save CPU, but it does not shut itself
    down. This is mostly not a new behaviour (this is what the MSG does since
    the refactoring), but is important to note.
    - Promises are gripped (addref-ed) on the main thread, and then shepherd
    down other threads and to the GraphDriver, if needed (sometimes we can
    resolve them right away). They move between threads as void* to prevent
    calling methods on them, as they are not thread safe. Then, the driver
    executes the operation, and when it's done (initializing and closing audio
    streams can take some time), we send the promise back to the main thread,
    and resolve it, casting back to Promise* after asserting we're back on the
    main thread. This way, we can send them back on the main thread once an
    operation has complete (suspending an audio stream, starting it again on
    resume(), etc.), without having to do bookkeeping between suspend calls and
    their result. Promises are not thread safe, so we can't move them around
    AddRef-ed.
    - The stream destruction logic now takes into account that a stream can be
    destroyed while not being in mStreams.
    - A graph can now switch GraphDriver twice or more per iteration, for
    example if an author goes suspend()/resume()/suspend() in the same script.
    - Some operation have to be done on suspended stream, so we now use double
    for-loop around mSuspendedStreams and mStreams in some places in
    MediaStreamGraph.cpp.
    - A tricky part was making sure everything worked at AudioContext
    boundaries.  TrackUnionStream that have one of their input stream suspended
    append null ticks instead.
    - The graph ordering algorithm had to be altered to not include suspended
    streams.
    - There are some edge cases (adding a stream on a suspended graph, calling
    suspend/resume when a graph has just been close()d).
2015-02-27 18:22:05 +01:00
Masayuki Nakano
db9a97210a Bug 1124608 Support D3E EventModifierInit r=smaug 2015-04-13 16:16:13 +09:00
Brian Birtles
6b5fcefb36 Bug 1152171 part 2 - Rename AnimationTimeline to DocumentTimeline; r=smaug
And then re-add AnimationTimeline as an abstract super-interface of
DocumentTimeline.

--HG--
rename : dom/animation/AnimationTimeline.cpp => dom/animation/DocumentTimeline.cpp
rename : dom/animation/AnimationTimeline.h => dom/animation/DocumentTimeline.h
rename : dom/animation/test/animation-timeline/test_animation-timeline.html => dom/animation/test/document-timeline/test_document-timeline.html
rename : dom/animation/test/animation-timeline/test_request_animation_frame.html => dom/animation/test/document-timeline/test_request_animation_frame.html
2015-04-10 10:34:22 +09:00
Ryan VanderMeulen
23b2440390 Merge inbound to m-c. a=merge 2015-04-09 22:43:57 -04:00
James Cheng
d7b40ea760 Bug 1026350 - Part 1: Inputport API implementation. r=baku 2015-04-08 03:07:00 -04:00
Carsten "Tomcat" Book
31c4421faf Backed out changeset 7fc52c48e6e3 (bug 1094764) for mulet m-3 perma failure in /test_dataChannel_basicAudioVideo.html 2015-04-09 13:44:27 +02:00
John Schoenick
4ce46f5512 Bug 1139560 - <img>.currentSrc should be not be nullable. r=jst 2015-03-04 23:12:00 -05:00
Paul Adenot
70b6a9e143 Bug 1094764 - Implement AudioContext.suspend and friends. r=roc,ehsan
- Relevant spec text:
    - http://webaudio.github.io/web-audio-api/#widl-AudioContext-suspend-Promise
    - http://webaudio.github.io/web-audio-api/#widl-AudioContext-resume-Promise
    - http://webaudio.github.io/web-audio-api/#widl-AudioContext-close-Promise
    - http://webaudio.github.io/web-audio-api/#widl-AudioContext-state
    - http://webaudio.github.io/web-audio-api/#widl-AudioContext-onstatechange

- In a couple words, the behavior we want:
    - Closed context cannot have new nodes created, but can do decodeAudioData,
    and create buffers, and such.
    - OfflineAudioContexts don't support those methods, transitions happen at
    startRendering and at the end of processing. onstatechange is used to make
    this observable.
    - (regular) AudioContexts support those methods. The promises and
    onstatechange should be resolved/called when the operation has actually
    completed on the rendering thread.  Once a context has been closed, it
    cannot transition back to "running". An AudioContext switches to "running"
    when the audio callback start running, this allow authors to know how long
    the audio stack takes to start running.
    - MediaStreams that feed in/go out of a suspended graph should respectively
    not buffer at the graph input, and output silence
    - suspended context should not be doing much on the CPU, and we should try
    to pause audio streams if we can (this behaviour is the main reason we need
    this in the first place, for saving battery on mobile, and CPU on all
    platforms)

- Now, the implementation:
    - AudioNodeStreams are now tagged with a context id, to be able to operate
    on all the streams of a given AudioContext on the Graph thread without
    having to go and lock everytime to touch the AudioContext. This happens in
    the AudioNodeStream ctor. IDs are of course constant for the lifetime of the
    node.
    - When an AudioContext goes into suspended mode, streams for this
    AudioContext are moved out of the mStreams array to a second array,
    mSuspendedStreams. Streams in mSuspendedStream are not ordered, and are not
    processed.
    - The MSG will automatically switch to a SystemClockDriver when it finds
    that there are no more AudioNodeStream/Stream with an audio track. This is
    how pausing the audio subsystem and saving battery works. Subsequently, when
    the MSG finds that there are only streams in mSuspendedStreams, it will go
    to sleep (block on a monitor), so we save CPU, but it does not shut itself
    down. This is mostly not a new behaviour (this is what the MSG does since
    the refactoring), but is important to note.
    - Promises are gripped (addref-ed) on the main thread, and then shepherd
    down other threads and to the GraphDriver, if needed (sometimes we can
    resolve them right away). They move between threads as void* to prevent
    calling methods on them, as they are not thread safe. Then, the driver
    executes the operation, and when it's done (initializing and closing audio
    streams can take some time), we send the promise back to the main thread,
    and resolve it, casting back to Promise* after asserting we're back on the
    main thread. This way, we can send them back on the main thread once an
    operation has complete (suspending an audio stream, starting it again on
    resume(), etc.), without having to do bookkeeping between suspend calls and
    their result. Promises are not thread safe, so we can't move them around
    AddRef-ed.
    - The stream destruction logic now takes into account that a stream can be
    destroyed while not being in mStreams.
    - A graph can now switch GraphDriver twice or more per iteration, for
    example if an author goes suspend()/resume()/suspend() in the same script.
    - Some operation have to be done on suspended stream, so we now use double
    for-loop around mSuspendedStreams and mStreams in some places in
    MediaStreamGraph.cpp.
    - A tricky part was making sure everything worked at AudioContext
    boundaries.  TrackUnionStream that have one of their input stream suspended
    append null ticks instead.
    - The graph ordering algorithm had to be altered to not include suspended
    streams.
    - There are some edge cases (adding a stream on a suspended graph, calling
    suspend/resume when a graph has just been close()d).
2015-02-27 18:22:05 +01:00
Boris Zbarsky
3dbe43d96c Bug 1151940 part 3. Make some writable cssom-view attributes that we only allow setting from chrome act the way readonly replaceables would when called from content. r=smaug 2015-04-08 22:50:45 -04:00
Boris Zbarsky
6498cd7e42 Bug 1151940 part 1. Make some readonly properties defined on Window by CSSOM-view replaceable. r=smaug 2015-04-08 22:50:45 -04:00
Mark Banner
d4d7432759 Bug 1147940 - Remove the dom.webcrypto.enabled pref as it is no longer necessary. r=smaug,r=rbarnes 2015-04-08 19:23:05 +01:00
Ryan VanderMeulen
abc76acfae Merge m-c to inbound. a=merge
CLOSED TREE
2015-04-08 12:59:08 -04:00
Jocelyn Liu
9cb9dfba41 Bug 1140951 - Implement start/stopNotifications for GATT client API. r=shuang, r=mrbkap 2015-04-08 13:49:28 +08:00
Jocelyn Liu
6ece8f378c Bug 1132343 - Patch1: Add accept/reject method in BluetoothPairingHandle interface for supporting consent and displaypasskey pairing requests. r=shuang, r=mrbkap 2015-04-08 13:49:14 +08:00
Ryan VanderMeulen
e2d5707a36 Merge inbound to m-c. a=merge 2015-04-07 15:47:40 -04:00
Catalin Badea
1046704caa Bug 1130686 - Implement client.focus. r=baku 2015-04-07 16:25:08 +03:00
Mike Conley
d95fcd35e3 Bug 1148012 - Expose run ID through nsIObjectLoadingContent.idl. r=josh,smaug.
The run ID for a plugin is retrieved and cached in the nsObjectLoadingContent
on plugin instantiation.

--HG--
extra : rebase_source : d1e87b7751e6367c482b2420aa43bfadbce5e3e8
2015-03-17 13:28:32 -04:00
Henry Chang
41c41098cf Bug 1053650 - Part 1: Add attribute 'networkInterfaceId' to XMLHttpRequest. r=bz
--HG--
extra : rebase_source : 4d1342b2cbd14468596fe80788f92f2635aad29d
2015-03-03 09:09:07 +08:00
Yoshi Huang
1c8a65a91a Bug 1127735 - Update TechDiscoveredNotication. r=smaug, dimi 2015-03-25 11:16:42 +08:00
Yoshi Huang
a4d03f3431 Bug 1146270 - Move HCI Event Origin into NfcOptions.webidl. r=smaug, dimi 2015-03-24 17:19:48 +08:00
Phil Ringnalda
3ec9a25f34 Merge b-i to m-c, a=merge 2015-04-04 11:04:11 -07:00
Junior Hsu
8fd2b7dc4c Bug 1097468 - Part 1: Expose |homescreen-webapps-manage| in Apps.webidl. r=sicking
--HG--
extra : rebase_source : 593d1f1dfc46822a71691369899d51300bcc32f4
2015-03-06 18:24:42 +08:00
Vladimir Vukicevic
223017214a Bug 1148005; Update WebVR APIs based on latest spec changes; r=baku 2015-04-01 16:02:20 -04:00
Carsten "Tomcat" Book
47611f8971 Backed out changeset 3a626a11ac38 (bug 1097468) for B2G ICS Emulator m1 test failures
--HG--
extra : rebase_source : 15927fe3ada3005ad4cde630c480e1d0b04cf0f9
2015-04-01 12:53:02 +02:00
Carsten "Tomcat" Book
18b4bf751f Backed out changeset 80c32af73390 (bug 1139560) 2015-04-01 09:59:35 +02:00
Nikhil Marathe
9b5f6b134f Bug 1109751 - Consume FormData support in Fetch API. r=baku
--HG--
extra : __touch-noise__ : 2181078256
extra : transplant_source : %A4%7F%FF%9CV%9F%2C%F7%C1%A0%BBoc%CC%BB%0E%8E%F5%80%C1
2015-04-03 22:55:15 -07:00
Wes Kocher
e73d6e8c9e Backed out 2 changesets (bug 1109751) for asan mochitest-3 failures
Backed out changeset 269ce19afa43 (bug 1109751)
Backed out changeset add6d1bd2e52 (bug 1109751)
2015-04-03 12:22:47 -07:00
Nikhil Marathe
dd5c91927a Bug 1109751 - Consume FormData support in Fetch API. r=baku
--HG--
extra : transplant_source : %B0%0F%AB%E9%DBV%D1%86%980%28L%EC%CBI%0A%09%26%FDS
extra : histedit_source : 39fe8278cf135aa63a59ef4024432fab9ce5c7ee
2015-04-02 10:51:13 -07:00
Jed Davis
ae42a23a28 Bug 1143934 - Disallow mozSetFileNameArray in content processes. r=ehsan
Summary of rationale: it never entirely worked, in that the File objects
it created would cause form submission to fail, and the longer-term plan
for content-process system-principal scripts is to remove APIs that allow
direct filesystem access.
2015-03-31 20:47:00 -04:00
Junior Hsu
13d86b6c11 Bug 1097468 - Part1: expose |homescreen-webapps-manage| in Apps.webidl; r=sicking 2015-03-06 18:24:42 +08:00
John Schoenick
54734da502 Bug 1139560 - <img>.currentSrc should be not be nullable. r=jst 2015-03-04 23:12:00 +01:00
Ben Turner
152d030360 Bug 1112702 - Make IndexedDB transactions non-durable by default, r=khuey. 2015-01-25 22:30:09 -08:00
Jonathan Watt
f95f52e412 Bug 1145246, part 5 - Remove the Animatable.getAnimationPlayers() alias for Animatable.getAnimations(). r=birtles, r=smaug 2015-03-20 18:21:02 +00:00
Jonathan Watt
2e0ff82e9d Bug 1145246, part 1 - Rename Animatable.getAnimationPlayers() to Animatable.getAnimations(), but leave the old name an an alias for the new. r=birtles, r=smaug 2015-03-20 18:20:32 +00:00
Jonathan Watt
d9bad51ee9 Bug 1074630, part 1 - Implement Web Animations finishing behavior. r=birtles, r=smaug 2015-03-18 13:22:11 +00:00
Eddy Bruël
b86b9bb514 Bug 1092102 - Implement WorkerDebuggerGlobalScope.createSandbox;r=khuey 2015-03-31 12:22:40 +02:00
Carsten "Tomcat" Book
5245fa5a7b Backed out changeset 71abbf190d53 (bug 1092102) for static analysis build bustage on a CLOSED TREE
--HG--
extra : rebase_source : fb64615c90507f79d27f3ab096e6e0259cb38c3e
2015-03-31 11:14:46 +02:00
Eddy Bruël
0c47b481d2 Bug 1092102 - Implement WorkerDebuggerGlobalScope.createSandbox;r=khuey 2015-03-31 10:19:04 +02:00
Cameron McCormack
b1f66da064 Bug 1072101 - Part 5: Remove indexed property access on FontFaceSet. r=peterv 2015-03-31 14:05:33 +11:00
Cameron McCormack
db636166fe Bug 1072101 - Part 4: Implement FontFaceSet.{keys,@@iterator}. r=peterv 2015-03-31 14:05:33 +11:00
Cameron McCormack
8f0c4021e3 Bug 1072101 - Part 3: Implement FontFaceSet.forEach. r=peterv 2015-03-31 14:05:33 +11:00
Cameron McCormack
07051e8f27 Bug 1072101 - Part 2: Implement FontFaceSet.{entries,values}. r=peterv 2015-03-31 14:05:33 +11:00
Cameron McCormack
d5707c9f36 Bug 1072101 - Part 1: Implement FontFaceSet.size. r=peterv 2015-03-31 14:05:33 +11:00
Wes Kocher
cb09a2f4de Backed out changeset 3be650e84eea (bug 1112702) 2015-03-30 19:45:56 -07:00
Ben Turner
ae054a3620 Bug 1112702 - Make IndexedDB transactions non-durable by default, r=khuey. 2015-01-25 22:30:09 -08:00
Carsten "Tomcat" Book
60382cb6ba Backed out changeset bf22c9e5c5a3 (bug 1094764) for crashtest failures on a CLOSED TREE 2015-03-30 15:14:09 +02:00
Paul Adenot
6ee36e38f6 Bug 1094764 - Implement AudioContext.suspend and friends. r=roc,ehsan
- Relevant spec text:
    - http://webaudio.github.io/web-audio-api/#widl-AudioContext-suspend-Promise
    - http://webaudio.github.io/web-audio-api/#widl-AudioContext-resume-Promise
    - http://webaudio.github.io/web-audio-api/#widl-AudioContext-close-Promise
    - http://webaudio.github.io/web-audio-api/#widl-AudioContext-state
    - http://webaudio.github.io/web-audio-api/#widl-AudioContext-onstatechange

- In a couple words, the behavior we want:
    - Closed context cannot have new nodes created, but can do decodeAudioData,
    and create buffers, and such.
    - OfflineAudioContexts don't support those methods, transitions happen at
    startRendering and at the end of processing. onstatechange is used to make
    this observable.
    - (regular) AudioContexts support those methods. The promises and
    onstatechange should be resolved/called when the operation has actually
    completed on the rendering thread.  Once a context has been closed, it
    cannot transition back to "running". An AudioContext switches to "running"
    when the audio callback start running, this allow authors to know how long
    the audio stack takes to start running.
    - MediaStreams that feed in/go out of a suspended graph should respectively
    not buffer at the graph input, and output silence
    - suspended context should not be doing much on the CPU, and we should try
    to pause audio streams if we can (this behaviour is the main reason we need
    this in the first place, for saving battery on mobile, and CPU on all
    platforms)

- Now, the implementation:
    - AudioNodeStreams are now tagged with a context id, to be able to operate
    on all the streams of a given AudioContext on the Graph thread without
    having to go and lock everytime to touch the AudioContext. This happens in
    the AudioNodeStream ctor. IDs are of course constant for the lifetime of the
    node.
    - When an AudioContext goes into suspended mode, streams for this
    AudioContext are moved out of the mStreams array to a second array,
    mSuspendedStreams. Streams in mSuspendedStream are not ordered, and are not
    processed.
    - The MSG will automatically switch to a SystemClockDriver when it finds
    that there are no more AudioNodeStream/Stream with an audio track. This is
    how pausing the audio subsystem and saving battery works. Subsequently, when
    the MSG finds that there are only streams in mSuspendedStreams, it will go
    to sleep (block on a monitor), so we save CPU, but it does not shut itself
    down. This is mostly not a new behaviour (this is what the MSG does since
    the refactoring), but is important to note.
    - Promises are gripped (addref-ed) on the main thread, and then shepherd
    down other threads and to the GraphDriver, if needed (sometimes we can
    resolve them right away). They move between threads as void* to prevent
    calling methods on them, as they are not thread safe. Then, the driver
    executes the operation, and when it's done (initializing and closing audio
    streams can take some time), we send the promise back to the main thread,
    and resolve it, casting back to Promise* after asserting we're back on the
    main thread. This way, we can send them back on the main thread once an
    operation has complete (suspending an audio stream, starting it again on
    resume(), etc.), without having to do bookkeeping between suspend calls and
    their result. Promises are not thread safe, so we can't move them around
    AddRef-ed.
    - The stream destruction logic now takes into account that a stream can be
    destroyed while not being in mStreams.
    - A graph can now switch GraphDriver twice or more per iteration, for
    example if an author goes suspend()/resume()/suspend() in the same script.
    - Some operation have to be done on suspended stream, so we now use double
    for-loop around mSuspendedStreams and mStreams in some places in
    MediaStreamGraph.cpp.
    - A tricky part was making sure everything worked at AudioContext
    boundaries.  TrackUnionStream that have one of their input stream suspended
    append null ticks instead.
    - The graph ordering algorithm had to be altered to not include suspended
    streams.
    - There are some edge cases (adding a stream on a suspended graph, calling
    suspend/resume when a graph has just been close()d).
2015-02-27 18:22:05 +01:00
Eddy Bruël
8f6d3f73d2 Bug 1092102 - Implement WorkerDebuggerGlobalScope.setImmediate;r=khuey 2015-03-30 13:54:38 +02:00