Commit Graph

256228 Commits

Author SHA1 Message Date
Nicholas Nethercote
0c2ec2d27a Bug 1182961 (part 1) - Use nsTHashtable::Iterator in CacheIndex. r=michal. 2015-07-28 21:14:39 -07:00
Christoph Kerschbaumer
924ebb97b7 Bug 1188637 - Use channel->ascynOpen2 in dom/base/EventSource.cpp (r=sicking) 2015-08-04 20:06:19 -07:00
Christoph Kerschbaumer
cc9c0cacf9 Bug 1182543 - Use channel->ascynOpen2 in dom/plugins/base/nsPluginHost.cpp - simplifications in instanceowner (r=sicking) 2015-08-04 20:06:03 -07:00
Christoph Kerschbaumer
7e4c5da30d Bug 1182543 - Use channel->ascynOpen2 in dom/plugins/base/nsPluginHost.cpp (r=sicking) 2015-08-04 20:05:37 -07:00
Lorien Hu
797da2ed20 Bug 1175913 - (Part 2) Remove test expecting recreation on click listener change r=tbsaunde 2015-07-31 11:24:42 -04:00
Lorien Hu
77ddb155a5 Bug 1175913 - (Part 1) Subscribe to EventListenerService and recreate accessibles on click listener changes r=tbsaunde 2015-08-04 23:35:54 -04:00
Lorien Hu
0790078b20 Bug 1189108 - Walk up tree to get LinkableAccessible actions instead of caching r=tbsaunde 2015-08-04 23:33:54 -04:00
Nikhil Marathe
f43bfcd465 Bug 1190661 - Send push only to child processes when in e10s mode. r=smaug
Earlier, the in-process child process message manager and any content process
child process message managers received the push event. This is because
broadcastAsyncMessage is used, but on e10s we want ServiceWorkers to run in the
child process, so the push should only be dispatched to it. This patch
introduces a list of child process listeners in the PushService (running on the
parent). PushServiceChildPreload sends a message to the PushService iff it is
running in a child process. If there are non-zero child listeners, the
PushService will send a message to all of them, otherwise it will fall back to
broadcastAsyncMessage.

We currently do not add support for precise targeting of child processes. This
is because until Bug 1182117 is fixed, all child process ServiceWorkerManagers
maintain all the service worker registrations internally. Yes this is a bug,
but that is the way things are right now. This makes it impossible to
distinguish which child should handle the notification for a given origin.
Considering we don't ship multi-process e10s, I would like to land this right
now.

When Bug 1182117 is fixed, we can remove this code since the
ServiceWorkerManager will manage registrations in the parent, and it will know
which child process is running which ServiceWorker.
2015-07-30 20:00:21 -07:00
JW Wang
8ebbb64c66 Bug 1187214. Part 2 - add test cases for MediaEventSource. r=kinetik. 2015-08-05 10:24:13 +08:00
JW Wang
45bec848fe Bug 1187214. Part 1 - Implement MediaEventSource. r=kinetik. 2015-07-24 09:03:11 +08:00
Mike Hommey
243d18beaf Bug 1188224 - Remove stale .pyc files from the source directory at import time. r=gps 2015-08-05 11:17:03 +09:00
John Daggett
4507f17810 Bug 1189129 - annotate no default font aborts. r=bas 2015-08-05 11:03:41 +09:00
Ehsan Akhgari
654b9ab828 Bug 1018504 - Rename the events used after bug 1190082 2015-08-04 21:20:25 -04:00
Ehsan Akhgari
6cb7806562 Bug 1191123 - Make sure that DOMAudioPlaybackStarted/Stopped events are not cancelable; r=smaug 2015-08-04 21:09:19 -04:00
Ehsan Akhgari
fc6b13788a Bug 1190082 - Rename media-playback and the related stuff to audio-playback; r=smaug
Given that we only dispatch this for audio, media-playback sounds
like a misnomer.
2015-08-04 21:07:41 -04:00
Bobby Holley
9f9bae1800 Bug 1191063 - Followup comments. r=me DONTBUILD 2015-08-04 17:36:06 -07:00
Ehsan Akhgari
4ce8abfef7 Bug 1190023 - Ensure that muting a media element dispatches the media-playback event, and also include the muted state in computing whether a media element is actively playing audio; r=cpearce 2015-08-04 20:07:41 -04:00
Ehsan Akhgari
abf3aff6f4 Bug 1190040 - Do not dispatch media-playback notifications for media elements that do not have an audio track; r=baku 2015-08-04 19:38:51 -04:00
Birunthan Mohanathas
e1f0334d06 Bug 1191100 - Remove XPIDL signature comments in .cpp files. r=ehsan
Comment-only so DONTBUILD.
2015-08-04 16:17:36 -07:00
Ehsan Akhgari
41ccf85272 Fix some bad variable names, no bug 2015-08-04 19:11:16 -04:00
Brian Hackett
0ead1f6023 Bug 1189137 - Don't treat integer stores to unboxed objects as truncated, r=jandem. 2015-08-04 15:41:26 -07:00
Ehsan Akhgari
8ab08ab0bb Bug 1190083 follow-up: Restore the alphabetical order, DONTBUILD 2015-08-04 18:33:29 -04:00
Ehsan Akhgari
84b4de4b3f Bug 1190083 - Rename mozbrowsermediaplaybackchange to mozbrowseraudioplaybackchange; r=fabrice 2015-08-04 18:31:14 -04:00
Ehsan Akhgari
1f87b6a550 Bug 1185982 - Remove the unused NotifyNetworkActivity::mObs member; r=bagder 2015-08-04 18:29:58 -04:00
Sean Stangl
1c6d1661b1 Bug 1183842 - Use InvertCondition to expand the range of conditional branches. r=h4writer 2015-07-14 12:20:02 -07:00
Terrence Cole
d9c7a266eb Bug 1190636 - Replace AutoStringVector with Rooted usage; r=njn 2015-08-03 17:39:03 -07:00
Terrence Cole
9888076651 Bug 1186626 - Part 5: Remove AutoShapeVector; r=sfink 2015-07-23 08:19:08 -07:00
Terrence Cole
851489653b Bug 1186626 - Part 4: Convert ShapeVectors in jsobj.cpp; r=jonco 2015-07-23 08:19:08 -07:00
Terrence Cole
428f8126ce Bug 1190457 - Replace AutoPropertyDescriptorVector with normal Rooted usage; r=jonco 2015-08-03 17:30:47 -07:00
Wes Kocher
993d53cfc6 Merge m-c to inbound, a=merge 2015-08-04 14:55:21 -07:00
Jim Chen
71ef7bbeda Bug 1189818 - Remove jsconsole-clhandler and nsDefaultCLH in Fennec; r=mfinkle
Fennec doesn't use jsconsole-clhandler or nsDefaultCLH because it has
its own CLH, BrowserCLH.js, but they do take up a small but measurable
amount of time on startup.
2015-08-04 17:47:28 -04:00
Jim Chen
fe3b26a9f6 Bug 1187552 - Make NativeJSContainer use direct ownership model; r=snorp
Make NativeJSContainer/NativeJSObject Java objects own their
corresponding C++ objects directly, to reduce an extra
allocation/deallocation for each object and to simplify code.
2015-08-04 17:47:28 -04:00
Jim Chen
d201a85a4a Bug 1187552 - Support direct ownership of C++ objects by Java objects; r=snorp
Add a direct ownership model where the Java object owns the
corresponding C++ object directly, in addition to the WeakPtr model
where the Java object owns a WeakPtr to the C++ object. The WeakPtr
model is chosen when the implementing C++ class inherits from
SupportsWeakPtr. Otherwise, the direct ownership model is chosen. Under
the direct ownership model, a UniquePtr object must be used to attach
the containing C++ object to a Java object, to ensure ownership is
passed on to the Java object.
2015-08-04 17:47:28 -04:00
Jim Chen
412ca11ada Bug 1187088 - Use UNIFIED_SOURCES in widget/android; r=snorp
Fix some compiling errors in unified mode due to header dependency
issues.
2015-08-04 17:47:28 -04:00
Jim Chen
ff569cc4b6 Bug 1186467 - Rewrite NativeJSContainer to use new native JNI scheme; r=snorp
This patch makes NativeJSContainer use per-instance native methods.
NativeJSContainer is also updated to use smart JNI reference classes.
2015-08-04 17:47:28 -04:00
Jim Chen
cf40f969b5 Bug 1186467 - Update generated JNI bindings; r=me 2015-08-04 17:47:28 -04:00
Jim Chen
ad2589d14e Bug 1186467 - Make NativeJSContainer and NativeJSObject extend JNIObject; r=snorp
JNIObject is the base class for any class that wish to use per-instance
native methods. It encapsulates the long native pointer that used to be
in NativeJSContainer.
2015-08-04 17:47:28 -04:00
Jim Chen
1a0434f7e6 Bug 1186467 - Add some JNI utilities for convenience; r=snorp
This patch adds:
* Conversion operator from String::Param to String::LocalRef.
* More overloads of the jni::ThrowException function.
* name members to built-in types like jni::Object, jni::String, etc.
  This allows using jni::Accessors::EnsureClassRef on built-in types
  to get built-in class refs (e.g. jclass for java/lang/String).
* Ability to implicitly convert LocalRef<Cls> to LocalRef<Object>
* Fixes for bugs in LocalRef/GlobalRef where new refs are not created.
* Fixes for inaccurate uses of mozilla::Forward in favor of mozilla::Move
2015-08-04 17:47:28 -04:00
Dustin J. Mitchell
21918b35d8 Bug 1188780: remove setup.sh invocations, as they fail outside the mock environment; r=glandium a=RyanVM 2015-08-04 17:41:07 -04:00
Mike Hommey
a543d5ba59 Bug 1188780 - Include debug symbols in gtk3 tooltool package. r=mshal
(relanding of http://hg.mozilla.org/mozilla-central/rev/a9d3df6e14e0)
2015-08-04 17:26:11 -04:00
Ryan VanderMeulen
32855cf94a Merge inbound to m-c. a=merge 2015-08-04 15:53:06 -04:00
Ryan VanderMeulen
6d069ca887 Merge fx-team to m-c. a=merge 2015-08-04 15:50:01 -04:00
Ryan VanderMeulen
eb01b333d9 Merge b2g-inbound to m-c. a=merge 2015-08-04 15:47:12 -04:00
Ryan VanderMeulen
a94518bc90 Backed out changeset a9d3df6e14e0 (bug 1188780) for causing bug 1190860. a=bustage 2015-08-04 15:21:57 -04:00
Jean-Yves Avenard
a34d61f9a4 Bug 1185115 - Ensure we have enough memory to allocate required capacity. r=kentuckyfriedtakahe
CLOSED TREE
2015-08-04 13:43:17 -04:00
B2G Bumper Bot
bb0be845a6 Bumping manifests a=b2g-bump 2015-08-04 09:58:33 -07:00
B2G Bumper Bot
4c3a896fda Bumping gaia.json for 1 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/68ce99a4e176
Author: Ryan VanderMeulen <rvandermeulen@mozilla.com>
Desc: Bug 1110913 - Skip lockscreen_media_playback_test.js for frequent failures in automation.
2015-08-04 09:56:56 -07:00
B2G Bumper Bot
97fc9d65c8 Bumping manifests a=b2g-bump 2015-08-04 09:48:43 -07:00
B2G Bumper Bot
f1eebf43c4 Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/2330e0fd58c5
Author: Fernando Campo <fcampo@users.noreply.github.com>
Desc: Merge pull request #31177 from fcampo/mms-to-email-1185090

Bug 1185090 - [Contacts] Cannot send MMS to email address from details view (r=borjasalguero)

========

https://hg.mozilla.org/integration/gaia-central/rev/ad38f6fedf5c
Author: Fernando Campo <fernando.campo@telefonica.com>
Desc: Bug 1185090 - [Contacts] Cannot send MMS to email address from contact page.
2015-08-04 09:47:06 -07:00
Sotaro Ikeda
5a4325f60d Bug 1189206 - Remove worng mCurrentPosition update r=cpearce 2015-08-04 06:45:44 -07:00