Граф коммитов

46046 Коммитов

Автор SHA1 Сообщение Дата
ffxbld e37ec1af56 No bug, Automated blocklist update from host bld-linux64-spot-314 - a=blocklist-update 2017-04-04 07:51:24 -07:00
Sebastian Hengst 7cd5efe8b6 Backed out changeset eef96bc84d1f (bug 1350887) 2017-04-04 15:54:39 +02:00
Carsten "Tomcat" Book 14e0b51ace merge mozilla-inbound to mozilla-central a=merge 2017-04-04 12:35:03 +02:00
Saurav Sachidanand 16f14ffd75 Bug 1351986 - Remove DOCTYPE, version, xmlns:xlink from SVG files; r=dao 2017-04-04 09:10:07 +02:00
Andreas Tolfsen 0b0f19694e Bug 1350887 - Include Marionette prefs amongst defaults; r=ted,whimboo
The Marionette component ships in Firefox, but is not enabled by default.
We want to facilitate activating Marionette at runtime by flipping
the marionette.enabled preference, and showing the Marionette related
preferences in about:config helps discoverability.

It is also useful to rely on the preferences' default values so that
they do not have to be hardcoded in the component.

When Marionette is enabled by setting marionette.enabled to true, a set of
recommended automation preferences found in testing/marionette/server.js
are set if the user has not overriden/user-defined one of them and
marionette.prefs.recommended is true (default).  When Marionette is
stopped, the altered preferences are reset.

MozReview-Commit-ID: 3HLnEI0TEBB

--HG--
extra : rebase_source : 6557962c8dbd91002bbf22690ef03cd4cbcbbe38
2017-03-29 18:25:55 +01:00
Bill McCloskey 4b205424a5 Bug 1350724 - Remove telemetry for tab cache position (r=mconley)
MozReview-Commit-ID: 5yJUeC2HxPs
2017-04-03 19:41:13 -07:00
Geoff Brown fbf67d9039 Bug 1341337 - Split test browser_extension_update_background.js; r=kmag 2017-04-03 16:50:13 -06:00
Paul Bignier 9103ac60ef Bug 1352808 - Typo fixes for 'browser' in comments. r=MattN
MozReview-Commit-ID: IA42yQO5Sb8

--HG--
extra : rebase_source : b5426724c5b740639f71e5d058742b01868085e2
2017-04-03 15:26:11 -07:00
Paul Bignier ff2e59d1cd Bug 1352802 - Typo fixes around 'accessible'. r=MattN
MozReview-Commit-ID: 27CyNOMXkRq

--HG--
extra : rebase_source : 30e8891fa40cb497ab695e72b179c850a3a5c8d9
2017-04-03 09:47:00 -07:00
Wes Kocher 53dde6a1d2 Merge inbound to central, a=merge 2017-04-03 14:50:18 -07:00
Sebastian Hengst 8858633e3a Backed out changeset ce87577c5da8 (bug 1224137) for failing xpcshell test browser/modules/test/unit/test_SitePermissions.js. r=backout 2017-04-03 19:07:39 +02:00
Aaron Klotz 3510b35c9c Bug 1348069: Add comInterfaceExternalProxyStub entries for IAccessible to 32-bit firefox and plugin-container manifests; r=jimm, gps
MozReview-Commit-ID: 6G3zm2jrrMx

This patch needs to use different manifests depending on whether we are building
32-bit or 64-bit Firefox. In order to distinguish between them, I am using
checking for HAVE_64BIT_BUILD in the resource file and embedding the manifests
there.

--HG--
rename : browser/app/firefox.exe.manifest => browser/app/firefox.exe.32.manifest
rename : browser/app/firefox.exe.manifest => browser/app/firefox.exe.64.manifest
rename : ipc/app/plugin-container.exe.manifest => ipc/app/plugin-container.exe.32.manifest
rename : ipc/app/plugin-container.exe.manifest => ipc/app/plugin-container.exe.64.manifest
extra : rebase_source : 2d937f47c7b79a4f29a2c2001dec5ed8f00e54bc
2017-03-29 12:30:37 -06:00
Yiren Wang 5f88f7294a Bug 1264206 - Enable ESLint for browser/components/downloads and fix the existing issues. r=Standard8
MozReview-Commit-ID: HDjTxdFCnRp
2017-04-03 10:25:05 +01:00
Christoph Kerschbaumer 07ba3f59c3 Bug 1344706 - Do not reuse originPrincipal as triggeringPrincipal within utilityOverlay.js. r=gijs 2017-04-03 12:43:01 +02:00
Carsten "Tomcat" Book 8d910c41e3 merge mozilla-inbound to mozilla-central a=merge 2017-04-03 12:13:46 +02:00
Phil Ringnalda 7ac3bd5b7e Backed out 3 changesets (bug 1351074) for reftest harness and browser_all_files_referenced.js bustage
CLOSED TREE

Backed out changeset 941e0f9ff9a7 (bug 1351074)
Backed out changeset 4fdf3b87a70b (bug 1351074)
Backed out changeset 586428f69838 (bug 1351074)
2017-04-02 19:46:49 -07:00
Makoto Kato cd8761e0f4 Bug 1351074 - Part 2. Use testing-common for AsyncSpellCheckTestHelper.jsm. r=masayuki
TESTING_JS_MODULES uses testing-common, not gre.  So we should replace gre with testing-common for mochitest.

MozReview-Commit-ID: BqsS2D3IGR6

--HG--
extra : rebase_source : 2143fcdf33c428c82c6b2e00b542649b958aeccc
2017-03-29 15:34:49 +09:00
Kris Maglione 6a150bced4 Bug 1350522: Part 7 - Merge pageAction/browserAction/sidebarAction/commands helper classes into API instances. r=aswan
MozReview-Commit-ID: 6aRQ1uybAmg

--HG--
extra : source : 069dbaa8300ef045b157d6fa081829d4b2a77cd5
extra : histedit_source : 03f0e98ac60626380247f3b8b3bf8afec67548b3
2017-03-26 18:42:59 -07:00
Kris Maglione 56c459b23c Bug 1350522: Part 6 - Cleanup per-api-instance state logic. r=aswan
MozReview-Commit-ID: 5ixBA34fvFf

--HG--
extra : source : 650808cfe044339ceae30dbd79ef931330f78049
extra : histedit_source : 30316d0b7321bdceaf93fa9dde096579b6251354
2017-03-25 11:36:56 -07:00
Kris Maglione e6d84db845 Bug 1350522: Part 4 - Convert browser APIs to lazy loading. r=aswan
MozReview-Commit-ID: BQoWF9nHOuF

--HG--
rename : browser/components/extensions/ext-desktop-runtime.js => browser/components/extensions/ext-browser.js
extra : source : 7fd4ade8811856e835506310a57725dbd355c786
extra : histedit_source : c1775902971f858bfaa386977ca8d579c0ce3c61%2C489e3ed33d4c1bb47c3afbe30849b42e83771f48
2017-04-02 11:59:55 -07:00
Edouard Oger 95ab537f4e Bug 1096343 - Use a different sync link in dev edition main preferences. r=jaws,markh
MozReview-Commit-ID: BPGSVN2EQza

--HG--
extra : rebase_source : 6a1309d94609dc5559b73283b106540cfaa6678e
2017-03-30 15:59:09 +01:00
Jared Wein d8481a0349 Bug 1352199 - Invert the SVG loading throbber for selected tabs on compact themes. r=dao
MozReview-Commit-ID: 9MI50Medh0P

--HG--
extra : rebase_source : efc1c8a78bef6415d3a64e03cac89f50e32c02af
2017-03-31 17:38:24 -04:00
Rajesh Kathiriya dce1b0c3e6 bug 1347642 - Fixed sanitizeDialog.js running in ESLint r=standard8
MozReview-Commit-ID: A7mVW5hbvya

--HG--
extra : rebase_source : 409f0d9533a5e59ac6ba70c32ef917febba78d6b
2017-03-31 00:19:31 +05:30
Kevin Jones c72ef4be47 Bug 1352183 - Preserve lazy browsers' lazy state when closing the window. r=dao 2017-04-04 13:34:26 +02:00
Prathiksha e9f21d2948 Bug 1224137 - List the 'allow pages from <example.com> to take you to their tab' permission (for alerts/prompts) in the site identity / permission panel. r=johannh
MozReview-Commit-ID: LGDNUbpVEgX

--HG--
extra : rebase_source : f18d8c15ecb2aab0554d2ce8a9c59619a84b2890
2017-03-23 12:30:57 +05:30
Jared Wein e7d285cf53 Bug 1349051 - Split browser_advanced_siteData.js to browser_siteData.js and browser_siteData2.js since it was running too long. r=Fischer
MozReview-Commit-ID: 8f3rSSdYNCx

--HG--
rename : browser/components/preferences/in-content/tests/browser_advanced_siteData.js => browser/components/preferences/in-content/tests/browser_siteData.js
extra : rebase_source : 16407b363c473ae3b21b5549dc6a85c188c00efb
2017-03-31 15:09:22 -04:00
Masayuki Nakano 8565cf58ac Bug 1344990 part.4 FontBuilder.readFontSelection() should return empty string when saved font isn't available r=jaws
FontBuilder adjusted font settings if reading font isn't available in the system.  Now, we support empty string value of "font.name.*" which means default font in the system.  If it's empty string, gfx checks default font from "font.name-list.*" at runtime.  Therefore, resetting "font.name.*" to empty string is the best approach if specified font becomes not available (e.g., uninstalled from the system).

Therefore, this patch replaces the code in FontBuilder.readFontSelection() with just returning empty string.

MozReview-Commit-ID: HgR88Qw8Xwe

--HG--
extra : rebase_source : 3878bf6a1c98ef7ba27c2cbdaaa9307061820f85
2017-03-29 23:55:37 +09:00
Mike Shal 5e9f07c697 Bug 1351474 - Downgrade dmg tools to avoid corrupt dmgs; r=ted
MozReview-Commit-ID: 7rSS314jndD

--HG--
extra : rebase_source : 0a3884245737ba2848482ea148242a60e6c0376c
2017-03-30 17:22:20 -04:00
Carsten "Tomcat" Book 2c5e0e8650 Merge mozilla-central to autoland 2017-04-03 12:33:12 +02:00
k88hudson 14c5e8022b Bug 1349288 - Add Redux and React files to activity-stream extension. r=standard8
MozReview-Commit-ID: 7zWTj5Z4vJa

--HG--
extra : rebase_source : 22575a8fb8a273c9b60e1532d82b7930e026526e
2017-03-24 11:16:35 -04:00
Carsten "Tomcat" Book 5d99fc5820 Merge mozilla-central to autoland 2017-04-04 12:38:55 +02:00
Dão Gottwald 5c60916bf8 Bug 1351998 - Use CSS outline instead of border for XUL button focus ring. r=johannh
MozReview-Commit-ID: 26r8naj6dBn

--HG--
extra : rebase_source : 3b3f56a921fc74d23602ba1e7a2a5c8a31f7276c
2017-03-31 14:53:44 +02:00
Makoto Kato 22627259d4 Bug 1351074 - Part 4. Remove AsyncSpellCheckTestHelper.jsm from whitelist. r=masayuki
Since AsyncSpellCheckTestHelper.jsm is test only file, so we have to remove it from whitelist.

MozReview-Commit-ID: J9T6iaUdDgx

--HG--
extra : rebase_source : 6be252f9da67742f9caf63edce037e686a3601ed
2017-04-03 12:28:07 +09:00
Makoto Kato cd753d1158 Bug 1351074 - Part 2. Use testing-common for AsyncSpellCheckTestHelper.jsm. r=masayuki
TESTING_JS_MODULES uses testing-common, not gre.  So we should replace gre with testing-common for mochitest.

MozReview-Commit-ID: BqsS2D3IGR6

--HG--
extra : rebase_source : a8553684f8f106c1dfb6e2d9b51df7ebeb15275d
2017-03-29 15:34:49 +09:00
Wes Kocher c19b596225 Merge m-c to autoland, a=merge 2017-04-03 14:51:25 -07:00
Wes Kocher d11e3dc66d Backed out 7 changesets (bug 1350887) for build bustage on a CLOSED TREE
Backed out changeset d2b395e6c5c0 (bug 1350887)
Backed out changeset 5a6d5c43135f (bug 1350887)
Backed out changeset ec57676ad0d1 (bug 1350887)
Backed out changeset 4a3d1a8767f7 (bug 1350887)
Backed out changeset 40cd9ca1553e (bug 1350887)
Backed out changeset d264991a436d (bug 1350887)
Backed out changeset b915d40a6ba6 (bug 1350887)

--HG--
rename : testing/marionette/prefs/marionette.js => testing/marionette/prefs.js
2017-04-03 13:30:35 -07:00
Andreas Tolfsen 60d2ed38a3 Bug 1350887 - Include Marionette prefs amongst defaults; r=ted,whimboo
The Marionette component ships in Firefox, but is not enabled by default.
We want to facilitate activating Marionette at runtime by flipping
the marionette.enabled preference, and showing the Marionette related
preferences in about:config helps discoverability.

It is also useful to rely on the preferences' default values so that
they do not have to be hardcoded in the component.

When Marionette is enabled by setting marionette.enabled to true, a set of
recommended automation preferences found in testing/marionette/server.js
are set if the user has not overriden/user-defined one of them and
marionette.prefs.recommended is true (default).  When Marionette is
stopped, the altered preferences are reset.

MozReview-Commit-ID: 3HLnEI0TEBB

--HG--
extra : rebase_source : 00b22e2b63cf2f5183c49bdc84bcc172b8a4c3a1
2017-03-29 18:25:55 +01:00
Sebastian Hengst 59be82dec9 Backed out changeset 69db9d3db655 (bug 1350887) 2017-04-03 21:40:12 +02:00
Wes Kocher 6de05812dc Backed out changeset caee52f2863b (bug 1335905) for test failures in browser_misused_characters_in_strings.js a=backout 2017-04-03 12:16:00 -07:00
Andreas Tolfsen b268b662fb Bug 1350887 - Include Marionette prefs amongst defaults; r=ted,whimboo
The Marionette component ships in Firefox, but is not enabled by default.
We want to facilitate activating Marionette at runtime by flipping
the marionette.enabled preference, and showing the Marionette related
preferences in about:config helps discoverability.

It is also useful to rely on the preferences' default values so that
they do not have to be hardcoded in the component.

When Marionette is enabled by setting marionette.enabled to true, a set of
recommended automation preferences found in testing/marionette/server.js
are set if the user has not overriden/user-defined one of them and
marionette.prefs.recommended is true (default).  When Marionette is
stopped, the altered preferences are reset.

MozReview-Commit-ID: 3HLnEI0TEBB

--HG--
extra : rebase_source : 56e99bb5d075b54dedc2a957e0f46a209a1e48a8
2017-03-29 18:25:55 +01:00
manotejmeka a16d4e898b Bug 1335905 - Add Preferences search feature, preffed off by default. r=jaws,mconley
Code written by Manotej Meka <manotejmeka@gmail.com> and Ian Ferguson <fergu272@msu.edu>
This is the initial landing of the search feature, and is preffed off behind
browser.preferences.search.

MozReview-Commit-ID: 7iaeRsIIV3Y

--HG--
extra : rebase_source : 4444caea3622bcd2ff4ca49d23fa8b609e724146
2017-04-03 14:02:01 -04:00
Florian Queze 77f022ac76 Bug 1351991 - use resource: URIs to test CSS files when possible, r=Gijs
MozReview-Commit-ID: JgEhCAhLjOM

--HG--
extra : rebase_source : f25c2f0d2df3b2d5a777cf75d0105fcd65ea24f4
2017-03-30 11:32:20 +02:00
Gijs Kruitbosch fad6b795cc Bug 1351991 - use a chrome-privileged frame to test our CSS files, r=florian
MozReview-Commit-ID: EQIs7bis5Ag

--HG--
extra : rebase_source : e964a3164b768ce65bd7e652cf73f6035555b8b3
2017-04-03 14:31:00 +01:00
Gijs Kruitbosch ee8d9054fb Bug 1353041 - fix Safari import of folders, r=mossop
MozReview-Commit-ID: Jw0lmIi5aZK

--HG--
extra : rebase_source : b3038740fad3e6fe2e53b356458fa5541c1d50bb
2017-04-03 17:46:47 +01:00
dynamis 9672dfeb91 Bug 1193636 - "Use HTTPS for Yahoo! Japan search provider" r=mkaply 2017-03-31 00:04:00 +02:00
Phil Ringnalda b617d7dbdd Bug 1351980 followup, placate eslint 2017-04-04 19:01:24 -07:00
Ehsan Akhgari 929501a6eb Bug 1351980 - Initialize and uninitialize UserAgentOverrides.jsm for Firefox; r=mconley 2017-04-04 21:18:21 -04:00
Wes Kocher 208190c049 Merge m-c to inbound, a=merge 2017-04-04 11:28:06 -07:00
Will Wang 9ab097c6ac Bug 1305950 - Don't collect/save the session when the user is idle. r=mdeboer
This patch includes:
- (By Yoric) Don't collect/save the session when the user is idle;r=mdeboer
- Add a test for the behavior of state writing in idle/active mode

When the user is not actively using the computer, webpages may still
perform changes that require (re)writing to sessionstore, e.g.  updating
Session Cookies or DOM Session Storage, or refreshing, etc. Before
this patch, a single active page can require us to
recollect/serialize/write the entire Session Restore file every 15
seconds even when the user is not in front of the computer.

We expect that, when the user is not in front of the computer, changes
are not critical and don't need to be saved as often. We now adopt the
following strategy:

- when the user has been away for (by default) 15 seconds, finish any
  pending collect/write, then increase the collect/write buffering
  delay to (by default) 1h

- when the user returns, reschedule any pending 1h collect/write as a
  (by default) 15 seconds collect/write, then proceed with (by
  default) 15 seconds collect/write delays.

--HG--
extra : histedit_source : b7ea6a6fbfee2f3a2bddeaa69b6446d7544c2585
2017-03-31 11:38:01 +08:00
Mark Banner 1087fc1884 Bug 1352969 - Fix various ESLint no-undef issues in browser/base (no-undef is not enabled yet). r=mossop
MozReview-Commit-ID: BuTyJAfUoWR

--HG--
extra : rebase_source : 482bdc039362347f35aec9fd15e07a143dccb860
2017-02-22 17:02:59 +00:00
Jared Wein 8507a1dbb7 Bug 1352963 - Update the styling of the select popup after transitionend. r=mossop
MozReview-Commit-ID: 5WuRvMDYahZ

--HG--
extra : rebase_source : ab841ad17194a7ff9506155e13747bb9bd750833
2017-04-03 22:52:16 -04:00
Jared Wein ef29d11729 Bug 1351999 - Fix references to in-content-old files and create a backup of dialog.css in in-content-old instead of relying on the 'in-content' version to not change. r=florian
MozReview-Commit-ID: 8opiqSx0WP0

--HG--
rename : browser/themes/linux/preferences/in-content/dialog.css => browser/themes/linux/preferences/in-content-old/dialog.css
rename : browser/themes/osx/preferences/in-content/dialog.css => browser/themes/osx/preferences/in-content-old/dialog.css
rename : browser/themes/windows/preferences/in-content/dialog.css => browser/themes/windows/preferences/in-content-old/dialog.css
extra : rebase_source : 697938951bebc3e03aeed26981803b1f222ca1be
2017-03-31 19:37:37 -04:00
Jared Wein c4330b8834 Bug 1352694 - Flush style on the tab when audio playback is started to restart the transitions. r=Gijs
MozReview-Commit-ID: 62b6hhnC9jg

--HG--
extra : rebase_source : 3465f862feb96efd50dc218ebd2e960b13c3c592
2017-04-04 00:06:31 -04:00
Fischer.json d10331869b Bug 1352374 - Part 2: Move a few sections of code that were missed when rebasing bug 1335907. r=jaws
MozReview-Commit-ID: 1IEQcUUgqms

--HG--
extra : rebase_source : fcac5de1438c66eadb32be3e6c9331f1787fd2ea
2017-04-03 00:40:21 +08:00
Fischer.json 7af1942bc9 Bug 1352374 - Part 1: Exclude element with data-hidden-from-search=true from search results, r=jaws
MozReview-Commit-ID: AS1EMkfyH9b

--HG--
extra : rebase_source : 8820716e6ccec6a6c62f8cb0a7cc39a750c0dbc4
2017-03-31 18:46:31 +08:00
Scott Wu cc062e76c1 Bug 1019483 - (Part 2) Add mochitest-browser-chrome tests for manage profiles dialog. r=MattN
MozReview-Commit-ID: AHhLuy5ZXRv

--HG--
extra : rebase_source : e989000a39dee557eebe77ae817b10f93a37b368
2017-03-30 14:34:38 +08:00
Scott Wu b57feadb2d Bug 1019483 - (Part 1) Create interface to manage autofill profiles. r=MattN
MozReview-Commit-ID: KrGSPz7B108

--HG--
extra : rebase_source : b858f849c1be8856fb96a9cfbb8777813d65de08
2017-03-06 15:56:51 +08:00
Andrew Swan c6063b3d85 Bug 1341337 Break up browser_update_background.js r=kmag
MozReview-Commit-ID: GUoghOXKUiS

--HG--
rename : browser/base/content/test/webextensions/browser_update_interactive.js => browser/base/content/test/webextensions/browser_update_checkForUpdates.js
rename : browser/base/content/test/webextensions/browser_update_interactive.js => browser/base/content/test/webextensions/browser_update_findUpdates.js
extra : rebase_source : 0671057ef30df32c1f6b3280c3e1c8790c8b5a80
2017-03-31 20:31:01 -07:00
Jonathan Hao 851f486bfc Bug 1342178 - Pass origin attributes to isSecureURI in devtools and browser. r=keeler,past
MozReview-Commit-ID: HIOYH8iUUkO

--HG--
extra : rebase_source : e8cfe06ac3691d45bf97f61a3f5603cbec1bae39
2017-04-06 15:43:35 +08:00
Francesco Lodolo (:flod) e457943c4f Bug 1355082 - Sync browser shipped-locales between mozilla-aurora and mozilla-central r=Pike
Historically changes to shipped-locales landed in mozilla-aurora directly, skipping mozilla-central.
With Project Dawn we'll land these changes directly to mozilla-central, and let them ride the trains to
mozilla-beta, so we should sync their content.

MozReview-Commit-ID: DRuK5K7FJuI

--HG--
extra : rebase_source : dad327e6564c244c394afdb5d9e2a79d4dd65cc9
2017-04-10 15:51:58 +02:00
Dão Gottwald b9c20c2796 Bug 1354789 - Cache layout information needed in _positionPinnedTabs. r=florian
MozReview-Commit-ID: 7RmuvvsXFTy

--HG--
extra : rebase_source : a57b249f57be9043a96b5448907f71eea832d3b1
2017-04-10 15:19:52 +02:00
Fischer.json c39e57fe94 Part 2: Bug 1354530 - Disable offline group in Preferences in Nightly because Storage Management v1 spec is done, r=jaws
MozReview-Commit-ID: A4xbomLFYlQ

--HG--
extra : rebase_source : 9b5088f65c86ea6eb78b1c020cabed8922555234
2017-04-07 21:21:32 +08:00
Fischer.json a08651e908 Part 1: Bug 1354530 - Update the strings about Storage Manager according to the latest v1 specs, r=jaws
MozReview-Commit-ID: H9gCEZS7U3N

--HG--
extra : rebase_source : 95c23a122fa2c3830f9671334eb686d6a456bd6f
2017-04-07 21:04:49 +08:00
Rex Lee 446fef466c Bug 1349096 - Prevent download panel from moving up and down with download start animation. r=Paolo
MozReview-Commit-ID: E6zQUXcBWWP

--HG--
extra : rebase_source : b7cebbd0ed077c29b2606bd42a3ec8d017a37d18
2017-04-10 15:20:32 +08:00
Jared Wein a9e45312b0 Bug 1352738 - Move the position of the Container Tabs 'Learn More' link so it is inline with the checkbox like the other preferences. r=jkt
MozReview-Commit-ID: FGowC3cp1J2

--HG--
extra : rebase_source : 629575f3d9c17d735f65f1352f801bbf9d64ec0d
2017-04-12 09:50:03 -04:00
Marco Bonardo 0a4d59cc55 Bug 977177 - Add favicons.sqlite to profile related lists. r=adw,jmaher
MozReview-Commit-ID: HkYpXQ0UFmd

--HG--
extra : rebase_source : cabc1b332783cc40756538996e5dec79da3fba6a
2017-03-30 13:08:05 +02:00
Benjamin Smedberg 7a6b22b943 Bug 1345905 - remove FLASH_PLUGIN_* telemetry, r=felipe
MozReview-Commit-ID: CgIvYJKLIHm

--HG--
extra : rebase_source : 5602900b0906b8379dae639fb0a1285f0b15a7f7
2017-03-09 10:46:18 -05:00
Ehsan Akhgari 61f9a00b2f Bug 1350781 - Avoid recomputing gBrowserThumbnails._topSiteURLs for 1 minute after computing it to speed up session restore; r=markh 2017-04-10 10:00:38 -04:00
Henry Chang f3be63826d Bug 1339050 - Asynchronously apply safebrowsing DB update. r=francois,gcp
A new function Classifier::AsyncApplyUpdates() is implemented for async update.
Besides, all public Classifier interfaces become "worker thread only" and
we remove DBServiceWorker::ApplyUpdatesBackground/Foreground.

In DBServiceWorker::FinishUpdate, instead of calling Classifier::ApplyUpdates,
we call Classifier::AsyncApplyUpdates and install a callback for notifying
the update observer when update is finished. The callback will occur on the
caller thread (i.e. worker thread.)

As for the shutdown issue, when the main thread is notified to shut down,
we at first *synchronously* dispatch an event to the worker thread to
shut down the update thread. After getting synchronized with all other
threads, we send last two events "CancelUpdate" and "CloseDb" to notify
dangling update (i.e. BeginUpdate is called but FinishUpdate isn't)
and do cleanup work.

MozReview-Commit-ID: DXZvA2eFKlc

--HG--
extra : rebase_source : cd2e27a6b679d2c96e769854d1582ed2dcda12bb
2017-04-06 07:07:56 +08:00
Jared Wein 8ff8eca2f9 Bug 1267480 - Only open the preferences once during the test run and reload it for subsequent tests to improve the speed of the browser_security.js test. r=Gijs
MozReview-Commit-ID: KmzwTxvbf4r

--HG--
extra : rebase_source : fc2ac83133939e8ed3ca7a98f4460c4dbaa1562c
2017-04-05 20:53:48 -04:00
Carsten "Tomcat" Book 1aa7e647b7 Merge mozilla-central to autoland 2017-04-06 13:11:40 +02:00
Rex Lee ca5876370d Bug 1349406 - Avoid reflows for arrow-typed download indicators by using stack instead of position: absolute. r=Paolo
MozReview-Commit-ID: KLsYueSWKId

--HG--
extra : rebase_source : 7c8276a024d76be4a8c5d48674a30ea7101deb01
2017-03-24 19:54:59 +08:00
Johann Hofmann a1d1669ab0 Bug 1334496 - Part 2 - Test that content elements stay focused when showing a popup notification. r=Paolo
MozReview-Commit-ID: 2CQ1NNauJ7f

--HG--
extra : rebase_source : ccae9db2d090fd9ab967159bb5a136a9c54ad02b
2017-03-08 11:57:07 +01:00
Johann Hofmann d9c8f7d70b Bug 1334496 - Part 1 - Add an autofocus option to PopupNotifications.show. r=Paolo
MozReview-Commit-ID: DrJOjUWJJOD

--HG--
extra : rebase_source : 75f395dcadd1134fe7ca6169533ffaa4c65a1485
2017-02-17 14:56:23 +01:00
Wes Kocher 23ba88918a Merge m-c to autoland, a=merge 2017-03-31 17:52:17 -07:00
Wes Kocher 483fea00ef Merge inbound to central, a=merge 2017-03-31 17:48:18 -07:00
Wes Kocher 4cfcb8865a Merge autoland to central, a=merge 2017-03-31 17:12:31 -07:00
Matthew Noorenberghe b384d62bfc Bug 1310150 - Document UITour-exposed data and methods using jsdoc. r=Gijs
MozReview-Commit-ID: Eh5FYP4oaS1

--HG--
extra : rebase_source : 5f790c254669eadcf4791e4e71d21717ca58a83c
2017-03-31 15:38:24 -07:00
Wes Kocher 847d258941 Backed out changeset 94c77723eead (bug 1096343) at developer's request a=backout 2017-03-31 11:07:31 -07:00
ffxbld f668d2b2c1 No bug, Automated blocklist update from host bld-linux64-spot-309 - a=blocklist-update 2017-03-31 08:52:17 -07:00
Carsten "Tomcat" Book 095969b8ee merge mozilla-inbound to mozilla-central a=merge 2017-03-31 14:45:33 +02:00
Mike de Boer 481e18fdf5 Bug 1319821 - Themes should allow for multiple background images in the toolbar. r=jaws,mattw
This patch also changes the 'headerURL' and 'theme_frame' properties to be of type
ExtensionURL, instead of strings. This improves validation robustness.
Alignment and tiling properties for the additional background images can be
specified in the newly introduced 'properties' section of the manifest.

MozReview-Commit-ID: BzvS3eHmDCY

--HG--
extra : rebase_source : 03560c0441bd2a6643c20a3f1fff8b905eca59ad
2017-03-31 14:48:44 +02:00
David Keeler 11c347b6b7 bug 1351604 - don't ship DER.jsm and X509.jsm until they're actually used in production r=Cykesiopka
MozReview-Commit-ID: 2DlMrB5TfKU

--HG--
extra : rebase_source : 9944352ccc66a5fdbd843bda8e4d2b26328d1bdd
2017-03-30 11:00:54 -07:00
Ryan VanderMeulen 3dd93aa05c Bug 1352276 - Update pdf.js to version 1.7.401. r=bdahl 2017-03-30 20:52:55 -04:00
Ryan VanderMeulen 05037eec1a Merge m-c to inbound. a=merge 2017-03-30 15:21:27 -04:00
Ryan VanderMeulen 615c542a03 Merge inbound to m-c. a=merge
CLOSED TREE
2017-03-30 15:20:22 -04:00
Ryan VanderMeulen ee0df52b99 Merge autoland to m-c. a=merge 2017-03-30 15:18:40 -04:00
ffxbld 72fe012899 No bug, Automated blocklist update from host bld-linux64-spot-388 - a=blocklist-update 2017-03-30 07:59:26 -07:00
Carsten "Tomcat" Book 74e36e1adb Merge mozilla-central to autoland on a CLOSED TREE
--HG--
extra : amend_source : 5026c19958cdc458c0f0887582fd00b8038fe93e
2017-03-30 16:48:10 +02:00
Johann Hofmann a01a4f8ec3 Bug 1334842 - Fix intermittent browser_temporary_permissions.js. r=Nihanth
This intermittent was likely occurring because we set the expiry timeout
for temporary permissions to a really low value in the previous test.
The failing test was only failing on slow machines, leading me to believe
that the time between setting and checking was larger than the 500ms timeout
defined in the previous test. Thus, the permission was reset on checking it.
The expiry pref was set using pushPrefEnv, which restores prefs only after
the entire test was run. To just eradicate this category of problems in
the future I moved the test that manipulates the expiry into its own file.

MozReview-Commit-ID: 3mc5xHY4XLn

--HG--
extra : rebase_source : 40f78258a975da9dca9a47beddcaaeea83649de3
2017-03-29 16:15:56 +02:00
Sebastian Hengst cb6b27aed8 Backed out changeset ffbf6849c41f (bug 1019483) 2017-03-31 10:07:50 +02:00
Sebastian Hengst 91095472dc Backed out changeset f3ccca098f5e (bug 1019483) 2017-03-31 10:07:45 +02:00
Scott Wu 0e8a46bf3b Bug 1019483 - (Part 2) Add mochitest-browser-chrome tests for manage profiles dialog. r=MattN
MozReview-Commit-ID: AHhLuy5ZXRv

--HG--
extra : rebase_source : 661dc49e59066f983a802d5f4ebedc6cceb359ac
2017-03-30 14:34:38 +08:00
Dão Gottwald 1719c11783 Backed out changeset 438624f92fbc 2017-03-31 19:03:42 +02:00
Kevin Jones 7b230dd9fb Bug 1352183 - Preserve lazy browsers' lazy state when closing the window. r=dao 2017-03-31 18:45:08 +02:00
Sebastian Hengst d4679cd05d Backed out changeset 15e815413234 (bug 1351980) for asserting on Android, e.g. in test_pseudoElement-get-animations.html. r=backout 2017-03-31 18:39:46 +02:00
Tim Taubert ff47acdd0e Bug 1352365 - Remove duplicate PrivacyLevel checks in SessionCookies.jsm r=mikedeboer
PrivacyLevel checks currently allow to disable storing secure cookies and any
cookies belonging to an HTTPS host, or completely disable storing cookies. We
call PrivacyLevel.canSave() for every host found in the shistory of a given
window's tabs. We then call it again for every cookie when retrieving all
cookies stored for a given host.

The two different privacy checks exist because in the past an HTTP site could
send a secure cookie too. Since Firefox 52 this isn’t possible anymore, only
HTTPS sites can send secure cookies. So as soon as nsICookie.isSecure=true
we know the site was loaded over TLS.

That means there are the following scenarios:

[PRIVACY_LEVEL=NONE] (default)
We store all cookies.

[PRIVACY_LEVEL=FULL]
We store no cookies at all.

[PRIVACY_LEVEL=ENCRYPTED]
HTTP site sends cookie: Store.
HTTP site sends secure cookie: Can't happen since Fx52
HTTPS site sends cookie: Store. The site is HTTPS but we should store the
cookie anyway because the "Secure" directive is missing. That means the
site wants us to send it for HTTP requests too.
HTTPS site sends secure cookie: Don't store.

This allows us to simplify the code and remove the per-host PrivacyLevel
checks. Checking nsICookie.isSecure is enough to tell whether we want
to keep a cookie or not.
2017-03-31 11:54:18 +02:00
Ehsan Akhgari a3580de587 Bug 1351980 - Initialize the UserAgentOverrides.jsm module at startup and shut it down at shutdown for all Gecko applications instead of relying on each one to do it on its own; r=schien 2017-03-31 09:54:28 -04:00
Sebastian Hengst e3bcc5dcd8 Backed out 2 changesets (bug 1351980) for asserting in Android tests, e.g. test_hc_noderemovechildnode.html. r=backout
Backed out changeset fbc8e05e5251 (bug 1351980)
Backed out changeset 1c7c92033bb1 (bug 1351980)
2017-03-31 15:38:38 +02:00
Carsten "Tomcat" Book 4ac9c2ffb1 Merge mozilla-central to mozilla-inbound 2017-03-31 14:47:54 +02:00
Ehsan Akhgari af1cabba18 Bug 1351980 - Initialize the UserAgentOverrides.jsm module at startup and shut it down at shutdown for all Gecko applications instead of relying on each one to do it on its own; r=schien 2017-03-31 07:37:59 -04:00
Scott Wu cf289cb4ce Bug 1019483 - (Part 1) Create interface to manage autofill profiles. r=MattN
MozReview-Commit-ID: KrGSPz7B108

--HG--
extra : rebase_source : 29d93d82b5240420121024ec9fb7afea69d5600b
2017-03-06 15:56:51 +08:00
Florian Queze 8bca08a425 Bug 1349005 - verify that all the resource:// files we ship are actually referenced, r=Gijs. 2017-03-30 09:18:47 +02:00
Wes Kocher 8e0bc97954 Merge inbound to central, a=merge 2017-03-29 15:41:57 -07:00
Mike Conley 09404adfdd Bug 1280079 - Make sure browser_privatebrowsing_newtab_from_popup.js accounts for initial browser remoteness flip when opening popup. r=mossop
During the test, we open a new window which loads a URL, and have code to wait for that
initial browser to complete the load. For the initial browser, there is (when we open
a remote-able URL), the remoteness of that initial browser flips from non-remote to
remote. Sometimes, due to messaging / timing, the initial browser will send a message
saying that a load completed for the initial about:blank before the URL we actually
want is loaded. This causes the test to continue, and attempt to click on an element
that isn't actually on the page yet.

This modification allows us to wait for the initial browser to actually load the page
that we care about before proceeding.

I also changed some of the assertion messages to actually reflect what's being asserted,
as opposed to reflecting what is being revealed if the assertion fails.

MozReview-Commit-ID: 608SaA1nCVs

--HG--
extra : rebase_source : 0662d166e10de5036c40b278554ff5b3dd11de04
extra : source : 4255a184eac6d037763deb9319df652abf5f703b
2017-03-23 13:49:41 -04:00
Ralph Giles e734305b80 Bug 1351031 - Update builders to rust 1.16.0. r=mshal
Repacks of upstream builds.

For release notes see https://blog.rust-lang.org/2017/03/16/Rust-1.16.html or
https://github.com/rust-lang/rust/blob/master/RELEASES.md#version-1160-2017-03-16

MozReview-Commit-ID: 9dHGKGSbelG

--HG--
extra : rebase_source : 0fb93f9d7cc6e663f3c7eb662e29f4f0061244db
2017-03-27 13:39:15 -07:00
Tim Huang a96b6dd181 Bug 1330882 - Part 5: Add more test cases for rounded windows test. r=arthuredelstein,smaug
This patch adds two more test cases, browser_roundedWindow_open.js and
browser_roundedWindow_windowSetting.js. The browser_roundedWindow_open.js tests
the window.open() with window features, it will test window.open() with numbers
of window features to see that whether the opened window is correctly rounded.

The browser_roundedWindow_windowSetting.js tests the setting of
innerWidth/Height and outerWidth/Height. To see that the window is correctly
rounded or not after the setting.

This patch also adds a head.js and rename the browser_roundedWindow.js to
browser_roundedWindow_newWindow.js. The head.js carries two helper functions
that calculate the maximum available content size and the chrome UI size of
the pop up window.

MozReview-Commit-ID: LxJ2h2qAanY

--HG--
extra : rebase_source : b3744155fda93bd9e1650d07db7105092a2e5260
2017-03-29 15:43:57 +08:00
Tim Huang 5ef6d9b620 Bug 1330882 - Part 3: Add a test case for opening new windows as rounded size when fingerprinting resistance is enabled. r=arthuredelstein,smaug
MozReview-Commit-ID: Gvksnh3cKHM

--HG--
extra : rebase_source : cae848ca467af34c08bff7190dce50cffa1399cc
2017-03-29 15:43:56 +08:00
Tim Huang 08e052cb86 Bug 1330882 - Part 2: Disallow the session restore to modify window size when fingerprinting resistance is enabled. r=arthuredelstein,mikedeboer
MozReview-Commit-ID: F1Ray6c5dzq

--HG--
extra : rebase_source : ed299058bf6f926e5987468dcab518b110fd7220
2017-03-29 15:43:55 +08:00
Tim Huang c9c5bbc22e Bug 1330882 - Part 1: Making new windows to be rounded size when fingerprinting resistance is enabled (adopt from Tor #19459). r=arthuredelstein,smaug
MozReview-Commit-ID: 1qBNQhfdIYP

--HG--
extra : rebase_source : c46b4a936960ff165f950a59c1d31c1c5849645f
2017-03-29 15:43:54 +08:00
Bianca Danforth 238bdec559 Bug 1347493 - Correctly assign a value to 'title' for phishing and malware sites r=johannh
MozReview-Commit-ID: KiEOLdLjuI5

--HG--
extra : rebase_source : 0353587f9d8e157c8a3fecf5b1bf70159b16ee00
2017-03-26 12:47:50 -07:00
Ryan VanderMeulen f4a0d77ffc Merge inbound to m-c. a=merge 2017-03-29 09:41:54 -04:00
Sebastian Hengst eadf7b5c6e Backed out changeset 4af10700c64c (bug 1347817) 2017-03-29 11:17:04 +02:00
Andrea Marchesini 4b77f4a4b9 Bug 1347817 - Principal must always have a valid origin - part 6 - fixing tests, r=ehsan 2017-03-29 08:27:17 +02:00
Michael Kaply 3865444bf2 Bug 1347680 - Cleanup Yandex engines (Yandex has reviewed). r=flod
MozReview-Commit-ID: I4u5g1rhLnW

--HG--
extra : rebase_source : 98b45df20f7914fa2a14977280a80762b1ea81f7
2017-03-15 15:52:30 -05:00
Bob Owen b6254eac09 Bug 1351702: Correct shouldLoadURI in tab-content.js to add aHasPostData argument. r=mystor 2017-03-29 17:19:36 +01:00
Ryan VanderMeulen cf8bee36b5 Merge m-c to inbound. a=merge 2017-03-29 09:44:13 -04:00
Andrea Marchesini 2c716cd273 Bug 1347817 - Principal must always have a valid origin - part 6 - fixing tests, r=ehsan 2017-03-29 15:28:46 +02:00
Felipe Gomes 51f4fcc4e2 Bug 1344345 - Revert e10s addons rule to only activate on mpc=true and webextensions, now for the Beta channel too. r=mconley
MozReview-Commit-ID: 61ebtOl5xRZ
2017-03-29 00:55:13 -03:00
J. Ryan Stinnett 8739b5c5f7 Bug 1351425 - Only temp. qualify for e10s when enabled at <100%. r=Felipe
This tweaks the temporary qualification step (currently used only for DevTools)
so that it does not apply on channels that are 100% enabled anyway.  This does
not change how many users receive e10s on, it only tweaks who falls into which
cohort, since there's no reason to push all DevTools users to a special cohort
if everyone would have received e10s on anyway.

MozReview-Commit-ID: 5Yn6M50Ny1w
2017-03-28 16:22:23 -05:00
Ehsan Akhgari f2a992e41a Bug 1347425 - Part 3: Remove the site-specific user agent service; r=baku,jchen
This used to be the glue layer between DOM and Necko which is no longer
being used.
2017-03-28 22:10:53 -04:00
Wes Kocher 914dd4b76c Merge inbound to m-c a=merge 2017-03-28 13:30:56 -07:00
Wes Kocher 6d49927150 Merge autoland to m-c a=merge 2017-03-28 13:15:57 -07:00
Ryan VanderMeulen be248812bc Backed out changeset 4255a184eac6 (bug 1280079) for a different fix.
--HG--
extra : rebase_source : cee2b5adbcba84e08cfe63d2007df4b6f50b6d4e
2017-03-28 12:48:36 -04:00
Carsten "Tomcat" Book 5b9719c5fc merge mozilla-inbound to mozilla-central a=merge 2017-03-28 13:03:25 +02:00
Nihanth Subramanya 7d7c396449 Bug 1349841 - Don't show "Never For This Session" option in web notification permission prompts in PBM. r=johannh
MozReview-Commit-ID: CLUfqRubjZ9

--HG--
extra : rebase_source : 040368ba011a66160844775c9fbedf516db13bb2
2017-03-23 11:37:30 +05:30
Blake Kaplan 42c38b539d Bug 1333428 - Wait for loads on new tabs to avoid double-counting. r=Felipe
MozReview-Commit-ID: 6O0L9A6qtUR

--HG--
extra : rebase_source : 44951b30400ca8341367e8ddd0eaf6bf6e0313f5
2017-03-27 15:44:52 -07:00
Jared Wein a72e57d524 Bug 1350087 - Create a fork of the preferences styling and icons. r=mconley
MozReview-Commit-ID: LqL4YXu42NJ

--HG--
rename : browser/themes/linux/preferences/in-content/preferences.css => browser/themes/linux/preferences/in-content-old/preferences.css
rename : browser/themes/osx/preferences/in-content/preferences.css => browser/themes/osx/preferences/in-content-old/preferences.css
rename : browser/themes/shared/incontentprefs/containers.css => browser/themes/shared/incontentprefs-old/containers.css
rename : browser/themes/shared/incontentprefs/dialog.inc.css => browser/themes/shared/incontentprefs-old/dialog.inc.css
rename : browser/themes/shared/incontentprefs/favicon.ico => browser/themes/shared/incontentprefs-old/favicon.ico
rename : browser/themes/shared/incontentprefs/icons.svg => browser/themes/shared/incontentprefs-old/icons.svg
rename : browser/themes/shared/incontentprefs/preferences.inc.css => browser/themes/shared/incontentprefs-old/preferences.inc.css
rename : browser/themes/shared/incontentprefs/search.css => browser/themes/shared/incontentprefs-old/search.css
rename : browser/themes/windows/preferences/in-content/preferences.css => browser/themes/windows/preferences/in-content-old/preferences.css
extra : rebase_source : 4016e42f5cd7831a1cac5061a5f7f9852fe1378f
2017-03-23 16:20:01 -04:00
Johann Hofmann 5207d7e153 Bug 1349513 - Move tests related to web permissions from test/general to test/permissions. r=Gijs
MozReview-Commit-ID: 6nkSrgOtjTp

--HG--
rename : browser/base/content/test/general/browser_permissions.js => browser/base/content/test/permissions/browser_permissions.js
rename : browser/base/content/test/general/browser_temporary_permissions.js => browser/base/content/test/permissions/browser_temporary_permissions.js
rename : browser/base/content/test/general/browser_temporary_permissions_navigation.js => browser/base/content/test/permissions/browser_temporary_permissions_navigation.js
rename : browser/base/content/test/general/browser_temporary_permissions_tabs.js => browser/base/content/test/permissions/browser_temporary_permissions_tabs.js
rename : browser/base/content/test/general/permissions.html => browser/base/content/test/permissions/permissions.html
rename : browser/base/content/test/general/temporary_permissions_subframe.html => browser/base/content/test/permissions/temporary_permissions_subframe.html
extra : rebase_source : 2002c4ad94a31aec00d36288977eedf5ef6e47cd
2017-03-23 16:23:48 +01:00
Carsten "Tomcat" Book 1bff8bff6d Merge mozilla-central to autoland 2017-03-28 13:06:52 +02:00
Zibi Braniecki 5b976eeccb Bug 1347272 - Move ChromeRegistry::IsLocaleRTL to LocaleService::IsAppLocaleRTL. r=jfkthame
MozReview-Commit-ID: BDhgIKNSOEL

--HG--
extra : rebase_source : 6a009ba4d397e6794e86c87c10982fdfb8e7ba08
2017-03-14 12:35:06 -07:00
Iris Hsiao 394f455b8e Backed out changeset c7174ac72d14 (bug 1347272) for build bustage
--HG--
extra : amend_source : b4f3d5997190ce3db799e3586131cc3cb9ce034d
2017-03-28 18:16:33 +08:00
Zibi Braniecki 70c168c03f Bug 1347272 - Move ChromeRegistry::IsLocaleRTL to LocaleService::IsAppLocaleRTL. r=jfkthame
MozReview-Commit-ID: BDhgIKNSOEL

--HG--
extra : rebase_source : 8440ae6b21887bae5142c86220f02092d1b12aed
2017-03-14 12:35:06 -07:00
milindl 6109edd9bd Bug 1247201 - yield on tests using removeDataFromDomain,r=mak
This changeset changes tests using ForgetAboutSite.removeDataFromDomain
to yield on it, since now it is a Task

MozReview-Commit-ID: 72OEYoO1avd

--HG--
extra : rebase_source : 9ea8cc06493c3e965d260dc9377461ff29fe572a
2017-03-17 14:29:48 +05:30
milindl d901d9c90a Bug 1247201 - Run cleaners async to clear as much as possible r=mak
Amended to fix review changes
(stylistic + other)
Turns all cleaners into promises so they run asyc

MozReview-Commit-ID: DV5ug6vNXkS

--HG--
extra : rebase_source : df9d9cd98f25e2a899c0a74f836f217d3ad52426
2017-03-27 19:27:35 +05:30
Geoff Brown 117eae5d10 Bug 1284312 - Skip browser_819510_perwindowpb.js on win64 for persistent intermittent failures; r=jmaher 2017-03-28 08:15:12 -06:00
Johann Hofmann a180cefa13 Bug 1349990 - Update host matching for webrtc prompts. r=Paolo
MozReview-Commit-ID: IIuHvVTy2G7

--HG--
extra : rebase_source : 7614341c8240d49470dcedcf2092c8e68b100576
2017-03-24 13:13:18 +01:00
Ray Lin e090308c70 Bug 1340468 - Notify formautofill add-on of which item is being selected. r=MattN
MozReview-Commit-ID: 3YfW35Zon1Q

--HG--
extra : rebase_source : 2ad2f1d5d5caa8f2ec4b20a110d43626d65745f1
2017-02-24 10:15:55 +08:00
steveck-chung e5e4a87c51 Bug 1348757 - Apply weakref for the element in cache. r=MattN
MozReview-Commit-ID: Ezo5kLzf4UK

--HG--
extra : rebase_source : 14b70b5c023b7cc1b6aacd21af10aacefde45de8
2017-03-08 14:38:08 +08:00
Iris Hsiao 651a0e4730 Backed out changeset c7fc679c1c9e (bug 1340468) for eslint failure 2017-03-30 17:36:03 +08:00
Ray Lin 29a2a2194f Bug 1340468 - Notify formautofill add-on of which item is being selected. r=MattN
MozReview-Commit-ID: 3YfW35Zon1Q

--HG--
extra : rebase_source : b73ad7b533cd499588c6b5be31a8e809ba8c36db
2017-02-24 10:15:55 +08:00
Gijs Kruitbosch bdbb254b53 Bug 1351300 - stop using the hidden DOM window from HiddenFrame.jsm, r=kmag
MozReview-Commit-ID: JiAYDG73NMy

--HG--
extra : rebase_source : 43dc24dfbffa788a0920b9db7221f950b5c0052a
2017-03-28 15:24:05 +01:00
Tushar Saini (:shatur) fa1f43e7c6 Bug 1280582 - Implement browser.history.onTitleChanged. r=bsilverberg,mixedpuppy
MozReview-Commit-ID: jzil9lDYnN

--HG--
extra : rebase_source : c7c000a17a1021f46d60ee7bc9d889c11a1bf384
2017-03-08 21:18:19 +05:30
Andrew Swan 4d9840ea9f Bug 1344665 Wait for full extension startup in permission tests r=kmag
I'm not sure this is necessarily going to do anything about the intermittent,
but at the least it will remove a bunch of noise from the logs hopefully
making it easier to get to the real problem.

MozReview-Commit-ID: KeGWJlHUlzh

--HG--
extra : rebase_source : f1603fe652bace143ff5e73d85181592028dbc24
2017-03-29 16:07:40 -07:00
Felipe Gomes ad4ceba352 [mq]: Bug 1348576 - e10s is never enabled for non-official release builds. r=mconley
MozReview-Commit-ID: DaqGyeGdgzD

--HG--
extra : rebase_source : decb0a49f22c9a8228094e8f1b4ee163943febdd
2017-03-29 17:59:15 -03:00
Wes Kocher 985bcdea84 Merge m-c to autoland, a=merge 2017-03-29 15:48:28 -07:00
Zack Herrick 84361e7e85 Bug 1335907 - Reorganize the preferences based on feedback from user research. r=mconley
The FX_PREFERENCES_CATEGORY_OPENED probe must be extended to version 59 to support the fallback "forked" preference implementation (in-content-old).

The switchToAdvancedSubPane within utilityOverlay's openPreferences must also remain until the fallback has been removed (bug 1349689).

Patch co-authored by Zack Herrick <herrickz@msu.edu> and Ziyan Long <lzylong@gmail.com>.

MozReview-Commit-ID: 1sx0Wj15yM7

--HG--
extra : rebase_source : 0266027fb3023d4cb155533193d6809d799de1e4
2017-03-29 11:52:08 -04:00
Andrew Swan d95986248a Bug 1350773 Remove max_version from webextension update tests r=rhelmer
MozReview-Commit-ID: 1kJZou0PHlg

--HG--
extra : rebase_source : 771a359c147b466049138eb10b86d14f09e6a53c
2017-03-28 12:20:51 -07:00
Jared Wein ea4c7c16b9 Bug 1350670 - Extend the MutationObserver to cover attributes in case the page sets styles through style, class, ID or other attributes. r=mossop
MozReview-Commit-ID: 3tYjbqH9zYb

--HG--
extra : rebase_source : ae593c3f8ac627ebb058d5f486d5b34ea2f63c9e
2017-03-29 12:47:13 -04:00
Tim Taubert 890672d7f9 Bug 1351835 - Update PrivacyLevel.canSave() calls in SessionCookies.jsm r=mikedeboer
The first change we can make is to simplify the PrivacyLevel.canSave() method
itself as it only takes a single argument, `isHTTPS`. Callers shouldn't be
required to pass an object, they should simply pass a boolean.

The second change here is to cleanup SessionCookies.jsm that still passes the
old `isPinned` argument that's no longer needed. We can remove some house
keeping and simplify the cookie collection code.

SessionCookies.getHostsForWindow() that previously returned a map from hostnames
to a site's pinned status (tab.pinned) can now simply return a Set containing
all hostnames found in a window.
2017-03-30 13:57:42 +02:00
Wes Kocher f48488db89 Backed out changeset e46f832ac262 (bug 1351604) for browser_all_files_referenced.js failures a=backout
--HG--
extra : rebase_source : a091c76e54559dafa6435c22962231249c9dbac1
2017-03-31 13:20:37 -07:00
Jared Wein 6b4b94b6f2 Bug 1352505 - Fix enabling the 'Restore Default Search Engines' button when removing a default engine. r=Gijs
Re-apply the patch from bug 1327953 since it got lost in the re-arrangement of preference code in bug 1335907.

MozReview-Commit-ID: 1L4A2QC3Bns

--HG--
extra : rebase_source : 90b19dcd953cf15aaf478125df28dcce3381debc
2017-03-31 14:15:07 -04:00
Gijs Kruitbosch 290c64c982 Bug 1309946 - remove all traces of add-on performance monitoring, r=Yoric
This removes all the code for add-on performance watching from the
perfmonitoring component. This should mean that for add-on
compartments, we no longer trigger jank or CPOW monitoring in the JS
engine. This should result in minor performance improvements. As a
result, about:performance no longer reports on add-on performance
(but still reports on web page performance).

It also removes the AddonWatchers.jsm module and the related Nightly-
only UI (disabled in the parent commit) and strings. This UI wasn't
ready for release, there wasn't sufficient data it was creating
value for users, and there was some evidence that it didn't always
correctly identify the cause of performance issues, thus potentially
leading to user confusion or annoyance. Removing it therefore seemed
the right thing to do.

MozReview-Commit-ID: LsRwuaUtq6L

--HG--
extra : rebase_source : 92d4b775a7a7cbb5793e74eea471be81be974dda
2017-03-29 11:03:47 +01:00
Gijs Kruitbosch df4c4fd5f5 Bug 1309946 - disable addonwatcher for easy uplift, r=Yoric
MozReview-Commit-ID: 1mjO3oPhSOw

--HG--
extra : rebase_source : 189e36fc00428000fc66dbd3087e94293b6a4f23
2017-03-28 18:34:44 +01:00
Jared Wein 925cd6cd5e Bug 1352498 - Flex the labels of boxes that have Learn More links on them. r=Gijs
This is to make sure that the text will wrap and not force the box to have its full width. These changes look to have gotten lost as part of the re-org in bug 1335907.

MozReview-Commit-ID: EiTALg6dY7G

--HG--
extra : rebase_source : b14834435b60ff139e562cf91789d6ee9c42fba4
2017-03-31 13:55:01 -04:00
David Keeler 093a9fef3a bug 1351604 - don't ship DER.jsm and X509.jsm until they're actually used in production r=Cykesiopka
MozReview-Commit-ID: 2DlMrB5TfKU

--HG--
extra : rebase_source : eef6c21564d831feda43c85e14630b495b5b5761
2017-03-30 11:00:54 -07:00
Fischer.json 7846b668d6 Bug 1312349 - Hide the section of Offline Web Content and User Data in about:preferences r=jaws
MozReview-Commit-ID: 6K3PigI3wEf

--HG--
extra : rebase_source : a76197aa1d50c653a025d205b161b94bea6fc5c9
2017-03-08 19:34:21 +08:00
Phil Ringnalda 8198cb8936 Backed out changeset adf939cb9b0b (bug 1350670) for Mac and Windows browser_selectpopup_colors.js failures
CLOSED TREE
2017-03-28 19:37:49 -07:00
Ray Lin 2222768091 Bug 1350208 - Explicitly set default text color for profile item. r=MattN
MozReview-Commit-ID: IYYE5pE6u5A

--HG--
extra : rebase_source : e0ae5f917ae675bf9e5feba3c4350bf112f6ff5a
2017-03-24 14:01:19 +08:00
Sebastian Hengst e86c4a75af Backed out changeset 9ef667136bbe (bug 1335907) for failing browser_datachoices_notification.js. r=backout 2017-03-28 23:43:11 +02:00
Leni Kadali a1e32aff93 Bug 1346995 - Replace promiseErrorPageLoaded with BrowserTestUtils.waitForErrorPage in browser_ssl_error_reports.js r=johannh
Replaced it with BrowserTestUtils.waitForErrorPage instead.

MozReview-Commit-ID: KsVjMlaZaa6

--HG--
extra : rebase_source : 7754cd3eab18731b79afa7de0383ccb7fd39eb34
2017-03-28 18:14:16 +03:00
Jared Wein 6ac4051094 Bug 1350670 - Extend the MutationObserver to cover attributes in case the page sets styles through style, class, ID or other attributes. r=mossop
MozReview-Commit-ID: 3tYjbqH9zYb

--HG--
extra : rebase_source : 569a036dee7ae690ee4ef5ab8c39e1dad5a7350a
2017-03-28 17:04:32 -04:00
Jared Wein 747461066a Bug 1350774 - Some pages may style their <option> elements based on the :focus of the <select>, so :focus should be locked on the <select> during color computation. r=mossop
MozReview-Commit-ID: D0WZU6wFctG

--HG--
extra : rebase_source : f985fa43fdcf13841e31357b736b5b472a217b36
2017-03-28 15:43:33 -04:00
Jared Wein ddced6733e Bug 1350662 - Don't compare the select background color with the foreground color since it may be changed by the options. r=mossop
The comparison being removed was only put in place because it seemed like a "good-idea" to prevent <select> from being unreadable, though it's not a fool-proof strategy and it breaks content that uses different styling approaches. This removal does not regress any of the other test cases.

MozReview-Commit-ID: 8HeXZXnjpbl

--HG--
extra : rebase_source : f4eb33de4a8b795fe5dd90c1ede510e8584bf53e
2017-03-28 15:27:57 -04:00
Zack Herrick 18ed059dcd Bug 1335907 - Reorganize the preferences based on feedback from user research. r=mconley
The FX_PREFERENCES_CATEGORY_OPENED probe must be extended to version 59 to support the fallback "forked" preference implementation (in-content-old).

The switchToAdvancedSubPane within utilityOverlay's openPreferences must also remain until the fallback has been removed (bug 1349689).

Patch co-authored by Zack Herrick <herrickz@msu.edu> and Ziyan Long <lzylong@gmail.com>.

MozReview-Commit-ID: 1sx0Wj15yM7

--HG--
extra : rebase_source : 29359bb726a0ac8164d7304a2453ffeb8009e990
2017-03-28 14:32:54 -04:00
Wes Kocher 0adc72695e Merge m-c to inbound, a=merge CLOSED TREE 2017-04-05 14:56:38 -07:00
Ryan VanderMeulen 84059bb18c Bug 1347625 - Skip browser_devices_get_user_media_multi_process.js on ASAN due to leaks.
--HG--
extra : rebase_source : d8a6962ae4400c9d5d765439056af26f430a04ea
2017-04-05 15:57:59 -04:00
Nihanth Subramanya 612842ec96 Bug 1345687 - Allow identity popup to be shown irrespective of pageproxystate if a permission has been granted to the current site. r=johannh
MozReview-Commit-ID: 4Bjnkgf1m16

--HG--
extra : rebase_source : 222b450ffe9df611b1456a13ee766d5c5b0542a2
2017-03-29 21:04:32 +05:30
Edouard Oger 9269f73da5 Bug 1096343 - Use a different sync link in dev edition main preferences. r=markh
MozReview-Commit-ID: BPGSVN2EQza

--HG--
extra : rebase_source : 87675ab38049ceb0fb1c37627a3a2021e3b8d656
2017-03-30 15:59:09 +01:00
Justin Wood 485886c025 Bug 1347579 - run configure before doing repack. r=aki
MozReview-Commit-ID: 4uBwqwtN3i0

--HG--
extra : rebase_source : f067fa3b33157a1afc0906412fb7b4f7e5fe24f3
extra : intermediate-source : 727ed2b44031fd71780ed0d0c27a0950633f41dc
extra : source : dda6cc82c28204967a2012a13de9bcdaf94f9418
2017-03-28 16:26:56 -04:00
Wes Kocher d490f31710 Backed out changeset 6d376d7031df (bug 1319821) for test_webextension_theme.js failures a=backout CLOSED TREE
--HG--
extra : amend_source : 0ce863936b81e44dec5390d956928da0ab9fe94b
2017-03-30 15:10:49 -07:00
Mike Cooper 22ec855caa Bug 1351465 - shield-recipe-client: Unconditionally set up logging in bootstrap r=Gijs
MozReview-Commit-ID: 5W7UdpsLyYd

--HG--
extra : rebase_source : 446933ac19330b2404f453b91c09b8bb83e191d0
2017-03-29 13:49:37 -07:00
Mike Taylor f4b04844e3 Bug 1329704. Update webcompat reporter icons and provide theme-specific variants. r=Gijs
Thanks to :shorlander for the assets.

MozReview-Commit-ID: 705732RwXNL

--HG--
extra : rebase_source : fd2ab049b5985124c041e2082b77d814ab48fb68
2017-03-09 11:09:04 -06:00
Jared Wein d3d84de4b3 Bug 1345440 - Force a style flush of the tab when we set the soundplaying attribute to get the icon drawn immediately. r=Gijs
MozReview-Commit-ID: 5JRyZp1SzDb

--HG--
extra : rebase_source : 73eac4817b370fb67caacecda1ca6bed3361feb9
2017-03-29 23:45:22 -04:00
Mike de Boer 382bae51af Bug 1319821 - Themes should allow for multiple background images in the toolbar. r=jaws,mattw
This patch also changes the 'headerURL' and 'theme_frame' properties to be of type
ExtensionURL, instead of strings. This improves validation robustness.
Alignment and tiling properties for the additional background images can be
specified in the newly introduced 'properties' section of the manifest.

MozReview-Commit-ID: BzvS3eHmDCY

--HG--
extra : rebase_source : c421a7feaa8492fae40258086bdb7e4fcc51a80d
2017-03-30 12:54:59 +02:00
Edouard Oger d09f746bfb Bug 1345955 - Update FxA profile when push notification received. r=markh
MozReview-Commit-ID: 4LL6F5Qnnj4

--HG--
extra : rebase_source : 00bc6a445d22fdfb626e7af6ad62fb750f444460
2017-03-16 17:15:18 -04:00
Wes Kocher c802acc868 Merge m-c to inbound, a=merge
MozReview-Commit-ID: L6QuPmxL0XP
2017-03-27 17:18:39 -07:00
Florian Queze d1ff7a8b0e Bug 1349508 - request a longer timeout for browser_all_files_referenced.js which takes longer on asan, rs=Gijs. 2017-03-27 22:46:59 +02:00
Florian Queze dc1431e99e Bug 1349307 - disable browser_all_files_referenced.js on linux32 where it causes oom crashes, rs=Gijs. 2017-03-27 22:46:49 +02:00
Hrishikesh Barman 54d7c11e86 Bug 1347111 - Remove border and background fallback styling from checkbox.css. r=dao
--HG--
rename : toolkit/themes/windows/global/checkbox/cbox-check-dis.gif => toolkit/themes/faststripe/global/checkbox/cbox-check-dis.gif
rename : toolkit/themes/windows/global/checkbox/cbox-check.gif => toolkit/themes/faststripe/global/checkbox/cbox-check.gif
2017-03-26 22:26:06 +05:30
Jan Henning 8da83bac15 Bug 1265818 - Part 4 - Test that scroll positions for previous session history entries are restored on Desktop. r=mikedeboer
This extends the existing the existing scroll position test by navigating to a second page and then checking that after closing and restoring that tab, the scroll position is restored not only for the current history entry, but after going back as well.

MozReview-Commit-ID: Ddig1Mfo5rz

--HG--
extra : rebase_source : 20bdc1f116b27f7386a9b7d1cdc0ad383b21b99c
2017-02-19 22:17:28 +01:00
Jan Henning 6d4628844f Bug 1265818 - Part 3 - Store and restore the LayoutHistoryState through SessionHistoy.jsm. r=mikedeboer
Since a LayoutHistoryState is basically just a collection of PresStates, we just save each PresState we can find and then later restore it.

MozReview-Commit-ID: A6WpdelseHn

--HG--
extra : rebase_source : 21c2929ed64ff5ef046ea65664af78cdad517786
2017-03-25 15:32:36 +01:00
Mike Conley 132aa6c7f2 Bug 1348613 - Only use sync message for SessionStore:restoreHistoryComplete for non-remote tabs. r=mikedeboer
MozReview-Commit-ID: IuOtKpudDTU

--HG--
extra : rebase_source : 9cd70dd4d6bd2807742e2e84da0c4cc7cc2a2f35
2017-03-27 12:56:38 -04:00
Mike Conley 3715be2910 Bug 1348613 - Make SessionStore:restoreTabContentStarted message always async. r=mikedeboer
MozReview-Commit-ID: 8TwPFUbXluW

--HG--
extra : rebase_source : b450809f61d7acb4e83788895bc77adafabfde86
2017-03-27 12:15:50 -04:00
Andrew Swan 8df4d5ccc7 Bug 1348532 Remove unused list.xul r=mossop
MozReview-Commit-ID: H411v4yLTah

--HG--
extra : rebase_source : 6ca9b480b2a5ff28dd701baed664fac04c05a871
2017-03-24 19:55:54 -07:00
Dão Gottwald ef307485e7 Bug 759252 - Use CSS animations for the loading and connecting throbbers. r=jaws
MozReview-Commit-ID: 8X4uOrxvF4c

--HG--
extra : rebase_source : 10762c5c40ea774fab1f6f4ed576a46b55bebbb2
2017-03-27 18:56:03 +02:00
Dão Gottwald 8ef113f305 Bug 1350539 - Clean up custom .checkbox-check styling. r=jaws
MozReview-Commit-ID: BfiA0gp9giI

--HG--
extra : rebase_source : 1a398d1c5fa0cbeb53b39a8f6afb3bf9348f2d6b
2017-03-25 12:03:39 +01:00
Michael Kaply 5d98501bcf Bug 1278042 - If update is disabled, don't copy LaunchServices. r=spohl
MozReview-Commit-ID: DWZxmVU0Qrf

--HG--
extra : rebase_source : 531a1e7bca364bd23eba0a48e0d80f698c142a69
2017-03-27 09:48:35 -05:00
Andrew McCreight c188818aea Bug 1350878 - ContentLinkHandler.jsm does not use its NetUtil.jsm import. r=mikedeboer
MozReview-Commit-ID: 7CJk7P3JfML

--HG--
extra : rebase_source : 31bbc83af140fb3eabd5f78cc85695df79c6cf0f
2017-03-22 14:59:33 -07:00
Carsten "Tomcat" Book a441709a12 Merge mozilla-central to autoland 2017-03-27 13:00:23 +02:00
Mark Banner 7f46a2f8e5 Bug 1350298 - Reduce the complexity of nsContextMenu:setTarget. r=jaws
MozReview-Commit-ID: 2TYNVCV4LSL

--HG--
extra : rebase_source : 7c225c26c585b5af86bbb90063c200b8233369c9
2017-03-23 16:22:24 +00:00
Mark Banner c1099084df Bug 1350298 - Fix most of the ESLint issues in nsContextMenu.js. r=jaws
MozReview-Commit-ID: 4t2paQntzBO

--HG--
extra : rebase_source : ea01434631f63eb647ed08918ff46649012d4c7f
2017-03-23 12:34:22 +00:00
Mark Banner 31fa11c564 Bug 1350298 - Stop preprocessing nsContextMenu.js - use AppConstants instead. r=jaws
MozReview-Commit-ID: LLz9bRu9Xxs

--HG--
extra : rebase_source : 0876d3e9b488bf030c3e8a2aa759e0469e410d53
2017-03-24 11:33:48 +00:00
Mike Conley e5f75b2640 Bug 1096013 - Add a test that ensures that we don't lose the favicon for background tabs that crash. r=mikedeboer
MozReview-Commit-ID: BoF62uPSfUC

--HG--
extra : rebase_source : 5549eaa87adcf93b81dbebc6e7e69c3ab5fc0e78
2017-03-24 10:26:49 -04:00
Mike Conley 039c9ecb61 Bug 1096013 - Give selected tabs highest priority during restoration. r=mikedeboer
MozReview-Commit-ID: EtApFsDyB50

--HG--
extra : rebase_source : 37d0cc43801f434242b5c3a281c0ce293e1bbdff
2017-03-23 01:59:51 -04:00
Marco Bonardo 19cfdf37f2 Bug 977177 - Update favicons API consumers. r=adw
Updates consumers to the new behavior.
Some consumers are changed to use  the "page-icon:" protocol, since it's not
trivial to join the icons table and get a single result out of it. In most cases
the join would return multiple results since a page can have multiple icon payloads.
These consumers for now will return the biggest payload, bug 1347532 will fix
some of them to properly pass a #size=NN fragment.
Note that, even before, these were just "moz-anno:favicon:" uris, and the
payload had to be fetched from the database.
Some other consumers for now just fallback to the largest payload, by passing 0
to GetFaviconURLForPage.

The favicon optimization still happens on the main-thread, bug 1346139 will
handle that problem.

Most of the changes involve handling the modified IconData objects, that now
retain an array of payloads, rather than just one. But note that .ico files are
not yet split into single frames, due to imagelib missing APIs that will be handled
in bug 1337402.
The other changes involve fixing queries to properly join with the new tables.

Finally, note that thanks to the FOREIGN KEYS support, removing from moz_icons or
moz_pages_w_icons will also remove relations from moz_icons_to_pages.

The system only supports square icons, so icons are resized based on their larger side.

This doesn't include new tests, those will be in a following changeset.

MozReview-Commit-ID: JUkpquhpS8y

--HG--
rename : toolkit/components/places/tests/unit/test_svg_favicon.js => toolkit/components/places/tests/favicons/test_svg_favicon.js
extra : rebase_source : fa49c4a81d6ab6b34a2f19ee4175e889a6e9d734
2016-09-28 16:14:30 +02:00
Bob Silverberg b945ec9ade Bug 1344857 - SessionStore does not return titles for tabs which have a url that is identical to the title, r=mikedeboer
MozReview-Commit-ID: H7dHJo6rOuz

--HG--
extra : rebase_source : 6f4c483db21d659e84878f29bb1bb4e7ab6e3781
2017-04-11 13:50:24 -04:00
Gerald Squelart 445bbfd5e9 Bug 1343442 - decode-error/warning tests - r=Gijs
MozReview-Commit-ID: A0HO6RrnpMC

--HG--
extra : rebase_source : 41d64a38638e6c4f694b84d3ece811c4c358646f
2017-04-11 09:35:17 +12:00
Gerald Squelart b0ed44c907 Bug 1343442 - Handle decode-error/warning in browser-media.js - r=Gijs
Open webcompat.com in new tab, similar to what "Report Site Issue" button does.

MozReview-Commit-ID: 1ESOY3upHgc

--HG--
extra : rebase_source : 3f55c6798671ad430e59f5954a177a22b4b7642d
2017-04-11 13:37:52 +12:00
Gerald Squelart 8e4cf9eeaa Bug 1343442 - Re-enable browser_decoderDoctor.js on Mac - r=Gijs
Thanks to the previous patch, these tests can now be run on Mac, though they
don't do anything useful there just yet.

MozReview-Commit-ID: 3HyN7ms1EPl

--HG--
extra : rebase_source : c9487790d9c424dd8d21cfb6af927fd4121a15fa
2017-04-11 08:18:22 +12:00