Commit Graph

27361 Commits

Author SHA1 Message Date
Boris Zbarsky
499434862e Bug 1088228 part 6. Simplify the DOM GetParentObject setup, now that we no longer rely on it for scope chains. r=peterv 2014-10-30 17:43:42 -04:00
Boris Zbarsky
a474579e17 Bug 1088228 part 5. Use the new CloneFunctionObject in XBL. r=peterv 2014-10-30 17:40:17 -04:00
Boris Zbarsky
f90685062b Bug 1088228 part 3. Use the new nsJSUtils API for event handlers. r=peterv 2014-10-30 17:40:13 -04:00
Boris Zbarsky
321060bfa7 Bug 1088228 part 2. Create an nsJSUtils API for building the scope chain for a given Element. r=peterv 2014-10-30 17:40:09 -04:00
Boris Zbarsky
6707b5257d Bug 1088228 part 1. Introduce an nsINode API for getting the scope chain parent for a given node. r=peterv 2014-10-30 17:38:48 -04:00
Ryan VanderMeulen
0a8c23019a Merge inbound to m-c. a=merge 2014-10-30 16:03:53 -04:00
Ryan VanderMeulen
1adce24554 Backed out changeset 299bc1ce71c0 (bug 1089472) for making the webapps tests permafail. 2014-10-30 14:28:11 -04:00
Ryan VanderMeulen
b23df832bf Backed out changesets 5e406b1536f9, 27e644701c98, and 762aff2c9dbf (bug 1083989) for mochitest-e10s failures.
CLOSED TREE
2014-10-30 12:46:08 -04:00
Brian Marshall
e8027537d8 Bug 82711 - Fix error with some compilers from previous patch. r=bzbarsky 2014-10-30 06:09:22 -07:00
Andrew McCreight
3d28d17114 Bug 1080096 - Clear UDPSocketChildBase::mSocket in ReleaseIPDLReference(). r=schien
This breaks a possible cycle between UDPSocketChild and UDPSocket.

The nulling out must be done before the Release, because the Release may destroy |this|.
2014-10-30 14:12:09 -07:00
Alexandre Lissy
868f93d340 Bug 1089619 - Stop abusing the Settings API from Gonk GPS. r=kanru
GPS handling for Gonk abuses the Settings API in two ways. First, on
mozsettings-changed event, it will trigger two new requests to read
values (debug enabled and GPS locations ignore). This is useless since
the event already contains the key that has changed and the new value,
so there is no need to do a createLock().get() call. Then, in startup
code, the Init() method is supposed to check itself whether it is
already running. This is done through the mStarted boolean. The same
Init() method is responsible for adding the mozsettings-changed
observer, which is removed by the Shutdown() method. Investigation on
device by using the Geolocation API has proven that we were leaking some
observers. This is because checking mStarted boolean is performed after
we request settings values and we install the mozsettings-changed
observer. So any time the Init() gets called, we install it but we just
remove it once in Shutdown().
2014-10-30 07:42:00 -04:00
Ryan VanderMeulen
d18b779a40 Merge m-c to inbound. a=merge
--HG--
rename : dom/tv/test/file_app.sjs => dom/tv/test/mochitest/file_app.sjs
rename : dom/tv/test/file_app.template.webapp => dom/tv/test/mochitest/file_app.template.webapp
rename : dom/tv/test/file_tv_non_permitted_app.html => dom/tv/test/mochitest/file_tv_non_permitted_app.html
rename : dom/tv/test/mochitest.ini => dom/tv/test/mochitest/mochitest.ini
rename : dom/tv/test/test_tv_non_permitted_app.html => dom/tv/test/mochitest/test_tv_non_permitted_app.html
extra : rebase_source : 43e1262bc9912ae6b97ec9302a1bc149e51c8e1e
2014-10-30 16:19:07 -04:00
Kyle Huey
b68efd589a Bug 1072773: Add a preference for enabling SQLite's synchronous=FULL mode in IndexedDB. r=bent 2014-10-30 13:18:33 -07:00
Christoph Kerschbaumer
48d86115ed Bug 1084652 - CSP: Violated directive must not be empty when sending csp reports - test updates (r=sstamm) 2014-10-29 14:47:26 -07:00
James Willcox
9fda622507 Bug 1089159 - Correctly use MediaCodec's audio output format r=cpearce
--HG--
extra : rebase_source : 2b3b3a43e54cdcdac87e303a2705e8be7c60d3dd
2014-10-29 18:40:06 -05:00
Andrea Marchesini
22b3d5b9fe Bug 1091016 - Remove network.websocket.enabled and introduce a pref just for websocket in workers, r=smaug 2014-10-30 15:22:31 +00:00
Jean-Yves Avenard
23af38aa7f Bug 1090900 - Issue SimpleTest.finish() even if test failed. r=padenot 2014-10-30 12:15:58 +11:00
Szu-Yu Chen [:aknow]
169196a84c Bug 1090776 - Prevent DataCloneError. r=hsinyi 2014-10-29 03:09:00 -04:00
Edgar Chen
cd42ec2b51 Bug 1083745 - Part 3: Remove the redundant information carried in request result of icc.{set|get|unlock}CardLock API. r=hsinyi 2014-10-29 11:42:13 +08:00
Edgar Chen
9e47e5dd16 Bug 1083745 - Part 2: __exposedProps__ has been deprecated, use Cu.cloneInto() instead. r=hsinyi 2014-10-29 11:30:39 +08:00
Vaibhav Agrawal
c25beabd82 Bug 1089030 - Invalid mochitest skipped in dom/contacts/tests/mochitest.ini. r=jmaher 2014-10-29 22:00:00 -04:00
Edgar Chen
b38ed7f0cc Bug 1083745 - Part 1: Having different IPC message for getting and setting/unlocking request. r=hsinyi 2014-10-28 19:48:12 +08:00
Carsten "Tomcat" Book
3b9f02f4e3 Merge mozilla-central to mozilla-inbound 2014-10-31 14:23:10 +01:00
Carsten "Tomcat" Book
74eaea3f51 Backed out changeset 77052db08766 (bug 611388) 2014-10-31 13:12:18 +01:00
Gabor Krizsanits
8f1ceef06d Bug 1061469 - part10: Removing intermittent import test. r=mrbkap 2014-10-31 13:03:03 +01:00
Gabor Krizsanits
5a42a7c1b5 Bug 1061469 - part9: test: defaultView should be null for imports. r=mrbkap 2014-10-31 13:03:03 +01:00
Junior Hsu
878419180b Bug 1089472 - Remove boardcast UpdateState as onDownloadPackage. r=fabrice 2014-10-27 19:06:00 -04:00
Bevis Tseng
d740dd22b7 Bug 1088573 - Part 2: Enhance test coverage. r=echen 2014-10-29 17:53:55 +08:00
Bevis Tseng
eedb6094ed Bug 1088573 - Part 1: Ensure that the |length| argument to GsmPduHelper.readSeptetsToString() is an integer. r=echen 2014-10-29 16:45:43 +08:00
David Rajchenbach-Teller
2d2e388cab Bug 1083989 - Adapt Browser Chrome mochitests that expect Promise.jsm in the scope. r=yoric 2014-10-27 22:45:18 +01:00
David Rajchenbach-Teller
90a3776eb1 Bug 1083989 - Adapting Browser Chrome mochitests that expect Promise.jsm in the scope. r=yoric 2014-10-27 22:45:18 +01:00
Jan Varga
80962b2035 Bug 1089764 - Treat persistent storage as temporary storage; r=bent 2014-11-01 02:21:25 +01:00
Ryan VanderMeulen
576ce24449 Merge m-c to inbound. a=merge
CLOSED TREE
2014-10-31 19:13:48 -04:00
Ryan VanderMeulen
9fa76d446b Merge m-c to inbound. a=merge 2014-10-31 16:31:38 -04:00
Marcos Caceres
62df41fa11 Bug 1079453 - Implement the manifest processor part of W3C Manifest. r=ehsan
* spec conforming implementation
* test suite
2014-10-31 11:24:47 -07:00
Ryan VanderMeulen
f196320492 Backed out changeset 1cce9c56538f (bug 1087633) for static analysis bustage. 2014-10-31 13:58:52 -04:00
Kyle Huey
e433ef7655 Bug 1091981: Make sure to use the canonical nsITelephonyCallback pointer. r=aknow 2014-10-31 10:50:22 -07:00
Olli Pettay
f645ceca72 Bug 1087633, Filter out XPConnect wrapped input streams, r=bz
--HG--
extra : rebase_source : a33654c249bc60464fe3c1a372dee0f58ee465c7
2014-10-31 19:11:08 +02:00
Vinay G Shetty
81c9a22e4e Bug 811470 - Send geolocation error codes to the content process. r=jdm 2014-10-23 11:31:00 -07:00
Vaibhav Agrawal
1ab18000f4 Bug 1083347 - Removing entries from android23.json and annotating manifests. r=gbrown 2014-11-03 12:01:51 -08:00
Guilherme Goncalves
41b5189ad7 Bug 1088042 - Fix JsonWebKey object in test_WebCrypto_JWK. r=rbarnes 2014-10-23 09:07:00 +02:00
JW Wang
2bdbd3c844 Bug 1079695 - Part 3 - fix const-correctness of MediaDecoderStateMachine. r=kinetik 2014-10-30 21:12:00 +01:00
JW Wang
85fc40ca05 Bug 1079695 - Part 2 - remove audio clock wordaround from MediaDecoderStateMachine. r=kinetik. 2014-11-02 18:06:00 +01:00
JW Wang
35c50eef83 Bug 1079695 - Part 1 - ensure AudioSink::GetPosition() is mono-increasing in spite of AudioStream error. r=kinetik 2014-10-30 21:10:00 +01:00
Ting-Yu Chou
1a481b0b30 Bug 1050122 - Part 2 - Disable preallocate when proc loader is not initialized. r=khuey 2014-11-01 13:28:33 +08:00
Ting-Yu Lin
89092835bc Bug 1029943 - Part 3 - Double timeout for test_collapse.html and test_extend.html. r=Ms2ger 2014-11-02 06:05:00 +01:00
Morris Tseng
454f940f1e Bug 1029943 - Part 1 - Hide selection carets when blurred. r=roc 2014-10-31 09:12:00 +01:00
JW Wang
d993371d68 Bug 1021794 - Fix and re-enable test_played.html. r=cpearce 2014-10-30 20:51:00 +01:00
Ted Clancy
6f227709cb Bug 1000313 - Adding homescreen-webapps-manage permission. r=sicking 2014-11-02 14:04:08 -05:00
Gina Yeh
d2a319af68 Bug 989198, Patch 6: No need to forward KeyboardEvents in BrowserElementChildPreload.js, r=kchen. 2014-11-03 15:05:54 +08:00
Gina Yeh
980a143e18 Bug 989198, Patch 5: Mochitest for BeforeAfterKeyboardEvent, r=smaug. 2014-11-03 15:05:48 +08:00
Gina Yeh
a349e38686 Bug 989198, Patch 4: Dispatch both chrome event and key event for hardward keys, and add new permission, r=fabrice. 2014-11-03 15:05:43 +08:00
Gina Yeh
951ffe59de Bug 989198, Patch 3: Dispatch BeforeAfterKeyboardEvent on b2g, r=smaug 2014-11-03 15:05:38 +08:00
Gina Yeh
97f10e3d4a Bug 989198, Patch 2: Implementation of BeforeAfterKeyboardEvent, sr=smaug, r=masayuki. 2014-11-03 15:05:32 +08:00
Wes Kocher
86d13896ae Merge m-c to fx-team a=merge 2014-11-04 20:40:56 -08:00
Jeff Gilbert
e73f4a6ddf Bug 1087650 - Fix tests. - r=kamidphish 2014-10-22 14:58:58 -07:00
Jeff Gilbert
dde349d912 Bug 1087650 - Rename mochitests to test_*. - r=kamidphish 2014-10-22 12:27:21 -07:00
David Major
f2d4ad8519 Bug 1084162 - Part 2: Don't PGO MobileConnection.cpp because it crashes VS2013. r=glandium 2014-11-04 14:28:06 +13:00
Bill McCloskey
5493754a8c Bug 1093076 - Fix compile error on a CLOSED TREE 2014-11-03 16:54:36 -08:00
Bill McCloskey
b085cefdba Bug 1093076 - Don't run non-OOP plugins in content processes (r=bsmedberg) 2014-11-03 15:50:05 -08:00
Sean Lin
a79f77fa4f Bug 1088310 - [Stingray] Add more tests to TV Manager API. r=ehsan
--HG--
rename : dom/tv/test/file_app.sjs => dom/tv/test/mochitest/file_app.sjs
rename : dom/tv/test/file_app.template.webapp => dom/tv/test/mochitest/file_app.template.webapp
rename : dom/tv/test/file_tv_non_permitted_app.html => dom/tv/test/mochitest/file_tv_non_permitted_app.html
rename : dom/tv/test/mochitest.ini => dom/tv/test/mochitest/mochitest.ini
rename : dom/tv/test/test_tv_non_permitted_app.html => dom/tv/test/mochitest/test_tv_non_permitted_app.html
2014-10-22 23:15:24 +08:00
Yoshi Huang
2b650bafcc Bug 1074611 - pass NDEF info to Content. r=smaug, dimi.
From 03c850ef46ffd4baeb84596fa219e39788eb0571 Mon Sep 17 00:00:00 2001
---
 dom/nfc/NfcContentHelper.js        | 19 ++++++++++++++---
 dom/nfc/gonk/NfcGonkMessage.h      |  9 --------
 dom/nfc/gonk/NfcMessageHandler.cpp |  8 +++----
 dom/nfc/gonk/NfcOptions.h          | 10 +++++----
 dom/nfc/gonk/NfcService.cpp        |  9 ++++++--
 dom/nfc/nsINfcContentHelper.idl    | 11 +++++++++-
 dom/nfc/nsNfc.js                   | 28 +++++++++++++++++++++----
 dom/webidl/MozNFCTag.webidl        | 43 ++++++++++++++++++++++++++++++++++++++
 dom/webidl/NfcOptions.webidl       |  5 +++--
 9 files changed, 113 insertions(+), 29 deletions(-)
2014-10-22 11:48:40 +08:00
Emanuel Hoogeveen
1b5561e45d Bug 1084651 - Part 5: Simplify Cycle Collector logic now that SliceBudget makes more sense. r=mccr8 2014-10-21 11:54:00 +02:00
Emanuel Hoogeveen
9c1b571d62 Bug 1084651 - Part 4b: Adjust and clarify some tests using gcslice(0). r=wmccloskey 2014-11-04 08:17:00 +01:00
chiajung hung
b8b1de237f Bug 880114 - Enhance render video-to-SkiaGL performance by GPU-based color space conversioni. r=gw280 2014-11-06 23:28:00 +01:00
Kershaw Chang
c666c36a74 Bug 1041419 - Patch 1: Add GetBrowserOrId in ContentChild. r=smaug 2014-11-04 02:58:00 +01:00
Chris Lord
92c2022f68 Bug 1084321 - Remove b2g app meta viewport work-around. r=kats,roc 2014-11-04 17:15:30 +00:00
Carsten "Tomcat" Book
d3a4dbb05e Backed out 10 changesets (bug 1091008, bug 1093020, bug 1063323) for windows m2 permanent test failures on a CLOSED TREE
Backed out changeset 21ddb8a58fea (bug 1093020)
Backed out changeset fe9e11333c7d (bug 1093020)
Backed out changeset bba774c54652 (bug 1063323)
Backed out changeset 16f58d7e1e17 (bug 1091008)
Backed out changeset 649bfc6dad4d (bug 1091008)
Backed out changeset 6f270b2d90f4 (bug 1091008)
Backed out changeset 966093bbc26a (bug 1091008)
Backed out changeset 9de4746aa59a (bug 1091008)
Backed out changeset 856016c0118a (bug 1091008)
Backed out changeset 8aaa10a8d956 (bug 1091008)
2014-11-05 12:57:43 +01:00
Jon Coppeard
54455b50f2 Backed out changeset 2acbf923b6a8 (bug 650161) for causing hazards 2014-11-05 10:57:33 +00:00
Jacek Caban
8c4b01cc96 Bug 1088130 - Fixed mingw cross compilation. 2014-11-05 11:29:47 +01:00
Jon Coppeard
67c285395d Bug 650161 - Update plugin tracing to work with compacting GC r=terrence r=johns
--HG--
extra : rebase_source : d6852def71710f71121735f24fc176141e911583
2014-11-05 08:44:27 +00:00
Jon Coppeard
a987c71648 Bug 877924 - Always trace IDBFactory owner pointer r=mccr8
--HG--
extra : rebase_source : 626301faca90a21a03a9f983f7afe88dbdd9e6e7
2014-11-05 08:44:26 +00:00
Bobby Holley
86a6d12070 Bug 1093020 - Tests. r=karlt 2014-11-05 10:09:00 +01:00
Bobby Holley
99250f7b44 Bug 1093020 - Don't use a buffering wait for MSE. r=cpearce 2014-11-05 10:09:00 +01:00
Bobby Holley
c19b9225dd Bug 1063323 - Tests. r=cajbir 2014-11-05 10:08:59 +01:00
Bobby Holley
ac5322f469 Bug 1091008 - Reimplement HasLowUndecodedData in terms of GetBuffered. r=cpearce
Since GetBuffered now has a sane implementation for MSE, this should
make this function sane for MSE as well.
2014-11-05 10:08:59 +01:00
Bobby Holley
b63e786a99 Bug 1091008 - Remove special handling for MSE in HTMLMediaElement::Buffered. r=cajbir
The same code will now be reached by invoking this method on the decoder.
2014-11-05 10:08:59 +01:00
Bobby Holley
0db9b673dd Bug 1091008 - Implement a sensible GetBuffered override for MediaSourceReader using the existing GetBuffered on MediaSource. r=cajbir 2014-11-05 10:08:59 +01:00
Bobby Holley
bc7157ad5e Bug 1091008 - Hoist stream pinning into the MediaDecoderReaders and make MediaDecoderStateMachine::GetBuffered just forward to them. r=cpearce
Whether or not we ping a stream depends a lot on what kind of decoder we're
dealing with. In particular, it doesn't really make sense for MSE.
2014-11-05 10:08:58 +01:00
Bobby Holley
f48f67daff Bug 1091008 - Remove the aStartTime argument from MediaDecoderReader::GetBuffered. r=cpearce
We now have this stashed on the superclass.
2014-11-05 10:08:58 +01:00
Bobby Holley
04865cf14a Bug 1091008 - Teach MediaDecoderReader about its start time. r=cpearce
Duplicating state is never great, but this lets the reader make calculations
using this immutable state variable without involving the state machine. We
could alternatively punch a hole from MediaDecoderReader to
MediaDecoderStateMachine and access it there, but that would create tighter
coupling, and weird relationships for MSE.
2014-11-05 10:08:58 +01:00
Bobby Holley
93eb6d095d Bug 1091008 - Factor out IsDataCachedToEndOfResource() into a higher-level question and answer it sensibly for MSE. r=cpearce 2014-11-05 10:08:57 +01:00
Carsten "Tomcat" Book
f94c96cce1 Backed out changeset 2dbf8f6bd2aa (bug 1092446) for suspicion of adding a hazard 2014-11-05 10:04:08 +01:00
Anthony Jones
6eab679607 Bug 1094049 - Make GonkDecoderModule use currect display height; r=bwu 2014-11-05 16:18:32 +08:00
Catalin Badea
769651290f Bug 982726 - Patch 1.5 - Update getServiced test and fix an assert when the registration has been removed. r=baku 2014-11-04 13:04:00 +01:00
Catalin Badea
ee13876c13 Bug 982726 - Patch 1.4 - Fix second crash scenario caused by a race in PromiseHolder. r=baku 2014-10-30 16:13:00 +01:00
Catalin Badea
1a08ad8743 Bug 982726 - Patch 1.3 - Fix crash caused by a race condition in PromiseHolder. r=baku 2014-10-28 10:29:00 +01:00
Ehsan Akhgari
f2167d5974 Bug 982726 - Part 1.2: Break the cyclic dependency between WorkerScope.h and ServiceWorkerClients.h, and introduce a ToSupports overload for WorkerGlobalScope in order to fix the b2g builds. r=baku 2014-10-27 12:03:00 +01:00
Catalin Badea
f841511972 Bug 982726 - Patch 1.1 - Service Worker: ServiceWorkerClients and Client interfaces with getServiced(). r=baku 2014-10-27 12:03:00 +01:00
Jan Varga
4d373d5e32 Bug 1067568 - Intermittent test_filehandle_readonly_exceptions.html | Assertion count 4 is greater than expected (ASSERTION: We don't know anyting about this file handle?!: 'Error', file dom/filehandle/FileService.cpp, line 234); r=bent 2014-11-05 08:30:21 +01:00
Wes Kocher
f6a0eb205f no bug - Fix merge conflict to help open this CLOSED TREE 2014-11-04 20:56:45 -08:00
Wes Kocher
b02f2858d6 Merge m-c to inbound a=merge CLOSED TREE 2014-11-04 20:37:26 -08:00
Wes Kocher
aa88290d8d Backed out changeset f86dbba73d43 (bug 1047588) under suspicion of adding a hazard on a CLOSED TREE 2014-11-04 20:25:47 -08:00
Chris Pearce
16d46a1e8f Bug 1090523 - Add more logging to help debug infrequent EME/MSE failure. r=edwin 2014-11-05 15:11:44 +13:00
Bill McCloskey
edd6c20e5b Bug 1092446 - [e10s] Allow unprivileged scopes to call content-to-chrome CPOWs (r=bholley) 2014-11-04 17:38:19 -08:00
Masayuki Nakano
1c6b557ffb Bug 1047588 IMEContentObserver::Init() should take nsIEditor because nsDocShell sometimes hasn't been initialized and nsContentEditor::GetHTMLEditor() fails r=smaug 2014-11-05 10:36:37 +09:00
Robert O'Callahan
f35280a8c9 Bug 1085186. Don't readahead more than 30s of media data per resource on mobile/B2G. r=cpearce
--HG--
extra : rebase_source : 6fce6b5390d0eb76463db04f7dd72f79b97d39c5
2014-10-21 10:32:11 +13:00
Bill McCloskey
a57b42cc2f Bug 1092156 - [e10s] Don't use compartment-per-addon if window already associated with add-on (r=bholley) 2014-11-05 17:10:37 -08:00
Bill McCloskey
204e02f724 Bug 1092446 - [e10s] Allow unprivileged scopes to call content-to-chrome CPOWs (r=bholley) 2014-11-04 17:38:19 -08:00
Ryan VanderMeulen
e21249fc1c Merge m-c to inbound. a=merge
CLOSED TREE
2014-11-05 15:24:43 -05:00
Tom Schuster
7bbcdc48c5 Bug 1091900 - Fix build on CLOSED TREE 2014-11-05 21:19:04 +01:00
Tom Schuster
5e10b64908 Bug 1091900 - Remove iteratorObject hook. r=jorendorff 2014-11-05 20:36:49 +01:00
Jon Coppeard
f9bc3a4941 Bug 650161 - Update plugin wrapper tracing to work with compacting GC r=terrence r=johns 2014-11-05 16:37:16 +00:00
Robert O'Callahan
d0f1ae646e Bug 1083635. Part 4.2: Create nsDOMWindowUtils::UpdateLayerTree and use it to flush layers in reftest content processes instead of doing a DRAW_WIDGET_LAYERS drawWindow. r=mattwoodrow
--HG--
extra : rebase_source : b1db1f0171180ed0a7ca36f92653cb702124fc95
2014-11-04 17:05:44 +13:00
Eric Faust
3859ec66a3 Bug 611388 - |const| should be block scoped and require an initializer. (r=shu) 2014-10-30 17:27:03 -07:00
Robert O'Callahan
543509b815 Bug 1093399. Fire UpdateReadyStateForData every time we get new data. r=cpearce
--HG--
extra : rebase_source : e243ecb8a72615cdf697228f30e631144cde129d
2014-11-04 14:19:14 +13:00
Christoph Kerschbaumer
a04810395c Bug 1084652 - CSP: Violated directive must not be empty when sending csp reports (r=sstamm) 2014-10-17 16:33:02 -07:00
Jim Mathies
0342894d5c Bug 1091621 - Bump the pluginchanged epoch value at startup to insure content processes get a complete list of plugins. r=billm 2014-10-30 13:52:30 -05:00
Jason Orendorff
9a5673ed4e Bug 1090325 - Fix unconditional Symbol usage in a test, introduced by rev bff9837442af. r=Waldo.
--HG--
extra : rebase_source : 6301cee87494e1d64ed42a32247e62a2f984a3f0
2014-10-28 10:50:16 -05:00
Ryan VanderMeulen
72f79bfdf7 Backed out changesets bc3b048b416d and 773b27cd166b (bug 1050122) for regression B2G debug test runtimes dramatically. 2014-11-03 12:46:43 -05:00
Trevor Saunders
0f8704de2c no bug - fix nullptr to bool conversions in Blob.cpp r=themaid
--HG--
extra : rebase_source : aa2c9dc11c88beb53b12ddd583121ca90a2f4969
2014-11-03 07:59:27 -05:00
Carsten "Tomcat" Book
f36293e337 Merge mozilla-central to mozilla-inbound 2014-11-03 13:16:04 +01:00
Bob Owen
466961d8ac Bug 1088130: Add to TestGMPCrossOrigin.cpp gtest to test that the APIs required for Output Protection on Windows work within the sandbox. r=cpearce 2014-11-03 10:02:30 +00:00
Jacek Caban
4129770618 Bug 1092130 - Fixed build errors found by mingw after bug 1076698 landed (-Werror=missing-braces errors). r=cpearce 2014-11-03 10:28:52 +01:00
Bobby Holley
8e2ed5632f Bug 1090991 - Introduce a new NotDecodedReason WAITING_FOR_DATA and use it for MSE. r=cpearce,r=cajbir 2014-11-03 09:20:15 +01:00
Bobby Holley
8953858191 Bug 1090991 - Unify MediaDecoderStateMachine::On{DecodeError,AudioEOS,VideoEOS} and eliminate duplicated logic. r=cpearce
We take this opportunity to align the behavior of Finish() calls between audio
and video EOS, invoking them unconditionally for both cases. Currently both
cases always call Finish() immediately, with the exception of:

(A) Video in seeking mode, where we may push mFirstVideoFrameAfterSeek before
    doing so, and
(B) Video in the |default:| case.

Push() and Finish() seem like orthogonal operations on MediaQueue, but we
nonetheless preserve the old order just in case. There doesn't seem to be a good
reason for (B).
2014-11-03 09:20:14 +01:00
Bobby Holley
4a2b081603 Bug 1090991 - Refactor RequestSampleCallback to use a single callback for all "not decoded" message. r=cpearce,r=cajbir
I'm going to add another one, and want this API to scale better than it does.
2014-11-03 09:20:14 +01:00
Bobby Holley
3dc6ad728a Bug 1090991 - Modify MediaData::Type so that it may serve as a general-purpose enum for distinguishing audio and video. r=cpearce
We don't seem to have something like this already, and this seemed better than
introducing yet another new enum.
2014-11-03 09:20:14 +01:00
Andrea Marchesini
b1de82eddf Bug 1082734 - Disable location.searchParams for cross-origin insecure data access, r=bz 2014-11-03 08:18:22 +00:00
Andrea Marchesini
0c7037e425 Bug 978260 - Remove Assertions for mParentSuspended in Workers, r=khuey 2014-11-03 08:15:09 +00:00
Ben Kelly
76130134f0 Bug 1091091: Support ErrorResult in Promise::MaybeReject(). r=bz 2014-10-30 11:12:09 -04:00
Vaibhav Agrawal
51509a9a5c Bug 1089029 - Removing invalid mochitests and adding them to support-files in content/base/test/mochitest.ini. r=jmaher 2014-10-31 02:44:00 +01:00
Tim Chien
73c4b9b693 Bug 1069055 - Merge focused element deletion test to another test. r=yxl 2014-10-31 02:11:00 +01:00
JW Wang
64bb3100a9 Bug 1091436 - Enable test_chaining.html on B2G. r=cpearce 2014-10-30 06:37:00 +01:00
Vaibhav Agrawal
b4f7dd94b0 Bug 1089032 - Removing invalid mochitests and adding support-files in dom/encoding/test. r=jmaher 2014-10-30 10:43:00 +01:00
Vaibhav Agrawal
59d58eed40 Bug 1089033 - Removing invalid mochitests and adding it as support-files in dom/events/test/mochitest.ini. r=jmaher 2014-10-30 10:09:00 +01:00
Vaibhav Agrawal
282637eb79 Bug 1089035 - Removing invalid mochitests and adding them to support-files in dom/tests/mochitest/*/mochitest.ini. r=jmaher 2014-10-30 11:46:00 +01:00
Vaibhav Agrawal
fb4559d7f2 Bug 1089036 - Removing invalid mochitests and adding them as support files in dom/workers/test/mochitest.ini. r=jmaher 2014-10-30 08:41:00 +01:00
Ralph Giles
8e136c25aa Bug 1073805 - Apply ADTS header for Gonk. r=cpearce. 2014-10-30 17:01:00 -07:00
Ralph Giles
afeea734aa Bug 1073805 - Add ADTS header for FFmpeg. r=cpearce.
Keep a reference to the AudioDecoderConfig so we can pass the
appropriate values to the Adts method from our Input method.
2014-10-30 16:26:00 -07:00
Ralph Giles
6f582b6a71 Bug 1073805 - Apply ADTS header for Android. r=cpearce. 2014-10-30 17:07:00 -07:00
Ralph Giles
8b03e8db1c Bug 1073805 - Apply ADTS headers to AAC on MacOS. r=cpearce
Our AudioFileStream parser needs the headers to find the sample
boundaries.
2014-10-30 15:47:00 -07:00
Chris Pearce
ab088f172a Bug 1073805 - Pass raw AAC to Windows PlatformDecoder. r=kinetik
This avoids problems creating an ADTS header for newer HE-AAC profiles.
2014-10-30 15:45:00 -07:00
Chris Peterson
22ea3ad4f8 Bug 1092711 - Fix -Wunused-const-variable warning-as-error in non-unified dom/indexedDB. r=janv 2014-11-01 12:34:17 -07:00
Chris Pearce
1cef9c17df Bug 1092860 - Fix GMPVideoFrameType and GMPSessionType serialization. r=jesup 2014-11-03 13:53:01 +13:00
Olli Pettay
66b283c080 Bug 1087633, Filter out XPConnect wrapped input streams, r=bz 2014-11-02 22:01:55 +02:00
Jessica Jong
02a7c68ca8 Bug 1052836 - Part 3: Use enums for preferred network type in nsIMobileConnectionService.idl (gonk). r=echen 2014-10-30 02:57:00 -04:00
Jessica Jong
1d4db6b32a Bug 1052836 - Part 2: Use enums for preferred network type in nsIMobileConnectionService.idl (dom/ipc). r=echen 2014-10-30 02:56:00 -04:00
Jessica Jong
4bdd9018c7 Bug 1052836 - Part 1: Use enums for preferred network type in nsIMobileConnectionService.idl (idl). r=hsinyi 2014-10-30 02:56:00 -04:00
Edgar Chen
f8238c6d55 Bug 1085307 - [Icc] Deprecate IccCardLockError.lockType. r=smaug,hsinyi 2014-10-24 16:04:04 +08:00
Jonathan Watt
75e42e9882 Bug 1090494, part 2 - Convert the consumers of AppendRoundedRectToPath and MakePathForRoundedRect to use the new RectCornerRadii API. r=mattwoodrow 2014-10-30 09:34:10 +00:00
Bobby Holley
3bea4bdef3 Bug 1090983 - Invoke UpdateReadyState() after invoking SetState(). r=cpearce
Otherwise, UpdateReadyState() will think that nothing has changed.
2014-10-30 09:16:02 +01:00
Mike Hommey
d667f4bb59 Bug 1077148 part 4 - Add and use new moz.build templates for Gecko programs and libraries. r=gps
There are, sadly, many combinations of linkage in use throughout the tree.
The main differentiator, though, is between program/libraries related to
Gecko or not. Kind of. Some need mozglue, some don't. Some need dependent
linkage, some standalone.

Anyways, these new templates remove the need to manually define the
right dependencies against xpcomglue, nspr, mozalloc and mozglue
in most cases.

Places that build programs and were resetting MOZ_GLUE_PROGRAM_LDFLAGS
or that build libraries and were resetting MOZ_GLUE_LDFLAGS can now
just not use those Gecko-specific templates.
2014-10-30 13:06:12 +09:00
Chris Pearce
0931dee714 Bug 1071482 - Add more logging to help debug rare intermittent failures. r=edwin 2014-10-30 15:05:49 +13:00
Chris Pearce
cbdd05a69e Bug 1071482 - Break a cycle in TrackBuffer and SourceBufferDecoder's MediaTaskQueue's SharedThreadPool. r=cajbir 2014-10-28 13:21:13 +13:00
Chris Pearce
e264dccc4f Bug 1071482 - Make content encrypted via EME inaccessible from JS APIs. r=roc 2014-10-28 13:21:12 +13:00
Chris Pearce
9557cedfdc Bug 1071482 - Rename test_encryptedMediaExtensions to test_eme_playback to make it easier to run all eme tests with a wildcard. r=edwin
--HG--
rename : dom/media/test/test_encryptedMediaExtensions.html => dom/media/test/test_eme_playback.html
2014-10-28 13:21:12 +13:00
Chris Pearce
fe485d4440 Bug 1071482 - Factor out EME load/setup code, so it can be reused in other tests more easily. r=edwin 2014-10-28 13:21:11 +13:00
Andrew Sutherland
546c79ec45 Bug 1087145 - Move mozTCPSocket/TCPSocket unit tests from xpcshell tests to mochitest-plain tests. r=jdm
Most of the TCPSocket and TCPServerSocket coverage was implemented exclusively
in Chrome-privileged xpcshell tests.  This failed to provide coverage for the
key use case of content-privileged code using TCPSocket.

This cleans up the test implementation and migrates them to mochitests.
Coverage is improved as evidenced by two tested TCPServerSocket issues that were
addressed in this patch:
- ArrayBuffers weren't being created in the content page's context, so
  exceptions would be thrown when accessed.
- 'drain' notifications were not being hooked up.

The following fix that lacks coverage that notices the fix was implemented:
- TCPServerSocket now properly propagates the appId for network usage tracking.
2014-10-29 22:03:54 -04:00
Ralph Giles
4e7efa3c60 Bug 1091304 - Improve fmp4 logging. r=kinetik
The %#x format specifier for hex values doesn't work with our
logging macros, and MacOS error codes are generally listed
in decimal anyway.

Also log the reason for a Drain() call to assist debugging.
2014-10-29 17:09:00 -07:00
Jeff Gilbert
3759dd1aa3 Bug 1088345 - Remove now-passing tests from expected failures. - r=kamidphish 2014-10-25 18:32:24 -07:00
Jeff Gilbert
7c54b1d24b Bug 1088345 - Handle possibly-invalid enums for queries. - r=kamidphish 2014-10-23 18:55:49 -07:00
Jeff Gilbert
05815c441e Bug 1088345 - Don't run GL commands that may cause non-OOM errors. - r=kamidphish 2014-10-23 15:10:57 -07:00
Jeff Gilbert
c1a3729b1d Bug 1088345 - Improve glGetError handling. - r=kamidphish 2014-10-24 16:52:35 -07:00
Randell Jesup
7df9131295 Bug 1085356: Fix Mac audio output changes on older/different macs r=padenot
Remove any buffered audio from before an output switch is signaled, as well
as handling gaps in callbacks after a switch.
2014-10-29 10:47:28 -04:00
Wes Kocher
c7977113a2 Backed out changeset 3629ea724086 (bug 1089159) for android 2.3 build failures 2014-10-29 15:14:19 -07:00
Boris Zbarsky
3cc3a6789e Bug 1087378. Stop using WindowProxy for arguments in Web IDL; Window expresses what's going on more clearly. r=peterv 2014-10-29 15:06:20 -04:00
Ryan VanderMeulen
bcc3ab5ec1 Merge m-c to inbound. a=merge 2014-10-29 16:51:39 -04:00
Ryan VanderMeulen
d19a8ac7d7 Merge inbound to m-c. a=merge 2014-10-29 16:49:04 -04:00
James Willcox
915dff8347 Bug 1089159 - Correctly use MediaCodec's audio output format r=cpearce
--HG--
extra : histedit_source : 0f720def526984be46a528090a1b1fe4d15bfc99
2014-10-29 15:46:10 -05:00
Ryan VanderMeulen
0cd3992142 Merge fx-team to m-c. a=merge 2014-10-29 16:30:13 -04:00
Ryan VanderMeulen
31cda05b82 Backed out changeset 4b4c7462ec89 (bug 1087378) for bustage.
CLOSED TREE
2014-10-29 16:27:15 -04:00
Eddy Bruël
00ef702d62 Bug 757133 - Implement a WorkerDebugger;r=khuey 2014-10-29 21:11:33 +01:00
Ryan VanderMeulen
903b6f89ef Backed out changesets 62a8be146b4b, d9a9008a1e93, e6761281d389, and 913e16c2877b (bug 1071482) for causing various intermittent failures.
--HG--
rename : dom/media/test/test_eme_playback.html => dom/media/test/test_encryptedMediaExtensions.html
2014-10-29 12:31:43 -04:00
Ryan VanderMeulen
1084d55671 Backed out changeset 459d3080fdf8 (bug 1056018) for e10s mochitest-bc failures.
CLOSED TREE
2014-10-29 15:50:48 -04:00
Boris Zbarsky
d3ead51082 Bug 1088002 part 3. Stop requiring JSPROP_PROPOP_ACCESSORS just to use stub accessors. r=waldo 2014-10-29 15:06:32 -04:00
Boris Zbarsky
e783498ddd Bug 1088002 part 2. Change JS_DefineElement, JS_DefineProperty, JS_DefineUCProperty, JS_DefinePropertyById, and JS_DefineProperties to default to using JSNative accessors, not JSPropertyOp accessors. r=waldo 2014-10-29 15:06:31 -04:00
Boris Zbarsky
68ef0d96f2 Bug 1087378. Stop using WindowProxy for arguments in Web IDL; Window expresses what's going on more clearly. r=peterv 2014-10-29 15:06:20 -04:00
Gabriel Ivanica
28bc1f81d2 Bug 1089705 - Replace "assert" with "MOZ_ASSERT" in some media code. r=dholbert 2014-10-29 00:43:18 +02:00
Tim Chien
080d598bb4 Bug 1083617 - Block the blur message if focus is already removed from remote frame. r=yxl 2014-10-28 23:47:00 -04:00
Bill McCloskey
4466224d40 Bug 641685 - Start plugins from the chrome process in e10s (r=bsmedberg)
This patch has a few side effects:
1. Plugins in the chrome process are "mirrored" to all content processes,
although this mirroring is currently imperfect (bug 1090576)
2. Plugins are no longer sorted by modification date in nsPluginHost.
3. Plugin exceptions are no longer propagated to JS code. They are ignored.
2014-10-29 08:05:36 -07:00
Bill McCloskey
5441fb1b30 Bug 641685 - [e10s] Make setTestPluginEnabledState work in content processes (r=bsmedberg) 2014-10-29 08:04:51 -07:00
Bill McCloskey
cd37c1172c Bug 641685 - Make plugin object map a singleton in the plugin process (r=bsmedberg)
This patches moves the object map (which tracks the PluginScriptableObjectChild
and PluginInstanceChild for a given NPObject) from the PluginModuleChild to
a global variable. This change prepares the way for having multiple PluginModuleChild
instances in a given plugin process.
2014-10-29 08:04:51 -07:00
Blake Kaplan
55de0fe900 Bug 1056018 - Mark the a few IPC calls as urgent priority to deal with edge cases involving CPOWs. r=billm (with one bugfix written by him and r=me) 2014-10-29 11:41:10 -07:00
Jonathan Watt
009633c805 Bug 1090916 - Ignore SVG rect radii and calculate the bounds of rounded rects using Math when we have a rectilinear transform. r=longsonr 2014-10-29 17:07:11 +00:00
Andrea Marchesini
b196db9a26 Bug 1090183 - WebSockets should work in SharedWorkers, r=smaug 2014-10-29 16:54:35 +00:00
Henry Chang
470fac1b4a Bug 1087152 - Ignore the failure cause by ifc_remove_route "0.0.0.0" or "::". r=vchang 2014-10-22 19:55:17 +08:00
Henry Chang
b6d4eca8da Bug 1083449 - Use a shared mutex instead of a per-instance mutex to protect ifc commands. r=vchang, r=chucklee 2014-10-29 16:23:52 +08:00
Alexandre Lissy
1c23ba77af Bug 1082001 - Cleanup settings lock from parent itself. r=bent
From bug 1065128 SettingsManager has been changed to listen the
dom-window-destroyed event for its cleanup. However, when running Gaia
in Mulet, a race condition is exposed. For B2G, when loading a page,
about:blank is first used. This means that window destroyed events will
be triggered. However, from the dom-window-destroyed event we cannot
distinguish whether this is about:blank or a legit application being
closed. SettingsManager gets initialized (i.e., init() called) when the
application makes use of navigator.mozSettings. So the chain of event is
that we have a SettingsManager living because System app did some
request. At this time, about:blank is being unloaded and triggers a
dom-window-destroyed event. This makes SettingsManager doing its
cleanup, especially freeing the window reference. Then in the meantime,
we have the navigator.mozSettings use that is progressing. At some
point, SettingsManager has no more window to send messages to, and Gaia
is not able to even start.

SettingsRequestManager lives on the parent process and SettingsManager
lives on the child side. Part of the cleanup performed by
SettingsManager was to ensure pending locks on the parent process would
be forced to finalize to make sure those are being properly committed.
We move this cleanup to SettingsRequestManager and we augment the lock
informations with the proper inner window id. This way we can track
which lock is attached to which inner window when the lock gets created.
And thus we can listen on inner-window-destroyed from
SettingsRequestManager to be able to force finalize on any pending lock.
Impacted code path are those were we are not running out of process.
When we are running out of process, SettingsRequestManager already
listens on the child-process-shutdown event to perform the lock
finalization.
2014-10-29 02:36:00 -04:00
Carsten "Tomcat" Book
7b65d193f4 Merge mozilla-central to mozilla-inbound 2014-10-29 13:38:41 +01:00
Carsten "Tomcat" Book
3a30b9665a merge b2g-inbound to mozilla-central a=merge 2014-10-29 13:34:27 +01:00
Jan Varga
9e0be10d13 Bug 1068787 - Quota usage not decreased when removing unsuccessfully copied files; r=bent 2014-10-28 20:06:54 +01:00
Hsin-Yi Tsai
91a2b9fbda Bug 1089534 - [B2G][Telephony] should GetCallFromEverywhere in Telephony::NotifyError. r=aknow 2014-10-27 17:06:40 +08:00
Mike Conley
7f0ea85863 Bug 1082579 - Introduce PPrinting.ipdl and proxies for opening printing UI. r=blassey.
--HG--
extra : rebase_source : 69ac7840ef72055911daa0ff482236b57f563aba
2014-10-28 11:59:08 -04:00
JW Wang
6848dc22db Bug 1088481 - stop progress timer in MediaDecoder::Shutdown if necessary. r=cpearce 2014-10-27 02:47:00 +01:00
Blake Kaplan
d17edccb32 Bug 1049299 - Correctly calculate 3rd-party cookie status for content-process HTTP channels. r=jduell 2014-10-28 14:23:00 +01:00
Brian Marshall
7ff2a511e8 Bug 82711 - Support CSS white-space property on textareas. r=bz 2014-10-28 10:33:15 -07:00
Benjamin Chen
98111a64b8 Bug 1090083 - Enable test_mediarecorder_record_no_timeslice.html on B2G platform. r=jwwang 2014-10-28 16:04:20 +08:00
JW Wang
d1b437204a Bug 1089484 - Have test_reset_src.html test more files to increase test coverage. r=kinetik 2014-10-27 23:34:00 +01:00
Ryan VanderMeulen
c52190b294 Merge b2g-inbound to m-c. a=merge
CLOSED TREE
2014-10-28 16:22:39 -04:00
Ryan VanderMeulen
24c18d3261 Bug 453969 - Bustage follow-up. a=bustage 2014-10-28 16:16:54 -04:00
Ryan VanderMeulen
09c69a8d87 Merge inbound to m-c. a=merge 2014-10-28 16:10:05 -04:00
Ryan VanderMeulen
1916ed14cc Bug 453969 - Disable test_bug382113.html on OSX and Windows debug due to intermittent failures.
CLOSED TREE
2014-10-28 15:49:43 -04:00
Ryan VanderMeulen
dc1d23cdcd Bug 608634 - Disable test_error_in_video_document.html on OSX and Windows for intermittent failures. 2014-10-28 15:45:52 -04:00
Ryan VanderMeulen
0012b89d5b Backed out changeset 2bb46b19c290 (bug 993137) for making test_input_color_picker_popup.html flakier than it was to start.
CLOSED TREE
2014-10-28 15:15:29 -04:00
Ryan VanderMeulen
890f0f0a22 Bug 1005846 - Disable test_canvas_focusring.html on Windows debug for frequent intermittent failures.
CLOSED TREE
2014-10-28 15:08:01 -04:00
Ryan VanderMeulen
99396094a5 Backed out changeset 35c5909b9adb (bug 1085627) because it appears to have just moved the failures to another test instead.
CLOSED TREE
2014-10-28 14:45:25 -04:00
Olli Pettay
92ad9cadbe Bug 1080709, null check files coming from filepicker's enumerator, r=baku 2014-10-28 18:54:57 +02:00
Mike Habicher
b0b572d95d Bug 1068393 - assume camera permission for certified apps (saves ~100ms on Flame), r=fabrice 2014-10-28 11:54:38 -04:00
Carsten "Tomcat" Book
1004d5b979 Merge mozilla-central to b2g-inbound 2014-10-28 16:10:23 +01:00