Gecko engine for Wine
Go to file
Dave Townsend d24a0c9d9e Bug 1237820: Track whether a user has been offered a sideloaded add-on or not. r=rhelmer
Previously we just checked every newly sideloaded add-on to decide whether to
offer it to the user for opt-in. This adds a new "seen" property (naming could
be better if you have other suggestions) which tracks whether we've ever shown
the opt-in UI for the add-on. It defaults to true for all add-ons and is only
set to false for sideloaded add-ons that default to being disabled on install.
The seen flag can be set to true through the API but cannot be reset to false
as that would allow add-ons to forcibly re-present themselves to the user when
disabled.

The opt-in UI sets the seen flag to true only when it has focus which fixes a
long-standing bug where if you accept the first add-on you see and restart the
other tabs might not show up.

The one slight downside of this approach is that it now requires loading the
full add-ons database on every startup in order to check the seen flag for all
installed add-ons. There are hacky ways we might get around this but they all
involve overloading prefs with even more object data. The good thing is that
we do the load and check asynchronously after most of startup is complete and
the UI is fully loaded so there shouldn't be any percieved impact to startup
time. I've run multiple talos runs to verify that none of the numbers appear to
regress.
2016-01-26 14:31:33 -08:00
accessible Bug 1218816 - Remove useless semicolons. Found by coccinelle. r=Ehsan 2016-01-22 16:58:49 +01:00
addon-sdk Bug 1138737 - improve naming of sharedGlobal list of exceptions, r=jsantell 2016-01-26 12:25:31 +00:00
b2g Bumping manifests a=b2g-bump 2016-01-25 01:10:56 -08:00
browser Bug 1237820: Track whether a user has been offered a sideloaded add-on or not. r=rhelmer 2016-01-26 14:31:33 -08:00
build Fixup for bug 1239217 fixing a shell construct that does not work in autoconf. r=me 2016-01-22 16:16:06 +09:00
caps Backed out changeset a76600c2820b (bug 1240651) for ES test failures 2016-01-20 15:03:51 +01:00
chrome Bug 1186787 (part 2) - Replace nsBaseHashtable::EnumerateRead() calls in chrome/ with iterators. r=froydnj. 2015-11-17 17:58:36 -08:00
config Bug 1242074 - Avoid going back and forth between FasterMake and RecursiveMake; r=gps 2016-01-23 11:40:24 -08:00
db/sqlite3 Bug 1241121 - Upgrade SQLite to version 3.10.2. r=mak 2016-01-21 08:53:39 -05:00
devtools Bug 1233497 - Remove some more CPOW yields from Tasks in devtools tests. r=jryans 2016-01-11 10:08:38 -05:00
docshell Bug 1239822: Part 2b - Destroy windowless browsers created for add-on SDK page workers. 2016-01-15 13:35:17 -08:00
dom Bug 1233497 - Fix infrastructure for disallowing unsafe CPOWs in browser code. r=mrbkap 2016-01-05 19:28:27 -05:00
editor Bug 1218816 - Remove useless semicolons. Found by coccinelle. r=Ehsan 2016-01-22 16:58:49 +01:00
embedding Bug 1218816 - Remove useless semicolons. Found by coccinelle. r=Ehsan 2016-01-22 16:58:49 +01:00
extensions Bug 1234875 - Remove alwaysAcceptSessionCookies pref. r=mak 2016-01-26 14:54:21 +01:00
gfx Merge f-t to m-c, a=merge 2016-01-23 18:11:37 -08:00
gradle/wrapper Bug 1220633 - Gradle wrapper: Use distribution with sources. r=trivial 2015-11-06 17:13:31 +01:00
hal Merge b-i to m-c, a=merge 2016-01-23 18:16:19 -08:00
image Bug 1224374 - Profiler labels for the top 26-100 chrome hangs;r=BenWa 2016-01-15 11:38:03 +01:00
intl Bug 1241432 - Implement GB18030-2005. r=smontagu 2016-01-22 21:32:03 +09:00
ipc Bug 1240985 - Make sure to queue mDequeueOneTasks after cancellation (r=dvander) 2016-01-21 07:38:27 -08:00
js Bug 1233497 - Fix infrastructure for disallowing unsafe CPOWs in browser code. r=mrbkap 2016-01-05 19:28:27 -05:00
layout Bug 1242349 - Provide unique AccessibleCaret pref for JS selection changes, r=TYLin 2016-01-26 09:27:36 -05:00
media Bug 1242807 - Fix mp4parse-rust's error reporting via telemetry. r=giles 2016-01-26 14:27:35 +13:00
memory Bug 1144842 (part 2) - Make --enable-dmd imply --enable-profiling. r=glandium. 2016-01-21 16:58:50 -08:00
mfbt Bug 757969 - use __thread in ThreadLocal; r=froydnj 2016-01-22 10:33:44 -07:00
mobile Bug 1242349 - Provide unique AccessibleCaret pref for JS selection changes, r=TYLin 2016-01-26 09:27:36 -05:00
modules Bug 1242349 - Provide unique AccessibleCaret pref for JS selection changes, r=TYLin 2016-01-26 09:27:36 -05:00
mozglue Bug 1238761 - Switch NativePanZoomController to use native methods; r=rbarker 2016-01-15 13:05:44 -05:00
netwerk Bug 1241565 - nsIHttpChannelInternal should be a builtinclass, r=honzab.moz 2016-01-22 11:55:54 +00:00
nsprpub bug 1237869 - Tweak NSPR to build with Mozilla's build system. r=glandium 2016-01-15 09:58:59 -05:00
other-licenses Bug 1218816 - Remove useless semicolons. Found by coccinelle. r=Ehsan 2016-01-22 16:58:49 +01:00
parser Bug 1224694 - Unify and clean up initialization of CSP (r=sicking) 2016-01-14 13:21:31 -08:00
probes
python Bug 1242004 - Skip -Xclang arguments when generating clang compilation database or YouCompleteMe config; r=froydnj 2016-01-25 21:34:57 -05:00
rdf Bug 1225682 - Don't use nsAuto{,C}String as class member variables in rdf/. r=Pike 2015-12-02 11:04:37 +09:00
security Bug 1241614 - don't overflow:auto the container, use em to size the dialog to avoid hidpi visibility issues, r=dolske,ttaubert 2016-01-22 11:18:54 +00:00
services Merge f-t to m-c, a=merge 2016-01-23 18:11:37 -08:00
startupcache Bug 1224374 - Profiler labels for the top 26-100 chrome hangs;r=BenWa 2016-01-15 11:38:03 +01:00
storage Bug 1239354: Replace old-style generator function with star functions. r=asuth 2016-01-13 08:58:15 -08:00
testing Bug 1233497 - Allow Marionette tests to use CPOWs. r=ato 2016-01-08 15:10:22 -05:00
toolkit Bug 1237820: Track whether a user has been offered a sideloaded add-on or not. r=rhelmer 2016-01-26 14:31:33 -08:00
tools Merge f-t to m-c, a=merge 2016-01-23 18:11:37 -08:00
uriloader Bug 1165256 - Make appcache fully work with OriginAttribues. r=jduell 2016-01-18 20:20:08 +01:00
view Bug 1241651. Remove nsPresContext::GetDisplayRootPresContext. r=mattwoodrow 2016-01-21 19:09:04 -06:00
webapprt Bug 1224766 - forward callID to disambiguate multiple gUM requests from same window. r=jesup,smaug 2016-01-07 17:30:10 -05:00
widget Bug 1241408 - Update selection cache even if having read lock. r=masayuki 2016-01-26 10:33:38 +09:00
xpcom Bug 1241656 - Lazify AutoTaskDispatcher::mDirectTasks. r=bholley. 2016-01-25 13:30:42 +11:00
xpfe Bug 1224374 - Profiler labels for the top 26-100 chrome hangs;r=BenWa 2016-01-15 11:38:03 +01:00
xulrunner Bug 1235345 - Remove services/metrics. r=gfritzsche 2016-01-07 04:23:00 +01:00
.clang-format
.clang-format-ignore
.eslintignore Bug 1242278 - Eslint cleanup of Inspector markup view r=pbro 2016-01-25 15:00:04 -05:00
.eslintrc Bug 1231963 - handle top-level "this.mumble" assignments in eslint; r=mikeratcliffe 2016-01-21 07:44:11 -07:00
.gdbinit
.gitignore
.hgignore Bug 1231667 - Set Android SDK directory in topsrcdir Gradle configuration. r=me f=mcomella 2015-12-10 10:51:42 -05:00
.hgtags No bug - Tagging mozilla-central 67c66c2878aed17ae3096d7db483ddbb2293c503 with FIREFOX_AURORA_46_BASE a=release DONTBUILD CLOSED TREE 2016-01-25 08:59:04 -05:00
.lldbinit
.ycm_extra_conf.py
aclocal.m4
Android.mk
AUTHORS
build.gradle Bug 1242284 - Pre: Remove no longer required Maven repository; bump test-only dependency. r=me 2015-12-16 20:00:16 -08:00
client.mk
client.py
CLOBBER Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2016-01-25 09:01:00 -05:00
configure.in Merge mozilla-central to fx-team 2016-01-26 12:46:28 +01:00
GNUmakefile
gradle.properties
gradlew
LEGAL
LICENSE
mach
Makefile.in Bug 1242074 - Avoid going back and forth between FasterMake and RecursiveMake; r=gps 2016-01-23 11:40:24 -08:00
moz.build Bug 1233282 - Move mozilla-config.h's export to moz.build. r=gps 2015-12-23 16:18:56 +09:00
mozilla-config.h.in Bug 1231314 - Turn mozilla-config.h and js-confdefs.h into CONFIGURE_DEFINE_FILES. r=gps 2015-12-15 08:06:11 +09:00
README.txt
settings.gradle Bug 1231667 - Set Android SDK directory in topsrcdir Gradle configuration. r=me f=mcomella 2015-12-10 10:51:42 -05:00
test.mozbuild Bug 1229233 - Add a (incomplete) end-to-end build test. r=gps 2015-12-01 13:57:52 +09:00

An explanation of the Mozilla Source Code Directory Structure and links to
project pages with documentation can be found at:

    https://developer.mozilla.org/en/Mozilla_Source_Code_Directory_Structure

For information on how to build Mozilla from the source code, see:

    http://developer.mozilla.org/en/docs/Build_Documentation

To have your bug fix / feature added to Mozilla, you should create a patch and
submit it to Bugzilla (https://bugzilla.mozilla.org). Instructions are at:

    http://developer.mozilla.org/en/docs/Creating_a_patch
    http://developer.mozilla.org/en/docs/Getting_your_patch_in_the_tree

If you have a question about developing Mozilla, and can't find the solution
on http://developer.mozilla.org, you can try asking your question in a
mozilla.* Usenet group, or on IRC at irc.mozilla.org. [The Mozilla news groups
are accessible on Google Groups, or news.mozilla.org with a NNTP reader.]

You can download nightly development builds from the Mozilla FTP server.
Keep in mind that nightly builds, which are used by Mozilla developers for
testing, may be buggy. Firefox nightlies, for example, can be found at:

    https://archive.mozilla.org/pub/firefox/nightly/latest-mozilla-central/
            - or -
    http://nightly.mozilla.org/