Commit Graph

14293 Commits

Author SHA1 Message Date
Mounir Lamouri
2d20b55d7a Bug 874640 - Make HTMLInputElement.valueAsDate visibility pref controlled. r=bz 2013-05-23 14:10:26 +01:00
Ehsan Akhgari
1bfc965bdc Bug 874869 - Disallow setting AudioNode.channelCount to zero; r=roc
--HG--
extra : rebase_source : 8015dda70e2191820c9482b529a22bdaa67dd79e
2013-05-23 07:46:20 -04:00
Joe Drew
6623dd54ba Bug 873683 - Make runBeforeNextEvent and runInStableState available off nsIDOMWindowUtils. r=bent
--HG--
extra : rebase_source : 4bafd49139375ef7ed7ef5a9a03dcf8c69af63aa
2013-05-23 09:35:21 +08:00
Ralph Giles
d98efa09c2 Bug 833385 - Implement HTMLTrackElement and TextTrack. r=bz,Ms2ger
Add webidl interfaces and implementations of the HTML <track>
element and related TextTrack, TextTrackList, TextTrackCue,
and TextTrackCueList dom objects.

Visibility is controlled by the media.webvtt.enabled pref,
which defaults to false.

HTMLMediaElement:NewURIFromString() is hoisted to
nsGenericHTMLElement so it's available to the track
element as well.

This patch is primarily work by Dale Karp, David Humphrey
and others as Seneca College.
2013-05-22 00:14:00 +08:00
Bobby Holley
d1daeb827a Bug 868110 - Introduce a more private API for the consumers that really do need the default compartment object. r=luke
The primary consumer of this is the whole inner/outer DOM window setup, which
uses the default global to track the current inner. But there are few other
random ones as well.

We use this as an opportunity to convert a bunch of consumers from the two-step
GetNativeContext() -> JS_GetGlobalObject() into just |GetNativeGlobal()|. This
will make things much easier to convert when we start tracking the current inner
explicitly.
2013-05-22 15:42:44 -06:00
Bobby Holley
a4f2b8ea34 Bug 873698 - Remove JS_GetGlobalObject from plugins. r=gabor 2013-05-22 15:42:44 -06:00
Ryan VanderMeulen
4a2c1820e6 Backed out changesets e52c6f7200b3 and 2718954757e1 (bug 874869) for intermittent Windows leaks. 2013-05-22 15:22:26 -04:00
Jan-Ivar Bruaroey
8e758ade44 Bug 872839 - Part 1: Put new PeerConnections on global list earlier, ensuring close is called should PC.initialize fail. r=jesup 2013-05-22 13:05:20 -04:00
Bobby Holley
91448a9dac Bug 868130 - Remove the lion's share of JSAutoRequests in gecko. r=gabor
There are still a handful that either are used with other runtimes, or that
happen very early/late in cx the lifetime of various things where it doesn't
necessarily make sense to have a cx on the stack. This should definitely ensure
that we're not doing double-duty with the nsCxPusher change, though.
2013-05-22 10:05:28 -06:00
Bobby Holley
300df79e8d Bug 868130 - Fix sketchy cx consumers identified by gabor. r=gabor 2013-05-22 10:05:27 -06:00
Bobby Holley
20dd5cfed6 Bug 868130 - Remove the dependencies of the nsCxPusher machinery on nsContentUtils, use nsCxPusher in xpcshell, and privatize APIs. r=gabor
No more xpc::danger, for now. ;-)
2013-05-22 10:05:26 -06:00
Bobby Holley
54ef3d2952 Bug 868130 - Include nsCxPusher.h everywhere we need it, and stop including it from nsContentUtils.h. r=gabor 2013-05-22 10:05:26 -06:00
Bobby Holley
3df3babf7b Bug 868130 - Make sure mContext is stack-top in the various places where nsJSEnvironment uses it. r=gabor
I also replaced some uses of mJSContext with AutoJSContext upon auditing that
they're only ever called by other nsJSContext functions that just pushed. This
makes the code much easier to audit because we know that we're just inheriting
the caller's cx (which is stack-top) rather than injecting a potentially-
unrelated cx.
2013-05-22 10:05:24 -06:00
Bobby Holley
a69d5a9eff Bug 868130 - Make sure to push a JSContext in TabParent::ReceiveMessage. r=gabor 2013-05-22 10:05:24 -06:00
Bobby Holley
bfc9221094 Bug 868130 - Use an AutoSafeJSContext in hueyfix. r=gabor 2013-05-22 10:05:23 -06:00
Bobby Holley
fffaff5b13 Bug 868130 - Make sure mContext is stack-top in nsJSContext::CompileScript. r=gabor 2013-05-22 10:05:23 -06:00
Ehsan Akhgari
34a9786e5f Bug 874869 - Disallow setting AudioNode.channelCount to zero; r=roc 2013-05-22 11:30:31 -04:00
Ryan VanderMeulen
8562f3d8aa Merge m-c to inbound. 2013-05-22 10:01:52 -04:00
Jan de Mooij
d1d46a2f99 Bug 857845 part 3 - Remove JM JSAPI flags, memory reporters and browser prefs. r=djvj
--HG--
extra : rebase_source : 8b2ed85801fcd8c8fd0fc16a89b1a275add1a310
2013-05-22 14:50:45 +02:00
Eric Chou
21442832e7 Bug 839370 - Implement callback function OnUpdateSdpRecords() in BluetoothProfileManagers, r=gyeh 2013-05-22 19:08:21 +08:00
Eric Chou
8f97249989 Bug 839370 - Implement function UpdateSdpRecords(), r=gyeh 2013-05-22 19:08:17 +08:00
Szu-Yu Chen [:aknow]
3fad2ff850 Bug 874791 - Add permission check for call barring API. r=hsinyi 2013-05-22 17:05:08 +08:00
Patrick Wang
2bd43d3813 Bug 835255 - Part 2: adding marionette test for PNN/OPL. r=vicamo 2013-05-22 16:36:03 +08:00
Hsin-Yi Tsai
3bd9fcedb0 Bug 823958 - BT impl- TelephonyListener::EnumerateCallStateComplete (part 4/4). r=gyeh 2013-05-10 15:00:01 +08:00
Hsin-Yi Tsai
e359b85d70 Bug 823958 - RIL impl- Deliver 'enumerateCallStateComplete' (part 3/4). r=vicamo 2013-05-10 14:58:06 +08:00
Hsin-Yi Tsai
aabb86eebb Bug 823958 - DOM impl- Make sure event listeners will be notified when calls array is ready (part 2/4). r=bent 2013-05-09 18:44:13 +08:00
Hsin-Yi Tsai
279ae3b56c Bug 823958 - idl change - Add nsITelephonyListener::EnumerateCallStateComplete() (part 1/4). r=bent 2013-05-09 18:44:13 +08:00
Reuben Morais
695d852d31 Bug 871872 - Clean up ContactDB's temporary cache if the child dies without asking for more contacts. r=gwagner 2013-05-21 11:19:06 -07:00
Boris Zbarsky
9c2cde002b Bug 867903. Speed up getDescriptors and some other obvious slow points in codegen. r=khuey 2013-05-09 13:06:48 -04:00
Boris Zbarsky
e90b6bf83c Bug 861587. Rejigger the WebIDL binding build system to do all binding codegen in a single python process while still using our dependency tracking for bindings to minimize the number of bindings we try to regenerate. r=khuey 2013-05-09 13:05:33 -04:00
Ryan VanderMeulen
d8cb0383c6 Merge m-c to inbound. 2013-05-21 08:17:04 -04:00
Jonathan Kew
f679cf8281 bug 873939 followup - remove duplicates in the test_interfaces.html list. r=khuey 2013-05-21 12:25:14 +08:00
Edgar Chen
b422878737 Bug 873965 - Set preferred network type when radio is on. r=vicamo 2013-05-20 16:04:37 +08:00
Szu-Yu Chen [:aknow]
8d7b43652f Bug 818393 - Part 4: Add test for call barring. r=htsai.
---
 dom/network/tests/marionette/manifest.ini          |    2 +
 .../marionette/test_call_barring_get_option.js     |   31 +++++++++
 .../marionette/test_call_barring_set_error.js      |   66 ++++++++++++++++++++
 3 files changed, 99 insertions(+)
 create mode 100644 dom/network/tests/marionette/test_call_barring_get_option.js
 create mode 100644 dom/network/tests/marionette/test_call_barring_set_error.js
2013-05-21 13:17:22 +08:00
Szu-Yu Chen [:aknow]
62088d9ca5 Bug 818393 - Part 3: Call barring RIL implementation. r=htsai.
---
 dom/system/gonk/RILContentHelper.js    |  112 +++++++++++++++++++++++++++++++-
 dom/system/gonk/RadioInterfaceLayer.js |   38 +++++++++++
 dom/system/gonk/ril_consts.js          |   19 ++++++
 dom/system/gonk/ril_worker.js          |   31 +++++++++
 4 files changed, 199 insertions(+), 1 deletion(-)
2013-05-21 13:13:37 +08:00
Szu-Yu Chen [:aknow]
c35a3a1739 Bug 818393 - Part 2: Call barring DOM implementation. r=htsai, smaug.
---
 dom/network/src/MobileConnection.cpp |   26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)
2013-05-21 13:12:59 +08:00
Szu-Yu Chen [:aknow]
b43baef554 Bug 818393 - Part 1: Add interface for call barring config. r=htsai. sr=mounir.
---
 dom/network/interfaces/nsIDOMMobileConnection.idl  |   84 +++++++++++++++++++-
 .../interfaces/nsIMobileConnectionProvider.idl     |    7 +-
 2 files changed, 87 insertions(+), 4 deletions(-)
2013-05-21 13:08:57 +08:00
Edgar Chen
7e00587478 Bug 859220 - Part 4: Fix marionette tests for IccManager. r=allstars.chh 2013-04-09 14:30:03 +08:00
Edgar Chen
edee3e5ee8 Bug 859220 - Part 3: Separate IPC messages in RadioInterfaceLayer. r=allstars.chh 2013-04-09 14:18:43 +08:00
Edgar Chen
f95fb00c65 Bug 859220 - Part 2: Separate mozIccManager from mozMobileConnection (DOM). r=smaug 2013-04-08 18:34:10 +08:00
Edgar Chen
55f37661f9 Bug 859220 - Part 1: Separate mozIccManager from mozMobileConnection (IDL). r=allstars.chh. sr=sicking 2013-04-08 15:13:09 +08:00
Ryan VanderMeulen
153a6ea11e Merge inbound to m-c. 2013-05-20 16:21:45 -04:00
Fabrice Desré
49ed5158de Bug 872100 - app.clearBrowserData appears to not clear browser data immediately sr=mounir, r=jduell,ferjm 2013-05-20 10:20:19 -07:00
Ryan VanderMeulen
8acd62e6e3 Merge m-c to inbound. 2013-05-20 11:29:37 -04:00
Ryan VanderMeulen
95bbc42c8c Merge m-c to birch. 2013-05-20 08:22:31 -04:00
Marco Chen
dcb43990c1 Bug 870682 - [gonk-jb-4.2] Add basic support for audio control API. r=mwu 2013-05-20 15:34:42 +08:00
Zachary Easterbrook
cd7c034c2d Bug 868952 - Fix the getAll(...) function in AlarmDB to be more efficient. r=clian 2013-05-20 07:47:38 -04:00
Gina Yeh
414da4c45b Bug 853235 - Combine pairing-related system messages into one type, r=echou 2013-05-20 15:34:45 +08:00
Ms2ger
0ed0441e1e Bug 868778 - Part c: Move DataChannel to WebIDL; r=mounir+jesup
--HG--
rename : content/base/public/nsIDOMDataChannel.idl => dom/webidl/DataChannel.webidl
2013-05-20 09:19:45 +02:00
Ms2ger
46791e0e8c Bug 873417 - Part b: Use CGClass for CGDictionary; r=bz 2013-05-20 09:10:59 +02:00