Commit Graph

302531 Commits

Author SHA1 Message Date
Jan de Mooij
2640fee5b3 Bug 1254622 - Relookup group->newScript in CreateThisForFunctionWithGroup. r=bhackett a=lizzard
MozReview-Commit-ID: KXd7kB70f1Z
2016-03-24 15:09:41 +01:00
Kit Cambridge
cf661e8ea6 Bug 1257821 - Support the new aesgcm content encoding scheme. r=mt, a=ritu
MozReview-Commit-ID: IPNXletzJRK
2016-03-18 09:01:50 -07:00
Gerald Squelart
b07e6fe840 Bug 1259985 - Add missing return after null-check - r=jya a=lizzard
MozReview-Commit-ID: 138NM9xTmVA
2016-03-27 19:57:25 +11:00
Ed Lee
cc4aa04255 Bug 1259506 - Add telemetry probe for counting copy panel actions. r=dmose, f=bsmedberg a=ritu
MozReview-Commit-ID: FVOPN32qky7
2016-03-14 00:29:21 -07:00
J. Ryan Stinnett
44b775c1c6 Bug 1249934 - Avoid CPOWs in GCLI cookie commands. r=jwalker a=ritu
MozReview-Commit-ID: 3a1PoMDbUYW
2016-03-23 11:07:24 -05:00
J. Ryan Stinnett
276b72fe50 Bug 1233780 - Avoid CPOWs in GCLI security csp. r=jwalker a=ritu
MozReview-Commit-ID: Gb6tuRL8Tcn
2016-03-23 11:47:05 -05:00
JW Wang
e94bd26b67 Bug 1258673. Part 2 - since mStreamOffset is not updated until the end of MediaCacheStream::Read(), we have to pass stream offset to MediaCache::NoteBlockUsage explicitly to avoid hitting the assertion. r=jya. a=ritu
MozReview-Commit-ID: 3LRM9PTIuaP
2016-03-24 14:59:33 +08:00
JW Wang
2759abb1ca Bug 1258673. Part 1 - cache mStreamOffset so we won't read at the wrong position when Other Read() interrupt the current Read(). r=jya. a=ritu
MozReview-Commit-ID: 9ghZYMdUopa
2016-03-23 21:40:18 +08:00
Jan Henning
a133f8fcdd Bug 1256590 - Part 2 - Add a test case for skipping over false positive syncs at the beginning of an MP3 file. r=esawin a=ritu
MozReview-Commit-ID: 36bY8Ouafr6
2016-03-20 22:08:45 +01:00
Jan Henning
6e69afa1cc Bug 1256590 - Part 1 - Try detecting the actual frame start even when parsing starts mid-stream. r=esawin a=ritu
So far we've simply assumed that the first MPEG Layer 3 frame sync we find is automatically valid. However if the audio data has been improperly cut, parsing might start somewhere in mid-stream, so the first frame sync we hit upon might be a false positive. This naturally leads to problems if we try to check later frame syncs for consistency (same MPEG version, sample rate, etc.) with that first frame sync.

Therefore, this patch changes demuxer initialisation to only accept a frame sync if it is followed by a number of further frame syncs consistent with the initial frame.

MozReview-Commit-ID: jVNGodIDEY
2016-03-22 21:39:05 +01:00
Ehsan Akhgari
865edcc653 Bug 1255934 - Start collecting telemetry data on the usage of remote JAR protocol in the wild; r=mcmanus a=ritu
MozReview-Commit-ID: ARppHBl9FHz
2016-03-11 20:01:08 -05:00
Dylan Roeh
41d1b05f44 Bug 1239789 - Add secondary buffers to zxx_stream::StaticAllocator to handle reentrancy. r=glandium a=lizzard
MozReview-Commit-ID: Iv20CMmpneo
2016-03-24 17:25:57 -05:00
Aaron Klotz
b510e54b1c Bug 1229252: Add eOppMonitor.dll (all versions) to the dll blocklist; r=bsmedberg a=ritu
MozReview-Commit-ID: 4bengYjxepN
2016-03-22 14:08:33 -06:00
Aaron Klotz
4ea839fe08 Bug 1249849: Make sure the correct implementations of malloc and free are used in DLL blocklist; r=glandium a=lizzard
MozReview-Commit-ID: 7piMI6MwOZh
2016-03-07 14:12:31 -08:00
Mark Banner
b9d768a710 Bug 1258865 - Land version 1.2.2 of the Loop system add-on in mozilla-central - code updates. rs=Standard8 for already reviewed code. a=ritu
MozReview-Commit-ID: Bkd9YkMrlP5
2016-03-22 22:56:02 +00:00
Mark Banner
5cab57e9b1 Bug 1258865 - Land version 1.2.2 of the Loop system add-on in mozilla-central - vendor updates. rs=Standard8 for already reviewed code. a=ritu
MozReview-Commit-ID: COlJR9GlFSH
2016-03-22 22:56:02 +00:00
Mark Banner
1738b06fee Bug 1258865 - Land version 1.2.2 of the Loop system add-on in mozilla-central - locale updates. rs=Standard8 for already reviewed code. a=ritu
MozReview-Commit-ID: MX1WBuQEdn
2016-03-22 22:56:01 +00:00
Chenxia Liu
f0de1d495a Bug 1255077 - Bookmarks menu item does nothing if bookmarks panel is disabled. r=margaret a=ritu
MozReview-Commit-ID: 7219EueXxtw
2016-03-22 13:21:08 -07:00
George Wright
706731efc8 Bug 1255841 - Explicitly send down the child index when building select popups in the parent r=mconley a=ritu
MozReview-Commit-ID: 1MbDZu0CmQF
2016-03-18 13:38:40 -04:00
Ben Kelly
1634ae8a9b Bug 1253793 Update ScriptLoader assertion to handle cancelation case. r=khuey a=ritu
MozReview-Commit-ID: 7kqnV8Op1Zj
2016-03-22 13:22:15 -07:00
Kit Cambridge
19044ce852 Bug 1257405 - Increase auth secret length to 16 octets. r=mt a=ritu
MozReview-Commit-ID: 3oiYMgQHckk
2016-03-16 19:53:19 -07:00
Blake Kaplan
6708dbfc17 Bug 1240246 - Handle re-entrancy in nsDocShell::InternalLoad more gracefully. r=smaug a=ritu
MozReview-Commit-ID: BRWpH4kn8Nc
2016-03-09 17:12:36 -08:00
Chris Pearce
a7f961b879 Bug 1258220 - Disable Adobe GMP if SSE2 isn't supported. r=gerald,a=lizzard 2016-03-25 07:56:47 +13:00
Jonathan Kew
1d47c6c64b Bug 1259492 - Ensure window position is constrained to the screen after it has been sized properly in nsXULWindow::OnChromeLoaded. r=emk a=ritu 2016-03-24 17:08:19 +00:00
Ryan VanderMeulen
b0055baf3c Bug 1259809 - Make CrashReporter::InitChildProcessTmpDir conditional on MOZ_CRASHREPORTER. r=aklotz, a=npotb
MozReview-Commit-ID: 9PRNZDeWczV
2016-03-25 12:51:00 -04:00
Aaron Klotz
920cf5f82c Bug 1256541: Fix incorrect generation of path for child process .extra files when content sandboxing is disabled; r=bsmedberg, a=lizzard
MozReview-Commit-ID: JQgqlntQ6cu
2016-03-16 12:35:50 -06:00
Aaron Klotz
6a3b9aff95 Bug 1236108: Backout 34a219cbd67d; r=backout a=lizzard
MozReview-Commit-ID: EEYLmdZrZmN
2016-03-28 12:41:48 -06:00
Jonathan Kew
c9c9658327 Bug 1254020 - Always compute theme scaling factor when per-monitor dpi aware, even if only a single display is currently present. r=emk a=ritu
MozReview-Commit-ID: 9KUukZ7tcxu
2016-03-24 11:10:17 +00:00
Brian Birtles
daeb4f338c Bug 1245260 - Add crashtest; r=hiro a=ritu
MozReview-Commit-ID: IBe0zbsCJJy
2016-03-24 09:04:53 +09:00
Brian Birtles
cfb0417f52 Bug 1245260 - Ignore redundant calls to RestyleManager::IncrementAnimationGeneration; r=dbaron a=ritu
While processing restyles and starting transitions, we may trigger
a call to EffectCompositor::UpdateCascadeResults which may, in turn, call
EffectCompositor::RequestRestyle with RestyleType::Layer, which ultimately
results in a call to RestyleManager::IncrementAnimationGeneration().

Typically, nsTransitionManager::StyleContextChanged compares the animation
generation on its collection with that of the restyle manager and uses this
to ignore the restyle that it generates. However, given the sequence of events
above, that check may no longer help since the restyle manager's animation
generation will be out of step. As a result,
nsTransitionManager::StyleContextChanged will fail to ignore a subsequent
and redundant restyle. With certain combinations of content, this can mean that
restyles are posted in such a manner than an infinite cycle of restyles ensues.

This patch causes RestyleManager to ignore calls to IncrementAnimationGeneration
when it is already processing restyles such that the animation generation is
only ever updated once per restyle. This makes the check for a matching
animation generation in nsTransitionManager::StyleContextChanged work as
expected, preventing us from generating needless transitions which can produce
this endless loop.

MozReview-Commit-ID: 9HYDrknKPAI
2016-03-16 15:05:10 +08:00
Jared Wein
726ff5db66 Bug 1259108 - Increase timeout of notifications from 12s to 20s to match parity with Chromium. r=MattN a=ritu
MozReview-Commit-ID: 31RjSWuszuC
2016-03-23 12:54:57 -04:00
Jonathan Kew
4207c0244b Bug 1259065 - Don't constrain window position (only its size) when DPI-rescaling during a move. r=emk a=ritu
MozReview-Commit-ID: Dx8o4tFYBU3
2016-03-23 17:54:45 +00:00
Sebastian Kaspari
e9497b735e Bug 1254491 - Enable downloadable fonts in all release channels. r=rnewman a=ritu
MozReview-Commit-ID: 7htS1v9jWJq
2016-03-22 12:57:11 +01:00
Andrzej Hunt
6d2f532b6e Bug 1254468 - Post: Remove unused TransitionsTracker r=sebastian a=ritu
This is no longer needed - TransitionAwareCursorLoaderCallbacks was the only
consumer - it was removed as it caused race conditions. The ideal future solution
is probably to use recyclerviews to avoid jank, rather than trying to wait for
transitions to happen.

It's also extremely difficult to use this correctly - the
TransitionAwareCursorLoaderCallbacks simply held the cursor that would usually
be swapped in onLoadFinished until transitions have finished (which is incorrect,
since cursors need to be swapped in before onLoadFinished returns). It's hard to imagine
any alternative solutions, short of avoiding loading cursors in the first place (which
isn't too useful, since cursor loading happens in the background, at which point the UI
status is irrelevant), or hacking the CursorLoader to not return from its worker thread
until UI transitions are done (which would require a new thread-safe implementation of
TransitionsTracker), or maybe even hacking Android Framework's AsyncTaskLoader  to not run Loader.deliverResult
while transitions are running (which seems awfully brittle and hacky).

MozReview-Commit-ID: 3JWDcznYL4Y
2016-03-15 09:06:46 -07:00
Andrzej Hunt
e01296ef75 Bug 1254468 - Remove broken TransitionAwareCursorLoaderCallbacks r=sebastian a=ritu
TransitionAwareCursorLoaderCallbacks is fundamentally flawed: old CursorLoader
cursors _must_ not be used after onLoadFinished has been called. However
we sometimes queue the cursor swapping (which is implemented by subclasses
in onLoadFinishedAfterTransitions) until after transitions have finished.
CursorLoader.deliverResult() closes the old cursor immediately after calling
onLoadFinished (with the new cursor). At this stage the adapter is
still holding onto the old (but now closed cursor), and will crash if it tries
to read this cursor (which can happen if the adapter is still iterating over the
cursor).

Instead we should ensure that we swap the cursors during onLoadFinished - the simplest
way to do this is by eliminating TransitionAwareCursorLoader and using onLoadFinished
the way the Android framework expects.

It's worth noting that TransitionAwareCursorLoader is obsolete: at the time it was added,
home panels were placed in the HomePagerTabStrip, which notified TransitionsTracker about
its transitions. However HomePagerTabStrip no longer exists, hence there's no need
for us to care about these transitions anymore. (The crash seems to happen because we
try to hide the doorhanger every time we receive LOCATION_CHANGE, and each of these starts
a hide transition - even if no doorhanger is shown - hence we often have a transition
in progress every time we show topsites.)

MozReview-Commit-ID: HsytLpHOrp2
2016-03-14 15:38:53 -07:00
JW Wang
bed0a0b496 Bug 1258567 - per comment 3, ensure volume is only applied once to the AudioSegment. r=kinetik. a=ritu
MozReview-Commit-ID: Bks59JySrep
2016-03-23 10:16:15 +08:00
Nick Alexander
82ed7db966 Bug 1256615 - Partially restore removed <activity-alias>. r=sebastian a=ritu
Bug 1242213 removed the entire <activity-alias>.  Sadly, users who
added the Firefox icon to their dock (for example, Samsung's Touchwiz
dock) will see the icon disappear when they upgrade, because the
intent filter disappears.  (That is, the icon is connected to .App and
action MAIN, not to the package and action MAIN.)

This patch restores the .App <activity-alias> for action MAIN.  It
doesn't add the launcher and other categories, which could lead to
multiple launcher icons.  New users that add the Firefox icon to their
dock will use .BrowserApp, but sadly we'll need to maintain this alias
essentially forever to support existing dock icons.

MozReview-Commit-ID: 1o9XS5MEs1s
2016-03-21 13:42:08 -07:00
Lee Salzman
96b2096dd3 Bug 1256515 - bail out in CanvasRenderingContext2D::DrawWindow if snapshotting draw target fails. r=bas.schouten a=lizzard
MozReview-Commit-ID: LxQ3v8zqXI
2016-03-21 10:48:35 -04:00
Gian-Carlo Pascutto
947d33c6bc Bug 1254102 - Add "blackout" mode. If the window is not legal, output a black square. r=jesup a=ritu
MozReview-Commit-ID: GlBy8fUZwIE
2016-03-16 19:21:17 +01:00
Gian-Carlo Pascutto
a3d082b6de Bug 1254102 - Don't skip Tab sources if the camera is in use. r=jesup a=ritu
MozReview-Commit-ID: 7ZaebdnWj3R
2016-03-15 20:39:37 +01:00
Jim Mathies
a13680a3ce Bug 1041599 - Maintain a single volume control session between browser, content, and plugins on Windows. r=aklotz a=ritu
MozReview-Commit-ID: 2LuYciKfsWn
2016-03-13 08:25:23 -05:00
Wes Kocher
36d7bd2f09 Backed out changeset 30de9ac21a78 (bug 1256992) for causing crashes a=backout
MozReview-Commit-ID: L30XEzrSo0y
2016-03-28 10:51:05 -07:00
Eric Faust
d28cc246b4 Bug 1254122 - Don't bother saving scratch registers across TypeUpdate IC calls. r=jandem, a=lizzard 2016-03-23 14:43:36 -07:00
Jeff Walden
1c9c720214 Bug 1246061. r=jandem, r=bz, r=luke, r=froydnj, a=lizzard 2016-03-09 00:37:20 -08:00
Andrew McCreight
b5b634092f Bug 1256061 - Hold a strong reference to a request when we call a method on it. r=jdm, a=ritu
I think it is possible for the TimerCallbackHolder to fire off a
Notify() while the geolocation object and the nsGeolocationRequest are
only holding each other alive, so they would be freed by the cycle
collector the next time it runs, but we haven't run the cycle
collector yet. If that happens, then Geolocation::RemoveRequest()
would break the cycle, causing stuff to unravel and bad things to
happen. To fix this, we just hold the request alive in
TimerCallbackHolder::Notify(), which will also ensure that the
geolocation object is alive, hopefully preventing crashes.

This will make the Notify() behavior similar to what it was before bug
1238427, when the nsITimer object would hold a strong reference to the
request when the Notify() was being run.
2016-03-23 12:59:14 -07:00
Jeff Muizelaar
0ea6721e62 Bug 1242668 - Hold more references. r=sotaro, a=lizzard 2016-02-25 17:26:10 -05:00
Eric Rahm
f80b885cd4 Bug 1258231 - Lock while iterating console messages. r=mccr8, a=lizzard 2016-03-21 12:15:42 -07:00
Jeff Walden
3bf8894d65 Bug 1253099. r=arai, r=efaust, a=ritu 2016-03-05 04:28:53 -08:00
Jeff Walden
1fe79f6b89 Bug 1242810. r=jandem, a=ritu 2016-03-02 17:52:08 -08:00
Alexander Surkov
c4760e4a35 Bug 1252857 - Value change events for HTML:select have wrong target. r=marcoz, a=ritu 2016-03-18 16:22:17 -04:00