Commit Graph

302632 Commits

Author SHA1 Message Date
Andrzej Hunt
4a743fd4c7 Bug 1261907 - Reintroduce (necessary) table-created checks in BrowserDatabaseHelper. r=nalexander, a=ritu
Removing these checks causes crashes when trying to upgrade a <= 17 db to >= 23:
(A) upgradeDatabaseFrom17to18 calls createReadingListTable, and we create the table using the new (>=23 schema).
    This schema has no "read" column.
(B) upgradeDatabaseFrom22to23 migrates the same table. As part of the migration it tries to select the "read"
    column, and we crash because that doesn't exist. This was prevented by an early return if didCreateReadingListTable
    was set.

It looks like removing the didCreateTablsTable checks is OK because the migration only adds a foreign-key constraint,
and doesn't depend on any columns that didn't exist in the initial version of the migration. However it seems wasteful
to run the migration on a table that is already in the expected state. Moreover not having table-created checks is
not safe in most cases, and having these checks should be the default pattern - especially in case any future migrations
affecting the same table are added.

MozReview-Commit-ID: 4j1PlQc6LLN
2016-04-08 15:29:44 -07:00
Nicolas Silva
5bc93ca25e Bug 1261321 - Null-check when the CompositableClient when forcing its destruction at shutdown. r=jnicol, a=lizzard 2016-04-07 14:35:58 +02:00
Peter Chang
53bcabb372 Bug 1261320 - Check DataSurface is vaild before using, r=milan, a=ritu
MozReview-Commit-ID: 1uhNttyNAiq
2016-04-11 17:45:09 +08:00
Andrew McCreight
c091b719b6 Bug 1264662 - Record IPC message capacity instead of size. r=billm, a=ritu
Capacity includes internal fragmentation, while size does not.

This requires making capacity() public, but that seems benign.
2016-04-14 17:46:52 -07:00
Sebastian Kaspari
fcdaa31bf9 Bug 1264869 - Request STORAGE permission before downloading images. r=liuche, a=lizzard
MozReview-Commit-ID: KJGugrRw5iI
2016-04-15 10:22:22 +02:00
Chris H-C
08b33646fe bug 1265000 - Record dom.max_script_run_time pref in Telemetry Environment. data=bsmedberg, r=felipe, a=ritu
Users who have this pref set to a non-default value have a different slow
script experience than the others.

This preference is generally set as a flag: it is only ever changed at most
one time in a profile, so it shouldn't appreciably increase subsession splits.

MozReview-Commit-ID: FoQXvd9eSh
2016-04-15 12:16:09 -04:00
Ted Mielczarek
0ee2bee94f Bug 1264242 - Write memory info streams for Windows Minidumps of child processes. r=bsmedberg, a=ritu
MozReview-Commit-ID: COHFdNiJIqm
2016-04-13 08:05:46 -04:00
Morgan Phillips
f4c951ca48 Bug 1254335 - Remove invalid assertion; r=jorendorff, a=ritu
The underlying intent of the assertion was to guarantee that pending errors wouldn't be overwritten.
This patch makes that intent more clear while addressing the fact that the original assertion was
not necessarily true.
2016-03-09 01:57:38 -08:00
Nicolas B. Pierron
c0d180a3cf Bug 1236114 - IonMonkey: Move 'Sink' phase before the 'Remove Unnecessary Bitops' phase. r=sunfish, a=ritu 2016-04-05 22:10:40 +00:00
Bobby Holley
17b7bc209b Bug 1258017 - Redesign and simplify rule tree GC. r=dbaron a=ritu
The basic idea here is as follows:
* Rule nodes are reference-counted, but releasing them adds them to a linked
  list rather than freeing them. This allows for the reuse that motivated the
  original GC scheme.
* We get rid of the marking, and instead rely on the reference count.
* Sweeping no longer requires a complicated traversal. We just pop items
  off the free list until it's empty. When a child is destroyed, its parent
  may go onto the free list.
* We remove special handling for the root node, and use a regular reference-counted
  edge from the style set.
* The free list automatically asserts that it's empty (meaning all nodes have been
  freed) in its destructor, which runs when the style set is destroyed.
* We get rid of the list of style context roots on the style set. We still need
  a count though, because of the HasCachedStyleData check.
2016-04-18 17:12:34 -07:00
Bobby Holley
15ee34aca0 Bug 1258017 - Use a RefPtr to hold onto the parent style context. r=dbaron 2016-04-18 17:09:03 -07:00
Bobby Holley
fcdabfac83 Bug 1258017 - Use an nsCOMPtr to hold onto the nsIStyleRule. r=dbaron 2016-04-18 17:09:03 -07:00
Michael Comella
4f8c8b64aa Bug 1249288 - review: Correct concurrency issues with searchEngineManager. r=sebastian a=ritu
Additionally, added WeakReferences to the SEM in its callbacks so we can
GC ASAP if the Activity (and thus the SEM) gets GC'd. This is important
since we hold a reference to Context which can be a rather large object.

Furthermore, I added some related thread annotations where I felt they
were useful.

MozReview-Commit-ID: KaWlw14uOoN
2016-03-24 11:18:58 -07:00
Michael Comella
5f74680674 Bug 1249288 - Update telemetry docs to include defaultSearch. r=gfritzsche,rnewman a=ritu
MozReview-Commit-ID: 4pihITjabns
2016-03-10 16:23:13 -08:00
Michael Comella
11d215048c Bug 1249288 - Don't call SearchEngineManager change callback if it's null. r=margaret a=ritu
The callback may be null if setChangeCallback is never called and would cause
a crash.

MozReview-Commit-ID: BNd16Db1A8Q
2016-02-23 18:11:57 -08:00
Michael Comella
98f1f216a4 Bug 1249288 - Add default search engine to core ping. r=rnewman a=ritu
The default search engine attribute may be null in the core ping if we haven't
been able to retrieve the value yet. It's unclear when this might be, but the
possibility is in the javadoc of `SearchEngineManager.getEngine`.

MozReview-Commit-ID: IrJB6GyjyTO
2016-03-10 16:00:15 -08:00
Michael Comella
7592e0616f Bug 1249288 - Move om.search.providers.SearchEngine\* to omg.search. r=nalexander a=ritu
We want to reuse this code for the main Activity.

MozReview-Commit-ID: BZxIrgmJI2r
2016-02-23 17:27:24 -08:00
Bas Schouten
72cb52de01 Bug 1256547: When the DWM is disabled don't force presentation. r=milan a=rkothari 2016-04-11 13:08:00 +02:00
Rail Aliiev
e8cc4fc273 Bug 1260415 - Use revision as tag r=coop a=release DONTBUILD
MozReview-Commit-ID: 3cZe5ieNndK
2016-04-15 23:14:48 -04:00
Michael Kaply
4e5e6fa1f8 Bug 1264786 - Update Google search plugin; r=mconnor, a=lizzard 2016-04-18 09:22:40 -05:00
Matt Woodrow
fcbcbb1ad0 Bug 1258313 - Allow snapping of 'pseudo' 3d transforms. r=jrmuizel, a=ritu 2016-04-06 15:29:32 +12:00
Mike de Boer
46233fd3c4 Bug 1264227: lighten the box shadow inside the navbar on Linux to match the active tab highlight color. r=Gijs, a=lizzard 2016-04-14 12:22:13 +02:00
Jan Henning
d2a8b69f5b Bug 1229967 - Handle onKeyDown() for the menu key in GeckoMenu. r=sebastian, a=lizzard
This restores the functionality to close the menu by pressing the hardware menu key.

MozReview-Commit-ID: EKCeALPvFoB
2016-04-11 12:42:21 +02:00
Rail Aliiev
8359c21464 Bug 1265332 - Publish l10n XPI files to candidates and releases r=mtabara a=release DONTBUILD
MozReview-Commit-ID: JgjZJyd6eQi
2016-04-18 07:05:51 -04:00
Michael Comella
220abacc1c Bug 1255657 - Write client ID file before Gecko starts to prevent race. r=rnewman, a=ritu
As best as I can tell, this code runs before Gecko is initialized. via
bug 1255657 comment 8:

To confirm this, GeckoProfile is created before the GeckoThread is
finished launching but it seems almost coincidental:
 GeckoApp.onCreate
  GeckoThread.launch
   GeckoThread.start
...
 GeckoThread.run
  GeckoThread.getGeckoArgs (notably before GeckoLader.nativeRun)
   GeckoThread.addCustomProfileArg
    (if GAP.getGeckoInterface != null, which is set earlier in GeckoApp.onCreate)
     EITHER
     GeckoProfile.getDir() (if in guest mode)
      GeckoProfile.forceCreate
     GeckoProfile.forceCreate (if not in guest mode)

forceCreate opens the times.json file.

That being said, if this code path changes, forceCreate is also called
when the GeckoView is initialized (which occurs after the GeckoThread.launch
call, but is likely to happen before Gecko finishes launching).
---

If we wanted GeckoProfile initialization timing to be seem less coincidental,
we should consider initializing the profile non-lazily: bug 1262625.

MozReview-Commit-ID: LGluC021CTg
2016-04-06 15:07:01 -07:00
Benjamin Smedberg
1be1f970b3 Bug 1263630 - Remove everything except Flash from the click-to-activate whitelist. r=jimm, a=ritu
MozReview-Commit-ID: IwCfIHVANqX
2016-04-11 11:30:08 -04:00
Mark Hammond
d4a19950f3 Bug 1250085 - watch for tab navigations so we know to re-fetch the list of tabs to sync. r=rnewman, a=ritu 2016-03-08 17:47:26 +11:00
ffxbld
120f9beb92 No bug, Automated blocklist update from host bld-linux64-spot-1050 - a=blocklist-update 2016-04-16 05:03:21 -07:00
ffxbld
6ed6d0eeb1 No bug, Automated HPKP preload list update from host bld-linux64-spot-1050 - a=hpkp-update 2016-04-16 05:03:19 -07:00
ffxbld
a368f9629e No bug, Automated HSTS preload list update from host bld-linux64-spot-1050 - a=hsts-update 2016-04-16 05:03:17 -07:00
Chris Peterson
aa22558108 Bug 1103588 - Report String#contains() deprecation warning in Beta and Release channels. r=till a=ritu 2016-04-13 11:48:07 -07:00
L. David Baron
a0b014323e Bug 1256745 - Cancel the DidPaint timer in SetShell(nullptr). r=mattwoodrow a=ritu
MozReview-Commit-ID: KwtJD4AywX1
2016-03-16 13:47:41 -07:00
Rail Aliiev
bbd6962637 Bug 1260415 - Use platform independent buildprops.json r=coop DONTBUILD a=release
MozReview-Commit-ID: 7ZAZSldvItQ
2016-04-15 15:18:12 -04:00
Matt Woodrow
ee87605409 Bug 1257013 - Part 3: Stop checking for corrupt frames in MediaDecoderStateMachine since we no longer produce them. r=ajones, a=ritu 2016-03-21 18:50:41 +13:00
Matt Woodrow
bb3b79e71e Bug 1257013 - Part 2: Use readback to synchronize d3d11 video. r=cpearce, r=Bas 2016-03-21 18:49:59 +13:00
Matt Woodrow
a4e47cb2a8 Bug 1257013 - Part 1: Use readback to synchronize d3d9 video. r=cpearce r=Bas, a=ritu 2016-03-21 18:49:43 +13:00
Matt Woodrow
25a710c752 Bug 1236112 - Block on d3d9 video frames to complete before returning them from the decoder. r=cpearce, a=ritu 2016-03-09 10:34:49 +13:00
Kyle Machulis
882f7732f0 Bug 1262184 - Web Platform test for embed load skipping in media nodes; r=bz, a=testonly 2016-04-14 14:05:17 -07:00
Kyle Machulis
7f77903221 Backout 114236a09409 (Bug 1262184) due to web-platform-test manifest bustage 2016-04-14 13:47:32 -07:00
Kyle Machulis
9dcd0dafde Bug 1262184 - Web Platform test for embed load skipping in media nodes; r=bz, a=testonly 2016-04-14 13:23:37 -07:00
Markus Stange
1d089c8632 Bug 1264092 - Don't use scrollingElement in this reftest. r=kats a=testonly
MozReview-Commit-ID: JqbgIkmnH3h
2016-04-13 13:33:23 -04:00
Markus Stange
ac59752bcf Bug 1260335 - On perspective ContainerLayers, the clip deferred from their child layer needs to be affected by the perspective layer's async transforms. r=botond a=ritu
MozReview-Commit-ID: EEgsdFXGI1E
2016-04-04 23:21:31 -04:00
Markus Stange
ab1f2c6ae1 Bug 1260335 - Add a comment that explains why the perspective child can't have more than one frame metrics. r=mattwoodrow a=ritu
MozReview-Commit-ID: BsB8XRtUd4b
2016-03-30 15:34:03 -04:00
Michael Kaply
7b7c12d65c Bug 1264076 - Remove accidental commit of bouncer change; r=me a=lizzard
MozReview-Commit-ID: HxFX2EHcUcq
2016-04-13 20:51:40 -05:00
Michael Kaply
b076ebd59f Bug 1264076 - Allow customized device string for user agent on Fennec; r=mcmanus a=lizzard
MozReview-Commit-ID: 4PNVWNSphEV
2016-04-13 20:46:13 -05:00
Kyle Machulis
00d1e76346 Bug 1262184 - Block embed content loading when child of media element; r=bz a=lizzard
MozReview-Commit-ID: Dgwpsg9fum7
2016-04-11 10:58:08 -07:00
Kyle Huey
1893c5c684 Bug 1256049: Correctly handle databases currently performing maintenance when a new transaction is started. r=janv a=lizzard
MozReview-Commit-ID: B5IlfMEbyTu
2016-04-05 20:21:25 -07:00
Michael Kaply
56db11a3b4 Bug 1262591; Need to put unused function in ANDROID #ifdef; r=bustage a=lizzard
MozReview-Commit-ID: 6Fm41vSnwTZ
2016-04-11 14:06:35 -05:00
Michael Kaply
c7b89135ee Bug 1262591 - Add ability to add device ID to user agent for Fennec; r=jduell a=lizzard
MozReview-Commit-ID: 3Xc6hgC6Jna
2016-04-11 13:49:53 -05:00
Bill McCloskey
59e4188498 Bug 1260908 - Record IPC message sizes. r=dvander, a=ritu
MozReview-Commit-ID: Gw0Ov64iJSx
***
Bug 1260908 - Fix type of kMinTelemetryMessageSize. r=smaug a=ritu

MozReview-Commit-ID: 3ex89qCbRfJ
2016-04-14 09:22:44 -07:00