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

46615 Коммитов

Автор SHA1 Сообщение Дата
David Parks 532fe74f04 Bug 1347710 - Enable sandbox protections for the Windows GPU process. r=bobowen
The sandbox works with levels.  The GPU sandbox level defaults to 1 in all builds.  It is controlled by security.sandbox.gpu.level.
2017-04-24 09:46:09 -07:00
Ehsan Akhgari 6399dc4d9a Bug 1356922 - Part 1: Replace the next TabParent global pointer with per-window/tab next TabParent ID; r=billm,mconley
This patch replaces the usage of sNextTabParent pointer to store the next
PBrowser parent actor to be used by the next frame loader with the
following information:

  * In the case where the content JS has requested a new tab, the ID of the
    next TabParent will be stored on the <xul:browser> element.
  * In the case where the content JS has requested a new window, the ID of
    the next TabParent will be stored on the created nsXULWindow.
2017-04-24 14:18:29 -04:00
Andrew Swan ebcf41ae27 Bug 1358229 Fix exception during optional permission prompts r=rhelmer
MozReview-Commit-ID: 5e3tlFF7uvp

--HG--
extra : rebase_source : 44821fa0cdc9a97ccb99d0587e8575bb02ed8c0e
2017-04-24 10:44:41 -07:00
Iris Hsiao b38be6eedc Backed out changeset e08459e83d3f (bug 1299371) for multiple mochitests time out 2017-04-24 16:19:59 +08:00
Iris Hsiao 7e2d844c6e Merge mozilla-central to autoland 2017-04-24 14:28:11 +08:00
Iris Hsiao 0adc572c43 merge mozilla-inbound to mozilla-central a=merge 2017-04-24 11:35:45 +08:00
Sebastian Hengst 02a48038d1 Backed out changeset 9c407d9e588b (bug 1356828) for failing xpcshell's test_shutdown.js. r=backout 2017-04-23 22:57:34 +02:00
Florian Queze 012fd2ffcb Bug 1358173 - Removing a non-existent panelUI notification shouldn't be expensive, r=Gijs. 2017-04-22 11:20:20 +02:00
Sebastian Hengst 473a1509ea merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 289I7nCINwK
2017-04-22 10:48:16 +02:00
Mark Banner f10153a407 Bug 1358213 - Give WebExtension created menuitems in the context menu an ID. r=kmag
This matches the rest of the context menu and is better for unit tests.

MozReview-Commit-ID: 509HH4wnClN

--HG--
extra : rebase_source : 61456ee75f75baefd38fd9dd53e9cce9b7e3fefa
2017-04-20 20:48:16 +01:00
Chris Peterson c0d7dd79dd Bug 1358041 - Hoist some eslint rules from browser/ subdirectories to browser/.eslintrc. r=standard8
All of browser/ JS code passes these eslint rules, so we can hoist them from subdirectories' .eslintrc to the common browser/.eslintrc.

MozReview-Commit-ID: GMidHq0UIlH

--HG--
extra : rebase_source : 802631e372bbf6c256f5236deb275cb05fd73894
extra : histedit_source : a87b58345ff471b2504244d90c4ea1aa149a3c86
2017-04-19 16:53:43 -07:00
Chris Peterson 8aa23dcea6 Bug 1358041 - Fix no-aArgs eslint warning about Hungarian Notation in browser/extensions/formautofill/. r=standard8
This eslint warning is a regression from bug 1340468:

browser/extensions/formautofill/content/FormAutofillFrameScript.js
warning  Parameter 'aMessage' uses Hungarian Notation, consider using 'message' instead.  mozilla/no-aArgs (eslint)

MozReview-Commit-ID: LqEZT0RNp7K

--HG--
extra : rebase_source : 25af56d0d1caa9cce7f03367bc61f88882e8d12b
extra : histedit_source : 0e25c63e195430a0b616144ee0cf1d141efabc8b
2017-04-20 00:05:12 -07:00
Wes Kocher 4a05296446 Merge m-c to inbound, a=merge
MozReview-Commit-ID: Cb0b59wJ0vy
2017-04-21 17:35:24 -07:00
Kris Maglione f5b580e5e9 Bug 1358415: Don't trigger reflow just to compute tab geometry. r=aswan
MozReview-Commit-ID: DnFSbDfOskT

--HG--
extra : rebase_source : e6829657b250fa8ec893b3e73b7d9956dfe34424
extra : amend_source : f20cfab374b29b7d3475579a0fe5e11ab2e6dcb4
2017-04-21 13:22:34 -07:00
Florian Queze f596929f1c Bug 1358382 - Compute the searchbar panel size and position without sync reflow, r=adw. 2017-04-22 02:09:05 +02:00
Marco Bonardo 444b7b3de9 Bug 1356440 - Favicons of bookmarks views don't update on visit. r=mrbkap,past,enndeakin
MozReview-Commit-ID: 8j5yLqr7MTc

--HG--
extra : rebase_source : 0da3b4bf0fca0462e22f76c1392f1d9e69f0e71c
extra : amend_source : d6c92db62af2b62671cf13f0b5385b2bc2c8b81e
2017-04-19 11:41:49 +02:00
Carsten "Tomcat" Book 975e251aff merge mozilla-inbound to mozilla-central a=merge 2017-04-21 10:57:02 +02:00
Drew Willcoxon 6f20b4a138 Bug 1357458 - After Customization - typed text in the Awesome bar doesn't correspond with the text from One-Off-Searches bar. r=florian
MozReview-Commit-ID: KHAoxS1CsWj

--HG--
extra : rebase_source : ceff8abeeb94b082c6a7f6f3950a1c35767db0dd
2017-04-20 19:00:26 -07:00
Timothy Guan-tin Chien fe5b091814 Bug 1358394 - Ensure "Reports" section caption is shown without telemetry section, r=jaws
MozReview-Commit-ID: EgovgZk0X0o

--HG--
extra : rebase_source : 10fcb7eb2ed893bacae87ef2588f6c88ada9a9f8
2017-04-21 22:05:15 +08:00
Kris Maglione 28f820abd7 Bug 1356828: Don't call getAddonById from the Pocket bootstrap scope. r=rhelmer
MozReview-Commit-ID: DJM1dOIA7X4

--HG--
extra : rebase_source : 39c8808bb3da80b8012a6799f7af65b2703e7dca
2017-04-15 11:59:58 -07:00
Andrew Swan e817ea40d7 Bug 1356462 Show a notification when non-MPC extensions are disabled r=mossop
MozReview-Commit-ID: 8KUhRe91AFt

--HG--
extra : rebase_source : f5e66c416587387f42a1c29099770e962e8cdee8
2017-04-19 11:30:24 -07:00
Doug Thayer 6c660b95af Bug 1348396 - Only show a badge on PanelUI while in fullscreen r=enndeakin+6102,rstrong
Previously we were showing a doorhanger when the user moused to the
top of the screen while in fullscreen mode. However, the doorhanger
would disappear before the user had a chance to interact with it.
We decided it's best anyway to simply display a badge when the user
is in fullscreen, and to reshow the doorhanger when the user exits
fullscreen.

MozReview-Commit-ID: ENRtXC4wqvZ

--HG--
extra : rebase_source : 4609fbc2d0bd38fe16a23151d94d265761cd57b0
2017-04-10 11:11:45 -07:00
Sebastian Hengst 7fccfb74e9 merge mozilla-central to autoland. r=merge a=merge 2017-04-22 10:49:35 +02:00
Marco Bonardo 4f991dcba4 Bug 1358503 - memoize anon elements in the oneoffs binding. r=florian
MozReview-Commit-ID: JKmfd7cUfRx

--HG--
extra : rebase_source : d8c7c9ff9a63afdde135b608fddb51abc54d84ac
2017-04-21 16:05:46 +02:00
Dan Banner cbf1ee25cc Bug 1351099 - Remove unused AddonLogging.jsm file r=rhelmer
MozReview-Commit-ID: B1mxqNZhpB

--HG--
extra : rebase_source : 02abddd18ec98fdd2d74eda053d161625fd96d3e
2017-04-19 16:28:41 +01:00
Yoshi Huang 332addc285 Bug 1344170: set firstPartyDomai on blob: URI. r=smaug
A web page could generate an URL by URl.createObjectURL(new Blob(...));
then navigate to this generated URL.

In this case the (top-level) document URI will be blob:{origin}:{uuid}.
And we try to add firstPartyDomain on this top-level document with blob URI, so
the following request from this document could have correct origin
attributes.
2017-04-24 14:12:03 +08:00
Iris Hsiao 8b9629d52e Merge mozilla-central to mozilla-inbound 2017-04-24 12:04:12 +08:00
Kris Maglione b91438bf36 Bug 1356828: Don't call getAddonById from the Pocket bootstrap scope. r=rhelmer
MozReview-Commit-ID: DJM1dOIA7X4

--HG--
extra : source : c39985abd71ceaa90fef9c438cc7627667d2e024
extra : amend_source : 26f1aa9c2d2d7604b056ca88a1071ff5fb490dd8
2017-04-15 16:23:54 -07:00
Wes Kocher 4f3c2d9829 Merge m-c to autoland, a=merge
MozReview-Commit-ID: DPzfAm14Tdx
2017-04-20 15:52:28 -07:00
Wes Kocher 5ce5528fb1 Merge inbound to m-c a=merge
MozReview-Commit-ID: DQDuEiYLWCO
2017-04-20 15:30:43 -07:00
Sebastian Hengst 89ad1caece Bug 1356758 - Intermittent browser/modules/test/browser/browser_UsageTelemetry_urlbar.js. temporarily disable linux32/debug: fix test annotation. r=bustage-fix 2017-04-20 20:51:42 +02:00
Joel Maher 02dde1226e Bug 1356758 - Intermittent browser/modules/test/browser/browser_UsageTelemetry_urlbar.js. temporarily disable linux32/debug. r=adw
MozReview-Commit-ID: F6ypnlL4BQx
2017-04-20 14:09:08 -04:00
Dão Gottwald 0478c10918 Bug 1356911 - Remove unnecessary onWidgetInstanceRemoved listener. r=jaws
MozReview-Commit-ID: VywL0KoiMA

--HG--
extra : rebase_source : 742fd879396a10461ad798e3a0181d8004821e8c
2017-04-20 23:34:55 +02:00
Andrea Marchesini 9a89dabb3e Bug 1357473 - Update Console to the latest spec - part 3 - Console.groupEnd(), r=bgrins, r=nchevobbe 2017-04-18 10:04:00 +02:00
Carsten "Tomcat" Book 54c9498baf Merge mozilla-central to mozilla-inbound 2017-04-20 13:03:06 +02:00
Dão Gottwald 5e74d85f79 Backed out changeset 3edd47730527
MozReview-Commit-ID: AESEl0ht2Gi
2017-04-20 12:41:20 +02:00
Kevin Jones a7fa6eb9b7 Bug 1345090 - Modify SessionStore to restore tabs with lazy browsers. r=mikedeboer,dao
MozReview-Commit-ID: 5J5UqlWMxKX
2017-04-20 11:01:09 +02:00
Sam Foster 1ce685a8c2 Bug 1334642 - Cache luminance values for each toolbar in ToolbarIconColor. r=dao,mconley
* Track window states: active, fullscreen and tabsintitlebar for each window
* Use toolbar.id and window state to store and retrieve values from cache
* Note: As each window has its own ToolbarIconColor object, the cache is not currently shared across windows
* inferFromText callers pass in a reason and associated value, which is used to update the state we track, and potentially clear out the cache
* Create new windows test directory for browser-window-specific tests like this
* Test for the ToolbarIconColor changes to avoid sync style flushes when windows activate/deactivate

MozReview-Commit-ID: JDJ3RtL4Lge

--HG--
extra : rebase_source : f944ccd1c2340a5d2973bf47480a6eb78b2aae3b
2017-04-06 10:50:09 -07:00
Wes Kocher ef1cc83d8b Backed out changeset e1c9c6e89f50 (bug 1348097) for asan failures in test_SubsessionChaining.js a=backout
MozReview-Commit-ID: AiAjjlBmODC
2017-04-20 13:34:16 -07:00
Jim Porter 3e94962f82 Bug 1358197 - Fix the animation pref migration r=jaws
This is just a small fix to the previous commit for bug 1352069 because one
line in the pref migration code was mispasted.

MozReview-Commit-ID: LnpUHKGAoKa

--HG--
extra : rebase_source : b16d6cfc83c2560025ff4fed626a8c59ce42f3fb
2017-04-20 12:16:20 -05:00
Dan Banner a7f5988aec bug 1351657 - Stop shipping langGroups.properties as it is unused. r=florian
MozReview-Commit-ID: L601YNiOVBc

--HG--
extra : rebase_source : c1bf3647c41d2eee3738175d266ca52f80c14d74
2017-04-20 13:34:52 +01:00
Mark Banner d8477f9e65 Bug 1348097 - Fix intermittent failures caused by Experiments.jsm by ensuring the preference monitoring is in sync. r=gfritzsche
Change the ExperimentsService to get the current value of the preferences (since it only uses them once or twice), so that they match the values in Experiments, and avoid differences causing promises to be rejected in the updateManifest call.
Also fix Experiments to correctly re-enable itself when toolkit.telemetry.enabled is changed from false to true (also fixes bug 1232648).
Finally, add a catch for a promise when calling updateManifest so that we don't get an uncaught promise exception.

MozReview-Commit-ID: GD6gfcRSgbx

--HG--
extra : rebase_source : 44226ad68bc0bc8b9b763016ea54ca022bfcbcf9
2017-04-19 12:06:16 +01:00
Wes Kocher cb8ce82cca Merge inbound to m-c a=merge 2017-04-19 17:10:04 -07:00
Andrew Swan 251c58d506 Bug 1357410 follow-up sign remaining unsigned permission test xpis r=andym
MozReview-Commit-ID: JA3fAWPIIJn

--HG--
extra : rebase_source : 3d3e64d03cb9e9576ff51efd21049174b7698898
2017-04-19 12:29:34 -07:00
Tushar Saini (:shatur) 163e27b705 Bug 1337509 - Do not create tab objects with an unsupported 'selected' property. r=bsilverberg,mixedpuppy
MozReview-Commit-ID: 4Bi6LdNUxMo

--HG--
extra : rebase_source : 52baba39e08bc9d250ace3f4b46a591d7f641d47
2017-04-18 22:07:38 +05:30
Andrew Swan c66904017f Bug 1357419 Sign browser_webext_update1.xpi r=andym
MozReview-Commit-ID: 9L1FCI4XPBG

--HG--
extra : rebase_source : 5dc9ff82dd30e965420fd3cda8c0df59744b779a
2017-04-19 09:11:33 -07:00
Joel Maher 6af97db02d Bug 1355088 - add BUG_COMPONENT to browser/* files. r=mossop
MozReview-Commit-ID: 88mDTdI0oN7
2017-04-19 08:11:47 -04:00
Mathieu Leplatre ebb8c8fc93 Bug 1351675 - Add certificates pinning initial JSON to package r=florian
MozReview-Commit-ID: EYT0s7xUyKN
2017-04-10 16:50:41 +02:00
Florian Queze 6a5b7fdb1f Bug 1349742 - avoid initializing UITour whenever about:home is loaded, r=MattN. 2017-04-19 13:37:09 +02:00
Carsten "Tomcat" Book e2b810f97e Merge mozilla-central to mozilla-inbound 2017-04-19 10:49:57 +02:00
Carsten "Tomcat" Book 44e9c21039 merge mozilla-inbound to mozilla-central a=merge 2017-04-19 10:32:48 +02:00
Florian Queze 5a2ce314df Bug 1357064 - Reducing the width of the window while the last tab is selected shouldn't causes the tabstrip to animate, r=dao. 2017-04-19 00:04:09 +02:00
Florian Queze e8bed3af2f Bug 1312999 - Cache one-off buttons instead of regenerating them at every popupopen, r=adw. 2017-04-19 00:04:07 +02:00
Wes Kocher 61ed56921b Merge m-c to inbound, a=merge 2017-04-18 14:38:53 -07:00
Wes Kocher 4160ff9343 Merge autoland to central, a=merge 2017-04-18 14:23:45 -07:00
ffxbld 214345204f No bug, Automated blocklist update from host bld-linux64-spot-305 - a=blocklist-update 2017-04-18 07:51:02 -07:00
Carsten "Tomcat" Book bb87f43c09 merge mozilla-inbound to mozilla-central a=merge 2017-04-18 10:21:31 +02:00
Edouard Oger 819d164b43 Bug 1355481 - Avoid initializing Sync on window unload if Sync is not configured. r=markh
MozReview-Commit-ID: J0xUODSMzhe

--HG--
extra : rebase_source : 9f87bd99a0a05abb9a21cf07081b557debb1a494
2017-04-17 16:28:38 -04:00
Ray Lin eec2adc8fb Bug 1270983 - Wait for media to being playing before pause check to avoid timeout. r=jaws
MozReview-Commit-ID: 7F18fUU8asl

--HG--
extra : rebase_source : b0495ac5c936009f86f919e14efe71257eb8bf59
2017-04-18 10:48:48 +08:00
Fischer.json b11d8148e6 Bug 1355795 - about:preferences#privacy is broken with browser.cache.offline.enable=false, r=jaws
If browser.cache.offline.enable was set to false, then calls to nsIApplicationCacheService would throw. The SiteDataManger and OfflineGroup using nsIApplicationCacheService has been moved into the privacy pane. We should test that the privacy pane is loaded well.

MozReview-Commit-ID: C9RRRYmb3Zb

--HG--
extra : rebase_source : b93ca35fdfe375b22dd82dfbc7c1ffe4cfde1d72
2017-04-12 11:53:18 +08:00
Ya-Chieh Wu 200dc0cdc7 Bug 1345328 - modify moz.build to build pdfium as a build-in addon. r=rhelmer
--HG--
rename : browser/extensions/mortar/host/pdf/install.rdf => browser/extensions/mortar/host/pdf/install.rdf.in
2017-04-18 19:18:00 +02:00
Sebastian Hengst 545cdbc891 Backed out changeset e5e754f197cd (bug 1355481) for breaking many tests, r=backout on a CLOSED TREE 2017-04-18 17:47:34 +02:00
Andrea Marchesini a77567be37 Bug 1351464 - DOM::Security is the bugzilla component for Containers project, r=KWierso 2017-04-18 19:51:57 +02:00
Wes Kocher b53f4d8806 Merge m-c to inbound, a=merge 2017-04-17 13:03:40 -07:00
Wes Kocher 228c755a80 Merge inbound to central, a=merge 2017-04-17 12:56:25 -07:00
Thomas Wisniewski 886e74cea3 Bug 1334266 - Add support for WebExtension APIs browser.sessions.{forgetClosedTab|forgetClosedWindow}. r=bsilverberg, r=mixedpuppy 2017-04-07 23:30:36 -04:00
Bob Silverberg c608331f52 Bug 1342207 - chrome.tabs.onActivated does not fire for new windows, r=kmag
MozReview-Commit-ID: D9Nwd9lc57x

--HG--
extra : rebase_source : 65ff7814eaddd00acaf0ce88bd96309448a6d003
2017-04-04 09:43:50 -04:00
Oriol 7bb2ef1fe2 Bug 1356660 - Do not warn when pasting code into the console on unofficial branding, r=bgrins 2017-04-16 19:07:16 -07:00
Sebastian Hengst cfea98eabf merge mozilla-central to autoland. r=merge a=merge 2017-04-15 20:08:03 +02:00
Sebastian Hengst 8bd051237a merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: JpAhOPjgvkF
2017-04-15 19:59:24 +02:00
Shane Caraveo b5b8babab9 Bug 1353073 handle contextmenu in sidebar when remote=true, r=kmag
MozReview-Commit-ID: BSmPhaNYmYe

--HG--
extra : rebase_source : 28bfeba3128e6e344b819b9b24aa37c9ea767118
2017-04-15 10:30:44 -07:00
Florian Queze 4c6a68d1c9 Bug 1355161 - script-generated patch to replace .{currentThread,mainThread}.dispatch(..., Ci.nsIThread.DISPATCH_NORMAL) with .dispatchToMainThread(...), r=froydnj. 2017-04-14 18:29:12 +02:00
Wes Kocher 4aaf266707 Backed out changeset fc91bd1a27a7 (bug 1353073) for eslint failures a=backout 2017-04-15 00:33:34 -07:00
Shane Caraveo beeff82ee3 Bug 1353073 handle contextmenu in sidebar when remote=true, r=kmag
MozReview-Commit-ID: GDAd2jYrlf6

--HG--
extra : rebase_source : 22a4244d55975513bdfc288c94cf112fcd0e90fd
2017-04-14 15:15:37 -07:00
Shane Caraveo fd8887b9cd Bug 1350597 fix reload/upgrade of sidebar addon, r=kmag
MozReview-Commit-ID: FcC7zJn1ka5

--HG--
extra : rebase_source : 860e43a19619acaaf4762c5810d489dab1d6ef73
2017-04-14 17:01:23 -07:00
Drew Willcoxon c62a09b53e Bug 1353831 - OneOff block in search bar doesn't update text if Customize was opened at least once. r=florian
MozReview-Commit-ID: Iu7xhCbCh6B

--HG--
extra : rebase_source : c3c68c7935393c7e8ad264010ce4bd6b53d6a6f5
2017-04-14 16:34:41 -07:00
Drew Willcoxon 4f0389f555 Bug 1334615 - Add a probe to determine whether the keyboard or the mouse was used to select an action. r=bsmedberg,mak
MozReview-Commit-ID: G3K2l6jnCR8

--HG--
extra : rebase_source : e3f9696defa7cdd76695f657b7f5a6e01edb604f
2017-04-14 17:27:51 -07:00
Masatoshi Kimura ea4c0cc826 Bug 1354020 - Use per-monitor v2 on Creators Update. r=jfkthame
MozReview-Commit-ID: FiO3DupULFu

--HG--
extra : rebase_source : f2d2018cb549a07f89e18a42f842886a7ef9c063
2017-04-07 07:14:14 +09:00
Masatoshi Kimura be8a77b3bf Bug 1354785 - Add dependency on manifest files to res files. r=gps
Before bug 1348069, MS manifest tool was used to embed manifest files.[1]

The Makefile used to use EXTRA_DEPS to invoke the manifest tool when a manifest files is changed. But it is no longer effective because the manifest file namepattern is no longer $@.exe.manifest.

Now manifest files will be embedded via .res files. So we have to rebuild .res files to update embedded manifests.

[1] https://dxr.mozilla.org/mozilla-central/rev/35c7be9c2db288d1d449e3cc586c4164d642c5fd/config/rules.mk#642-655

MozReview-Commit-ID: 5QiXVeImZdY

--HG--
extra : rebase_source : 9e321e30ecd389ef0aa21e438d321e79edf0a009
2017-04-08 16:59:08 +09:00
Jared Wein 2c196d9ca0 Bug 1356021 - Update about:preferences#advanced to fix inconsistencies with strings, show the bottom-border beneath the header to match other categories, and update the layout of radio buttons and checkboxes to match the requested layout. r=florian
MozReview-Commit-ID: GAepdok7x3R

--HG--
extra : rebase_source : f9d41fd4f55bf1f8cb2f096f4e96cc9f0963b49d
2017-04-14 02:10:53 -04:00
Sebastian Hengst 4c8fa6d5da merge mozilla-central to autoland. r=merge a=merge 2017-04-15 00:08:12 +02:00
Sebastian Hengst d8496d0a1f merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: EjT9dcum69m
2017-04-14 23:56:10 +02:00
Sebastian Hengst 875f27030a merge mozilla-central to autoland. r=merge a=merge 2017-04-14 17:22:00 +02:00
Iris Hsiao adbc9c9d4f Merge mozilla-central to mozilla-inbound 2017-04-14 17:20:09 +08:00
Iris Hsiao 93edef392b merge autoland to mozilla-central a=merge 2017-04-14 17:09:58 +08:00
Jared Wein a432540bb2 Bug 1356020 - Update about:preferences#privacy to fix inconsistencies with strings, move the positioning of the Certificates buttons to the right-side, and update the styling of the Reports section to match the requested text-formatting. r=florian
MozReview-Commit-ID: DIsr1tfqmcT

--HG--
extra : rebase_source : 5b4629d96f203bf76352897953d9cf95307ed82c
2017-04-14 01:51:32 -04:00
Sebastian Hengst 1e3c7e2a9c Backed out changeset 3742522c4533 (bug 1353831) for failing at least test_focus_autocomplete.xul in a11y suite on OSX 10.10 debug. r=backout 2017-04-15 00:00:29 +02:00
Wes Kocher c8a2033f35 Merge m-c to inbound, a=merge 2017-04-13 17:33:39 -07:00
Wes Kocher 514e230373 Merge inbound to central, a=merge 2017-04-13 17:24:01 -07:00
Wes Kocher 4fab232444 Merge autoland to central, a=merge 2017-04-13 13:03:43 -07:00
Ryan VanderMeulen 29f78caa56 Bug 1355984 - Don't run the browser/base/content/test/static directory on ASAN, debug, or Linux32. r=Gijs
CLOSED TREE
2017-04-13 14:53:06 -04:00
Wes Kocher 22cb3d1d3b Backed out 4 changesets (bug 1346825) for being the likely cause of devtools bustage a=backout CLOSED TREE
Backed out changeset 80999e98d40b (bug 1346825)
Backed out changeset 426aa68b32f0 (bug 1346825)
Backed out changeset d4b155c9ee3d (bug 1346825)
Backed out changeset 81b1a2207776 (bug 1346825)
2017-04-13 11:23:18 -07:00
ffxbld 9b1d010f9b No bug, Automated blocklist update from host bld-linux64-spot-362 - a=blocklist-update 2017-04-13 07:54:33 -07:00
Wes Kocher 2986c817dc Merge autoland to central, a=merge CLOSED TREE 2017-04-12 15:13:30 -07:00
Wes Kocher 25d50f2c30 Merge inbound to central, a=merge 2017-04-12 14:39:09 -07:00
Ryan VanderMeulen 12a16529b1 Bug 1355901 - Update pdf.js to version 1.8.183. r=bdahl 2017-04-12 12:50:37 -04:00
Michael Layzell 149f41856d Bug 1353844 - Part 2: Send permissions to the content process before restoring SessionStorage, r=mikedeboer
MozReview-Commit-ID: 3oyQfHdls2
2017-04-12 11:54:41 -04:00
Michael Layzell 23b5bdff04 Bug 1353844 - Part 1: Parse origin strings correctly in SessionStorage::restore, r=mikedeboer
MozReview-Commit-ID: CL459U1jU3I
2017-04-12 11:54:41 -04:00
Iris Hsiao 9493a7eab5 Backed out changeset a9fb56b87d01 (bug 1348396) for frequent customizableui browser_panelUINotifications.js failures 2017-04-12 18:07:29 +08:00
Ya-Chieh Wu 68460d7321 Bug 1340995 - [pdfium] skip to render key in form when the key is being pressed with Control or Meta. r=ehung.
--HG--
extra : rebase_source : d56f49b844a49e31a25a4f87831db28268618d53
2017-04-13 18:39:00 +08:00
Sebastian Hengst c037a153ff Backed out changeset 7b1f88583896 (bug 1342207) for frequently failing browser_ext_tabs_onHighlighted.js. r=backout 2017-04-13 18:09:13 +02:00
Francesco Lodolo (:flod) a7a127504b Bug 1278189 - Update searchplugin icon for Yahoo! Japan Auction to match current design r=mkaply
MozReview-Commit-ID: L1GX0TAHjgv

--HG--
extra : rebase_source : 18a87e2e61a14c689c67b5c169b81b4cdb6a8cc7
2017-04-10 18:44:51 +02:00
Panos Astithas aa73212e5b Add an index-per-type histogram for awesomebar results (bug 1345834). data-review=bsmedberg r=adw,bsmedberg
MozReview-Commit-ID: HxqENFSYcJy

--HG--
extra : rebase_source : b7bdbc6cdd6d67ed633b19b36418e3272a3f96e5
2017-04-05 17:51:41 +03:00
Ganesh Chaitanya Kale 8d1b6e2ac3 Bug 1343182 - Add updatePlaces' ignoreErrors, ignoreResults and aGroupNotifications to insertMany API in History.jsm. r=mak
MozReview-Commit-ID: 45VbtBu25cP

--HG--
extra : rebase_source : dbae98bcf296ce119980e48a3e303aa279c62dba
2017-04-01 13:10:04 +05:30
Mark Banner 58a6c8c6a4 Bug 1346825 - Import Screenshots version 6.3.0 into mozilla-central. rs=Mossop.
This is imported from https://github.com/mozilla-services/screenshots/.
It has been reviewed as patches landed, but also reviewed by Mossop and kmag.
2017-04-13 09:49:17 +01:00
steveck-chung 7bab97b6fd Bug 1348193 - Handle submit action with earlyformsubmit. r=MattN
MozReview-Commit-ID: Dit9d71GGUw

--HG--
extra : rebase_source : 550b14e23d7a419eb478f863b9ffadd4e610fcbb
2017-03-31 17:49:33 +08:00
Luke Chang d13a18d068 Bug 1299406 - [mortar][PDF] Implement document outlines. r=evelyn
Implements "Sidebar" and "OutlineView" layouts for rendering the bookmarks of PDF

MozReview-Commit-ID: 2Evg13Ohwg

--HG--
extra : rebase_source : d04dd42b9f5f0d79d3290a40cbc4ec23720c864e
2017-04-14 15:31:16 +08:00
Dave Townsend ec5f17632b Bug 1356292: Switch back to triggering principal checks for add-on install permission checking to allow url bar triggered installs to proceed. r=bz, r=aswan
MozReview-Commit-ID: 4HXgGqSGkN0

--HG--
extra : rebase_source : 9a12063d56987d0b9258c88b4d0a2c5cff955210
2017-04-13 14:58:38 -07:00
Eugen Sawin 0b1bae9e19 Bug 1355542 - [2.0] Remove unused web progress callbacks and add missing progress filters. r=felipe 2017-04-13 23:20:17 +02:00
RyanBRiley f7f53449d6 Bug 1353711 - Changing reference to this.AppConstants to parent AppConstants, removing local AppConstants field r=dao
MozReview-Commit-ID: Hgo4FjreOos

--HG--
extra : rebase_source : 490b603e3f3f00d7290e1aadf276079845887fc1
2017-04-13 18:45:00 -06:00
Dão Gottwald a25a473801 Bug 1356183 - Let MousePosTracker use event.clientX instead of event.screenX - window.mozInnerScreenX to avoid flushing layout. r=florian
MozReview-Commit-ID: 5jULHMnWFBW

--HG--
extra : rebase_source : eba1780a107c904225b8c316d48133b8454d447b
2017-04-13 11:44:56 +02:00
Dan Banner 7dd3004039 Bug 1354512 - De-duplicate already ESLint recommended rules in browser/components/migration/. r=standard8
MozReview-Commit-ID: 66hJ6BvTrzY

--HG--
extra : rebase_source : d7b6edea33ef88538f5f89fa7c10e4af2f1bdf04
2017-04-13 11:57:08 +01:00
Bob Silverberg 948af6e263 Bug 1342207 - chrome.tabs.onActivated does not fire for new windows, r=kmag
MozReview-Commit-ID: D9Nwd9lc57x

--HG--
extra : rebase_source : 76d2ff62574469ca1b0d82f4415d9fdfd6a2b8d4
2017-04-04 09:43:50 -04:00
Dão Gottwald 07838f62ff Bug 1356129 - Remove another batch of old UI migration steps. r=mak
MozReview-Commit-ID: 189gkQvVVTf

--HG--
extra : rebase_source : 24f6b8071f5de13271d80a1e4f2a49bd68850c68
2017-04-13 11:59:33 +02:00
Sebastian Hengst f54f97f562 Bug 1352161 - Fix search engine installation from searchbar. r=florian
MozReview-Commit-ID: B9JbHknJLC5

--HG--
extra : rebase_source : 4da7a64c4bdfef8631989dad866bcbdec83529a7
2017-03-31 00:27:05 +02:00
Wes Kocher 20dd5f52c2 Merge m-c to autoland, a=merge 2017-04-13 17:35:34 -07:00
Wes Kocher 2aa3f2f2e2 Merge m-c to autoland, a=merge 2017-04-19 17:17:20 -07:00
Jared Wein edf52b9061 Bug 1357905 - Add missing _removeMasterPassword function that got lost in the re-org, as well as a test to confirm that the master password functionality works. r=mossop
I checked each function of the old security.js to make sure there weren't any other missing functions.

MozReview-Commit-ID: DpFcAYsfcyg

--HG--
extra : rebase_source : 5d1b25ebde5a0cf8849210315c773bf25c10e7a3
2017-04-19 18:52:22 -04:00
Gijs Kruitbosch 6f2b808f63 Bug 1354071 - test that using subviews in the overflow panel works, and that non-subview panels also work, r=mikedeboer
MozReview-Commit-ID: 4mzMQ2BBYLs

--HG--
extra : rebase_source : c4c236e74e8fd24745371937c9ca0c4ef5471bd0
2017-04-19 11:50:21 +01:00
Gijs Kruitbosch 6e172a32c1 Bug 1354071 - make sure context menu continues to work correctly, r=mikedeboer
MozReview-Commit-ID: DZiwogYyDBv

--HG--
extra : rebase_source : ea3a2f6914b02738c02878e75717d3d02548d0d7
2017-04-19 11:21:12 +01:00
Gijs Kruitbosch 0d9f28833b Bug 1354071 - use a panelmultiview for the overflow panel, r=mikedeboer
MozReview-Commit-ID: ERZuwC6eYQf

--HG--
extra : rebase_source : bb000fcd948897ff0694de8943223651e1e061ca
2017-04-18 12:16:47 +01:00
Johann Hofmann 0367a0da9f Bug 1358083 - Rename browser/themes/shared/toolbarbuttons.inc.css to toolbarbutton-icons.inc.css. r=dao
MozReview-Commit-ID: 2jY3sq5k62y

--HG--
rename : browser/themes/shared/toolbarbuttons.inc.css => browser/themes/shared/toolbarbutton-icons.inc.css
extra : rebase_source : c253f549f95ebcb72b125b0d3ee72700048129a3
2017-04-20 12:56:26 +02:00
Scott Wu 3b7b555b2e Bug 1352331 - Swap the cancel and save buttons on edit profile dialog for Windows. r=lchang
MozReview-Commit-ID: I3kvKClOIIO

--HG--
rename : browser/extensions/formautofill/content/editProfile.css => browser/extensions/formautofill/skin/shared/editProfile.css
extra : rebase_source : 07567a5e708d3a3660baeb16eb4565e630c4cad7
2017-04-18 17:42:03 +08:00
Jim Porter 3517459260 Bug 1352069 - Introduce a pref that allows for disabling cosmetic animations r=jaws
This rolls browser.tabs.animate, browser.fullscreen.animate, and
alerts.disableSlidingEffect into a single pref; if any of these are disabled,
we'll disable the new pref too (toolkit.cosmeticAnimations.enabled). Most
future animations will also be subject to this pref.

MozReview-Commit-ID: 77pLMtERDna

--HG--
extra : rebase_source : 8939e453c2277caa4a90123ae09bb542aaa421ed
2017-04-11 13:47:31 -05:00
Dão Gottwald 21dfebdfc4 Bug 1357812 - Remove "Upgraded notifications" notification from UI migration. r=kitcambridge
MozReview-Commit-ID: 4hrPTyqQ9ge

--HG--
extra : rebase_source : 44b75ff45c463490adbf609c1f5a55002a03d533
2017-04-19 18:43:00 +02:00
Andrew Swan 48d2c6f7c7 Bug 1343498: Don't fail on unparseable host permissions r=kmag
MozReview-Commit-ID: BHIzjjz23N7

--HG--
extra : rebase_source : d8b684281c04fc70e29737fbd67bc92725860114
2017-04-14 16:45:10 -07:00
Dão Gottwald 018f2a4a4e Bug 1356210 - Clean up TelemetryStopwatch.start calls for FX_TAB_CLOSE_TIME_ANIM_MS and FX_TAB_CLOSE_TIME_NO_ANIM_MS probes. r=Dexter,mconley
MozReview-Commit-ID: IvOerEtYY6T

--HG--
extra : rebase_source : 33650428b3e416c9fd78ccbcfca6f9e82d2824ef
2017-04-19 17:25:34 +02:00
Mike de Boer 63416d6294 Bug 1355596 - disable the modal highlighting feature on Nightly, until more progress is made on the bugs that are blocking this feature. r=jaws
MozReview-Commit-ID: HbzrvF5XPny

--HG--
extra : rebase_source : 9aaca481f43159c90a10dbaaff5616e7d1696670
2017-04-19 12:04:22 +02:00
Dan Banner 229f42c417 Bug 631271 - Don't ship with defaults/profile/prefs.js r=bsmedberg
MozReview-Commit-ID: 1wz3BHEZa8N

--HG--
extra : rebase_source : 2398f3e19d70b7a6a47ba9a80c17029dad1276f0
2017-04-18 14:56:15 +01:00
Dão Gottwald 63a5af42e4 Bug 1345315 - Remove obsolete tab animation telemetry. r=mconley
MozReview-Commit-ID: 2BopUnpHF8J

--HG--
extra : rebase_source : d01a488d3b89bd4b0194eaa219cceeffb2477fa9
2017-04-19 11:56:24 +02:00
Carsten "Tomcat" Book 7bcdfe36bc Merge mozilla-central to autoland 2017-04-19 10:57:24 +02:00
Gijs Kruitbosch d7d806af44 Bug 1354095 - add new {,private} window buttons to photon panel r=mikedeboer
MozReview-Commit-ID: EZ8GtGIPpNL

--HG--
extra : rebase_source : 0e0611e544ee3c03cbd4a2de7195b4901bae7180
2017-04-11 22:52:13 +01:00
Iris Hsiao 46da97a051 Backed out changeset debf5e53a136 (bug 1352331) for build bustage
--HG--
rename : browser/extensions/formautofill/skin/shared/editProfile.css => browser/extensions/formautofill/content/editProfile.css
2017-04-19 11:46:11 +08:00
Scott Wu 70caa720cc Bug 1352331 - Swap the cancel and save buttons on edit profile dialog for Windows. r=lchang
MozReview-Commit-ID: I3kvKClOIIO

--HG--
rename : browser/extensions/formautofill/content/editProfile.css => browser/extensions/formautofill/skin/shared/editProfile.css
extra : rebase_source : b0b90fd50c049d9d7dd721e107e1356486e07bd4
2017-04-18 17:42:03 +08:00
Edouard Oger 89feeeb67a Bug 1355481 - Avoid initializing Sync on window unload if Sync is not configured. r=markh
MozReview-Commit-ID: J0xUODSMzhe

--HG--
extra : rebase_source : 77df58ec19c4ec0777847c843fc49e3ed079a32b
2017-04-17 16:28:38 -04:00
Jeff Walden c543ba16aa Bug 1350613 - Don't repeatedly create DateTimeFormat instances for the exact same set of options, but instead use cached formatters. r=markh
MozReview-Commit-ID: 6FteRerCH2x

--HG--
extra : rebase_source : 32139573340ee4fa9c331756a35e92eac9718bfd
2017-04-14 13:29:02 -07:00
Edouard Oger a743c966f7 Bug 1354738 - Don't force Sync initialization on context menu open. r=markh
MozReview-Commit-ID: JBwGTW9nLSl

--HG--
extra : rebase_source : 159adab098b4f21a7128ae78a4e25ac6876479e6
2017-04-17 16:52:35 -04:00
Marco Bonardo 12dcd10d01 Bug 1356567 - root icons should still create a page association if the domain differs. r=adw,kitcambridge
Root domain icons are no more associated with their pages, BUT if the page uses
a root domain icon from another domain, it should still get an association with it
or we couldn't relate the two.

This also fixes an overlooked problem in PlacesTestUtils where Date objects
cross a boundary and fail instanceof checks. This causes failures in the same
test that this patch is modifying.
To protect from future similar issues some protection has been added to updatedPlaces
so that it will crash in debug builds.

MozReview-Commit-ID: 3MTKhGj3ehj

--HG--
extra : rebase_source : 55120252e7ea8abb91f21ca2486deddc43795142
2017-04-14 20:34:27 +02:00
Carsten "Tomcat" Book 16969b40e2 Backed out changeset eb94759f0fcf (bug 1356567) for test failures in own test 2017-04-18 12:58:09 +02:00
Gerald Squelart 3f7d93aadf Bug 1357209 - Add label=type-media to invoked webcompat URL - r=Gijs
Following https://github.com/webcompat/webcompat.com/issues/1360 , WebCompat
now accepts an arbitrary label (to help with sorting incoming reports), which
for media issues should be "type-media".

MozReview-Commit-ID: B3vaUOlhTBm

--HG--
extra : rebase_source : 73b32a3581cec665c11e745e59e6e025d9222e85
2017-04-18 14:11:51 +12:00
Carsten "Tomcat" Book 7758f49b61 Merge mozilla-central to autoland 2017-04-18 10:40:53 +02:00
Marco Bonardo 5238755b71 Bug 1356567 - root icons should still create a page association if the domain differs. r=adw,kitcambridge
Root domain icons are no more associated with their pages, BUT if the page uses
a root domain icon from another domain, it should still get an association with it
or we couldn't relate the two.

This also fixes an overlooked problem in PlacesTestUtils where Date objects
cross a boundary and fail instanceof checks. This causes failures in the same
test that this patch is modifying.
To protect from future similar issues some protection has been added to updatedPlaces
so that it will crash in debug builds.

MozReview-Commit-ID: 3MTKhGj3ehj

--HG--
extra : rebase_source : e36ba1ab41649927f92fee053c10bf43474a0bcf
2017-04-14 20:34:27 +02:00
Olli Pettay 13c3eda8c6 Bug 1352523, add more hacks to browser_parsable_css.js to make it not fail randomly, r=poirot
--HG--
extra : rebase_source : c3008d8e8fbb13f64986e5892f654ead7a74be32
2017-04-12 12:55:03 +03:00
Dão Gottwald 3b1a745a0f Backed out changeset 76ad1c764e5c 2017-04-12 10:29:35 +02:00
Dão Gottwald e1fa74973b Backed out changeset 2e86b8405b5f 2017-04-12 10:29:00 +02:00
Chris Peterson a38084c85f Bug 1354778 - Remove expired telemetry probes PLUGIN_ACTIVATION_COUNT and PLUGIN_TINY_CONTENT. r=bsmedberg
As of Firefox 52, Flash is the only NPAPI plugin ever activated. As a keyed histogram for all plugin names, PLUGIN_ACTIVATION_COUNT telemetry is unwieldy to view. We can use the BLOCKED_ON_PLUGIN_INSTANCE_INIT_MS telemetry probe's sample count to track the number of Flash instantiations.

MozReview-Commit-ID: 62iGNLQ0nnE

--HG--
extra : rebase_source : b4a31a6bcb7b2525693b078838de726023f37d14
2017-04-11 20:39:58 -07:00
Iris Hsiao 944f87c575 merge mozilla-inbound to mozilla-central a=merge 2017-04-12 11:16:46 +08:00
Sebastian Hengst 12bbf7f45f Backed out changeset d6d5806e5695 (bug 1348396) for frequently failing modified test. r=backout 2017-04-11 21:31:41 +02:00
Sebastian Hengst 96a2cd81fe Backed out changeset afb421c9af44 (bug 1351675) for leaving unreferenced file pins.json in tree. r=backout 2017-04-11 21:23:05 +02:00
Zibi Braniecki 9f6c244d29 Bug 1354445 - Migrate Intl.DateTimeFormat to mozIntl.DateTimeFormat in chrome. r=mak
MozReview-Commit-ID: 4z13lcLXN9T

--HG--
extra : rebase_source : 8043212542b95ca76cf5957fa1ca05e6943fb635
2017-04-08 23:04:32 -07:00
Olli Pettay 30d60038dd Bug 1352523, trying to fix browser_parsable_css.js to not depend on previous tests, r=Gijs
--HG--
extra : rebase_source : 4759251a81be9fc1df4ccdb65d0667aeae32d043
2017-04-11 16:25:48 +03:00
Sebastian Hengst 6312629bc7 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-04-11 11:35:10 +02:00
Sebastian Hengst 51beeffdec Backed out changeset bc87945ba833 (bug 1342178)
MozReview-Commit-ID: 2TLlzk8hOZY
2017-04-11 11:28:05 +02:00
Yoshi Huang 34f66889f3 Bug 1346713 - Generate unique firstPartyDomain value for NullPrincipal. r=smaug
In the past we used a fixed value for the firstPartyDomain of
NullPrincipal, now we derive it from the path of NullPrincipal, so it
will be unique everytime we create it.
2017-04-11 16:48:34 +08:00
Jonathan Hao e5a3b0c533 Bug 1342178 - Pass origin attributes to isSecureURI in devtools and browser. r=keeler,past
MozReview-Commit-ID: HIOYH8iUUkO

--HG--
extra : rebase_source : 2512cb3e403093e0f18b3b979d7b4a10e3d7c42b
2017-04-11 10:14:10 +08:00
Tim Huang 8f6d9f30c3 Bug 1351084 - Making the TabState.jsm collecting 'iconLoadingPrincipal' from browser.mIconLoadingPrincipal. r=mikedeboer
The browser.contentPrincpal will report a null prinicpal instead of the actual
content principal if the tab is not loaded. So the SessionStore will collect a
wrong principal for the 'iconLoadingPrincipal', and it will use this wrong
principal to load favicon when session restoring.

To fix this problem, this patch makes the TabState.jsm to collect
'iconLoadingPrincipal' from browser.mIconLoadingPrincipal which will be the
correct principal for loading favicon.

MozReview-Commit-ID: AYUbHFKaG8v

--HG--
extra : rebase_source : 3e2333f18c221d415bd0e26bc416a841344cef2c
2017-03-29 10:46:01 +08:00
Andy McKay a51c96851d bug 1323311 make tabs.move on multiple tabs more reliable r=kmag
MozReview-Commit-ID: 9o4huF1f60g

--HG--
extra : rebase_source : 392718783a20d59860cf8315b1687985799f076e
2017-04-10 11:18:04 -07:00
Wes Kocher 5eabc03c18 Merge m-c to autoland a=merge 2017-04-10 16:55:21 -07:00
Wes Kocher 05965b79a9 Merge inbound to central, a=merge 2017-04-10 16:32:45 -07:00
Mike de Boer d84d119582 Bug 1350053 - Part 2 - Update tests to check the arrow panel to appear, instead of the notification bar. r=mossop
MozReview-Commit-ID: G4Hkb7KQ79X

--HG--
extra : rebase_source : cb959e1f87d69f0d89113fdcd15406c187a9e74b
2017-04-10 16:17:36 +02:00
Mike de Boer 0154e989a3 Bug 1350053 - Part 1 - Change install flow of Light-weight Themes (LWT) to use PopupNotifications, instead of notification boxes. r=mossop
The newer Theming API follows the WebExtension install flow, which uses
PopupNotifications to request permission before installation, show progress and
notify upon install completion. This patch makes sure that older LWTs follow that
same flow.

MozReview-Commit-ID: C7X2si0a47J

--HG--
extra : rebase_source : 76f6283818dd69f62c4d59b6b11c5e90d37145a2
2017-04-10 16:16:50 +02:00
Mark Banner 1db8f21862 Bug 1353374 - Fix regression where the taskbar button wasn't showing the download progress. r=mak
Put back in line that was incorrectly removed previously, and add a test.

MozReview-Commit-ID: FEl8fT1uCDm

--HG--
extra : rebase_source : 549b4d9ab9c963ab5a92b81311cffe07fae6953c
2017-04-05 15:28:06 +01:00
Doug Thayer 4385b3a50b Bug 1354774 - http URLs in browser.dtd for appUpdate r=rstrong
MozReview-Commit-ID: JfBCUt3lYsV

--HG--
extra : rebase_source : 190d3cec2bcee9317221c785db26206bc532cce7
2017-04-10 11:26:48 -07:00
Wes Kocher 59b56514c9 Backed out 4 changesets (bug 1342178) for frequent test_network_security.html failures a=backout
Backed out changeset 7f9114ffbcae (bug 1342178)
Backed out changeset f19289f0cfef (bug 1342178)
Backed out changeset 4afce44bc2b9 (bug 1342178)
Backed out changeset db9b64a44012 (bug 1342178)

--HG--
rename : devtools/shared/webconsole/test/test_network_security.html => devtools/shared/webconsole/test/test_network_security-hpkp.html
2017-04-10 12:34:10 -07:00
Doug Thayer fdb8261fdd Bug 1354949 - Add 'the' to updateRestart message r=rstrong
MozReview-Commit-ID: 6YRiOT88dTi

--HG--
extra : rebase_source : 26efec627c2a3b5b026def1c80baf0da435543c6
2017-04-10 11:15:53 -07:00
Andrew Swan a02a18c1e5 Bug 1352152 Fix several issues with optional webextension permissions r=kmag
1. Use the right strings in permission dialogs
2. Don't show permissions dialogs for non-promptable permissions
3. Enable dialogs by default

MozReview-Commit-ID: JJdxxcP7IeU

--HG--
extra : rebase_source : b5525cbae3822f3e2727788fd63580e6d5bd8293
2017-04-10 19:12:23 -07:00
Doug Thayer dbf506b14a Bug 1354855 - Set update timer prefs in new update tests r=rstrong
In the log file attached to this bug, we see multiple requests for
background updates come in at the same time. I can't see a way for
this to happen other than notify being called while the test is
running.

MozReview-Commit-ID: Gm0vW32X6mN

--HG--
extra : rebase_source : fe220a940b07bc45c10b460c22408eeecf3a3059
2017-04-12 13:47:42 -07:00
Matt Howell 64a247fee9 Bug 1354325 - Update the StartMenuInternet registry keys in PostUpdate. r=agashlin
MozReview-Commit-ID: COH5TM5ck7Y

--HG--
extra : rebase_source : 0baee4605d0b629fc4bb19b111ef298ad43155ff
2017-04-10 15:50:21 -07:00
Mark Banner 7e2d02b47d Bug 1346825 - Setup build configuration for Firefox Screenshots in Firefox (and disable screenshots by default). r=gps,Mossop
Screenshots is a system add-on imported from https://github.com/mozilla-services/screenshots/.

This is the initial build system patch for building screenshots. ESLint is ignored since Screenshots currently use their own version (this may change in the future).

MozReview-Commit-ID: 4OEcaduaeWE
2017-03-10 12:34:54 +00:00
Bill McCloskey 6aea6a4e29 Bug 1355997 - Remove Firefox 'add-ons' from CPOW whitelist (r=mrbkap)
MozReview-Commit-ID: HunklmWsWHf
2017-04-12 20:15:32 -07:00
Aaron Klotz 157a405af7 Bug 1355968: Ensure AccessibleHandler.dll is registered in PostUpdate; r=mhowell
MozReview-Commit-ID: 844rRTVvIIW

--HG--
extra : rebase_source : 471859db84d5c63318f488a0e70809344db39048
2017-04-12 14:46:05 -06:00
Kris Maglione 307bb6e57e Bug 1355120: Get rid of top-level window ID tracking. r=aswan
MozReview-Commit-ID: y7DzMxXBot

--HG--
extra : rebase_source : 0c68bc16eaa016bc7d0e228a95e10d9348dda59f
2017-04-12 14:12:22 -07:00
Mike Hommey e6384ead02 Bug 1356927 - Remove unused macosx64 tooltool manifest for ASAN. r=gps
--HG--
extra : rebase_source : 1eb3a5f23018f051dcda97551be44f5940df4f0c
2017-04-17 08:11:34 +09:00
Mike Hommey a96c49d17d Bug 1356927 - Update non-cross mac builds to clang 3.9. r=gps
--HG--
extra : rebase_source : ddbd81837cf7bd0ee72d0b8d0fb8f2ba2b86e44f
2017-04-17 08:07:28 +09:00
Mike Hommey eba57cc76d Bug 1356929 - Refresh cctools used on mac builds. r=gps
The version we update to is the current result from the
macosx64-cctools-port toolchain job.
(gotten with `mach artifact toolchain --from-build macosx64-cctools-port --nounpack`
and uploaded to tooltool)

--HG--
extra : rebase_source : 5d980012de2dfab0556ccb7ed27c434047054523
2017-04-17 08:20:33 +09:00
Shane Caraveo f6660740ac Bug 1326298 implement off-main-thread delivery with start/stop/error listeners, r=kmag
MozReview-Commit-ID: Ke4NsthrbP2

--HG--
extra : rebase_source : 0324030e5f7f534256ff0c469bb486dc52e282c2
2017-04-18 15:50:53 -07:00
k88hudson b607e644b6 Bug 1350411 - Add Message Channel for Activity Stream system add-on r=mconley
MozReview-Commit-ID: DCcGDjKdIHh

--HG--
extra : rebase_source : e4cb58d733c159aa9299348f089e062aa2c2bdd2
2017-04-07 14:13:14 -04:00
Drew Willcoxon 376e3a8e45 Bug 1295460 - Update the background color of the one-off search buttons. r=florian
MozReview-Commit-ID: 3iKLQcb59aT

--HG--
extra : rebase_source : 8d8df6e3bef12d2baba2165cfc12b81cb29ced30
2017-04-10 19:07:57 -07:00
Blake Kaplan 68bfe109db Bug 1349363 - Run an experiment in beta for e10s-multi. r=Felipe
MozReview-Commit-ID: 8P0pbWZJ8uz

--HG--
extra : rebase_source : 73ce1bcd49165e74fca577b358c1b40b3b233c4d
2017-04-17 15:45:47 -07:00
Blake Kaplan c0d02b25be Bug 1349363 - Use a centralized function to tell if e10s-multi is on. r=Felipe
MozReview-Commit-ID: JQJtCanIv3a

--HG--
extra : rebase_source : e459489211499ccc65b3b834ed0ec4e4d751994e
2017-04-17 14:58:52 -07:00
Wes Kocher 9f7208991b Backed out changeset 6404057679f4 (bug 1332386) for frequent failures in browser_preview_switch_print_selected.js a=backout 2017-04-18 16:21:58 -07:00
Matt Howell 343a32dcce Bug 1357161 - Replace shortcut icons on application update. r=agashlin
MozReview-Commit-ID: LHrN4eXwRFt

--HG--
extra : rebase_source : 9ea8d0b3da94cbf111985c9a5033195d8180ee8b
2017-04-17 16:06:46 -07:00
Wes Kocher be39489f68 Merge m-c to autoland, a=merge 2017-04-18 14:40:48 -07:00
Mike Hommey 87c96634a2 Bug 1356932 - Use the same clang as asan builds in normal builds. r=froydnj
They are, in fact, the same version already, built from the same version
of clang-static-analysis-linux64.json, but one comes from a now expired
try build, and the other from a build on mozilla-central, that can still
be traced down:
https://tools.taskcluster.net/task-inspector/#Ro1bUCv4Svu2OWuQsOF_hA/0

--HG--
extra : rebase_source : 776314cecb3cba7043a02f4e1f2f4feb4b51731c
2017-04-17 08:29:22 +09:00
Matheus Longaray 89917b659f Bug 1332386 - Create extra print preview browser when using Simplify Page option. r=mconley
This patch creates a new print preview browser to host the simplified cloned-document
when Simplify Page option is used on preview. Also, this patch keeps track of what browser
should be presented, based on whether the 'Simplify page' checkbox is checked.

MozReview-Commit-ID: 77pLXhdbpPp

--HG--
extra : rebase_source : 7201f230299c571d6c3a86ce650d6852c43e0943
2017-04-18 22:21:10 +02:00
Jared Wein f9d7bab84d Bug 1356508 - Buttons on the right-side of the preferences UI should be mainly uniform in width. r=mconley
MozReview-Commit-ID: I03pYYpYREv

--HG--
extra : rebase_source : 22cf2f7f7d3f9b3a029802e9561415156aadfa69
2017-04-14 17:09:01 -04:00
Dão Gottwald 35b9a98296 Bug 1356655 - Let adjustTabstrip return early if the tab strip is overflowing. r=florian
MozReview-Commit-ID: LKYuFidCHWa

--HG--
extra : rebase_source : 79102ec02ec5d604ec0bb29d04567d7100a798db
2017-04-16 17:08:42 +02:00
Aaron Klotz 92ce20591b Bug 1357194: Use MOZ_UPDATE_CHANNEL to distinguish between local/nightly and beta/release builds for AccessibleHandler CLSIDs; r=mhowell,mshal
MozReview-Commit-ID: Kp8x5o66nrY

I want AccessibleHandler.dll to use different UUIDs based on release channel.
The way I was doing it before wasn't working correctly because I also wanted
local builds to have their own set of UUIDs vs our regular Nightly/Beta/Release
builds.

I also want the beta channel to have its own set of UUIDs that are distinct
from release.

I'm using MOZ_UPDATE_CHANNEL to distinguish between the channels when
NIGHTLY_BUILD and BETA_OR_RELEASE are insufficient.

--HG--
extra : rebase_source : 8cb28a22a3cac16fb743a8fe81db5e120c1fdf6d
2017-04-17 14:47:41 -06:00
Dão Gottwald 24b6ac598b Bug 1356663 - Calculate the status panel's mouse target rectangle lazily in getMouseTargetRect. r=florian
MozReview-Commit-ID: 1g07rylDWkx

--HG--
extra : rebase_source : 4b2248d79e172e2096038d5ea83f7bdc3a15461e
2017-04-16 16:43:53 +02:00
Gijs Kruitbosch 08d6dac87a Bug 1352043 - attempt to fix intermittents by forcing an initial system load in HiddenFrames, r=kmag
MozReview-Commit-ID: 5iBIqPclToU

--HG--
extra : rebase_source : b10e0e64661dffe6058c01d40a50af7c8291a430
2017-04-10 15:55:53 +01:00
Mike Conley 36ea32d206 Bug 1357098 - Fix off-by-one error in SessionStore when preparing deferred restore data. r=mikedeboer
Bug 588482 made it possible to restore pinned tabs in windows before restoring the rest of the
tabs. Part of this involves extracting the pinned tab data from the last session, and make it
the default state to restore. The rest can be restored later.

If one of the pinned tabs in a window were selected, the code that was preparing the default
state for that window set the selection value by calculating the length of the tabs array
(before adding the selected one), and adding 2. Presumably, 1 count is because of the tab
we're about to add, and another count is due to how the "selected" value in SessionStore
is 1-indexed (where "0" means, "don't change the selection").

This is an off-by-one error though, since the tabs array length already cancels out the
need for the extra "1-index" difference. It is sufficient to just add 1 to the length of
the tabs array to calculate the selected value.

This appears to have been a bug for a while, but was covered up by the fact that the old
tab selection code exited early if the 0-indexed value of the selected tab was not within
the length of the tabs array. Bug 1351677 uncovered this bug by removing that second check.

This patch fixes the off-by-one error, and also puts a check back in to ensure that the tab
we're going to select is at a valid index.

MozReview-Commit-ID: 9WbbU0vUJHG

--HG--
extra : rebase_source : cd5f4432c23084b672a844da40879bf53e393596
2017-04-25 18:03:12 -04:00
Andreas Pehrson 936d360598 Bug 1320994 - Remove chrome-test hacks that accomodated the misaligned MediaManager model. r=florian
MozReview-Commit-ID: BS693gGyVhm

--HG--
extra : rebase_source : ae85538f9150f8c272ca90ff43a9348b69f7bc22
2017-04-07 15:30:43 +02:00
Andreas Pehrson f246a81c6d Bug 1320994 - Re-enable tests. r=florian
MozReview-Commit-ID: KGe95JhBoVD

--HG--
extra : rebase_source : 23dfba0783dcba9b89955724e62c7c4344262c82
2017-03-28 16:03:21 +02:00
Fischer.json 1338acd53a Bug 1348252 - Disable buttons and display loading message in Site Data section while loading data, r=Gijs
MozReview-Commit-ID: 9EfG71hRoDe

--HG--
extra : rebase_source : 5163e88d3ebd7b7dd0578b27e9934e6a340bf6fb
2017-04-05 22:28:30 +08:00
Iris Hsiao adc828742f Backed out changeset efb859759339 (bug 1323311) for eslint failure 2017-04-10 11:12:20 +08:00
Prathiksha ad36dbc902 Bug 1333532 - Changed the permissions.js file to make the Page Info dialog work. r=johannh
MozReview-Commit-ID: 2zJeMhtYEds

--HG--
extra : rebase_source : 7db88f2451c740e1b5179d81f699ead14fbd585f
2017-04-09 16:50:02 +05:30
Andy McKay 0cfe55b71e bug 1323311 make tabs.move on multiple tabs more reliable r=kmag
MozReview-Commit-ID: 9o4huF1f60g

--HG--
extra : rebase_source : 53e7b0830f7ee3ce7b99bea39d2ae7e2967596fb
2017-04-07 16:52:00 -07:00
Prathiksha 68df0b85af 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: LIsJ8VG0stN

--HG--
extra : rebase_source : 975e6684f0872ea3f0e42bf073f1bceec12d5bc7
2017-04-09 11:45:01 +05:30
Mike Conley 7f712307f1 Bug 1349787 - Make sure browser_tabCloseProbes.js waits for tabs to be fully open before closing them. r=mossop
The tests in browser_tabCloseProbes.js were closing tabs without waiting for them
to be fully open, and when they're not fully open, closing occurs without animation.

This was intermittently breaking the test for the probe that checks that we add
a count to the right histogram when closing with animation.

MozReview-Commit-ID: 5Qz7mZvtbkB

--HG--
extra : rebase_source : 0d794faebc8e751bfcd15476ae849018dfb1f6c1
2017-04-07 10:45:56 -04:00
Sebastian Hengst 6a5fe3bae0 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: IkoXCAwjjKu
2017-04-08 22:49:04 +02:00
Dão Gottwald c951251cca Bug 1354782 - Re-use pinned tab width to avoid layout flush and invalidation loop in _positionPinnedTabs. r=florian
MozReview-Commit-ID: 98eGdDUXLm2

--HG--
extra : rebase_source : d454599f50aabbefd6144d7051cb293025e7e1ae
2017-04-08 09:17:03 +02:00
Dão Gottwald cac52d46df Bug 1354781 - Filter scrollbox overflow and underflow events more accurately. r=florian
MozReview-Commit-ID: 6GJjO89q2s2

--HG--
extra : rebase_source : 3446a64267234eb36cc9c358c4a88c5b30e6fe62
2017-04-08 09:02:40 +02:00
kernp25 656efd183a Bug 1339416 - contextMenus.OnClickData should have the frameId. r=mixedpuppy 2017-04-04 12:00:16 +02:00
ffxbld c288e8360e No bug, Automated blocklist update from host bld-linux64-spot-307 - a=blocklist-update 2017-04-07 09:18:33 -07:00
Carsten "Tomcat" Book e9a1efbf89 Backed out changeset d4b635aa0c2e (bug 893505) for eslint failure
--HG--
extra : rebase_source : 4d3d223400907e2ed63384a6cf457a0b41d2624e
2017-04-07 15:53:19 +02:00
Carsten "Tomcat" Book 3a762886de Merge mozilla-central to mozilla-inbound 2017-04-07 15:33:03 +02:00
Tim Taubert 4da3a7f72e Bug 912717 - Tiny follow-up to fix ESLint bustage caused by a test file r=bustage 2017-04-07 15:09:46 +02:00
Tim Taubert afed0705da Bug 912717 - Don't let SessionCookie collection jank the chrome process r=mikedeboer
Current state:
--------------

Session cookies - those that have no Expires or Max-Age directive, sent as a
header or set via document.cookie - are meant to live for the duration of a
session. SessionStore is a feature that aims to enable users to resume where
they left off last time they closed the browser. So SessionStore will persist
and restore those cookies that the cookie service only keeps in memory.

SessionCookies.jsm registers observers with the cookie service and is thus
notified of cookie additions, deletions, and modifications as-it-happens. It
has its own internal storage that we could easily serialize and write to disk
together with the rest of the session data.

The hangs shown in various profiles stem from the fact that since the inception
of SessionStore as an add-on around Firefox 2, cookies have been tacked to
windows. This means that whenever we collect session data for a specific
window (i.e. tabs, their shistory entries, etc.) we have to iterate *all* its
tabs and *all* their shistory entries to enumerate the hosts contained in that
window. We will then ask the internal cookie store in SessionCookies.jsm to
give us all cookies for these hosts and then store them together with the
window. This way we filter out cookies from tabs/hosts that have no active
documents (BFCache counts as "active").

Changes in this patch:
----------------------

Instead of trying to only retain cookies from “active” documents, i.e. those
contained somewhere in the shistory of a tab, we now simply save all session
cookies of the session. This will surely reduce user complaints about us
"logging them out" too fast because we discard cookies from tabs they
open only once in a while, although those definitely belong to the
browsing session.

Instead of storing the cookies per each window we now have a top-level
"cookies" attribute that is a list of cookies. These get restored whenever we
restore a session. Legacy window.cookies attributes will still be restored to
support older session formats for a while.

The DEFER_SESSION startup mode is active by default when a user choses not to
restore their whole session automatically but they still have one or more
pinned tabs. These pinned tabs are restored automatically and split off of the
rest of the session. The rest can be restored manually if the user chooses to
do so.

In the past, we here extracted and restored only the pinned tabs' cookies from
the last session. This filtering also works against how some sites (e.g.
Google) use session cookies. It also means we have to iterate all windows,
tabs, shistory entries, and cookies to find the data we want.

This patch changes our past behavior so that we now restore only pinned tabs
but all session cookies. So we don't have to filter, and pages will break less
likely. We hereby assume that a user having pinned tabs wants to continue their
browsing session partially, although without Firefox remembering the exact list
of tabs. Or they simply like starting off of a clean slate.
2017-04-07 14:41:38 +02:00
Johann Hofmann 9cd3d14848 Bug 1337772 - Part 2 - Explicitly trigger a mousedown event before opening the context menu in browser_context_menu.js. r=MattN
MozReview-Commit-ID: ADTskzMoK9t

--HG--
extra : rebase_source : 6133986c9e3c470f6e2fb3c5a172a82c0f07fd8a
2017-04-06 11:00:11 +02:00
Phil Ringnalda cb5344f715 Backed out changeset 228a6487d0c1 (bug 1350781) for eslint failures
CLOSED TREE
2017-04-06 21:16:03 -07:00
Ehsan Akhgari 3ee2f84634 Bug 1350781 - Avoid recomputing gBrowserThumbnails._topSiteURLs for 1 minute after computing it to speed up session restore; r=markh 2017-04-06 23:26:08 -04:00
Doug Thayer 765003669c Bug 893505 - Simplify the application update UI. r=Gijs, r=enndeakin, r=rstrong, data-r=bsmedberg
There are quite a few changes in here. At a high level, all we're trying to do is to replace the old update popup with a less intrusive and more modern doorhanger (set of doorhangers) for various update success and failure conditions.
2017-04-06 17:20:36 -07:00
Sebastian Hengst 3f2001d7b9 Backed out 2 changesets (bug 893505) for failing eslint. r=backout
Backed out changeset 5880d471d75c (bug 893505)
Backed out changeset 3246d7cb2729 (bug 893505)
2017-04-07 01:04:54 +02:00
Robert Strong 8f137a0e86 Followup eslint fix for Bug 893505. r=me 2017-04-06 15:50:20 -07:00
Wes Kocher 7da1f4c235 Merge m-c to inbound a=merge 2017-04-06 15:30:43 -07:00
Doug Thayer 06dfd98d7d Bug 893505 - Simplify the application update UI. r=Gijs, r=enndeakin, r=rstrong, data-r=bsmedberg
There are quite a few changes in here. At a high level, all we're trying to do is to replace the old update popup with a less intrusive and more modern doorhanger (set of doorhangers) for various update success and failure conditions.
2017-04-06 15:09:16 -07:00
Wes Kocher 0c3144c6f6 Merge inbound to central, a=merge 2017-04-06 15:01:34 -07:00
Ryan VanderMeulen 91cbca3e88 Backed out changeset 5de79bf87514 (bug 1354081) 2017-04-06 09:50:40 -04:00
Ryan VanderMeulen 2ad48ad061 Bug 1354081 - Update pdf.js to version 1.7.418. r=bdahl 2017-04-06 15:32:15 +02:00
Sebastian Hengst 1074351606 Backed out changeset 3fd845171474 (bug 1354081) for rooting hazard. r=backout 2017-04-06 15:24:10 +02:00
Ryan VanderMeulen f1e573b0c7 Bug 1354081 - Update pdf.js to version 1.7.418. r=bdahl 2017-04-06 08:43:36 -04:00
Joel Maher 16ec3a15a0 Bug 1341980 - Intermittent browser/components/sessionstore/test/browser_819510_perwindowpb.js - disable on osx. r=gbrown
MozReview-Commit-ID: J3IL8cHAmau
2017-04-06 07:29:53 -04:00
Carsten "Tomcat" Book 207b516e89 merge mozilla-inbound to mozilla-central a=merge 2017-04-06 12:50:50 +02:00
Mark Banner 585bf398ea Bug 1342459 - Enable no-undef on browser/base, and clean up unnecessary no-undef references. r=mossop
MozReview-Commit-ID: KVrAnAjMD1E

--HG--
extra : rebase_source : 7a9651c055e2c6e959d42d08e5be9de2e2265346
2017-04-03 11:46:56 +01:00
Mark Banner 92c422a2d6 Bug 1342459 - Add a rule to automatically detect ContentTask.spawn and inject the relevant globals. r=mossop
This reduces the amount of places where we need to specify the mozilla/frame-script environment. It does have
the side effect of allowing those globals in the whole file, but that is what specifying the environment would
do, and this is also for mochitest test files only.

MozReview-Commit-ID: 1LLFbn6fFJR

--HG--
extra : rebase_source : 82a6934d90bbbbd25f91b7b06bf4f9354e38865a
2017-04-05 10:00:25 +01:00
Mark Banner 427e3b23dc Bug 1342459 - Fix various no-undef issues in browser/base. r=mossop
MozReview-Commit-ID: CRYxu7copKb

--HG--
extra : rebase_source : bc176c5e6890ffc6a4e26cb9bc9d441d9486ce7b
2017-04-04 13:42:33 +01:00
Phil Ringnalda 3654f8f62b Backed out changeset 0a3044dc01d2 (bug 1354342) for eslint bustage 2017-04-06 20:26:36 -07:00
Andy McKay da7650dff2 bug 1354342 allow a relativeUrl for homepage r=mixedpuppy
MozReview-Commit-ID: 86V6vFjO66C

--HG--
extra : rebase_source : b6017ed9a4f50008d20fc6c5684a70a4a740aef7
2017-04-06 17:12:57 -07:00
Masayuki Nakano 14608ddcac Bug 1353699 <menulist> for default font should use onsyncfrompreference r=jaws
When font.name.*.* is set to false, "value" attribute of <preference> is removed.  Then, <preference>.setElementValue() with an element which doesn't have onsyncfrompreference tries to set null.  Then, <menulist> selects nothing.

In such case, <menulist> should select the item whose value is "". If there is onsyncfrompreference attribute and it returns empty string, <preference>.setElementValue()  works as expected.

MozReview-Commit-ID: 54KIe3JxwyA

--HG--
extra : rebase_source : 8b94ff9a790cb5f771901cbfea72240d6d8df554
2017-04-06 10:04:04 +09:00
Ting-Yu Chou 19c3b373bc Bug 1333003 part 8 - Include ASan runtime dll and LLVM symbolizer in jsshell package. r=glandium
Update also the similar logic in browser/installer/package-manifest.in. The
reason I added the symbolizer is because it'd be useful when someone conduct
jsshell testing/fuzzing.

MozReview-Commit-ID: J9IqFWsnskS

--HG--
extra : rebase_source : db461065f778fc025576b1fc7612642181d94dcd
2017-03-24 16:58:27 +08:00
Doug Thayer f463069928 Bug 893505 - Simplify the application update UI r=chmanchester,enndeakin+6102,Gijs,rstrong
There's quite a few changes in here. At a high level, all we're trying to do
is to replace the old update popup with a less intrusive and more modern
doorhanger (set of doorhangers) for various update failure conditions.

MozReview-Commit-ID: 24sESMTosNX

--HG--
extra : rebase_source : ee0c1e00fe3f99e16388f0de17274ff97a3b9fcf
2017-03-21 13:50:09 -07:00
Blake Kaplan 971ced558b Bug 1353910 - Fix intermittents in webrtc tests while removing code duplication. r=florian
MozReview-Commit-ID: 83XSsnQ0bBY

--HG--
extra : rebase_source : f476470a9d78b1d820a1aa23263e5b289c1e77fa
2017-04-06 11:41:02 -07:00
Andrew McCreight 757620ca9d Bug 1354328 - Lazily load the inline spell checker. r=Felipe
It isn't needed until we create a context menu.

MozReview-Commit-ID: 4kCfq9PzVPV

--HG--
extra : rebase_source : 51907d6aa28d5bd2a9fb8a0acb28cac719888292
2017-04-06 15:46:09 -07:00
Andrew McCreight 78ab774d55 Bug 1352522, part 3 - Remove the unused listener for webrtc:StartBrowserSharing. r=florian
MozReview-Commit-ID: 780LNGx1p15

--HG--
extra : rebase_source : 89d346d0f14ace7f80d842ee780e121c223788f9
2017-04-06 14:39:02 -07:00
Andrew McCreight f4badf6dde Bug 1352522, part 2 - Use a shim for ContentWebRTC message listeners. r=florian
This avoids importing ContentWebRTC.jsm unless webrtc is actually
being used, which reduces memory usage.

MozReview-Commit-ID: GlMo1WIZEFD

--HG--
extra : rebase_source : 25476c825bef1948f22d0e6dae67dc01ab41f886
2017-03-31 11:19:27 -07:00
Andrew McCreight a4e17048dd Bug 1352522, part 1 - Add ContentWebRTC observers in ContentObservers.js. r=florian
This avoids importing ContentWebRTC.jsm just to register observers
that may never observe anything. Avoiding importing .jsms reduces
memory usage.

ContentObserver.js gets loaded once per content process, so I think
the ._initialized stuff is not needed in the process script.

MozReview-Commit-ID: 5r9L3bfFS0U

--HG--
extra : rebase_source : 0fe6e14c2963efccf21bd1606885098902fed598
2017-04-07 08:48:58 -07:00
Phil Ringnalda 7acd88c933 Backed out changeset 3d1ad05d7b99 (bug 1353104) for Android bustage in test_chrome_ext_hybrid_addons.html 2017-04-07 13:39:54 -07:00
Phil Ringnalda d40c8778b0 Backed out changeset 389893c52830 (bug 1349787) for timeouts in browser_tabCloseProbes.js 2017-04-07 13:36:11 -07:00
Sebastian Hengst 548852b3a4 merge mozilla-central to autoland. r=merge a=merge 2017-04-07 22:16:26 +02:00
Gijs Kruitbosch 035ae179d1 Bug 1353104 - use HiddenFrame.jsm to create frames for add-on sdk add-ons, r=kmag
MozReview-Commit-ID: CfR9xMPVr9H

--HG--
extra : rebase_source : 4dda587bc7ed850594754cab9ea0a02f0114d4d0
2017-04-03 21:25:16 +01:00
Mike Conley b1321366a3 Bug 1349787 - Make sure browser_tabCloseProbes.js waits for tabs to be fully open before closing them. r=mossop
The tests in browser_tabCloseProbes.js were closing tabs without waiting for them
to be fully open, and when they're not fully open, closing occurs without animation.

This was intermittently breaking the test for the probe that checks that we add
a count to the right histogram when closing with animation.

MozReview-Commit-ID: 5Qz7mZvtbkB

--HG--
extra : rebase_source : 3533f2c43091829723463f8943cf43e722bbd70c
2017-04-07 10:45:56 -04:00
Mike Shal 290404b519 Bug 1352982 - clobber OSX .app directory before rsyncing files in; r=ted
The .app directory for OSX builds is created piecemeal by several
commands in browser/app/Makefile.in, however it isn't normally cleaned
by a build. If a file is removed from the tree, it's possible that an
incremental build will still have a copy in the .app dir and get
packaged up in the final dmg. It's simple to just rm -rf this directory
beforehand.

MozReview-Commit-ID: 2Zr97o9dTn8

--HG--
extra : rebase_source : 2c9995991c58ee9724464514ec8285c31ab8d062
2017-04-05 15:25:30 -04:00
Andy McKay 9d4cc67f87 bug 1354342 allow a relativeUrl for homepage r=mixedpuppy
MozReview-Commit-ID: 86V6vFjO66C

--HG--
extra : rebase_source : e692822b0b60ac553b63671406c8f6ffd7a06714
2017-04-07 09:14:08 -07:00
Ryan VanderMeulen 6ca4bae63d Bug 1354081 - Update pdf.js to version 1.8.173. r=bdahl
--HG--
extra : amend_source : f9c411dd1c63a7308f391d8d4ff90239c9408a03
2017-04-07 13:32:57 -04:00
Andrew McCreight 8aedac1cad Bug 1352218, part 2 - Avoid PdfJs.enabled call. r=Gijs
This avoids a sync IPC message from child to parent.

Changes entirely from:
  https://github.com/mozilla/pdf.js/pull/8218

MozReview-Commit-ID: 3Egayok3DBZ

--HG--
extra : rebase_source : e02829e2508bb75caf44c0a3c86b06fac3bf167f
2017-03-30 14:52:09 -07:00
Andrew McCreight fec8ba650f Bug 1352218, part 1 - Split pdf.js boot strap file. r=Gijs
One is always run, the other is only run when PdfJs.enabled is true in
the parent process. This refactoring enables the next patch.

The extensions changes are from:
  https://github.com/mozilla/pdf.js/pull/8218

MozReview-Commit-ID: HwQ3yk8Jck4

--HG--
extra : rebase_source : 94f1516989685176a95e235f2d3ef8658adaf8b7
2017-03-30 14:43:04 -07:00
k88hudson 6fcdd4aa89 Bug 1350409 - Add Store, Actions, and Reducers to Activity Stream system add-on r=ursula
MozReview-Commit-ID: 5lCFGBCtH2e

--HG--
extra : rebase_source : 01e7ae01e1dd03de9fbe84fa1fbc7797323ed475
2017-04-04 12:57:53 -04:00
Rex Lee 2a6a2e2288 Bug 1347504 - [jsplugins][UI] Support opening external links in PDF files. r=evelyn,lochang, f=lchang, f=lochang
MozReview-Commit-ID: CIrC4ise4Zs

Hotkeys works like normal DOM links, except "Open in background tab" (which corresponds to ctrl/command + click)
open tabs in foreground due to limitation from outside chrome process.

--HG--
extra : rebase_source : 6a3b43c518e23c61fe3c48cc4317b813a39acc7a
2017-04-06 16:14:23 +08:00
Ting-Yu Chou 337e68fa28 Bug 1333003 part 4 - Package the binary of llvm-symbolizer also on Windows. r=ted
MozReview-Commit-ID: 4nhVgQTJ7Bz

--HG--
extra : rebase_source : 4df3d39da1847ff40927ec3d1f11f76916181a46
2017-03-10 12:24:02 +08:00
Ting-Yu Chou 270fef8c41 Bug 1333003 part 1 - Add Windows x64 ASan mozconfigs to the tree. r=mshal
MozReview-Commit-ID: KuXcyL6yqH7

--HG--
extra : rebase_source : 8e77a7858f28f4b8f4052c3235c7b5daee828053
2017-03-10 14:13:07 +08:00
Mike Hommey 3deb62f2b2 Bug 1344038 - Move the gio protocol handler under netwerk/protocol. r=chmanchester,karlt
Historically, we had support for some GNOME VFS protocols through the
gnomevfs library, and this was under extension. This may not have been
built by default when it was introduced, but GNOME upstream moved those
things into Gtk itself, and we then got support for the new Gio-based
protocol, similar to what we had through the gnomevfs library.

Time passes, and we switched off the gnomevfs library entirely, and
enabled the Gio-based protocol handlers by default. We then removed
everything related to the gnomevfs library.

Fast forward to now, and disabling Gio support in Firefox just doesn't
make sense, and leaving the gio protocol handler as an extension doesn't
make sense either.

As it is a protocol handler, its natural place is under
netwerk/protocol, which is where we're moving it here.

The netwerk/protocol subdirectories being handled automatically, we
don't need to add the moved directory in any DIRS variable.

--HG--
rename : extensions/gio/moz.build => netwerk/protocol/gio/moz.build
rename : extensions/gio/nsGIOProtocolHandler.cpp => netwerk/protocol/gio/nsGIOProtocolHandler.cpp
extra : rebase_source : 071a9cb1769f013717357458df24e2fd9570ccf4
2017-04-05 13:48:52 +09:00
Tomislav Jovanovic 357f3dea5b Bug 1328758 - Better error messages for tabs.executeScript r=kmag
MozReview-Commit-ID: PQhltZVepj

--HG--
extra : rebase_source : 1e18dc65864bcc715436a3ff003d2279a6e7b087
2017-04-02 01:05:37 +02:00
Iris Hsiao 15a34cacd2 Backed out 3 changesets (bug 1344038) for bustage
Backed out changeset 4befea89d81b (bug 1344038)
Backed out changeset c859506b2e4e (bug 1344038)
Backed out changeset 5d28a6382285 (bug 1344038)

--HG--
rename : netwerk/protocol/gio/moz.build => extensions/gio/moz.build
rename : netwerk/protocol/gio/nsGIOProtocolHandler.cpp => extensions/gio/nsGIOProtocolHandler.cpp
2017-04-06 10:35:56 +08:00
Mike Hommey 753d2ac01e Bug 1344038 - Move the gio protocol handler under netwerk/protocol. r=karlt
Historically, we had support for some GNOME VFS protocols through the
gnomevfs library, and this was under extension. This may not have been
built by default when it was introduced, but GNOME upstream moved those
things into Gtk itself, and we then got support for the new Gio-based
protocol, similar to what we had through the gnomevfs library.

Time passes, and we switched off the gnomevfs library entirely, and
enabled the Gio-based protocol handlers by default. We then removed
everything related to the gnomevfs library.

Fast forward to now, and disabling Gio support in Firefox just doesn't
make sense, and leaving the gio protocol handler as an extension doesn't
make sense either.

As it is a protocol handler, its natural place is under
netwerk/protocol, which is where we're moving it here.

The netwerk/protocol subdirectories being handled automatically, we
don't need to add the moved directory in any DIRS variable.

--HG--
rename : extensions/gio/moz.build => netwerk/protocol/gio/moz.build
rename : extensions/gio/nsGIOProtocolHandler.cpp => netwerk/protocol/gio/nsGIOProtocolHandler.cpp
extra : rebase_source : fe3c9480cee468aa2a24fd34e569b58e4f2c9c9a
2017-04-05 13:48:52 +09:00
Mark Striemer bd06793922 Bug 1329942 - Fix alignment of webextensions permissions doorhanger r=florian
MozReview-Commit-ID: K0YM26lgOY5

--HG--
extra : rebase_source : 023e4ad41f0c2457238503e169472393f325ae30
2017-02-28 15:26:12 -06:00
Mathieu Leplatre 8c1fcfd11b Bug 1351675 - Add certificates pinning initial JSON to package r=florian
MozReview-Commit-ID: EYT0s7xUyKN

--HG--
extra : rebase_source : 8ca5a1bd776c8611a6797ac437c4455b744a918d
2017-04-10 16:50:41 +02:00
Doug Thayer 7810cd0dda Bug 1348396 - Only show a badge on PanelUI while in fullscreen r=enndeakin+6102
Previously we were showing a doorhanger when the user moused to the
top of the screen while in fullscreen mode. However, the doorhanger
would disappear before the user had a chance to interact with it.
We decided it's best anyway to simply display a badge when the user
is in fullscreen, and to reshow the doorhanger when the user exits
fullscreen.

MozReview-Commit-ID: ENRtXC4wqvZ

--HG--
extra : rebase_source : d0ddc7395115287620ed4c9532297e825996be1d
2017-04-10 11:11:45 -07:00
Matthew Noorenberghe f80e60fc76 Bug 1279805 - Add UTM information to the release notes link from the browser. r=florian
MozReview-Commit-ID: Fe0D0KQfun9

--HG--
extra : rebase_source : a8bd9644c0da4d16e82a3e1cc2a90f3dd0e09313
2017-04-10 18:24:12 -04:00
Matthew Noorenberghe 7a5289d1ca Bug 1279805 - Use app.releaseNotesURL to control release notes in the about dialog. r=florian
MozReview-Commit-ID: 7sqDACxFfJQ

--HG--
extra : rebase_source : ec87655250dc1899213c5073112ceff270d0395d
2017-04-10 18:26:23 -04:00
Gijs Kruitbosch b8e6b96d70 Bug 1353104 - use HiddenFrame.jsm to create frames for add-on sdk add-ons, r=kmag
MozReview-Commit-ID: CfR9xMPVr9H

--HG--
extra : rebase_source : c50b354c9b7df2e31aa295d65eecfbeaa78c2c8f
2017-04-03 21:25:16 +01:00
Gijs Kruitbosch bd805725b6 Bug 1354083 - create a photon structure pref and a panel for photon hamburger menu use, r=mikedeboer
MozReview-Commit-ID: CKdxucwQfXV

--HG--
extra : rebase_source : 9fbce69b7600a1f38e9de8affb526a43b153c2d7
2017-04-10 20:02:43 +01:00
Francesco Lodolo (:flod) 8170633fd0 Bug 1355070 - Add Burmese(my) to shipped-locales r=Pike
MozReview-Commit-ID: JRRJY9TpRgN

--HG--
extra : rebase_source : 667a3c85e4cf692c376a98fd69bf0aab9f924da7
2017-04-10 15:23:04 +02:00
Sebastian Hengst 75ef19148e merge mozilla-central to autoland. r=merge a=merge 2017-04-11 11:33:40 +02:00
Fischer.json 2f7b2ff390 Bug 1309123 - Show persistent-storage permission request notification, r=florian
MozReview-Commit-ID: H3YAalEyWME

--HG--
extra : rebase_source : 486c5ed353d048c832baf3d6ec81e74c617b5761
2017-04-11 12:07:29 +08:00
Iris Hsiao 05ad633169 Merge mozilla-central to autoland
--HG--
extra : rebase_source : 191c554cc14a76f0df547033c99e201d1ce7d915
2017-04-12 11:18:49 +08:00
Ryan VanderMeulen a09005c936 Bug 1357069 - Update pdf.js to version 1.8.229. r=bdahl
--HG--
extra : histedit_source : e48c60969151f177d3d841834e06c437ee463c77%2Cd981da974d30238357ffc03d4262e5bb4f4c87e4
2017-04-17 09:28:32 -04:00
Ted Mielczarek adf4bd2737 bug 1354048 - update sccache to rev 7a3847276d05deb564cb84a16b8c551b690aaa3e. r=mshal
MozReview-Commit-ID: C7o9uRGAeqd

--HG--
extra : rebase_source : a432ff8bba31d3d33afe45d4a5d613a294106533
2017-04-10 06:55:15 -04:00
Ted Mielczarek a8bba22342 bug 1355099 - Disable sccache on clang-cl builds. r=mshal
sccache doesn't actually support clang-cl currently, so we're just making
our clang-cl builds slower by enabling it. Also, I'm trying to update to
a newer version of sccache and something broke running sccache+clang-cl
entirely so my try builds are busted, so disabling it entirely until
we actually support this configuration seems sensible.

MozReview-Commit-ID: LMkVuBRclCp

--HG--
extra : rebase_source : 76357d16190a6d2b2c5f177874de00ed3e636a76
2017-04-10 11:16:47 -04:00
Shane Caraveo da56d950c3 Bug 1331507 remove release/beta restriction on injecting sidebar button, r=kmag
MozReview-Commit-ID: 9pzyaWQGFn5

--HG--
extra : rebase_source : 1b22a1be71e1081cd36020ed7a29f6ce4d2f0840
2017-04-14 13:40:35 -07:00
Drew Willcoxon edf816f89a Bug 1353831 - OneOff block in search bar doesn't update text if Customize was opened at least once. r=florian
MozReview-Commit-ID: Iu7xhCbCh6B

--HG--
extra : rebase_source : 9a953c8fd6bfe80e38da7dac2079f27a5d1058de
2017-04-11 07:17:27 -07:00
Sean Lee bf7ca2eb65 Bug 1347176 - Implement label element extraction logic of an input field for filling form.; r=MattN
MozReview-Commit-ID: 5uGo1jBBFsC

--HG--
extra : rebase_source : 0788e302aae21c481706c5dcfdb6a74fc017e3ec
2017-03-31 17:43:47 +08:00
Jared Wein 06d3c649d5 Bug 1356009 - Fix inconsistencies with strings in about:preferences#sync. r=Gijs
MozReview-Commit-ID: CG2IxP4wO2f

--HG--
extra : rebase_source : cbb036c03f6a505bbfd1733841f8572c7800f7d6
2017-04-14 00:35:37 -04:00
Jared Wein 5b52e7a5e8 Bug 1356008 - Fix inconsistencies with strings in about:preferences#applications. r=Gijs
MozReview-Commit-ID: 5VN48CyHbvx

--HG--
extra : rebase_source : b62c252db47e4e224a573431316778476ecb67b8
2017-04-14 00:23:53 -04:00
Jared Wein abb7f51b68 Bug 1356006 - Fix inconsistencies with strings in about:preferences#general. r=Gijs
MozReview-Commit-ID: 8hUKm1DeGgr

--HG--
extra : rebase_source : 52f5b89cd33569d078d1ade4f8f9646d81ca4277
2017-04-14 00:09:57 -04:00
Jared Wein 15d7f903a8 Bug 1355522 - Move scripts for spell-checking, hardware acceleration, and on-screen keyboards to main.js since the prefs moved to the main category. r=florian
MozReview-Commit-ID: ExZDYWx92XD

--HG--
extra : rebase_source : bbcae715a16778f8414aaae94da3646fa96840d1
2017-04-12 11:08:46 -04:00
Jared Wein 70423b9a34 Bug 1355522 - Move Telemetry and Health Report prefs to Privacy & Security section. r=florian
MozReview-Commit-ID: 1Ybpr68SKC0

--HG--
extra : rebase_source : ffb1c0430105dd30a6d406fbebdbb9b84bca245d
2017-04-12 10:14:51 -04:00
Kris Maglione c279528885 Bug 1357137: Make sure all content scripts for the same page load into the same sandbox. r=mixedpuppy
MozReview-Commit-ID: xB8kZ2KZdz

--HG--
extra : amend_source : 05eb10e99b8cd1a2857c53750d6fb928d6100d7f
2017-04-17 10:24:43 -07:00
Phil Ringnalda bf4625c652 Backed out changeset 2a98180ffc2f (bug 1334642) for Win8 failures in browser_toolbariconcolor_restyles.js
CLOSED TREE
2017-04-11 18:59:02 -07:00
Doug Thayer b8c7cfa79c Bug 1348396 - Only show a badge on PanelUI while in fullscreen r=enndeakin+6102
Previously we were showing a doorhanger when the user moused to the
top of the screen while in fullscreen mode. However, the doorhanger
would disappear before the user had a chance to interact with it.
We decided it's best anyway to simply display a badge when the user
is in fullscreen, and to reshow the doorhanger when the user exits
fullscreen.

MozReview-Commit-ID: ENRtXC4wqvZ

--HG--
extra : rebase_source : 4d7f0880b2b4e8bd9424302bca16ef706e2fca25
2017-04-10 11:11:45 -07:00
Drew Willcoxon cc637153bc Bug 1295458 - Rework key and mouse handling for the one-off search buttons. r=florian
MozReview-Commit-ID: DKbU8r2BrA8

--HG--
extra : rebase_source : 9f0ff5241907455516ddec24f22e6c7f5e52105d
2017-04-11 08:40:11 -07:00
Jared Wein 29cbea21ed Bug 1355078 - Restore scroll position after updating select popup. r=mossop
MozReview-Commit-ID: 7HfuUCymDz

--HG--
extra : rebase_source : ca73fb30b6f77ddfd7718a6dd3fc747a8533bc8c
2017-04-11 01:36:07 -04:00
Jared Wein 169ec2a84e Bug 1354196 - Forward the text-shadow CSS property to the select popup for styling. r=mossop
MozReview-Commit-ID: 3jzZOIiJyXT

--HG--
extra : rebase_source : 1c223d7c90c72c32386a46dccaa745fd19418fae
2017-04-10 16:03:03 -04:00
Jared Wein e0f097b470 Bug 1353808 - Only show the 'Search' preferences when the Manage Search Engines button is clicked. r=mconley
MozReview-Commit-ID: 2sVbayD6tPf

--HG--
extra : rebase_source : 222a1d8553c4580dc21992867735c4b91d5ed691
2017-04-05 23:38:30 -04:00
Jared Wein bb639760df Bug 1353805 - Allow showing only subcategories of a section to make finding prefs easier. r=mconley
This is a temporary measure until we have search complete and shipped (1353954).

MozReview-Commit-ID: KFeOefJ1RGM

--HG--
extra : rebase_source : 326a61f43e3e6f6d771b5bab713454945c9ee060
2017-04-05 23:03:10 -04:00
Jared Wein 9f7350e7ff Bug 1354887 - The Tracking Protection exceptions and block list dialogs should always be visible within the tracking protection section. r=mconley
A couple other hidden="false" attributes were removed since they are unnecessary and shouldn't have been there. The changes to the downloadsGroup are because it is now nested inside of #applicationsContent.

MozReview-Commit-ID: IHZuKZUNYcR

--HG--
extra : rebase_source : f251849fd5a10bff8ad78554b96dc67c69a0ac78
2017-04-11 10:41:39 -04:00
Mike Hommey 5fc0411975 Bug 1354395 - Update sixgill to a rebuild that links against GMP statically. r=sfink
The mercurial revision of sixgill listed in the manifest doesn't exist,
so I took what looks like corresponds to the last change to the tooltool
manifests, in order to avoid any other difference than GMP linkage.

This was built manually on a one-click-loaner.

--HG--
extra : rebase_source : 5ea830e48a6424a6ded9beab0628d0e562251c47
2017-04-11 17:28:10 +09:00
Mike Conley 41ed537637 Bug 1354800 - Account for re-entry to removeTab function for tab close timing probes. r=dao
MozReview-Commit-ID: G47xEqSgB7d

--HG--
extra : rebase_source : 7433c0e204085a09c36c85dff671df292c87dab8
2017-04-11 14:59:08 -04:00
Kirk Steuber 6d0283fc61 Bug 1349823 - Populate bookmark panel before showing it r=enndeakin+6102,mak
When panel behavior became asynchronous, |StarUI._doShowEditBookmarkPanel| needed to be changed to wait for the panel to finish opening before initializing it. Although the content of the panel can be changed successfully before the panel opens, the element focus at the end of initialization fails. This prevents the capturing of certain events, such as an Esc keypress (which should close the panel).

However, this introduced the problem where there is a short delay between when the bookmark panel opens and when the correct content is displayed in it. To fix this, the initialization function |gEditItemOverlay.initPanel| will now be called before the panel opens, but the element focus code will wait for the panel's popupshown event.

MozReview-Commit-ID: 6SrcCz963qW

--HG--
extra : rebase_source : c45f16913597b336dcae2717c0f902dbbe8025f2
2017-04-05 15:38:37 -07:00
Sam Foster 4f20cc9f80 Bug 1334642 - Cache luminance values for each toolbar in ToolbarIconColor. r=dao,mconley
* Track window states: active, fullscreen and tabsintitlebar for each window
* Use toolbar.id and window state to store and retrieve values from cache
* Note: As each window has its own ToolbarIconColor object, the cache is not currently shared across windows
* inferFromText callers pass in a reason and associated value, which is used to update the state we track, and potentially clear out the cache
* Create new windows test directory for browser-window-specific tests like this
* Test for the ToolbarIconColor changes to avoid sync style flushes when windows activate/deactivate

MozReview-Commit-ID: JDJ3RtL4Lge

--HG--
extra : rebase_source : 7b49921bc653d57117f1c08212acc6c2db537984
extra : source : dd2d15dc577d9ec1ec16eb69d823c793dd1e9db0
2017-04-06 10:50:09 -07:00
Aaron Klotz 33a8823b8b Bug 1354208: Add AccessibleHandler.dll to installer; r=mhowell
MozReview-Commit-ID: 4EMkQMhS3B2

--HG--
extra : rebase_source : 15f9283e2fc4c41d708b6349c36c70600d0731d1
2017-02-14 16:33:48 -07:00
Zibi Braniecki a1a4f0b7c9 Bug 1346616 - Migrate callsites that are retrieving requested locale from pref, to use LocaleService::GetRequestedLocales. r=jfkthame,Pike
I'm adding a helper function mozILocaleService::GetRequestedLocale to simplify
most of the callsites that are looking for the first of the requested locales.

In most cases, I'm just matching the behavior of the code with reusing
LocaleService API instead of direct manipulation on the prefs.
That includes how I handle error case scenarios.

In case of sdk/l10n/locale.js I am reusing LocaleService heuristics over
the custom one from the file since the ones in LocaleService are just
more correct and unified accross the whole platform.

In case of FallbackEncoding I have to turn it into a nsIObserver to listen
to intl:requested-locales-changed.

MozReview-Commit-ID: 7rOr2CovLK

--HG--
extra : rebase_source : 883a91b249b6953b7872bfb9a8851e8be7257c7b
2017-03-11 18:43:11 -08:00
Sebastian Hengst 7d471b721c Backed out changeset abaa83873b88 (bug 1334642) for failing browser_toolbariconcolor_restyles.js. r=backout on a CLOSED TREE 2017-04-18 00:54:25 +02:00
Sebastian Hengst 7b30105d39 Backed out changeset 60d72c2dd49d (bug 1346616) for eslint failure in DirectoryLinksProvider.jsm. r=backout on a CLOSED TREE 2017-04-18 00:48:16 +02:00
Zibi Braniecki cce53c69bc Bug 1346616 - Migrate callsites that are retrieving requested locale from pref, to use LocaleService::GetRequestedLocales. r=jfkthame,Pike
I'm adding a helper function mozILocaleService::GetRequestedLocale to simplify
most of the callsites that are looking for the first of the requested locales.

In most cases, I'm just matching the behavior of the code with reusing
LocaleService API instead of direct manipulation on the prefs.
That includes how I handle error case scenarios.

In case of sdk/l10n/locale.js I am reusing LocaleService heuristics over
the custom one from the file since the ones in LocaleService are just
more correct and unified accross the whole platform.

In case of FallbackEncoding I have to turn it into a nsIObserver to listen
to intl:requested-locales-changed.

MozReview-Commit-ID: 7rOr2CovLK

--HG--
extra : rebase_source : 2f166cf1746f389a035f7cf557edcadeacb10fa0
2017-03-11 18:43:11 -08:00
Mike Hommey cf644edb0d Bug 1356951 - Build mac cross toolchains with clang 3.9. r=ted
Also use the same cctools as cross-mac builds of Firefox.

Do dummy changes to the corresponding build scripts so that the builds
are force triggered (toolchain builds are not triggered automatically
when the tooltool manifest they use changes yet).

--HG--
extra : rebase_source : 699143de819c29c98ca31308ac502f9331123403
2017-04-17 14:33:09 +09:00
Sam Foster b29b823ee9 Bug 1334642 - Cache luminance values for each toolbar in ToolbarIconColor. r=dao,mconley
* Track window states: active, fullscreen and tabsintitlebar for each window
* Use toolbar.id and window state to store and retrieve values from cache
* Note: As each window has its own ToolbarIconColor object, the cache is not currently shared across windows
* inferFromText callers pass in a reason and associated value, which is used to update the state we track, and potentially clear out the cache
* Create new windows test directory for browser-window-specific tests like this
* Test for the ToolbarIconColor changes to avoid sync style flushes when windows activate/deactivate
* Skip test for windows 8, follow-up filed as bug 1356684

MozReview-Commit-ID: JDJ3RtL4Lge

--HG--
extra : rebase_source : e97bb5c09b2e6d7b264363ccba1b34bf666f31e9
2017-04-06 10:50:09 -07:00
Wes Kocher 998e7faaec Merge m-c to autoland, a=merge 2017-04-17 13:05:21 -07:00
Mike Conley 08b409645b Bug 1350324 - Be more rigorous about ignoring the initial about:blank load for tab progress listeners. r=Gijs
The initial about:blank that we load in a new <xul:browser> is not a load we usually
care about. We have code in tabbrowser.xml that ignores the state changes for that
initial load, but I guess it's not perfect - there's a case where we were getting
a STATE_STOP for that initial about:blank load (since the DocShell will call
Stop() on itself before loading that initial about:blank), and then a STATE_START
once the about:blank actually started to load. The initial STATE_STOP was ignored,
but cleared the "ignore" flag for the STATE_START to come through and show the
loading throbber. Then, when flipping remoteness, the "busy" state was not cleared.

This patch makes it so that we ignore that initial STATE_STOP (differentiated from
other STATE_STOPS because we notice that no loads were currently in progress).

MozReview-Commit-ID: IPTxuVGsCYN

--HG--
extra : rebase_source : c4a574f33c39813bdecdd660e3f5be1bcc96532f
2017-04-10 17:45:28 -04:00
Matthew Wein e4c65a0681 Bug 1339250 - Fix error caused by ending an input session immediately after the session is started r=robwu
MozReview-Commit-ID: Gz9B468NTI1

--HG--
extra : rebase_source : 628be1212a4859f1937fd0e863ebee2ba65d8903
2017-02-14 12:02:40 +00:00
Martin Giger 03dd157689 Bug 1299371 - Show context menu in WebExtension popups; r=mixedpuppy
MozReview-Commit-ID: 5bty8uurFns

--HG--
extra : rebase_source : 3c56af748921fc1917f4e5c994ed472e9758eb27
2017-02-19 11:02:14 +01:00
Ray Lin 1c5bf085c3 Bug 1357690 - Increase content density of autofill autocomplte results. r=MattN
MozReview-Commit-ID: EpV7ZSbq0Ia

--HG--
extra : rebase_source : d5a184c2ad3230c3ffcfe67e9fad73a100522433
2017-04-20 10:39:44 +08:00
Wes Kocher 264adb55c2 Merge m-c to autoland, a=merge 2017-04-05 14:20:01 -07:00
Wes Kocher 3d900a5d7e Merge inbound to central, a=merge 2017-04-05 14:16:37 -07:00
Tim Taubert 63d25c5647 Bug 1353533 - Don't create maps for non-session cookies when reloading all cookies r=mikedeboer
When initializing the service in SessionCookies.jsm,
SessionCookies._reloadCookies() currently iterates all cookies held by the
coookie service and calls _updateCookie() to add them. _updateCookie() however
is supposed to deal with cookie modifications, including session cookies being
converted to longer-lived ones, and thus handles deletion too.

This patch ensures a fast startup path by ignoring cookie deletion, we only
ever need to add new session cookies when initializing on startup. It also
changes the "cookie added" notification handler to ignore deletion.

Additionally, CookieStore.delete() is a little more intelligent now and avoids
the creation of maps only to find out the cookie didn't exist after all.
2017-04-05 16:05:46 +02:00
Carsten "Tomcat" Book c5364b4b43 Merge mozilla-central to mozilla-inbound 2017-04-05 14:50:28 +02:00
Carsten "Tomcat" Book 7a670cdd01 merge mozilla-inbound to mozilla-central a=merge 2017-04-05 14:33:35 +02:00
Jared Wein ee69536ac3 Bug 1353845 - Remove unused CSS now that some of the preference categories have been merged. r=mconley
MozReview-Commit-ID: DJtNLHUe0vZ

--HG--
extra : rebase_source : 3d86da5531e504d1e8739e28f08fde6f1c41eba3
2017-04-05 15:51:16 -04:00
Jared Wein 017442145e Bug 1353848 - Add the 'searchresults' category to the telemetry histogram bucket list. r=mconley
We need to run toLowerCase() on the category name because the searchresults category is actually searchResults.

MozReview-Commit-ID: 1AgSULER7N4

--HG--
extra : rebase_source : 64dd5aa30cf03666c829c3a8bd1aafa2d1f61860
2017-04-05 15:40:13 -04:00
Jared Wein b3dc11cee9 Bug 1353846 - Add missing #searchResults-native to the native styling on Windows. r=mconley
MozReview-Commit-ID: D2iuCBQAR0a

--HG--
extra : rebase_source : e0e3dc1894a53ed3e2fd324f117c308807784ff2
2017-04-05 15:31:15 -04:00
Mike Conley e80d1e033b Bug 1351677 - Fix a race in browser_394759_purge.js. r=mikedeboer
MozReview-Commit-ID: J1z8Y5Zbwgz

--HG--
extra : rebase_source : 31cbee03b926e60f914ad2f9914ebd9bd6953c4f
2017-04-04 16:02:06 -04:00
Mike Conley 56cf3663de Bug 1351677 - Update browser_remoteness_flip_on_restore test to account for initial tab swapping. r=mikedeboer
MozReview-Commit-ID: 152bkpjVsPv

--HG--
extra : rebase_source : e32116c6f3baef212bc366a758cde6ad8b0494c5
2017-04-04 16:01:28 -04:00
Mike Conley 32226bd237 Bug 1351677 - When restoring a window, swap the initially selected tab with the desired selected tab instead of tab switching. r=mikedeboer
When restoring a window, it's cheaper if we move the initially selected tab to the
index of the tab that's supposed to be selected in the restored state, rather than
switching to that tab.

If it turns out that moving that tab is not possible (if, for example, the user
context IDs of the two tabs to swap don't match, since the userContextIds are
set at tab construction time), then we fall back to tab switching.

MozReview-Commit-ID: L3qP40K5DaJ

--HG--
extra : rebase_source : 0954dac2f17af74418817ed45c5ab5dee7796511
2017-04-04 15:58:02 -04:00
manotejmeka d0454ad41d 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 : 5e875ed0777397ecc6d98731179a1dfbd1f073df
2017-04-04 16:33:34 -04:00
Francesco Lodolo (:flod) bac5d6f7ce Bug 1353506 - Add all Aurora active locales to browser/all-locales for Firefox Nightly r=Pike
MozReview-Commit-ID: 26tAVdh4CDs

--HG--
extra : rebase_source : 792d6063b02a718921a25f57200284e72bce2765
2017-04-04 22:03:42 +02:00
David Keeler 7034d3800d bug 1353789 - unship deployment-checker r=Felipe,jcj
MozReview-Commit-ID: 3Q5v97JVs2X

--HG--
extra : rebase_source : 978054d6bbc1a1d2a1adcd8edf606c0bdc8150de
2017-04-05 09:56:26 -07:00
Jared Wein 0117fd004b Bug 1348828 - Only prevent default behavior of scroll event if the tree is scrollable. r=enndeakin+6102
MozReview-Commit-ID: AGS103gy08O

--HG--
extra : rebase_source : f262d6df34d44ee5f4aa758c49d0f3795f1194ae
2017-04-03 21:51:11 -04:00
Andreas Tolfsen 914224d736 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 : 8be91ed46c443dd120cbc4b42c729cf3ae250b5f
2017-03-29 18:25:55 +01:00
Iris Hsiao e9db7e1f92 Backed out changeset 28f8a3519d73 (bug 1267480) for mochitest bc6 perma-failing 2017-04-05 14:23:13 +08:00
Jared Wein 9ab8b29624 Bug 1267480 - Split up browser_security.js due to the test timing out. r=Gijs
MozReview-Commit-ID: Frqzb2fQDs7

--HG--
extra : rebase_source : ef3e97e908e399521211badf687b2b2ece48d66a
2017-04-04 15:29:22 -04:00
Andrew McCreight 62c6243f05 Bug 1353174, part 2 - Fix up ContentObservers.js. r=Gijs
This is split into a separate patch in an attempt to get a better
diff.

MozReview-Commit-ID: L9AI3VD2pbV

--HG--
extra : rebase_source : 6dc47abd27d8f66886af4cbb458b6d00e8d5c7ee
2017-04-04 11:25:05 -07:00
Andrew McCreight 2f83bee3a7 Bug 1353174, part 1 - Turn ContentObservers.jsm into a process script. r=Gijs
This retains the advantage of running only once per process, while
avoiding the per-process overhead of a jsm.

MozReview-Commit-ID: 1N53MvRwUpg

--HG--
rename : browser/modules/ContentObservers.jsm => browser/modules/ContentObservers.js
extra : rebase_source : 6a502cff26fcb55526f97385274bbae871f5cc6c
2017-04-04 11:21:48 -07:00
Gijs Kruitbosch 9280fcd667 Bug 1353373 - fix Edge readinglist imports, r=jaws
MozReview-Commit-ID: Fu9n3FIrxf6

--HG--
extra : rebase_source : d438f2ef4c13f998ee8928a218f504dd4cc43471
2017-04-04 16:18:17 +01:00
Francesco Lodolo (:flod) 1566e8d6d6 Bug 1335809 - Update shortName in wikipedia-sl.xml to match Wikipedia's searchplugin r=mkaply
MozReview-Commit-ID: K33zDWHDZ8d

--HG--
extra : rebase_source : 1b539d7ebbe69172ef1cf513a07d6d79c4acb525
2017-04-04 08:43:14 +02:00
Carsten "Tomcat" Book 5d8f1744bf Merge mozilla-central to autoland 2017-04-05 14:52:39 +02:00
Gijs Kruitbosch c45153c1c9 Bug 1347271 - log preloaded top sites in telemetry and update their naming, r=mak
MozReview-Commit-ID: 6q2H01aa42s

--HG--
rename : toolkit/components/places/tests/unifiedcomplete/test_prefill_sites.js => toolkit/components/places/tests/unifiedcomplete/test_preloaded_sites.js
extra : rebase_source : 6c606f02515ba1ed7701c57189de180d3b22d29c
2017-03-22 13:23:15 +00:00
Wes Kocher f18ad1cfc8 Merge m-c to autoland, a=merge 2017-04-04 11:28:54 -07:00
Wes Kocher bceaacd2b8 Merge inbound to central, a=merge 2017-04-04 11:25:13 -07:00
Wes Kocher ccba22fee5 Merge autoland to central, a=merge 2017-04-04 11:18:05 -07:00
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