Commit Graph

31581 Commits

Author SHA1 Message Date
Nikhil Marathe
8c4d11dc98 Bug 1139561 - Various small ServiceWorker test fixes. r=baku
Replace setTimeout for test_unregister with detailed checks for active worker before opening iframe
check for null reg in unregister tests
Removed current dir scope so potential fetch event slowdown does not timeout tests
use navigator.serviceWorker to receive messages
Remove leftover getRegistration() test
2015-03-03 16:00:02 -08:00
Jason Gersztyn
629dff18c4 Bug 1132673 - Removing the scope line from ServiceWorkerGlobalScope and changing the signature and body of getScope. r=nsm,baku 2015-03-04 15:59:17 -08:00
Ryan VanderMeulen
909bbb3180 Backed out changeset 99c2fcc61cc2 (bug 958147) for B2G Desktop and Mulet checktest failures.
CLOSED TREE
2015-03-05 10:02:07 -05:00
Ryan VanderMeulen
7fe8f52110 Bug 752796 - Skip test_streams_element_capture.html on B2G Desktop. 2015-03-05 09:30:37 -05:00
Ryan VanderMeulen
bc461e5e9f Backed out changeset 816591da074c (bug 752796) for disabling the wrong test. 2015-03-05 09:34:32 -05:00
Ryan VanderMeulen
f6bc49c327 Bug 752796 - Skip test_streams_element_capture.html on B2G Desktop. 2015-03-05 09:30:37 -05:00
Ryan VanderMeulen
a83ec50948 Bug 1096270 - Skip test_streams_gc.html on B2G Desktop. 2015-03-05 09:29:19 -05:00
Anish
b932da5627 Bug 958147 - Choose one of run-if or skip-if and get rid of the other. r = jmaher,mwargers,ahal 2015-03-05 09:14:04 -05:00
Jon Coppeard
186d726ceb Bug 1138874 - Change ReparentWrapper() to avoid multiple JS objects pointing to the same native r=bholley 2015-03-05 13:39:53 +00:00
JW Wang
e3c78339dd Bug 1113596 - add logs to track media element events. r=edwin 2015-03-04 18:43:00 +01:00
Jose Antonio Olivera Ortega
37600d8d77 Bug 1041339 - ServiceWorkers: Update implementation based on clarification of force-refresh. r=nsm 2015-03-04 02:54:00 +01:00
Jonathan Kew
8be297ccb3 Bug 1138495 - pt 3 - Compute font inflation based on inline-axis dimensions rather than always using physical width. r=smontagu 2015-03-10 14:28:23 +00:00
Robert Longson
257e414eb1 Bug 1134561 - Use of the namespace when checking the tag name if HTMLPictureElement and HTMLSourceElement. r=jst 2015-03-10 10:23:14 -04:00
Catalin Badea
17af33f0f1 Bug 1058311 - Update client interface. Implement matchAll WindowClient. r=baku 2015-03-06 15:04:49 +02:00
Paul Adenot
a043318e07 Bug 1130077 - Bump the number of iterations to prevent failures on slow machines. r=ehsan 2015-03-05 13:30:12 +01:00
Jan de Mooij
22989040ae Bug 1139794 - Remove __noSuchMethod__ from the console object. r=baku 2015-03-06 09:50:51 +01:00
Ryan VanderMeulen
098514f58b Merge inbound to m-c. a=merge 2015-03-04 16:35:35 -05:00
Ryan VanderMeulen
ccc4d17f94 Backed out 4 changesets (bug 1128357) for causing intermittent B2G mochitest asserts.
Backed out changeset da4499b52105 (bug 1128357)
Backed out changeset fa440c623c4d (bug 1128357)
Backed out changeset 36b8feee431e (bug 1128357)
Backed out changeset aaa85558f413 (bug 1128357)

CLOSED TREE
2015-03-04 12:53:06 -05:00
Ryan VanderMeulen
679f666774 Backed out changeset deeb2d276a85 (bug 1138454) for Gaia unit test bustage.
CLOSED TREE
2015-03-04 12:02:17 -05:00
Paul Adenot
42ad5285ab Backed out 2 changesets (bug 1081819) for crashtest failures, on a CLOSED TREE.
Backed out changeset 6f6d897fc65c (bug 1081819)
Backed out changeset 796e84a25f16 (bug 1081819)
2015-03-04 17:31:36 +01:00
Fabrice Desré
796124f35c Bug 1138808 r=vchang 2015-03-04 08:02:34 -08:00
Bevis Tseng
1ad03c74bb Bug 1138757 - Part 2: Add Test Coverage for CDMA Wap Push. r=echen 2015-03-03 15:40:09 +08:00
Bevis Tseng
decf84a060 Bug 1138757 - Part 1: Fix the logic of checking invalid port in CDMA WAP Push. r=echen 2015-03-03 15:41:15 +08:00
Yoshi Huang
3c9cfd2a18 Bug 1137107 - Part 2: Add NfcResponseType and NfcNotificationType. r=smaug, dimi 2015-02-26 17:23:17 +08:00
Andrew Osmond
b36c7f81dc Bug 1062387 - Part 4. Update test cases to use JS camera driver. r=mikeh 2015-02-26 02:06:37 -05:00
Andrew Osmond
dd9221074d Bug 1062387 - Part 3. Implement Gonk wrappers for JS camera driver. r=mikeh 2015-03-03 12:37:30 -05:00
Andrew Osmond
d8a5dc10d5 Bug 1062387 - Part 2. Implement DOM and JavaScript facing components of JS camera driver. r=mikeh r=bz 2015-03-01 13:48:37 -05:00
Yoshi Huang
4cf97dac15 Bug 1137107 - Part 1: Add NfcRequestType. r=smaug, dimi
From 2c1e87a8e1018f2c1d9f8825e36d1478a8a409bc Mon Sep 17 00:00:00 2001
---
 dom/nfc/gonk/Nfc.js                | 22 ++++++---
 dom/nfc/gonk/NfcGonkMessage.h      |  9 ----
 dom/nfc/gonk/NfcMessageHandler.cpp | 91 +++++++++++++++++++-------------------
 dom/nfc/gonk/NfcOptions.h          |  2 +-
 dom/webidl/NfcOptions.webidl       | 16 ++++++-
 5 files changed, 76 insertions(+), 64 deletions(-)
2015-02-26 13:49:28 +08:00
Kan-Ru Chen (陳侃如)
0ffd109c00 Backed out changeset 9652fe730f2c (bug 1137722) for m1 failure on B2G emulator 2015-03-05 15:45:57 +08:00
Jamin Liu
cc81a56c8e Bug 1128441 - [BlueDroid] Set Bluetooth discoverable timeout properly in 'Convert' function of Bluetooth interface. r=shuang 2015-03-05 13:32:23 +08:00
Dimi Lee
37651c229c Bug 1121900 - [flatfish] build break by "error: undefined reference to 'mozilla::dom::MozIsoDepTech::mTechnology'". r=yoshi 2015-03-04 11:21:49 +08:00
Kan-Ru Chen (陳侃如)
045ff1b14e Bug 1137722 - Ensure that system message cache is refreshed before openapp. r=fabrice 2015-03-05 11:16:56 +08:00
Aaron Klotz
0e4845745d Bug 1128768: Part 5 - Update plugin code to retrieve SWF file for hang annotations; r=jimm 2015-02-25 17:38:09 -07:00
Jan Jongboom
b7543e2b73 Bug 1134599 - Fix rpi build target. r=jrmuizel, r=shuang 2015-02-25 03:20:00 -05:00
Samael Wang
bf31d446d8 Bug 1132774 - [B2G][SMS] Enable DEBUG Flag in SmsService if the default value of "ril.debugging.enabled" is true. r=btseng 2015-03-02 14:06:40 +08:00
Carsten "Tomcat" Book
b6151ad032 Merge mozilla-central to b2g-inbound 2015-03-04 15:38:27 +01:00
Jamin Liu
996b0d8487 Bug 1127665 - Fix the condition of if-statement of name updating when the Bluetoooth device paired. r=btian 2015-03-04 18:34:55 +08:00
JW Wang
171cf0ee9d Bug 1139270 - mark kGMPOutputDownscaled keys able to decrypt. r=cpearce 2015-03-04 22:26:23 +13:00
Jean-Yves Avenard
e46da36310 Bug 1138922: Fix build bustage. r=mattwoodrow 2015-03-04 18:53:15 +11:00
Ehsan Akhgari
58dc1b564f Bug 1050456 - Part 2: Add a nsGlobalWindow::GetIsPrerendered helper 2015-03-04 01:31:08 -05:00
Ehsan Akhgari
a0e86805c1 Bug 1050456 - Part 1: Prevent prerendered pages from showing the slow script dialog; r=bzbarsky 2015-03-04 01:30:47 -05:00
Ehsan Akhgari
4cf4343937 Bug 1125963 - Part 2: Rename mPreFormatted to mPreFormattedMail in order to clarify the meaning of this member
This member is set to true when Gecko detects the DOM structure
created by the Thunderbird mail code.
2015-03-04 00:54:40 -05:00
Ehsan Akhgari
b8a69dd6ba Bug 1125963 - Part 1: Fix serialization of the pre-wrap elements that Thunderbird relies on; r=bzbarsky
This ensures that the plaintext serializer doesn't use the preformatted
text code path if we have encountered a pre-wrap element that
Thunderbird uses (which means setting white-space: pre-wrap and width:
NNch on the body element.)

It also ensures that we use 0 as the wrap column number passed down to
the plaintext serializer, instead of -1, which this code seems to be
unable to handle properly.
2015-03-04 00:50:17 -05:00
Ben Tian
5fe3ca8090 Bug 1137103 - Simplify Bluetooth signal distribution function, r=shuang 2015-03-04 09:28:32 +08:00
Wes Kocher
6fef6d1fd8 Merge b2g-inbound to m-c a=merge CLOSED TREE 2015-03-03 17:02:21 -08:00
Wes Kocher
804c7069b1 Merge inbound to m-c a=merge CLOSED TREE 2015-03-03 16:46:44 -08:00
Ryan VanderMeulen
88718db0f7 Backed out 7 changesets (bug 1075670) for causing bug 1139010.
Backed out changeset 659c40243282 (bug 1075670)
Backed out changeset 45b61c78ee2d (bug 1075670)
Backed out changeset 23bb7b239c78 (bug 1075670)
Backed out changeset a68d5051107f (bug 1075670)
Backed out changeset bd7a5d213692 (bug 1075670)
Backed out changeset f705f5063169 (bug 1075670)
Backed out changeset 13619f8fa672 (bug 1075670)

CLOSED TREE
2015-03-03 18:44:56 -05:00
Carsten "Tomcat" Book
3d8353b7ec merge mozilla-inbound to mozilla-central a=merge 2015-03-03 13:54:33 +01:00
Matt Woodrow
2af8d4bf77 Bug 1131638 - Followup to fix bustage. CLOSED TREE 2015-03-03 18:31:20 +13:00
Jean-Yves Avenard
1109a9b646 Bug 1137100: Don't skip audio samples with a negative presentation time. r=cpearce
This allows for having the same decoding behavior across all platforms.
2015-03-03 16:29:28 +11:00
Anthony Jones
fa86250384 Bug 1138253 - Count dropped frames directly; r=cpearce 2015-03-03 17:46:48 +13:00
Anthony Jones
355e1787db Bug 1138253 - Clean up AutoNotifyDecoded; r=cpearce 2015-03-03 17:46:46 +13:00
Matt Woodrow
3d7cc5b1c1 Bug 1138260 - Add typed Microseconds class and use it for the range removal algorithm. r=jya,kinetik 2015-03-03 17:38:45 +13:00
Gregor Wagner
b77d29073b Bug 1138571 - Update PhonenumberJS Metadata. r=fabrice 2015-03-02 13:18:10 -08:00
Wes Kocher
9b35dd25c4 Merge b2g-inbound to m-c a=merge 2015-03-02 12:56:08 -08:00
Ryan VanderMeulen
8daa309d90 Backed out changeset 3e9cc0ba5dfb (bug 1066812) for suspicion of causing B2G Nuwa mochitest crashes on a CLOSED TREE. 2015-03-02 11:58:12 -05:00
Jon Coppeard
b77a47d749 Bug 963921 - Clients of the JS API should use JS_DefineElement where appropriate r=smaug 2015-03-02 13:31:15 +00:00
Nigel Babu
fb1b5043d5 Backed out changeset a622dbe33efb (bug 1135544) for ASAN mochitest-3 bustage on CLOSED TREE 2015-03-02 18:13:39 +05:30
JW Wang
7d79d20307 Bug 1131908 - no IPC calls after GMPDecryptorChild::RecvDecryptingComplete(). r=edwin. 2015-03-04 10:04:33 +08:00
Boris Zbarsky
fc656d4547 Bug 928336. Make defining unforgeable properties on objects faster by just copying them from an unforgeable holder object. r=peterv 2015-03-03 21:01:58 -05:00
Boris Zbarsky
0b079cb32c Bug 1137591 part 2. Throw if someone does Cu.importGlobalProperties in a Window scope. r=bholley 2015-03-03 21:01:58 -05:00
Ben Tian
260b3cf671 Bug 1137601 - Fire onadapterremoved before onattributechanged in BluetoothManager, f=jocelyn, r=shuang 2015-02-27 15:32:30 +08:00
Morris Tseng
68ecddefdb Bug 1125045 - yAxisVisible should compare with offset.height instead of pos.width. r=xyuan 2015-02-26 01:01:00 +01:00
Nikhil Marathe
57039ce2c7 Bug 1133861 - Enable the Fetch API by default. r=jst 2015-02-22 01:52:10 -08:00
Jim Mathies
383719c63b Bug 1132874 - Improve protections against sending a parent plugin protocol shutdown message to the child after the child has torn down. r=aklotz 2015-03-07 14:14:04 -06:00
Patrick McManus
43ec2f268a bug 1135160 - implement link rel=preconnect r=smaug 2015-02-20 17:01:36 -05:00
Nikhil Marathe
caca74ccd6 Bug 1140788 - Set headers to immutable. r=bkelly,ehsan 2015-03-07 18:54:41 -08:00
Anthony Jones
7dea01a959 Bug 1135544 - Create an abstract base class for a track demuxer; r=kinetik 2015-03-02 16:34:44 +13:00
Bobby Holley
aa3b26a74c Bug 1135785 - Hoist some work onto the state machine thread and tighten down our assertions. r=cpearce 2015-03-01 19:33:53 -08:00
Bobby Holley
4bd9040eca Bug 1135785 - Stop manually resetting mCurrentSeekTarget in MDSM::SeekCompleted and rely on the AutoSetOnScopeExit instead. r=cpearce
For some reason the current code is resetting it twice - once explicitly and
once with the AutoSetOnScopeExit. To make matters worse, we have a monitor drop
between the two. So when DecodeSeek runs on the decode task queue but SeekCompleted
runs on the state machine thread, we can start another DecodeSeek during the monitor
drop, and then clobber it with the AutoSeetOnScopeExit, causing us to hang.

This is a non-issue with the patches in bug 1135170, but necessary to make the
patches in this bug independently green.
2015-03-01 19:33:52 -08:00
Bobby Holley
68ac0259e2 Bug 1135785 - Stop invoking StopPlayback in SetDormant. r=cpearce
This already gets incoded in the DECODER_STATE_DORMANT case of RunStateMachine,
which will run momentarily on the state machine thread. Doing this allows us to
avoid calling StopPlayback on the main thread.
2015-03-01 19:33:50 -08:00
Bobby Holley
4ffe849a5a Bug 1135785 - Return samples on state machine thread. r=cpearce
This is necessary because we're going to want to start disconnecting sample
and seek requests directly from the state machine thread, and the machinery
asserts that disconnection happens on the same thread as resolution.

More generally, this is the right thing to do architecturally, and will help
wean us off the monitor.
2015-03-01 19:33:49 -08:00
Bobby Holley
887b211fd3 Bug 1135785 - Make DecodeError safe to run on any thread. r=cpearce
This is necessary so that we can make On{Audio,Video}{,Not}Decoded run on the
state machine thread in the next patch.
2015-03-01 19:33:48 -08:00
Bobby Holley
0e2adf3284 Bug 1135785 - Make MediaTaskQueue::IsCurrentThreadIn actually do the right thing on release builds. r=cpearce
The current situation is really dangerous because it compiles on release builds,
but just lies. This bit me when I tried to use it for non-assertion purposes.

My reading of the reasoning for the current setup in bug 968016 is that we didn't
trust nsIEventTarget::IsCurrentThreadOn or thought it might be slow. But the
implementation of MediaTaskQueue::IsCurrentThreadIn doesn't actually use that, and
indeed currently does all of the work for this feature in release builds anyway.
2015-03-01 19:33:46 -08:00
Bobby Holley
2c6b1b64e3 Bug 1135785 - Introduce a 1-argument overload of ProxyMediaCall. r=cpearce 2015-03-01 19:33:45 -08:00
Bobby Holley
40c1074481 Bug 1138072 - Don't defer reading to a closed stream. r=roc
Other streams in the list bail out of the servicing loop if they're closed, so
we can wait indefinitely.
2015-03-01 19:33:44 -08:00
Chris Pearce
4d3879ec6c Bug 1138240 - Fail faster if a CDM tries to resolve a resolved promise. r=edwin 2015-03-02 14:13:47 +13:00
Jean-Yves Avenard
43eec98395 Bug 1137529: Prefer Apple's VDA hardware acceleration for Hi-Def videos. r=rillian
With some GPUs (such as Intel HD-x000), Apple VideoTool box provides poor
decoding speed, causing us to drop frames for most HD videos.
VDA is around 50 times faster on those machines (31ms average to decode a 4K
frame with VT, while 0.6ms average with VDA)
2015-03-02 10:48:28 +11:00
Jean-Yves Avenard
091f2ff1f0 Bug 1128397: Work around EOS detection in MSE. r=mattwoodrow
This attempts to handle video and audio sourcebuffer not having exactly the
same duration, so the ended event is properly fired.
2015-03-02 10:47:54 +11:00
Jean-Yves Avenard
89b13c783a Bug 1134387: Prevent crash when decoder couldn't be created. r=edwin 2015-02-27 11:31:46 +11:00
Chris Peterson
07ff92f355 Bug 1137987 - Remove nonstandard let block from dom/downloads/tests. r=aus 2015-02-27 18:31:21 -08:00
Tooru Fujisawa
18b43bcf6b Bug 1108382 - Part 8: Do not use non-standard flag argument of String.prototype.replace in dom/payment/. r=fabrice 2015-03-01 09:51:33 +09:00
Tooru Fujisawa
9bc8b14eba Bug 1108382 - Part 7: Do not use non-standard flag argument of String.prototype.replace in dom/mobileconnection/gonk/. r=echen 2015-03-01 09:51:33 +09:00
Tooru Fujisawa
2adc4406e1 Bug 1108382 - Part 6: Do not use non-standard flag argument of String.prototype.replace in dom/. r=peterv 2015-03-01 09:51:33 +09:00
Alexander Surkov
21b18abe2d Bug 1137714 - Make roleDescription nicer/correct/faster, r=marcoz 2015-02-28 17:25:06 -05:00
Anthony Jones
cb8ffc5ee9 Bug 1131638 - Discard DXVA frames that don't complete YUV->RGB conversion. r=cpearce 2015-02-20 16:27:42 +13:00
Edwin Flores
4c5a2cdce2 Bug 1131392 - Restrict EME to MSE only - r=cpearce 2015-03-03 11:02:36 +13:00
Edwin Flores
a76a4d52fd Bug 1131392 - Remove unused test code after disabling non-MSE EME - r=cpearce 2015-03-03 11:02:36 +13:00
Edwin Flores
cdb7718806 Bug 1131392 - Fix EME tests after disable non-MSE EME - r=cpearce 2015-03-03 11:02:36 +13:00
Christoph Kerschbaumer
042c87324b Bug 1111834 - CORS request after preflight should not follow 30x redirect (r=sicking) 2015-02-19 13:43:40 -08:00
Tim Taubert
48f66772cf Backed out changeset 2ea14f386df2 (bug 1001691) 2015-03-03 19:13:23 +01:00
Tim Taubert
f3ccda2d78 Backed out changeset a6e627eff6a6 (bug 1001691) 2015-03-03 19:13:21 +01:00
Aaron Klotz
f373ceea00 Bug 1141093: Ensure that FinishInjectorInitTask::PostToMainThread is no longer executing before leaving FinishInjectorInitTask::Run; r=dmajor 2015-03-09 19:23:34 -06:00
Bill McCloskey
c2eb53045f Bug 1139628 - Don't load delayed process scripts until channel is open (r=smaug) 2015-03-09 17:54:34 -07:00
Dave Townsend
6a3d2c64f5 Bug 1139628 - Test (r=billm) 2015-03-09 17:54:25 -07:00
Jan de Mooij
f4828b8275 Bug 1140324 - Remove __noSuchMethod__ handling from WebIDL parser and throw an exception instead. r=peterv 2015-03-07 16:35:04 +01:00
Andreas Pehrson
b73bae341f Bug 1081819 - Handle InMutedCycle() in TrackUnionStream::ProcessInput. r=roc,padenot 2015-03-05 12:27:16 +08:00
Andreas Pehrson
81620cb890 Bug 1081819 - Add mochitest for piping WebAudio in and out of PeerConnection. r=jesup,padenot 2015-03-02 18:07:20 +08:00
Andreas Pehrson
ef97064c5a Bug 1081819 - Let the output stream itself process input data from MediaStreamAudioDestinationNode::mStream. r=roc 2015-03-02 17:08:40 +08:00
Karl Tomlinson
cf7b4f65c5 bug 1123492 remove ResetDecode() call from MediaSourceReader::AttemptSeek() r=mattwoodrow
and this was already called before Seek().
2015-02-17 14:35:47 +13:00
Karl Tomlinson
ccdb088d7b bug 1123492 ResetDecode() on subreaders before Seek() r=mattwoodrow 2015-02-28 19:46:22 +13:00
Karl Tomlinson
e2c5c103e6 bug 1123492 update comment to describe the thread that runs AttemptSeek() r=mattwoodrow 2015-02-17 13:58:55 +13:00
Karl Tomlinson
ac6c6affb1 bug 1137076 mark some methods as private r=edwin 2015-02-28 14:44:07 +13:00
Karl Tomlinson
2590a61d75 bug 1137076 handle null mDecoder during Reader shutdown r=edwin 2015-02-28 14:32:19 +13:00
Karl Tomlinson
2928656386 bug 1137076 remove declaration of undefined OmxDecoder::ProcessCachedData() r=edwin 2015-02-28 10:32:27 +13:00
Jean-Yves Avenard
aa07e76223 Bug 1131433: Fix build on a CLOSED TREE r=me 2015-03-03 11:30:06 +11:00
Yoshi Huang
dcb1428e8d Bug 1137101 - Refactor Response/Notification sent from nfcd. r=dimi
From 80bbb263c548a86287bec29c5983e0ca3714a841 Mon Sep 17 00:00:00 2001
---
 dom/nfc/gonk/NfcGonkMessage.h      | 12 +++++----
 dom/nfc/gonk/NfcMessageHandler.cpp | 52 +++++++++++++++++++++++++-------------
 dom/nfc/gonk/NfcMessageHandler.h   |  5 ++--
 3 files changed, 44 insertions(+), 25 deletions(-)
2015-02-16 18:47:58 +08:00
Szu-Yu Chen [:aknow]
af8e88e444 Bug 1138263 - Make TelephonyService.js JSHint friendly. r=hsinyi 2015-03-02 15:21:03 +08:00
Szu-Yu Chen [:aknow]
be282d7215 Bug 1135268 - Part 2: Test case. r=hsinyi 2015-03-02 14:46:43 +08:00
Szu-Yu Chen [:aknow]
cf119f421d Bug 1135268 - Part 1: Fix incall MMI issue. r=hsinyi 2015-03-02 14:46:43 +08:00
Ben Tian
1a747e8c9a Bug 1137579 - [bluetooth2] Replace constant with |sizeof| in |StringToUuid| function, r=shuang 2015-03-02 12:05:15 +08:00
Fabrice Desré
ae557e0c21 Bug 1091307 - Add a configure flag to prevent shipping Mozilla's RIL and Geolocation provider r=hsinyi,mshal 2015-02-26 13:51:20 -08:00
Ryan VanderMeulen
03dcb035cd Merge b2g-inbound to m-c. a=merge
CLOSED TREE
2015-02-27 13:23:30 -05:00
Boris Zbarsky
819055016c Bug 1136980 part 1. Get rid of JS_SetParent uses in DOM/XPConnect. r=bholley 2015-02-27 11:46:58 -05:00
Jan de Mooij
c588ad661c Bug 1137523 - Unprefix most js_* functions. r=bhackett CLOSED TREE 2015-02-27 16:08:15 +01:00
Wes Kocher
64d28ca0a8 Merge m-c to b2ginbound a=merge CLOSED TREE 2015-02-26 18:53:42 -08:00
Wes Kocher
1a9b4ecf31 Merge b2g-inbound to m-c a=merge CLOSED TREE 2015-02-26 18:47:34 -08:00
Ms2ger
b9870ca52f Backed out changeset 7abf54d96823 for lack of review. 2015-02-26 23:02:55 +01:00
Fabrice Desré
d3eac9c824 Bug 1091307 - Add a configure flag to prevent shipping Mozilla's RIL and Geolocation provider r=hsinyi 2015-02-26 13:51:20 -08:00
Boris Zbarsky
8fc3649b64 Bug 1137334. Remove nsIDOMWindowUtils.getParent. r=bholley. We still have a CLOSED TREE, sadly. 2015-02-26 15:58:59 -05:00
Boris Zbarsky
29c02a7c07 Bug 1136925 part 3. Stop passing parents to js::NewProxyObject. r=waldo 2015-02-26 15:58:59 -05:00
Boris Zbarsky
f8bbb7c7e5 Bug 1136925 part 2. Stop passing a parent to Wrapper::New. r=waldo,bholley 2015-02-26 15:58:59 -05:00
Boris Zbarsky
768e9d1720 Bug 1136925 part 1. Stop passing a parent to JS_CloneObject. r=waldo 2015-02-26 15:58:59 -05:00
Wes Kocher
bc62dd3b33 Backed out 4 changesets (bug 1136925) for potentially busting m-e10s-dt on a CLOSED TREE
Backed out changeset 331761aaae22 (bug 1136925)
Backed out changeset 2faa0e91fe23 (bug 1136925)
Backed out changeset a00f2530c911 (bug 1136925)
Backed out changeset d5e658bc0792 (bug 1136925)
2015-02-26 23:17:34 -08:00
Wes Kocher
34716e99af Backed out changeset 01abd154ac05 (bug 1137334) for potentially busting m-e10s-dt on a CLOSED TREE 2015-02-26 23:17:00 -08:00
Wes Kocher
81c5733880 Merge m-c to inbound a=merge CLOSED TREE 2015-02-26 18:52:43 -08:00
Wes Kocher
f2b0173ada Backed out 2 changesets (bug 995394) for m-dt orange on a CLOSED TREE
Backed out changeset a250f116b563 (bug 995394)
Backed out changeset da37f3c9b4ce (bug 995394)
2015-02-26 17:56:14 -08:00
Matt Woodrow
302e802646 Bug 1136984 - Followup to fix build. 2015-02-27 12:07:05 +13:00
Matt Woodrow
d854c9ca30 Bug 1136984 - Use correct units for comparing timestamps in TrackBuffer::RangeRemoval. r=jya 2015-02-27 11:47:46 +13:00
Matt Woodrow
f36fb93e54 Bug 1136984 - Always call DrainComplete in response to Drain, even if it wasn't called on the active decoder. r=cpearce 2015-02-27 11:47:12 +13:00
Matt Woodrow
f70602a599 Bug 1132757 - Don't crash if we call WMFVideoMFTManager after we've initiated shutdown. r=cpearce 2015-02-27 11:46:10 +13:00
Carsten "Tomcat" Book
597ecb080f Merge mozilla-central to b2g-inbound 2015-02-26 12:09:46 +01:00
Thomas Zimmermann
c573acfdb6 Bug 1132229: Survive crashes of bluetoothd, r=shuang
With this patch, Gecko will handle crashes of bluetoothd by clearing its
internal state. Switching Bluetooth off and on restarts the daemon and
the Bluetooth sub-system.
2015-02-26 09:52:45 +01:00
Thomas Zimmermann
1c3015e7f7 Bug 1132229: Handle I/O errors in Bluetooth's daemon backend, r=shuang
This patch adds error handling to all interface methods of Bluedroid's
daemon backend. If an error occures while sending a command to the daemon,
the methods dispatch an error.
2015-02-26 09:52:45 +01:00
Thomas Zimmermann
33620bd78f Bug 1132229: Return in Dispatch method if Bluetooth runnable is nullptr, r=shuang
With this patch, the dispatch method of Bluetooth runnables simply returns
if the supplied runnable is nullptr. This makes is easy to handle cases
where the caller of a Bluetooth interface method is not interested in the
result.
2015-02-26 09:52:45 +01:00
Wes Kocher
88578aaba9 Merge m-c to inbound a=merge 2015-02-25 17:51:44 -08:00
Wes Kocher
3e8159d4e0 Merge fx-team to m-c a=merge 2015-02-25 17:39:55 -08:00
Wes Kocher
593db5d55d Merge inbound to m-c a=merge 2015-02-25 17:18:06 -08:00
Nikhil Marathe
ff515eace1 Bug 1137408 - Use inner window to create ServiceWorker for Fetch Event. r=jdm 2015-02-26 15:14:51 -05:00
Catalin Badea
a24152bcbd Bug 1136467 - ServiceWorker: client.postMessage should land in navigator.serviceWorker.onmessage. r=baku 2015-02-25 21:38:37 +02:00
Alastor Wu
01a28379df Bug 1133449 - [B2G] The default audio type didn't be set correctly when the call screen app is launched. r=baku 2015-02-25 18:46:35 +08:00
Alastor Wu
927641d248 Bug 1133449 - [B2G] The default audio type didn't be set correctly when the call screen app is launched. r=baku 2015-02-25 18:46:11 +08:00
Blake Kaplan
53ac2bf591 Bug 1077002 - Add a test. r=jimm 2015-02-26 14:23:45 -08:00
Blake Kaplan
b01ec7ae6f Bug 1077002 - Give a better error message when showModalDialog is used in e10s. r=bholley 2015-02-26 14:23:43 -08:00
Andrew Sutherland
91dbc0ce1f Bug 825318 - Implement adoptDownload for mozDownloadManager, r=aus, r=sicking
Implement mozDownloadManager.adoptDownload as a certified-only API.

This also fixes and re-enables many of the existing dom/downloads tests
failures by virtue of cleanup and not running them on non-gonk toolkits
where exceptions will be thrown and things will fail.  This should
resolve bug 979446 about re-enabling the tests.
2015-02-24 11:06:59 -05:00
Jean-Yves Avenard
f54b6683e5 Bug 1096089: Make end argument an unrestricted double as per spec. r=cajbir r=bholley
Also, test for updating value before testing for duration and start, as per
spec: http://w3c.github.io/media-source/#widl-SourceBuffer-remove-void-double-start-unrestricted-double-end
2015-02-25 20:35:44 +11:00
Carsten "Tomcat" Book
3dc9ade060 Merge mozilla-central to fx-team 2015-02-25 12:13:16 +01:00
Carsten "Tomcat" Book
6ae1b98d2e merge mozilla-inbound to mozilla-central a=merge 2015-02-25 12:05:55 +01:00
Boris Zbarsky
0123e1e87e Bug 1133746. Allow DOMProxyShadows to communicate to the JIT whether the shadowing is done by the expando object or not. r=efaust,peterv 2015-02-26 12:30:02 -05:00
Alexandre Lissy
1ca787eb52 Bug 1134251 - Disable broken B2G Desktop tests on Mulet. r=jmaher, r=jgilbert 2015-02-25 23:49:00 -05:00
Blake Wu
9b544b72de Bug 1133955 - Record the last seek time to decide the direction to seek. r=sotaro 2015-02-24 11:19:54 +08:00
Boris Zbarsky
cd3bf1d33b Bug 1135810. Add more explicit checks for whether a descriptor wants Xrays or not instead of assuming that Xrays are desired if and only if descriptor.workers is false. r=peterv 2015-02-26 09:40:08 -05:00
Boris Zbarsky
73dc4ec956 Bug 1136292 part 4. Stop passing a global as the parent arg to JS_NewObjectWithGivenProto in XBL code. r=peterv 2015-02-26 09:40:07 -05:00
Boris Zbarsky
571f4fc293 Bug 1136292 part 3. Stop passing a global as the parent arg to JS_NewObjectWithGivenProto in bindings code. r=peterv 2015-02-26 09:40:07 -05:00
Boris Zbarsky
ee82815c4f Bug 1136292 part 2. Stop passing an explicit JS::NullPtr parent to JS_NewObjectWithGivenProto in nsDocument. r=peterv 2015-02-26 09:40:07 -05:00
Boris Zbarsky
23f9262764 Bug 1136292 part 1. Stop passing a parent to BindingJSObjectCreator methods, since it's always the global anyway. r=peterv 2015-02-26 09:40:07 -05:00
Boris Zbarsky
ff62f4a517 Bug 1133760 part 2. Get rid of unforgeable holders; just store unforgeable properties for DOM proxies directly on the expando object. r=peterv 2015-02-26 09:40:07 -05:00
Boris Zbarsky
1eece3f61b Bug 1133760 part 1. The ownPropNames hook can't be called via Xrays, so stop trying to handle that case. r=peterv 2015-02-26 09:40:07 -05:00
Boris Zbarsky
103a01a91d Bug 1134730. DOM proxy finalizers should not assume that the JS object has an actual reference to the DOM object (and in particular that the slot it's stored in is a private slot). r=peterv 2015-02-26 09:40:07 -05:00
Gabor Krizsanits
dbcdf470fd Bug 1134981 - Quick fix in registerElement. r=bz 2015-02-26 15:20:37 +01:00
Marco Zehe
f7d8bdbff4 Bug 1136563 - ARIA 1.1: Support role 'switch', r=surkov 2015-02-26 14:47:15 +01:00
Kartikaya Gupta
b204ae6120 Bug 1130455 - Remove the ScrollingBehavior code to propagate APZ and use gfxPrefs instead. r=roc,fabrice
The ScrollingBehavior passed around extensively in TabParent/TabChild is
entirely redundant now that the layers.async-pan-zoom.enabled pref definitively
controls whether or not APZ is enabled. All the code related to ScrollingBehavior
can be removed.
2015-02-26 08:47:01 -05:00
Kartikaya Gupta
8b846b3b40 Bug 1130455 - Remove the mozasyncpanzoom attribute. r=roc
This attribute used to force APZ to be used on content processes even if the
overall APZ pref was false. However, this has a couple of problems, which cancel
each other out:
- If the pref is false, the APZ machinery is never created, and so it's
  impossible to have content processes "using" APZ.
- The reftest harness checks for the pref and ignores mozasyncpanzoom when
  evaluating the "asyncPanZoom" condition in reftest manifests.
Therefore, any reftests which were skip-if(!asyncPanZoom) would never run unless
the pref was set, and in those cases the mozasyncpanzoom attribute would not be
needed at all, as APZ is already enabled with the pref.
However, the mozasyncpanzoom attribute would cause some parts of the child
process code to behave as though APZ was enabled, which is incorrect. Removing
this attribute and relying solely on the pref corrects that.
2015-02-26 08:47:00 -05:00
Jon Coppeard
48edaed9e4 Bug 1130439 - Trigger compacting GCs after the user becomes inactive r=smaug r=terrence 2015-02-24 09:40:02 +00:00
Jan-Ivar Bruaroey
a25f0412b2 Bug 1136871 - PeerConnection typo in replaceTrackFailure. r=docfaraday 2015-02-25 19:11:15 -05:00
Ting-Yu Lin
c4db413d6a Bug 1136065 - Remove GetRangeCount() in Selection.h. r=ehsan
We replace GetRangeCount() with the identical function RangeCount() to
avoid any confusion.
2015-02-25 17:08:00 +01:00
Jeff Gilbert
e1f2c0e6ed Bug 1130616 - Support EXT_color_buffer_half_float on ANGLE. - r=jrmuizel,khuey 2015-02-24 14:09:09 -08:00
Boris Zbarsky
be5d835708 Bug 1135803. Take out the bits that try to handle interface types mapping to JSObject* in worker descriptors, since we never do that anymore. r=smaug 2015-02-24 16:04:22 -05:00
Boris Zbarsky
df484c4fe5 Bug 1135792. Stop assuming that every binding for a global with a non-worker descriptor is a binding for Window. r=smaug 2015-02-24 16:04:22 -05:00
Blake Kaplan
72bb2f11be Bug 1087646 - Add a test. r=smaug 2015-02-24 12:54:40 -08:00
Ryan VanderMeulen
ff819da594 Backed out changeset cd6461410a7a (bug 1130439) for frequent SM test timeouts/failures.
CLOSED TREE
2015-02-24 15:11:08 -05:00
Ryan VanderMeulen
5ce7838926 Backed out 7 changesets (bug 1075670) for e10s browser_586068-browser_state_interrupted.js crashes.
Backed out changeset 4ca74b217fe8 (bug 1075670)
Backed out changeset 83199cfc333f (bug 1075670)
Backed out changeset 065b859e6525 (bug 1075670)
Backed out changeset a3e8329610d9 (bug 1075670)
Backed out changeset ced9055e0bcc (bug 1075670)
Backed out changeset e6d6f0c11133 (bug 1075670)
Backed out changeset b823c6c95030 (bug 1075670)

CLOSED TREE
2015-02-24 11:53:34 -05:00
Mark Banner
6958d1c018 Bug 1110973 - Add a preference for enabling fake streams for tests, and use it in the Loop functional tests. r=smaug 2015-02-25 07:36:50 +00:00
Karl Tomlinson
36c07b2385 back out 6fc9b30bbdd9..232b818847e7 from bug 1123492 for crashes in DoVideoSeek() 2015-02-26 19:37:48 +13:00
Karl Tomlinson
6ea96662a5 bug 1123492 remove ResetDecode() call from MediaSourceReader::AttemptSeek() r=mattwoodrow
and this was already called before Seek().
2015-02-17 14:35:47 +13:00
Karl Tomlinson
16ad66eef2 bug 1123492 ResetDecode() on subreaders when switching to current or seeking r=mattwoodrow 2015-02-18 19:23:31 +13:00
Karl Tomlinson
d39d2824f6 bug 1123492 update comment to describe the thread that runs AttemptSeek() r=mattwoodrow 2015-02-17 13:58:55 +13:00
Jonathan Watt
cb23b1c822 Bug 1073379, part 5 - Add assert_between_exclusive and assert_between_inclusive methods to impltests testharness.js. r=Ms2ger 2015-02-16 21:48:29 +00:00
Kartikaya Gupta
050bd07ad1 Bug 1137267 - Remove unneeded flags to track touch listeners and touch caret. r=smaug,dvander,botond 2015-03-10 09:29:25 -04:00
Jim Mathies
67783da787 Bug 1132874 - Improve protections against sending a parent plugin protocol shutdown message to the child after the child has torn down. r=aklotz 2015-03-10 06:33:20 -05:00
Carsten "Tomcat" Book
af0855e66d Merge mozilla-central to mozilla-inbound 2015-03-10 14:01:43 +01:00
Carsten "Tomcat" Book
fcc855696d Backed out changeset 6c7ebb2f5a92 (bug 1134006) for bustage 2015-03-10 12:37:24 +01:00
Blake Kaplan
f064117eb7 Bug 1134006 - Avoid IPC for domElement.QueryInterface(nsISupports) and nsIClassInfo. r=billm 2015-03-09 15:01:00 +01:00
Blake Kaplan
1675ef4213 Bug 1140636 - Test CPOW function identity. r=billm 2015-03-06 15:46:00 +01:00
Milan Sreckovic
50350de860 Bug 1140113 - Catch direct (and some indirect) callers of CreateDrawTarget* and deal with failure. r=mstange 2015-03-09 15:48:20 -04:00
Jean-Yves Avenard
14264f2e02 Bug 1139779: Part5. Move picture/display size calculations in AVCC wrapper. r=rillian 2015-03-10 21:19:42 +11:00
Jean-Yves Avenard
e712e2e62b Bug 1139779: Part4. Make FFmpeg video decoder use AVCC. r=edwin
FFmpeg h264 decoder doesn't handle change of SPS in-band and only use the first
found.
2015-03-10 21:19:42 +11:00
Jean-Yves Avenard
71076fcf84 Bug 1139779: Part3. Use dispay size extracted from SPS NAL. r=edwin
This also adds proper aspect ratio support.
2015-03-10 21:19:41 +11:00
Jean-Yves Avenard
d52091b08c Bug 1139779: Part2. Use display dimension from SPS NAL. r=rillian 2015-03-10 21:19:41 +11:00
Andrew Osmond
1f4b4c561d Bug 1062387 - Part 1. Fix clearing of camera preferences. r=mikeh 2015-02-13 09:18:49 -05:00
Chuck Lee
f5d9b82611 Bug 1049476 - 0003. Add EAP-TLS to wifi capabilities. r=hchang 2015-02-28 21:54:31 +08:00
Chuck Lee
9428f648b3 Bug 1049476 - 0002. Support user certificate parameter in API. r=dkeeler r=vchang 2015-02-28 21:54:28 +08:00
Chuck Lee
f30301e737 Bug 1049476 - 0001. webidl change - Support user certificate parameter. r=mrbkap 2015-02-28 21:54:26 +08:00
Yoshi Huang
7ac3089480 Bug 933665 - Remove encodeNdefRecords func from NfcContentHelper. r=dimi 2015-03-05 18:58:37 +08:00
Yoshi Huang
d9b5b09720 Bug 1139830 - Make type/id/payload nullable in MozNDEFRecordOptions. r=smaug 2015-03-06 16:23:21 +08:00
Will Wang
1c5be347b9 Bug 1118177 - Release file resources if users unexpectedly remove SD card. r=btian 2015-02-13 02:59:00 -05:00
Carsten "Tomcat" Book
d9f28d6b60 Merge mozilla-central to b2g-inbound 2015-02-25 12:33:48 +01:00
Jocelyn Liu
49add0c522 Bug 1127670 - Replace device property of BluetoothPairingEvent with device name. r=btian, r=bz 2015-02-24 22:33:00 +01:00
Jonathan Watt
fa1e127bb0 Bug 1073379, part 3 - Make AnimationPlayer::SetStartTime() notify its animation manager (via its player collection) of changes so that computed style is updated correctly. r=dholbert 2015-02-12 17:56:57 +00:00
John Dai
8e7395b8b6 Bug 1120805 - Remove deprecated xpcshell test functions used in RIL test code. r=echen 2015-02-12 19:18:00 +08:00