Commit Graph

31239 Commits

Author SHA1 Message Date
Valentin Gosu
a67bfd06a1 Bug 1093611 - Add/modify tests making sure Link,URL,nsLocation::GetHash don't unescape characters r=smaug 2014-11-12 05:59:24 +02:00
Valentin Gosu
ae99095b94 Bug 1093611 - AnchorElement.hash should be the encoded version of the href attribute's fragment r=smaug 2014-11-12 03:14:04 +02:00
Valentin Gosu
95adf859fe Bug 1093611 - AnchorElement.hash should be the encoded version of the href attribute's fragment r=smaug 2014-11-12 03:14:04 +02:00
JW Wang
0f0c68cbea Bug 1095438 - Don't leave dormant state while detached from the DOM tree. r=cpearce 2014-11-23 19:46:00 +01:00
Seth Fowler
ab431799e2 Bug 1060869 (Part 4) - Update SurfaceCache prefs to increase the cache size. r=dholbert,tn
--HG--
extra : rebase_source : 64746ba9ac1dab008857aa5acbe8699b2de69f0b
2014-11-25 00:10:11 -08:00
Tom Tromey
986dfd2fd6 Bug 1069661 - add "detail" to timeline markers. r=smaug 2014-11-18 14:39:00 +01:00
Boris Zbarsky
e952f7adeb Bug 1094545. Expose the URLSearchParams API in system globals. r=bholley 2014-11-07 14:10:39 -05:00
Robert Longson
4b9965e1ed Bug 1099197 - Determine the bounds of unstroked polylines/polygons directly. r=jwatt 2014-11-24 14:28:58 +00:00
Bobby Holley
009b0d9578 Bug 1099187 - Use fuzz factor for currentTime in addition to duration. r=karlt 2014-11-18 09:58:53 -08:00
Carsten "Tomcat" Book
fbc9553a10 Merge mozilla-central to mozilla-inbound 2014-11-18 17:32:02 +01:00
Carsten "Tomcat" Book
6a293a24ca merge mozilla-inbound to mozilla-central a=merge 2014-11-18 17:25:29 +01:00
Carsten "Tomcat" Book
217db26a63 Backed out changeset 7fa6291d952d (bug 1095257) for suspicion of causing jit tests 2014-11-18 13:14:36 +01:00
Carsten "Tomcat" Book
08dcc3ea91 merge b2g-inbound to mozilla-central a=merge 2014-11-18 12:51:48 +01:00
Tooru Fujisawa
2cbd1c5ec6 Bug 825004 - Part 1: Unprefix CSS3 Text Decoration. r=dbaron 2014-11-18 19:23:09 +09:00
Chris Pearce
20def217dc Bug 1095257 - Implement Navigator.requestMediaKeySystemAccess(). r=edwin r=bz r=peterv 2014-11-18 22:13:02 +13:00
Nicholas Nethercote
bb9d9e645b Bug 1100205 - Zero ScreenDetails outparam in RecvScreenForBrowser() so Valgrind doesn't complain. r=mconley.
--HG--
extra : rebase_source : 6420a5d78ed1d28d157ab10db14951fb14cc523a
2014-11-18 00:29:12 -08:00
Wes Kocher
863eff1d0e Backed out changeset 78aacc35b4e7 (bug 1044736) for breaking statusbar in b2g, take two a=backout 2014-11-17 22:49:39 -08:00
Wes Kocher
d99359e04b Backed out changeset c7c9170ab299 (bug 1044736) 2014-11-17 22:44:13 -08:00
Wes Kocher
5f6cec13d2 Backed out changeset 8ecfc1f41ddc (bug 1044736) 2014-11-17 22:44:09 -08:00
Wes Kocher
c1d7fa8e0a Backed out changeset e4f1f09f150f (bug 1044736) 2014-11-17 22:44:07 -08:00
Wes Kocher
4423502921 Backed out changeset b3ff4ce20e67 (bug 1044736)
--HG--
rename : dom/browser-element/BrowserElementParent.js => dom/browser-element/BrowserElementParent.jsm
2014-11-17 22:44:05 -08:00
Wes Kocher
1d80afc201 Backed out changeset 59a47fafaccf (bug 1044736) 2014-11-17 22:44:03 -08:00
Wes Kocher
8ea0c6cd56 Backed out changeset 61fc517d0336 (bug 1044736) 2014-11-17 22:44:01 -08:00
Wes Kocher
0e23bb5d7a Backed out changeset b1a6ecfca674 (bug 1044736) 2014-11-17 22:43:57 -08:00
Wes Kocher
2d9f4bd96e Backed out changeset d045286cff6e (original backout of 8 changesets) for not working right a=backout
--HG--
rename : dom/browser-element/BrowserElementParent.jsm => dom/browser-element/BrowserElementParent.js
2014-11-17 22:19:49 -08:00
Wes Kocher
3696aa8ceb Backed out 8 changesets (bug 1044736) for breaking the statusbar on b2g a=backout
Backed out changeset b1a6ecfca674 (bug 1044736)
Backed out changeset 61fc517d0336 (bug 1044736)
Backed out changeset 59a47fafaccf (bug 1044736)
Backed out changeset b3ff4ce20e67 (bug 1044736)
Backed out changeset e4f1f09f150f (bug 1044736)
Backed out changeset 8ecfc1f41ddc (bug 1044736)
Backed out changeset c7c9170ab299 (bug 1044736)
Backed out changeset 78aacc35b4e7 (bug 1044736)

--HG--
rename : dom/browser-element/BrowserElementParent.js => dom/browser-element/BrowserElementParent.jsm
2014-11-17 20:34:00 -08:00
Wes Kocher
022cfb7eb1 Backout revision 37970af40c4a (bug 1098145) to be able to cleanly backout another patch series a=backout 2014-11-17 20:29:49 -08:00
Ryan VanderMeulen
581dc3f3c7 Merge b2g-inbound to m-c. a=merge 2014-11-17 16:23:09 -05:00
Sam Penrose
4aa8938365 Bug 1095617 - Don't break when loggedInUser == 'null'. r=ferjm 2014-11-17 08:53:16 -08:00
Gabor Krizsanits
84831ee6e1 Bug 1094930 - part2: init LifecycleCallbacks in the caller compartment. r=bz 2014-11-17 14:04:28 +01:00
Gabor Krizsanits
4e773fc696 Bug 1094930 - Allow registerElement to take protos from other scopes. r=bz 2014-11-17 14:04:27 +01:00
Jessica Jong
5b5039fce3 Bug 1052846 - Part 3: Use enums for MobileNetworkType in nsIMobileConnectionService.idl (gonk). r=echen 2014-11-18 10:07:02 +08:00
Jessica Jong
c656364ed5 Bug 1052846 - Part 2: Use enums for MobileNetworkType in nsIMobileConnectionService.idl (dom/ipc). r=echen 2014-11-18 10:07:00 +08:00
Jessica Jong
14768b1ee0 Bug 1052846 - Part 1: Use enums for MobileNetworkType in nsIMobileConnectionService.idl (idl). r=hsinyi 2014-11-18 10:06:52 +08:00
JerryShih
ccbf30e687 Bug 998916 - Fix wrong preference name. r=jgilbert 2014-11-10 22:31:00 -05:00
Carsten "Tomcat" Book
82aae2ede3 Merge mozilla-central to b2g-inbound 2014-11-17 14:21:05 +01:00
Thomas Zimmermann
627449c0da Bug 1053173: Use |LazyIdleThread| for FM tuning, r=mwu
FM tuning is performed rarely, usually only when switching stations
on the radio, or at irregular intervals. Most of the time, the FM
tune thread is idle.

This patch converts the FM tune thread to be a |LazyIdleThread|. It
get's cleaned up after a small timeout (currently 5 seconds), so it
won't occupy resources while the user is actually listening to the
radio.
2014-11-17 10:23:49 +01:00
Szu-Yu Chen [:aknow]
1eb9b56341 Bug 1088690 - Fix _processCalls. r=hsinyi 2014-11-17 17:20:55 +08:00
Jonathan Kew
0e4e955616 Backout changesets fad675db4598 and 618d8f44d9e2 (bug 1090168 pt 1 and 2) for Nightly crashiness. a=backout 2014-11-15 22:40:00 +00:00
Phil Ringnalda
f9a2419494 Merge b-i to m-c, a=merge 2014-11-15 15:16:34 -08:00
Mike Habicher
a2a53064df Bug 1098660 - fix the (complex) requirements for video mode preview size, r=aosmond 2014-11-14 20:56:59 -05:00
William Chen
0123ae2e9b Bug 1096635 - Update XBL insertion parent for dynamic default content. r=mrbkap 2014-11-14 17:02:29 -08:00
Ryan VanderMeulen
5d1fb92793 Merge inbound to m-c. a=merge 2014-11-14 17:32:39 -05:00
Ryan VanderMeulen
b7f8072b05 Backed out changeset fa836f2dccb6 for introducing new Win7 leaks.
CLOSED TREE
2014-11-14 15:24:17 -05:00
Christoph Kerschbaumer
ba415e054d Bug 1083422 - Add triggering Principal to nsILoadInfo - update consumers (r=bz) 2014-11-14 08:57:26 -08:00
Christoph Kerschbaumer
d5cbc137e2 Bug 1083422 - Add triggering Principal to nsILoadInfo - update callsites (r=bz,sicking) 2014-11-14 08:56:55 -08:00
Alfredo Yang
c7fdbe75a6 Bug 1098994 - Update video output buffer when gets INFO_OUTPUT_BUFFERS_CHANGED from OMX. r=edwin 2014-11-16 19:07:00 +01:00
Jean-Yves Avenard
3465c3bbba Bug 1098637 - Enforce FFmpeg's audio decode API. r=edwin 2014-11-15 10:19:55 +11:00
Jim Mathies
dbafda71d3 Bug 1098055 - Enable deferred message protection for ContentParent. r=billm 2014-11-14 19:22:44 -06:00
Carsten "Tomcat" Book
ae64245b15 Merge mozilla-central to b2g-inbound 2014-11-14 13:25:55 +01:00
Carsten "Tomcat" Book
9bafb1c7ff merge mozilla-inbound to mozilla-central a=merge 2014-11-14 12:58:54 +01:00
Chris Peterson
a05d3eba03 Back out changeset c98cb03a8475 (Bug 1098134) for Windows build bustage. 2014-11-14 00:09:58 -08:00
Yoshi Huang
2fb937a8ba Bug 1098975 - sessionToken is missing in _createNFCPeer in nsNfc.js. r=dimi 2014-11-14 16:03:16 +08:00
Szu-Yu Chen [:aknow]
89f8538b99 Bug 1072868 - Part 2: Add TelephonyAudioService (implementation). r=hsinyi 2014-11-14 15:20:44 +08:00
Szu-Yu Chen [:aknow]
be97514c3b Bug 1072868 - Part 1: Add nsITelephonyAudioService (interface). r=hsinyi 2014-11-14 15:20:43 +08:00
Dave Hylands
c0310ea8fb Bug 1085743 - MTP doesn't work on Nexus 4/5. r=alchen 2014-11-13 17:42:38 -08:00
Ryan VanderMeulen
28c2fca375 Merge fx-team to m-c. a=merge 2014-11-13 15:40:39 -05:00
Ryan VanderMeulen
3816bf87a1 Merge b2g-inbound to m-c. a=merge 2014-11-13 15:33:32 -05:00
Andrew Osmond
f1b2045a01 Bug 1096078 - Restore use of Destroy() for DOMMediaStream. r=jesup 2014-11-13 15:28:22 -05:00
Ryan VanderMeulen
b21b6a20cf Backed out changeset 5dd9fb34f542 (bug 1096078) for Windows mochitest-3 crashes. a=me 2014-11-13 15:24:49 -05:00
Gregor Wagner
68fd435863 Bug 1098039 - PhonenumberJS: update metadata. DONTBUILD r=bent 2014-11-13 10:13:09 -08:00
Gregor Wagner
060a191371 Backed out changeset e68f1b4d1566 for wrong bug number. 2014-11-13 10:11:57 -08:00
Gregor Wagner
97e69c98f2 Bug 1012196 - PhonenumberJS: update metadata. r=bent 2014-11-13 10:03:50 -08:00
Ryan VanderMeulen
064303be00 Backed out changesets 0c9407b0e481, c2c37b2e9fac, and 488700194519 (bug 1000264) for e10s test failures.
CLOSED TREE
2014-11-13 12:40:15 -05:00
Carsten "Tomcat" Book
2777124c18 Merge mozilla-central to b2g-inbound 2014-11-13 16:38:44 +01:00
Carsten "Tomcat" Book
f9d8f1e495 merge mozilla-inbound to mozilla-central a=merge 2014-11-13 16:20:52 +01:00
Kan-Ru Chen (陳侃如)
71b019dc48 No bug, Disable test_browserElement_{inproc,oop}_Download.html tests on CLOSED TREE because of memory leaks 2014-11-13 21:05:44 +08:00
Yoshi Huang
65bd5d6b15 Bug 1098253 - get rfState from nfcd. r=dimi
From 2c8fd495054e6bd3bd93561e20518a47f6f6bc64 Mon Sep 17 00:00:00 2001
---
 dom/nfc/gonk/NfcGonkMessage.h      | 2 +-
 dom/nfc/gonk/NfcMessageHandler.cpp | 5 +----
 dom/nfc/gonk/NfcMessageHandler.h   | 1 -
 3 files changed, 2 insertions(+), 6 deletions(-)
2014-11-13 19:20:37 +08:00
Carsten "Tomcat" Book
b7f71a3e33 Backed out changeset b1f8365b8a92 (bug 1081038) for dt Test Failures on a CLOSED TREE 2014-11-13 11:48:21 +01:00
Carsten "Tomcat" Book
c969ca2647 Backed out changeset 9243c59c3e56 (bug 1081038) 2014-11-13 11:48:00 +01:00
Carsten "Tomcat" Book
8894f4319e Backed out changeset fbb9dc943109 (bug 1076163) for Android 4.0 Crashes on a CLOSED TREE 2014-11-13 11:47:57 +01:00
Carsten "Tomcat" Book
c247fdb775 Backed out changeset 71fe4233208a (bug 1076163) 2014-11-13 11:47:35 +01:00
Carsten "Tomcat" Book
4b4108a4a9 Backed out changeset a96930f1e26b (bug 1055741) 2014-11-13 11:47:31 +01:00
Kan-Ru Chen (陳侃如)
4765f57c8e Bug 1098145 - Fix BrowserElement::Download crash and enable mochitest. r=smaug 2014-11-13 18:36:22 +08:00
Jan Varga
ea37e37e95 Bug 1095474 - Intermittent /indexedDB/test/test_file_replace.html | application terminated with exit code 1; r=bent 2014-11-13 10:43:22 +01:00
Jonathan Kew
92a78b6d76 Bug 1090168 - part 2 - Adjust initial value of textBaseline depending on writing-mode and text-orientation properties. r=jdaggett 2014-11-13 08:58:04 +00:00
Jonathan Kew
02d6b51ec6 Bug 1090168 - part 1 - Make textBaseline attribute in <canvas> work for vertical text. r=jdaggett 2014-11-13 08:58:04 +00:00
Gabor Krizsanits
beb54125e8 Bug 1081038 - part 2: Removing nsAutoMicroTask where we have AutoEntryScript. r=bholley 2014-11-13 09:50:15 +01:00
Gabor Krizsanits
a6f3398faa Bug 1081038 - part 1: Microtask in AutoEntryScript. r=bholley 2014-11-13 09:50:12 +01:00
Szu-Yu Chen [:aknow]
d29e4c3627 Bug 1094089 - Part 3: Rewrite test_outgoing_radio_off.js. r=hsinyi 2014-11-13 10:58:46 +08:00
Szu-Yu Chen [:aknow]
00fd7ff8be Bug 1094089 - Part 2: Refactoring the promise usage in head.js. r=hsinyi 2014-11-13 10:58:46 +08:00
Szu-Yu Chen [:aknow]
371e647a47 Bug 1094089 - Part 1: Show reject cause. r=hsinyi 2014-11-13 10:58:45 +08:00
Wes Kocher
8bae192f28 Merge b2g-inbound to m-c a=merge 2014-11-12 17:19:02 -08:00
Zoran Jovanovic
15395488a6 Bug 1066013 - Initialize appCache path r=fabrice 2014-11-12 11:36:36 -08:00
Ralph Giles
95437b59b2 Bug 1097849 - Enforce sane audio sample rates in MediaEncoder. r=derf
We believe the rate is constrained by the audio driver in practice,
but want to verify this assumption. The valid range 8-192 kHz covers
all sample rates in general use for audio data.

Note we must use an error return instead of an assertion since these
bounds are verified by unit tests, which do not catch MOZ_ASSERT().
2014-11-12 11:03:00 -08:00
Mike Habicher
cb66942d32 Bug 1079543 - handle camera hardware busy when prelaunching, r=aosmond 2014-11-12 13:54:48 -05:00
Alfredo Yang
2ca35898de Bug 1098195 - Return false when failing to get output format. r=edwin 2014-11-13 01:26:00 -05:00
Jean-Yves Avenard
a40abbc6eb Bug 1097260 - Ensure video dimensions are known when loadedmetadata is fired. r=cajbir 2014-11-12 20:19:29 +11:00
Jan-Ivar Bruaroey
cfdeb0d0fa Bug 1097224 - Part 3 - test mozCaptureStream over peerConnection. r=jesup, r=drno 2014-11-13 00:59:22 -05:00
Jan-Ivar Bruaroey
ccb5a711f4 Bug 1097224 - Part 2 - correct m-line test in verifySdp in test-harness. r=drno 2014-11-12 23:48:30 -05:00
Jan-Ivar Bruaroey
99bec8c69b Bug 1097224 - Part1 - make mozCaptureStream work after onloadedmetadata even in opt build. r=jesup 2014-11-12 23:30:10 -05:00
Jessica Jong
ae2152f66c Bug 1052848 - Add assertions for MobileRoamingMode. r=echen 2014-11-11 23:43:00 -05:00
Jean-Yves Avenard
c7ca749da6 Bug 1075332 - Refactor mac audio decoder. Properly calculate timestamps. r=rillian
Also, in order to prevent the MediaDecoderStateMachine to stall waiting for audio data,
feed back as many decoded audio frame as were first submitted to the decoder in one go.
2014-11-12 15:13:02 +11:00
Yoshi Huang
51445b181a Bug 1096897 - Part 2: change power to changeRFState. r=dimi
From 4ca465353c1c5bd5bc08f40195ad66cc1c407549 Mon Sep 17 00:00:00 2001
---
 dom/nfc/NfcContentHelper.js        | 30 ++++++------------------------
 dom/nfc/gonk/Nfc.js                | 26 ++++++--------------------
 dom/nfc/gonk/NfcGonkMessage.h      |  4 ++--
 dom/nfc/gonk/NfcMessageHandler.cpp | 20 ++++++++++----------
 dom/nfc/gonk/NfcMessageHandler.h   |  4 ++--
 dom/nfc/nsINfcContentHelper.idl    | 21 +++++----------------
 dom/nfc/nsNfc.js                   | 13 ++++++++++---
 7 files changed, 41 insertions(+), 77 deletions(-)
2014-11-12 10:13:33 +08:00
Yoshi Huang
237e4a7bc6 Bug 1096897 - Part 1: s/powerLevel/rfState/g. r=smaug, dimi
From b9ec1a996afb8d50d014e3e479a7c767df2555ac Mon Sep 17 00:00:00 2001
---
 dom/nfc/gonk/Nfc.js                | 14 +++++++-------
 dom/nfc/gonk/NfcMessageHandler.cpp | 10 +++++-----
 dom/nfc/gonk/NfcMessageHandler.h   |  2 +-
 dom/nfc/gonk/NfcOptions.h          | 18 +++++++++---------
 dom/nfc/gonk/NfcService.cpp        |  8 +++++++-
 dom/nfc/gonk/nfc_consts.js         |  8 +++-----
 dom/webidl/NfcOptions.webidl       | 10 ++++++++--
 7 files changed, 40 insertions(+), 30 deletions(-)
2014-11-11 19:19:52 +08:00
Thomas Zimmermann
9bd9aa53a8 Bug 1091575: Add support for Bluetooth daemon backend (under bluetooth2/), r=btian 2014-11-14 10:04:34 +01:00
Thomas Zimmermann
4f56ee0d82 Bug 1091575: Implement Socket module for Bluetooth daemon (under bluetooth2/), r=btian
This patch adds support for the Bluetooth daemon's Socket module,
which provides OPP functionality.
2014-11-14 10:04:34 +01:00
Thomas Zimmermann
6ff9e20ab8 Bug 1091575: Implement Bluetooth Core module for Bluetooth daemon (under bluetooth2/), r=btian
This patch adds support for the Bluetooth daemon's Core module. It
provides the basic Bluetooth functionality, such as searching and
pairing with devices, and accessing device properties.
2014-11-14 10:04:34 +01:00
Thomas Zimmermann
2b6d77373a Bug 1091575: Add core interfaces and Setup module for Bluetooth daemon (under bluetooth2/), r=btian
This patch adds the core interfaces and the Setup module for
the Bluetooth Daemon. The Setup module implements commands
for enabling and disabling Bluetooth profiles in the daemon.
2014-11-14 10:04:33 +01:00
Thomas Zimmermann
6568591a99 Bug 1091575: Added general-purpose notification runnables for Bluetooth (under bluetooth2/), r=btian
A backend notification runnable in Bluetooth is used to transfer
a notification from the I/O thread to the main thread; an interface
runnable transfers and executes a result handler. Both are currently
implemented by Bluetooth backends.

This patch adds new runnables that are independend from any backend
code or data structures.
2014-11-14 10:04:33 +01:00
Thomas Zimmermann
b2a41bba13 Bug 1091575: Cleanup Bluetooth's CONVERT macro (under bluetooth2/), r=btian
The patch moves the array handling out of Bluetooth's CONVERT
macro. The change allows the use of the functionality in non-
conversion code.
2014-11-14 10:04:33 +01:00
Garner Lee
fece1d9334 Bug 1075198 - Support code generation for TypedArrays fields in generated events. r=smaug 2014-11-11 11:20:00 +01:00
Randy Lin
46d4b8eac4 Bug 1082677 - [Music] When unplugging headphones, the music will be muted from the speaker. r=mwu 2014-11-13 11:52:17 +08:00
Milan Sreckovic
e879ad97c7 Bug 1094338 - Allow depth texture on OS X 10.8.3 and higher. Clean up some OS X versioning tracking in the process. r=jgilbert 2014-11-10 22:15:22 -05:00
Shih-Chiang Chien
d88351efcf Bug 1094531 - make nsNodeInfoManager skippable. r=smaug. 2014-11-17 13:04:00 +01:00
Alastor Wu
f3e7915436 Bug 1095381 - [b2g] The encoder error lead to the unexpected crash in the procedure of the MediaRecorder API. r=rlin 2014-11-18 14:40:48 +08:00
Benjamin Chen
d0b453d1eb Bug 1098114 - Remove ReferenceKeeperRunnable because we can release the MediaCodecReader on other thread. r=jwwang 2014-11-17 14:28:10 +08:00
Jan Keromnes
a1f4955af9 Bug 993137 - Make color picker tests less fragile. r=mounir 2014-11-15 03:11:00 +01:00
Brian Birtles
f38c5b5e70 Bug 1083670 - Move API tests for CSS Animations and CSS Transitions into separate directories; r=dbaron
--HG--
rename : dom/animation/test/css-integration/test_animation-effect-name.html => dom/animation/test/css-animations/test_animation-effect-name.html
rename : dom/animation/test/css-integration/test_animation-pausing.html => dom/animation/test/css-animations/test_animation-pausing.html
rename : dom/animation/test/css-integration/test_animation-player-playstate.html => dom/animation/test/css-animations/test_animation-player-playstate.html
rename : dom/animation/test/css-integration/test_animation-target.html => dom/animation/test/css-animations/test_animation-target.html
rename : dom/animation/test/css-integration/test_animations-dynamic-changes.html => dom/animation/test/css-animations/test_animations-dynamic-changes.html
rename : dom/animation/test/css-integration/test_element-get-animation-players.html => dom/animation/test/css-animations/test_element-get-animation-players.html
rename : dom/animation/test/css-integration/test_animation-effect-name.html => dom/animation/test/css-transitions/test_animation-effect-name.html
rename : dom/animation/test/css-integration/test_animation-pausing.html => dom/animation/test/css-transitions/test_animation-pausing.html
rename : dom/animation/test/css-integration/test_animation-target.html => dom/animation/test/css-transitions/test_animation-target.html
rename : dom/animation/test/css-integration/test_element-get-animation-players.html => dom/animation/test/css-transitions/test_element-get-animation-players.html
2014-11-17 13:46:01 +09:00
Brian Birtles
aa575c832b Bug 1081007 - Fix relationship between Play/PlayFromJS/PlayFromStyle etc.; r=dholbert
The existing relationship between the particular versions of
AnimationPlayer::Play* (particularly in the CSSAnimationPlayer) subclass are
confusing because, for example, CSSAnimationPlayer::PlayFromStyle needs to be
careful to *not* call Play on CSSAnimationPlayer, but only on the parent
object (since otherwise we reset the sticky pause behavior).

This patch reworks this relationship by adding a protected DoPlay method that
performs the common pausing behavior. Play/PlayFromJS/PlayFromStyle then add
flushing, sticky pausing etc. as necessary.

This patch also removes the UpdateFlags enum and parameters previously used to
control whether we forced an update to style. This is no longer necessary since
we no longer call 'Play' from style. Instead we make Play always post restyles.

If we come across a case where we want to call Play and *not* post restyles, we
can re-add the flags then.

Roughly the same arrangement is true for Pause except that we don't currently
flush styles for CSS animations in PauseFromJS since it currently won't make any
observable difference.
2014-11-17 13:46:01 +09:00
Brian Birtles
48893c4454 Bug 1073336 part 15 - Switch AnimationPlayer to using less aggressive update mechanism; r=dbaron 2014-11-17 13:46:00 +09:00
Brian Birtles
49dee50d8c Bug 1073336 part 13 - Add AnimationPlayer::PostUpdate; r=dbaron
Adds a method for notifying the collection of changes to one of its players.
2014-11-17 13:45:59 +09:00
Brian Birtles
d855c6692f Bug 1073336 part 12 - Add AnimationPlayer::GetCollection(); r=dbaron
This patch adds a method to animation players that looks up the
AnimationPlayerCollection to which the player belongs.
2014-11-17 13:45:59 +09:00
Brian Birtles
bb9a6c6bf6 Bug 1073336 part 10 - Add AnimationPlayer::GetAnimationManager(); r=dbaron
This patch introduces an abstract method to AnimationPlayer to fetch the manager
object associated with the player. This method is implemented separate by
CSSAnimationPlayer and CSSTransitionPlayer to return the nsAnimationManager or
nsTransitionManager accordingly.
2014-11-17 13:45:58 +09:00
Brian Birtles
9f8acdf64c Bug 1073336 part 9 - Add protected AnimationPlayer::GetPresContext(); r=dbaron
This patch adds a further getter to find the pres context associated with an
animation player's target element, if any.
2014-11-17 13:45:58 +09:00
Brian Birtles
dc613405f6 Bug 1073336 part 8 - Add protected AnimationPlayer::GetRenderedDocument(); r=dbaron
In order for AnimationPlayer objects to be able to notify their
collection/manager, the can either store an extra pointer member, or they can
navigate to the collection as follows:

  player->source(animation)->target(element)->document
    ->presShell->presContext->manager->collection

This patch adds a getter for the first part of this journey up to the document.
2014-11-17 13:45:58 +09:00
Brian Birtles
9efcdfde21 Bug 1073336 part 7 - Move style flushing to CSSAnimationPlayer and CSSTransitionPlayer; r=dbaron
Previously AnimationPlayer::Play() and AnimationPlayer::PlayState() would flush
styles as part of their operation. This, however, is only needed when the player
corresponds to a CSS Animation or CSS Transition. Now that we have concrete
subclasses for each of these cases we can move style flushing to the subclasses
and remove it from the base class (which is expected to be shared with
animations that are not dependent on style).
2014-11-17 13:45:58 +09:00
Brian Birtles
5f35f63800 Bug 1073336 part 6 - Add CSSTransitionPlayer; r=dbaron
In order to be able to find the collection a player belongs to from its source
content, we first need to be able to determine which manager--the animation
manager or transition manager--to look up.

We eventually plan to push transition event dispatch down to a CSS
transitions-specific subclass of AnimationPlayer, so this seems like a suitable
point to introduce this class.

Using this subclass we can define a virtual GetManager method that will
return the appropriate animation/transition manager for the player.
2014-11-17 13:45:57 +09:00
Dan Glastonbury
89a0a8b4f6 Bug 1002281 - Change WebGLBindableName to make mGLName const. r=jgilbert
Split the two functions into two classes. WebGLRenderBuffer and
WebGLVertexArray are special cases.

--HG--
extra : source : 547e328ef878882bce8df3fc1b1e28926d910f1d
2014-11-17 12:21:04 +10:00
Christoph Kerschbaumer
d4653cf831 Bug 1067517: Update triggeringPrincipal and loadingDoc for contentPolicy check and in the loadInfo (r=sicking) 2014-11-16 17:36:44 -08:00
Boris Zbarsky
9ee334fef9 Bug 1081241. Things that aren't exposed in Window shouldn't show up in RegisterBindings at all. r=smaug 2014-11-16 15:01:32 -05:00
Boris Zbarsky
b32a7b90f2 Bug 1098739. Add a BufferSource typedef in our IDL. r=khuey 2014-11-16 15:01:08 -05:00
Sotaro Ikeda
148067068a Bug 1085655 - Improve TabChild::InitRenderingState() r=bent 2014-11-16 10:23:22 -08:00
Phil Ringnalda
b1544015f4 Merge m-c to m-i 2014-11-15 15:41:15 -08:00
Chris Peterson
433d74c532 Bug 1098134 - Fix or suppress warnings in gmp-api, gmp-clearkey, and gmp-plugin and mark as FAIL_ON_WARNINGS. r=cpearce 2014-11-14 00:36:20 -08:00
Boris Zbarsky
e25768cbf9 Bug 1095660 part 5. Change nsJSUtils::EvaluateString to take an explicit scope chain. r=bholley 2014-11-12 17:04:29 -05:00
Jim Mathies
99c075106e Bug 669200 - Disable PluginInstanceParent's subclass on the chrome plugin window since we cannot set subclasses on chrome windows in the content process. r=aklotz 2014-11-12 14:59:22 -06:00
Jim Mathies
c01005aaff Bug 669200 - Add support for gtk socket widgets for plugin windows. r=roc 2014-11-12 14:59:21 -06:00
Jim Mathies
6378e0152d Bug 669200 - nsPluginNativeWindow(Gtk/Win) support for content process plugins. Involves disabling some obsolete code and fixing helper calls like CallSetWindow, which no longer have access to native resources. r=blassey 2014-11-12 14:59:20 -06:00
Jim Mathies
6f6e8ef4e9 Bug 669200 - Various changes to non-ipc related plugin code to facilitate remoting windowed plugin widgets in content. r=roc 2014-11-12 14:59:20 -06:00
Jim Mathies
abf9ba034f Bug 669200 - On the child side implement a suitable nsIWidget wrapper for PPluginWidget based on PuppetWidget. r=billm 2014-11-12 14:59:20 -06:00
Jim Mathies
e1dc6bf7b9 Bug 669200 - Implement base PPluginWidget classes for managing plugin windows via content. r=billm 2014-11-12 14:59:19 -06:00
Jim Mathies
b66f6f1244 Bug 669200 - Add sub-protocol PPluginWidget to PBrowser to support remoting calls from a widget proxy in the content process to a native widget in chrome. r=billm 2014-11-12 14:59:18 -06:00
Ryan VanderMeulen
f35949322f Merge m-c to inbound. a=merge 2014-11-12 15:52:37 -05:00
Botond Ballo
d766d4ca14 Bug 1055741 - Unify the 'local Screen' and 'ParentLayer' coordinate systems. r=kats
--HG--
extra : rebase_source : af7323668fb54079e121755660da2121bec3d76b
2014-11-10 14:35:11 -05:00
Andrew Osmond
ee40ff4a19 Bug 1096078 - Restore use of Destroy() for DOMMediaStream. r=jesup 2014-11-10 10:26:00 -05:00
André Reinald
b99018f7d4 Bug 1076385 - Start the Mac sandbox on reception of a specific message from the main process (same as Windows and Linux). r=smichaud 2014-11-10 17:59:43 +01:00
Blake
7cd28d7326 Bug 1043274 - Use GraphicBuffer on GonkDecoderModule. r=edwin, r=sotaro 2014-11-12 17:34:21 +08:00
Bruce Sun
1386914cff Bug 1033903 - Support GraphicBuffer in MediaCodecReader. r=cpearce, r=sotaro 2014-11-13 11:26:13 +08:00
Tom Tromey
f4f48c7990 Bug 1096341 - require an exception to be set in ToJSValue overload. r=bz 2014-11-10 09:06:00 +01:00
Kershaw Chang
b581824528 Bug 1020186 - Patch 2: Make POfflineCacheUpdate be managed by PContent - v4. r=honzab 2014-11-13 01:31:00 +01:00
Kershaw Chang
a5dd5a415d Bug 1020186 - Patch1: Revise the API in ContentProcessManager - v1, r=khuey 2014-11-13 01:27:00 +01:00
Daniel Holbert
58969bc68a Bug 1098400: Drop now-unused private member-variable 'mConfig' from FFmpegAudioDecoder, to fix clang build warning. r=edwin 2014-11-14 08:42:31 -08:00
Gabor Krizsanits
dbcc1f28d5 Bug 1081038 - part2: Removing nsAutoMicroTask where we have AutoEntryScript. r=bholley 2014-11-14 16:46:26 +01:00
Gabor Krizsanits
172768a8cc Bug 1081038 - part1: Microtask in AutoEntryScript. r=bholley 2014-11-14 16:46:26 +01:00
Tom Schuster
12ee966a97 Bug 783829 - Rename Proxy enumerate trap to getEnumerablePropertyKeys. r=efaust 2014-11-14 16:21:12 +01:00
Wellington Fernando de Macedo
05f7deed13 Bug 831392 - Server sent events, no reconnection. r=honzab 2014-11-08 12:51:38 -02:00
Nils Ohlmeier [:drno]
612a91055b Bug 864118 - add verification that TURN server is used when provided. r=bwc 2014-11-11 15:37:00 +01:00
Nick Fitzgerald
cde18cdd55 Bug 1084065 - Part 2: Make DOM Promise call the JS::dbg::onPromiseSettled hook; r=bz 2014-11-17 10:44:00 +01:00
Nick Fitzgerald
8100009108 Bug 1083210 - Part 2: Make DOM Promise call the JS::dbg::onNewPromise hook. r=bz 2014-11-17 10:42:00 +01:00
Chris Pearce
84765b7b57 Bug 1095257 - backout 54f79521758b due to m3 failures. r=backout r=bz 2014-11-18 19:49:13 +13:00
Vinay G Shetty
6ce0a1b25e Bug 886026 - Make ClearWatch work for pending request. r=jdm 2014-11-07 10:42:00 -05:00
Carsten "Tomcat" Book
b1214c5765 Merge mozilla-central to fx-team 2014-11-13 16:27:00 +01:00
Julian Seward
486e1c8571 Bug 1096054 - Uninitialised value use in Interpret(JSContext*, js::RunState&). r=jwalden.
--HG--
extra : rebase_source : 49b1ebd5750bf45cf59479c5f8aae06468b223a0
2014-11-14 21:55:03 +01:00
Jonathan Kew
a59be6e03f Bug 1090168 - Improve baseline handling for <canvas> text with vertical writing mode - relanding patches 1 and 2, with crash-fix from bug 1099143 folded in. r=jdaggett 2014-11-17 10:12:20 +00:00
Seth Fowler
dda33f9bac Bug 1103157 (Part 2) - Replay notifications to new nsImageLoadingContent observers. r=tn 2014-11-24 23:42:43 -08:00
Karl Tomlinson
449150cba2 bug 1100409 set AudioNodeStream::mLastChunks length only once r=padenot
This can be done because AudioNodeEngine::mOutputCount is const.

--HG--
extra : rebase_source : 66f997f5a25c4296d230e8067bf7d7cb1d688029
2014-11-18 16:22:45 +13:00
Karl Tomlinson
ed17471b6c bug 1100409 uninline AudioNodeStream constructor to avoid requiring AudioNodeEngine.h r=padenot
--HG--
extra : rebase_source : 4d9fe22d15680e299f0834905f7e45b0ff294049
2014-11-21 08:41:18 +13:00
Matt Woodrow
9fca4f7833 Bug 1098678 - Implement TimestampsFuzzyEqual for mp4. r=ajones 2014-11-26 16:50:29 +13:00
Matt Woodrow
76e146b170 Bug 1104426 - Always rebuild the moof index, in case new data has been added. r=ajones 2014-11-26 16:49:22 +13:00
Chris Pearce
e8e248c3de Bug 1104101 - Ensure we always set mVideoDecodeStartTime when calling RequestVideoData. r=kinetik 2014-11-26 15:39:11 +13:00
Alfredo Yang
641c2b7fc8 Bug 1101374: create frame time table to filter the invalid pts frame. r=edwin 2014-11-25 15:35:28 -08:00
Tobias Schneider
ee65ddc5cb Bug 1101124 - Check for a pref to always stop slow scripts r=bz 2014-11-20 20:25:39 -08:00
Boris Zbarsky
9604d3f7a4 Bug 1100580 part 2. Get rid of EvaluateOptions::needResult, since we can use JS::CompileOptions::noScriptRval (with the opposite meaning, but same default behavior) for this purpose. r=bholley 2014-11-18 11:01:09 -05:00
Boris Zbarsky
145c29fee6 Bug 1100580 part 1. Drop support for having an off-thread compilation token and wanting a script rval from nsJSUtils::EvaluateString, since we never need that in practice. r=bholley 2014-11-18 11:01:08 -05:00
Sid Stamm
8e8b8c25f8 Bug 704320 - Tests for meta referrer policy whitespace trimming and invalid policies. (r=bz) 2014-11-18 08:47:31 -05:00
Sid Stamm
a40721427c Bug 704320 - Add tests for whether preloaded resources can be reused after script-added meta referrer policy is added to a document. (r=bz) 2014-11-18 08:47:26 -05:00
Owen Chu
97f0aa29c2 Bug 704320 - Referrer policy support in nsSyncLoadService. (r=peterv) 2014-11-18 08:47:20 -05:00
Sid Stamm
63f8cd4e13 Bug 704320 - Add referrer policy support for nsIWebBrowserPersist and its consumers. (r=jst) 2014-11-18 08:47:14 -05:00
Sid Stamm
25bb9cab21 Bug 704320 - enable meta referrer policies for object loads. (r=jst) 2014-11-18 08:47:08 -05:00
Sid Stamm
00f65acbf1 Bug 704320 - content/dom changes for meta referrer support. (r=jst)
This enables referrer policies for:
- EventSource         (content/base/src/EventSource)
- XMLHttpRequest      (content/base/src/nsXMLHttpRequest)
- HTML media elements (content/html/content/src/HTMLMediaElement)
- window.open         (embedding/components/windowwatcher)
- window.location     (dom/base/nsLocation)
2014-11-18 08:47:03 -05:00
Sid Stamm
55e3ccdad7 Bug 704320 - apply referrer policies to image loads (r=seth) 2014-11-18 08:46:53 -05:00
Sid Stamm
7235c3b5b2 Bug 704320 - Add referrer policy support to stylesheet and CSS loads and fonts. (r=bz) 2014-11-18 08:46:47 -05:00
Sid Stamm
3baf35af3d Bug 704320 - Implement referrer policy support for script loads. (r=jst) 2014-11-18 08:46:43 -05:00
Owen Chu
50259ae67d Bug 704320 - Parse and implement meta tag-based referrer policies for documents and nsHttpChannels. (r=bz,mcmanus) 2014-11-18 08:46:29 -05:00
Owen Chu
942fa49814 Bug 704320 - Add tests for meta referrer implementation (r=bz) 2014-11-18 08:45:23 -05:00
Francois Marier
0961f54fdb Bug 529697 - (CSP 1.1) Implement form-action directive [4/4], r=ckerschb
Add mochitests for the form-action CSP directive.
2014-11-18 01:13:00 +01:00
Francois Marier
6806fa1bec Bug 529697 - (CSP 1.1) Implement form-action directive [3/4], r=unfocused
Make the cspFrameAncestorsBlock error page generic and use it with
the form-action directive too.
2014-11-15 03:08:00 +01:00
Francois Marier
162f0e0a1c Bug 529697 - (CSP 1.1) Implement form-action directive [2/4], r=smaug
Check CSP when submitting HTML forms.
2014-11-18 01:13:00 +01:00
Francois Marier
e1f5653f32 Bug 529697 - (CSP 1.1) Implement form-action directive [1/4], r=geekboy
Teach CSP about the form-action directive from CSP Level 2.
2014-11-18 01:12:00 +01:00
Antonio M. Amaya
4086676d8a Bug 1022791 - Keep previous values for PROMPT permissions on system updates. r=fabrice 2014-11-03 02:24:00 -05:00
Carsten "Tomcat" Book
f05832e936 Merge mozilla-central to b2g-inbound 2014-11-12 16:11:42 +01:00
Carsten "Tomcat" Book
09b74a8b4d Backed out changeset 53e23b1b3642 (bug 1092450) for test bustage 2014-11-12 11:19:26 +01:00
David Anderson
35584ea8f5 Put meta viewport support behind a pref (bug 1092450, r=kats).
--HG--
extra : rebase_source : 888513255b2d672643beb9933ebb67ac6a2452ca
2014-11-12 00:15:40 -08:00
David Major
5b3f9cf5f2 Bug 1097283: Fix count/byte mismatches in NS_ABORT_OOM calls. r=froydnj
--HG--
extra : rebase_source : a9f4ae9e6f05e5ade56b741fa2f110974c5f08ac
2014-11-12 21:13:44 +13:00
Matt Woodrow
fef0ec0d15 Bug 1097375 - Implement MediaSource::setDuration. r=kinetik
--HG--
extra : rebase_source : 7e5f5387de5db3deccc6e74222b32f461359beb2
2014-11-12 17:11:33 +13:00
David Major
6796646a79 Bug 1091008 bustage fix - the second parameter was unused and removed by changeset 6907c1cb8bc0 CLOSED TREE
--HG--
extra : amend_source : 70685616cb814de1f0d8fc641b626682905075e3
2014-11-12 18:24:29 +13:00
Kan-Ru Chen (陳侃如)
60c73c4dec Bug 1044736 - Part 6. Widget should only require embed-widgets permission. r=fabrice
As discussed on dev-webapi[1] the app that wants to use widgets only
need the "embed-widgets" permission to use <iframe mozbrowser mozwidget>

If the app also wants to implement a browser, it could request the
"browser" separately. A <iframe mozbrowser mozwidget> will have
restricted mozbrowser API defined on the prototype if the embedder has
the "brower" permission; they will always throw when used.

[1]: https://groups.google.com/d/msg/mozilla.dev.webapi/uQweGWtVKRA/Bj1jZq3LN-0J

--HG--
rename : dom/apps/tests/test_widget.html => dom/apps/tests/test_widget_browser.html
2014-11-12 19:27:32 +08:00
Kan-Ru Chen (陳侃如)
532d37e134 Bug 1044736 - Part 5. Extract tests functions to file_test_widget.js. r=fabrice 2014-11-12 19:27:32 +08:00
Kan-Ru Chen (陳侃如)
255206157c Bug 1044736 - Part 4.3. Export BrowserElementParent component from BrowserElementParent.js. r=bz,fabrice 2014-11-12 19:27:32 +08:00
Kan-Ru Chen (陳侃如)
8a60f0b7dd Bug 1044736 - Part 4.2. Rename BrowserElementParent.jsm to BrowserElementParent.js. r=bz,fabrice
--HG--
rename : dom/browser-element/BrowserElementParent.jsm => dom/browser-element/BrowserElementParent.js
2014-11-12 19:27:32 +08:00
Kan-Ru Chen (陳侃如)
8d5ba1ced5 Bug 1044736 - Part 4.1. Delete old BrowserElementParent.js. r=bz,fabrice 2014-11-12 19:27:32 +08:00
Kan-Ru Chen (陳侃如)
697fc14c1c Bug 1044736 - Part 3. Make BrowserElementParent implement nsIBrowserElementAPI and use it. r=bz,fabrice 2014-11-12 19:27:31 +08:00
Kan-Ru Chen (陳侃如)
9be168779e Bug 1044736 - Part 2. Add nsIBrowserElementAPI.idl and implement nsBrowserElement. r=bz 2014-11-12 19:27:31 +08:00
Kan-Ru Chen (陳侃如)
4e79421c31 Bug 1044736 - Part 1. Add BrowserElement.webidl and stub implementation. r=bz 2014-11-12 19:27:31 +08:00
Yoshi Huang
974b6f055e Bug 1097442 - Part 2: rename nsINfcEventListener. r=dimi
From f2abd94c7d0c1f79c55b813bcd32a1b2761949d1 Mon Sep 17 00:00:00 2001
---
 dom/nfc/gonk/Nfc.js             | 2 +-
 dom/nfc/gonk/NfcService.cpp     | 2 +-
 dom/nfc/gonk/NfcService.h       | 2 +-
 dom/nfc/gonk/nsINfcService.idl  | 8 ++++----
 dom/nfc/nsINfcContentHelper.idl | 6 +++---
 dom/nfc/nsNfc.js                | 2 +-
 6 files changed, 11 insertions(+), 11 deletions(-)
2014-11-12 11:22:36 +08:00
Yoshi Huang
4d754498a8 Bug 1097442 - Part 1: rename eventTarget to eventListener. r=dimi
From 3e4d4deffb10f715e03725700d4078aa98cc1803 Mon Sep 17 00:00:00 2001
---
 dom/nfc/NfcContentHelper.js     | 18 +++++++++---------
 dom/nfc/gonk/Nfc.js             | 28 ++++++++++++++--------------
 dom/nfc/nsINfcContentHelper.idl | 13 +++++++------
 dom/nfc/nsNfc.js                |  4 ++--
 4 files changed, 32 insertions(+), 31 deletions(-)
2014-11-12 10:26:09 +08:00
Dan Glastonbury
18a4a38258 Bug 1048719 - [WebGL2] Query objects. r=jgilbert
--HG--
extra : rebase_source : d24fa6dbab838863e706bcb71014c9e3c0117a03
extra : source : 7d4a92f24cd575ae2b284a4ef1bf2a0f915ac388
2014-11-03 15:35:04 +10:00
Wes Kocher
dcd7b41c02 Merge m-c to inbound a=merge 2014-11-24 17:09:11 -08:00
Wes Kocher
bd182684f1 Backed out changeset b3f742c00ba1 (bug 1103152) 2014-11-24 17:04:30 -08:00