Commit Graph

52940 Commits

Author SHA1 Message Date
Paul Silaghi
6cb6f9bf4d Bug 1431390 - Add a test for checking that specific tags can be removed from a bookmark r=standard8 2018-01-23 12:36:40 +02:00
Cosmin Sabou
9366900c12 Merge mozilla-central to inbound. a=merge on a CLOSED TREE 2018-01-27 11:58:35 +02:00
Noemi Erli
6bce5aef99 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-01-26 23:55:29 +02:00
Dzmitry Malyshau
05561ae950 Bug 1433139 - WebRender capture integration on Nightly. r=mikedeboer
MozReview-Commit-ID: 6oIUlPSfLMg
2018-01-26 10:09:30 -05:00
Andreea Pavel
1e5f9a6650 Backed out changeset 5421387a997d (bug 1345081)for failing browser chrome browser/components/extensions/test/browser/browser_ext_menus_events.js on a CLOSED TREE 2018-01-26 17:23:27 +02:00
Mark Banner
d40ab69bb9 Bug 801391 - Set clickSelectsAll depending on the preference for the Bookmarks Library search box. r=mak
MozReview-Commit-ID: 3IhkODtMpr7

--HG--
extra : rebase_source : a84082e456b3b31d4b7729e44a624552a5641640
2018-01-26 14:46:30 +00:00
Shane Caraveo
7503529676 Bug 1430416 unset the findbar when discarding a browser tab, r=mikedeboer
MozReview-Commit-ID: B36n2uG6Qhk

--HG--
extra : rebase_source : 9b5268adb0d28fa571687d6ca678dda80955590c
2018-01-26 10:23:52 -07:00
Arjun Krishna Babu
0f9afb26a6 Bug 1428844 - Use BrowserTestUtils.waitForEvent in preferences tests; r=johannh
In preferences tests, all calls to waitForEvent function defined in
browser/components/preferences/in-content/tests/head.js has been replaced with
calls to BrowserTestUtils.waitForEvent.

MozReview-Commit-ID: IrtGJFtWPPj

--HG--
extra : rebase_source : 4098e79c532e57acc2d6e48ae496be1d0e6a9f9f
2018-01-18 10:20:04 -07:00
Gijs Kruitbosch
625c300198 Bug 1345081 - update use of spellchecker 'editable' flags, r=zombie
MozReview-Commit-ID: Hxgc0UuIOPj

--HG--
extra : rebase_source : 5a72fb58f7c610e0906db9a283a8b136c840a07a
2018-01-12 18:51:41 +00:00
Doug Thayer
57731e3f90 Bug 1426721 - Encrypt Chrome logins in background thread r=keeler,MattN
A significant chunk of migration jank that I observe locally
happens due to login encryption. This patch reduces the locally
observed jank (measured importing 100 logins) from 180ms to 25ms.

Try is green, and as far as I can tell I don't see any thread
safety issues, but I'm not 100% sure on that. I don't see any
red flags inside the SecretDecoderRing::Encrypt implementation.

I only moved Chrome logins over since I wanted to frontload any
potential issues with the whole approach. It shouldn't be too
hard to move the MSMigrationUtils and IEProfileMigrator uses
over though.


MozReview-Commit-ID: 75edUqJlk8x

--HG--
extra : rebase_source : 0a8e16c46e05972fb01c9703b52cdb5755b0b40b
2018-01-04 15:10:54 -08:00
Sylvestre Ledru
3a35e750f3 Bug 1433417 - Fix a bunch of typo in the doc r=ahal
MozReview-Commit-ID: LRgL0CMJdDP

--HG--
extra : rebase_source : b99364bb96c1501a674a1726a3b5fdf0664a8e4f
2018-01-26 12:50:07 +01:00
Mark Banner
dd6c928ffd Bug 1433492 - Remove remaining instances of PlacesUtils.asyncHistory.isURIVisited being called directly. r=mak
MozReview-Commit-ID: B1sqEtJcq4L

--HG--
extra : rebase_source : 62a7c91e06f28712e9ba29a2e3ef73fa7dd9a0e1
2018-01-26 16:40:25 +00:00
David Keeler
7840435138 bug 1431791 - remove "Others" tab from certificate manager r=jaws,mgoodwin
MozReview-Commit-ID: HUPkIAMhNEX

--HG--
extra : rebase_source : a737297d8cb8800b03532d62b39e85711d6f0663
2018-01-19 13:09:22 -08:00
Mark Banner
aa95c289e7 Bug 1432407 - Merge loops in PlacesController.onDrop now that sync transactions have been removed. r=mak
MozReview-Commit-ID: JXaxRv10HQs

--HG--
extra : rebase_source : a161a002ebc2baf241e26badad295db3aeac8046
2018-01-25 21:00:34 +00:00
Dorel Luca
5985aa72cc Merge mozilla-central to mozilla-inbound r=merge 2018-01-26 05:50:11 +02:00
Brian Grinstead
7748a17ff2 Bug 1424095 - Tweak frontend CSS to play nicely in XUL flexbox emulation mode;r=Gijs
There are still known issues with the browser chrome when emulating, but this changeset is
done in service of getting the UI to be close enough to start running Talos tests against
it in Bug 1425330.

MozReview-Commit-ID: B0w1aOmi4FJ

--HG--
extra : rebase_source : e8b13f9203f0e368fb6f36bc9d2059fff7061b54
2018-01-04 10:25:30 -08:00
arthur.iakab
39d63fc827 Merge mozilla-central to autoland 2018-01-26 02:31:18 +02:00
arthur.iakab
94ab855658 Merge inbound to mozilla-central. a=merge 2018-01-26 02:21:47 +02:00
arthur.iakab
fbf012afc0 Merge autoland to mozilla-central. a=merge 2018-01-26 02:17:18 +02:00
ffxbld
48aa9f1de6 No bug, Automated blocklist update from host bld-linux64-spot-302 - a=blocklist-update 2018-01-25 11:08:58 -08:00
Kris Maglione
b3cac601f6 Bug 1432966: Sanitize HTML fragments created for chrome-privileged documents. r=bz f=gijs
This is a short-term solution to our inability to apply CSP to
chrome-privileged documents.

Ideally, we should be preventing all inline script execution in
chrome-privileged documents, since the reprecussions of XSS in chrome
documents are much worse than in content documents. Unfortunately, that's not
possible in the near term because a) we don't support CSP in system principal
documents at all, and b) we rely heavily on inline JS in our static XUL.

This stop-gap solution at least prevents some of the most common vectors of
XSS attack, by automatically sanitizing any HTML fragment created for a
chrome-privileged document.

MozReview-Commit-ID: 5w17celRFr

--HG--
extra : rebase_source : 1c0a1448a06d5b65e548d9f5362d06cc6d865dbe
extra : amend_source : 7184593019f238b86fd1e261941d8e8286fa4006
2018-01-24 14:56:48 -08:00
Gurzau Raul
ea1ff80377 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-01-25 19:08:48 +02:00
Paolo Amadini
0d7dab5bac Bug 1432016 - Part 4 - Move keyboard navigation to the PanelView class. r=Gijs
This allows removing the separate keyboard navigation map.

MozReview-Commit-ID: 2N0wflAvg7Y

--HG--
extra : rebase_source : 63b9ae6e4db0de1957cb011c69134894d311b703
2018-01-22 14:42:24 +00:00
Paolo Amadini
8297599fe3 Bug 1432016 - Part 3 - Use the PanelView class for knownViews and openViews. r=Gijs
MozReview-Commit-ID: CQ0Ao3FlRRc

--HG--
extra : rebase_source : 17fc6eeb96748028943708b83fc9fd5b6134d8b6
2018-01-22 13:06:55 +00:00
Paolo Amadini
449c7a5310 Bug 1432016 - Part 2 - Move descriptionHeightWorkaround and some other methods to the PanelView class. r=Gijs
MozReview-Commit-ID: 59fUuB35Ygy

--HG--
extra : rebase_source : 65133023f89241da1b8475b783ffc80e35ee3c28
2018-01-25 15:35:45 +00:00
Paolo Amadini
f26eb575e4 Bug 1432016 - Part 1 - Add a PanelView class using a base class shared with PanelMultiView. r=Gijs
Only one method is moved to the PanelView class to simplify the keyboard navigation test.

MozReview-Commit-ID: CHB5FiT9ptn

--HG--
extra : rebase_source : ec588beae9f1208a37ce85f9d28029dfd979db24
2018-01-22 12:46:48 +00:00
Paolo Amadini
8fb049f21b Bug 1432015 - Part 5 - Remove unused code. r=Gijs
MozReview-Commit-ID: IoURPSdQAiR

--HG--
extra : rebase_source : a52da95d14752726590035aa4adea5a7605aae50
2018-01-21 11:37:50 +00:00
Paolo Amadini
fce2b33bda Bug 1432015 - Part 4 - Separate the set of known views from the stack of open views. r=Gijs
This makes the code easier to follow and facilitates future refactoring, for example the set of known views can be removed entirely by making the clean up and navigation code use the stack of open views.

The SlidingPanelView class can thus be removed, saving various lines of code. The class implemented a small optimization for garbage collection, that was already less effective because various other objects are created during each view transition anyways.

MozReview-Commit-ID: Z4JJMklUMf

--HG--
extra : rebase_source : 8789a35c4234fc691c62efeb3445b776b14fc1f9
2018-01-21 17:27:11 +00:00
Paolo Amadini
26c7b11e09 Bug 1432015 - Part 3 - Ensure that views passed to showSubView are added to the list of known views without having to reset the internal _panelViews variable. r=Gijs
MozReview-Commit-ID: Hld45ghdduv

--HG--
extra : rebase_source : e01d8facd56a4be21818879b21de75802d723db3
2018-01-17 15:04:18 +00:00
Paolo Amadini
11d708f26b Bug 1432015 - Part 2 - Remove the setMainView methods. r=Gijs
The setMainView method of PanelMultiView controls the "mainview" attribute, which is already set or removed later in the showSubView method. When called at construction time, it changes the mainViewId if there is at least one child in the "panelmultiview" element and the original mainViewId does not already reference the first child. This would be incorrect, but in practice it never happens for either ephemeral or static panels, and can be avoided for the throw-away activated page action panel.

The setMainView method of PanelUI is never called, and this makes the corresponding PanelMultiView method removable.

MozReview-Commit-ID: 5bNidHfKFTA

--HG--
extra : rebase_source : b527827d30d682d183981347c2caf3a8a5d81355
2018-01-21 15:59:41 +00:00
Paolo Amadini
1aee9c11f9 Bug 1432015 - Part 1 - Fix anchor handling for the action feedback panel. r=Gijs
Commands started from an activated action panel should not be anchored to the main button, and regression tests should simulate the case where both the main action panel and the individual action button are visible and the action is invoked from the main action panel.

MozReview-Commit-ID: Eg1wP2rRe2d

--HG--
extra : rebase_source : 6caac7368c85195c91066c6a61d3043a9fbc770f
2018-01-21 17:01:59 +00:00
Ryan VanderMeulen
2af1d9d442 Bug 1432486 - Remove the unneeded FX_SESSION_RESTORE_DOM_STORAGE_SIZE_ESTIMATE_CHARS probe. r=mikedeboer 2018-01-25 09:28:22 -05:00
pubkeypin
83f51d5be7 Bug 1431942 - Refactor privacy.js initialization code to account for MOZ_DATA_REPORTING being false. r=jaws 2018-01-20 18:43:56 +01:00
Csoregi Natalia
6f5bb993b2 Merge inbound to mozilla-central. a=merge 2018-01-25 12:14:20 +02:00
Rob Wu
2cf5e43401 Bug 1215376 - fix linting and test issues from rebase r=mixedpuppy
- Work-around in browser_ext_menus_events.js for bug 1428213
- Fix indentation issues (eslint)
- Hide the "pageUrl" property for bookmark menu events
  (fixes test failure in test_bookmark_contextmenu).

MozReview-Commit-ID: 4YHJci0J7Rh

--HG--
extra : rebase_source : 3879e843bd2826fcd34dbd41708d570024e681e8
2018-01-05 01:13:04 +01:00
Marco Bonardo
04c132a988 Bug 1416377 - Use new async Places APIs in test_refresh_firefox.py. r=standard8
MozReview-Commit-ID: HvN8oHgIbbq

--HG--
extra : rebase_source : 5a21dba36985008f5383ed6332571f91565716a5
2018-01-23 15:14:38 +01:00
Mark Banner
22a702ba40 Bug 1432520 - Fix a double separator in the Places Organize menu. r=mak
MozReview-Commit-ID: IVRls70hJSX

--HG--
extra : rebase_source : d62f8d26e3bf93601d075125a05496d7b78eea4a
2018-01-23 20:39:24 +00:00
Gurzau Raul
9abd2a937c Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-01-25 13:00:18 +02:00
hemant
df042c21a8 Bug 1370881 - Replace calls to asyncHistory.isURIVisited and promiseIsURIVisited with PlacesUtils.history.hasVisits r=standard8
MozReview-Commit-ID: BHWkJpdYA0g

--HG--
extra : rebase_source : 927cd89c69ed2cdbf6ebf8e954c38238ebbdd273
2018-01-24 20:58:57 +05:30
Hector Zhao
92ed511d9a Bug 1427712 - full installer page to install optional extensions with partner distribution. r=mhowell
MozReview-Commit-ID: FGIgyQTwfj

--HG--
extra : rebase_source : a4abe52dfd85c8603f82dba214bf6f4826215f67
2018-01-03 19:00:23 +08:00
arthur.iakab
151be917cb Merge mozilla-central to mozilla-inbound 2018-01-26 02:35:29 +02:00
Florian Quèze
698c3cc0c6 Bug 1419152 - Avoid white flashes when opening new tabs or windows with high contrast themes, r=Gijs. 2018-01-25 23:43:48 +01:00
Florian Quèze
4a444393dd Bug 1418814 - the user specified background color should be used for the tabbrowser background when 'Always override the colors specified by the page' is selected, r=Gijs. 2018-01-25 23:43:35 +01:00
Florian Quèze
0e41a411e5 Bug 1406413 - avoid notifying browser windows that we are clearing the session during shutdown, r=mikedeboer. 2018-01-25 23:43:32 +01:00
Rofael Aleezada
8f5033ab9d Bug 1428845 - Removed duplicate definition of waitForCondition(). r=johannh
MozReview-Commit-ID: UCZwR5eRc5

--HG--
extra : rebase_source : 55b319a5d3e2e20003868b81c629e30eb5173dfc
2018-01-22 18:50:32 -06:00
Rob Wu
31f0051ebc Bug 1215376 - Test menu event order: onShown, onClicked, onHidden r=mixedpuppy
This test ensures that the menu events will always be fired in the
natural event order.

Two menus are tested:
- A context menu in the page.
- The tools menu.

MozReview-Commit-ID: 4sLyvgMYMtE

--HG--
extra : rebase_source : 9837661f034530b63c9cbbbb3104fb6367f513a8
2017-09-26 19:25:22 +02:00
Rob Wu
ea69a1a9b5 Bug 1215376 - Fire menus.onShown for every menu r=mixedpuppy
This commit lifts the restriction that onShown is only fired for
extensions with a visible menu item.

MozReview-Commit-ID: Ao4MgBoRWLR

--HG--
extra : rebase_source : c1acd1bcbfdcc6ef4bfaf199f3f016dde71ad2e5
2017-09-14 18:28:36 +02:00
Rob Wu
c9ac969282 Bug 1215376 - refactor: re-use onShown event generator for onClicked r=mixedpuppy
The logic in onClicked had some flaws:
- editable can be undefined instead of a boolean.
- linkText, linkUrl is set in non-link contexts.
- srcUrl is set even in non-media contexts.

This change does not add new tests, because test coverage for the
event data generator is provided by:
browser/components/extensions/test/browser/browser_ext_menus_events.js

There is one observable change here.
Previously, linkUrl and linkText would also be set for non-link context
if the selected text contained a URL. When this happens, then
nsContextMenu.js sets onPlainTextLink=true.
With this refactor, linkText and linkUrl are only set if the context is
"link" (onLink=true).

MozReview-Commit-ID: 2xf1F41bn0U

--HG--
extra : rebase_source : 698e0b9a2eb10f58d02e062f930753752aff9a54
2017-09-14 16:41:14 +02:00
Rob Wu
fc7e2d4ea9 Bug 1215376 - Add more contextual information to onShown r=mixedpuppy
- Adds most of the OnClickData properties to the onShown event parameter
  (except for menu-specific properties such as parentMenuId / checked).
- Add tests to verify the values of these properties.

MozReview-Commit-ID: 7705sJyAOIJ

--HG--
extra : rebase_source : 8948ea20129cfd1c34653a3cbe9b36cebd6fa00d
2017-09-14 16:37:57 +02:00
Rob Wu
582474fa51 Bug 1215376 - Always use old contextData upon refresh r=mixedpuppy
MozReview-Commit-ID: K1wfFCYpMqB

--HG--
extra : rebase_source : c82f9d01631e3d4160de0c49657dd7d8ca8c7a6a
2017-09-14 02:11:29 +02:00