Commit Graph

6530 Commits

Author SHA1 Message Date
Johann Hofmann
de90cae4e7 Bug 1462470 - Part 2 - Alert about trackers when Tracking Protection is off in the identity popup. r=Paolo
This commit changes the tracking protection UI to always be present in the
identity popup (control center) UI. Following the UI spec in
https://mozilla.invisionapp.com/share/RSIY1B8GMC2#/screens/297824891,
we are now warning about trackers even when TP is disabled and alter the
button that shows up in this case to open the TP settings in about:preferences.

MozReview-Commit-ID: 6g8rzWVRaua
2018-05-24 13:12:30 +02:00
Joel Maher
d0823df1ef Bug 1405428 - skip-if = verify on mochitests which do not pass test-verify. r=gbrown 2018-06-10 05:01:47 -04:00
Marco Bonardo
fc1090f8aa Bug 1467537 - The delete trigger on moz_updateoriginsinsert_temp is recalculating the whole table every time. r=adw
The trigger is missing a WHERE clause, and as such it ends up doing a lot more work than necessary.

The nsAutoCompleteController changes cover a bug where VK_RIGHT autofills when it's not necessary,
and by doing that it will move the caret to an unexpected position (far right) even if it didn't
actually complete some preselected text.

MozReview-Commit-ID: 1mVbxCdqVSr
2018-06-08 11:31:13 +02:00
Michael Kaply
77bdcfa59d Bug 1437942 - Remove search engines from langpacks. r=adw
MozReview-Commit-ID: GFCIbfmCc5B
2018-06-04 16:45:50 -05:00
Mark Banner
1088a9f732 Bug 1463088 - Whitelist self-assigns in browser/base/content/test/plugins/ ready for the next version of ESLint. r=jimm
MozReview-Commit-ID: 67uodWaF8sO
2018-06-07 14:42:37 +01:00
layely
5578b347e9 Bug 1458018 - Add style for multiselected tabs. r=jaws
MozReview-Commit-ID: Ead7pIfHBJP
2018-06-03 05:04:48 +00:00
Narcis Beleuzu
88f7131528 Backed out changeset f4a2094a00c5 (bug 1437942) as requested by pascalc. a=backout 2018-06-06 10:57:52 +03:00
Michael Kaply
7b69e191fb Bug 1437942 - Remove search engines from langpacks. r=adw.mielczarek
MozReview-Commit-ID: GFCIbfmCc5B
2018-06-04 16:45:50 -05:00
Oriol Brufau
b818f7e84a Bug 1466678 - Store multiple selected tabs in a WeakSet instead of a WeakMap r=jaws
MozReview-Commit-ID: 3sfRtQruInF
2018-06-04 23:20:46 +02:00
Andrew McCreight
dd1dbef63e Bug 1351690, part 4 - Only load the stream converter when we try to view a pdf. r=bdahl
This inlines and simplifies the call to XPCOMUtils._getFactory,
because otherwise passing PdfStreamConverter appears to resolve it
immediately, loading the JSM. (The stream converter prototype does not
have a property _xpcom_factory, so there's no need for the check.)

Once that is done, we can just lazily load the stream converter JSM to
keep it from being loaded on startup.

This patch also checks that the stream converter is not loaded at
startup in the main process or the content process, and that PdfJs.jsm
is not loaded at startup in the content process. It needs to be loaded
in the main process to watch for some prefs.

MozReview-Commit-ID: EA0pSgs4AWH
2018-05-22 16:13:47 -07:00
Andreas Pehrson
66f7a8a3d9 Bug 1463581 - Add browser chrome test. r=johannh
MozReview-Commit-ID: JpryAEsiWfN
2018-05-30 16:47:46 +02:00
Andreea Pavel
a570f1ddfa Backed out 4 changesets (bug 1351690) for failing browser chrome at e.g. browser/extensions/pdfjs/test/browser_pdfjs_zoom.js
Backed out changeset 8def346f7119 (bug 1351690)
Backed out changeset 64082649b185 (bug 1351690)
Backed out changeset 64d513f3c02b (bug 1351690)
Backed out changeset 4219d3de5e8b (bug 1351690)
2018-05-31 13:03:06 +03:00
Andrew McCreight
d9f8399da7 Bug 1351690, part 4 - Only load the stream converter when we try to view a pdf. r=bdahl
This inlines and simplifies the call to XPCOMUtils._getFactory,
because otherwise passing PdfStreamConverter appears to resolve it
immediately, loading the JSM. (The stream converter prototype does not
have a property _xpcom_factory, so there's no need for the check.)

Once that is done, we can just lazily load the stream converter JSM to
keep it from being loaded on startup.

This patch also checks that the stream converter is not loaded at
startup in the main process or the content process, and that PdfJs.jsm
is not loaded at startup in the content process. It needs to be loaded
in the main process to watch for some prefs.

MozReview-Commit-ID: EA0pSgs4AWH
2018-05-22 16:13:47 -07:00
Dan Minor
620ef0b8ac Bug 1450658 - Add preference to disable focusing source; r=pehrsons
Focusing a source during a test run can cause Firefox to lose focus and
subsequent tests to timeout. This adds a preference which defaults to true
that allows the source to be focused. It is then set to false for tests that
involve screen sharing.

MozReview-Commit-ID: CNq2c87y8Ho
2018-05-29 16:14:38 -04:00
Dão Gottwald
306f193ab6 Bug 1464489 - When creating a new bookmark, the bookmark panel should be titled "New Bookmark" instead of "Page Bookmarked". r=standard8
MozReview-Commit-ID: 1OeIdsf3bx
2018-05-25 20:22:35 +02:00
Noemi Erli
2b5cd7b5a0 Merge inbound to mozilla-central. a=merge 2018-05-30 00:41:41 +03:00
Boris Zbarsky
0e3408903e Bug 1460735 part 1. Remove use of nsIDOMDocument in JS. r=qdot
There are some places where we have a thing which may not even be a node, and
we end up hardcoding the value of DOCUMENT_NODE there, because
"foo.nodeType == foo.DOCUMENT_NODE" will test true if foo is not a node: both
sides will be undefined.
2018-05-29 13:39:00 -04:00
Kris Maglione
fd7c44dbd5 Bug 1460610: Follow-up: Fix test expectations. r=bustage DONTBUILD
MozReview-Commit-ID: 5jGHu7WKY30
2018-05-27 21:51:16 -07:00
Kris Maglione
95fec87e5b Bug 1461145: Follow-up: Fix still more racy tests. r=bustage,test-only
MozReview-Commit-ID: AnyF6jwyhDv
2018-05-27 18:34:36 -07:00
Kris Maglione
b17c88d626 Bug 1461145: Follow-up: Fix racy tests. r=trivial,test-only
MozReview-Commit-ID: IXaiDpU9l7A
2018-05-26 16:40:33 -07:00
Kris Maglione
e2dad07746 Bug 1461145: Support async startup/shutdown bootstrap methods. r=aswan
MozReview-Commit-ID: L0G4DA0KJ87
2018-05-12 18:51:32 -07:00
Johann Hofmann
5ce05b6cd0 Bug 1462468 - Add a tracking protection option to the hamburger menu. r=mikedeboer
MozReview-Commit-ID: HxRljbdsRau
2018-05-22 16:26:55 +02:00
Alex
a385a71c41 Bug 1445261 - Change promiseTopicObserved with TestUtils.topicObserved for one occurrence r=johannh
Removed the promiseTopicObserved function declaration from head.js.

MozReview-Commit-ID: 9Oyd29fi9ef
2018-05-18 09:16:48 -07:00
Dão Gottwald
f564e75ad7 Bug 1459887 - Relabel the "Remove Bookmark" button to "Cancel" in the New Bookmark dialog. r=standard8
MozReview-Commit-ID: EcCW2eBzfBT
2018-05-25 10:53:53 +02:00
Tomislav Jovanovic
22033f0467 bug 1455269 - Cancel instalation on notification dismissal r=aswan
MozReview-Commit-ID: DqbgdVTarQ8
2018-05-17 20:46:21 +02:00
layely
3b701cd4b2 Bug 1458022 - Implement ability to close a selection of tabs. r=jaws
MozReview-Commit-ID: 4yjajKnONuK
2018-05-21 04:16:01 +00:00
Felipe Gomes
d624e158f9 Bug 1409054 - Remove code from the old about:home. r=Mardak
MozReview-Commit-ID: JrgIFr2kAvI
2018-05-22 00:45:44 -03:00
Dorel Luca
17cbf44c3f Merge mozilla-inbound to mozilla-central. a=merge 2018-05-23 12:51:22 +03:00
Johann Hofmann
f36133f213 Bug 1462469 - Add a "Clear Cookies and Site Data" footer button to the identity popup. r=nhnt11
This implements a new button in the identity popup that allows users to quickly
remove cookies and site data from the sites they're visiting.

This uses the SiteDataManager behind the scenes and is similar to the changes
we made for PageInfo already.

There's a major drawback to this approach in that SiteDataManager needs to
refresh its entire data set everytime we want information about a single site
or want to remove anything (it's not trivial to get rid of that limitation while
dealing with all the quirks of our storage APIs). I will work around this by
implementing a way for SiteDataManager to incrementally update itself in bug 1460768.

MozReview-Commit-ID: Iy7ia0KllFq
2018-05-18 11:36:15 +02:00
Paolo Amadini
c766d617b5 Bug 1450816 - Combine the "toolbarpaletteitem" bindings in the "browser" folder. r=Gijs
MozReview-Commit-ID: BW4kDvP13Tj
2018-05-22 14:04:45 +01:00
Nan Jiang
8e8ea76383 Bug 1425494 - Make browser-open-newtab-start notify with extra info. r=dmose,mstriemer
MozReview-Commit-ID: EjDFjUvreEp
2018-05-16 11:15:47 -04:00
layely
374bd9bd10 Bug 1458013 - Add ability to select a range of tabs using Shift. r=jaws
MozReview-Commit-ID: DQxhkTEyRyq
2018-05-17 02:38:14 +00:00
Cosmin Sabou
88d4f9c7d9 Merge inbound to mozilla-central. a=merge 2018-05-17 18:28:27 +03:00
Dão Gottwald
795ffd6699 Bug 1458793 - Update flicker conditions to account for bug 1183135. r=mconley
MozReview-Commit-ID: 5xgXzdf68wg
2018-05-17 13:10:11 +02:00
Cosmin Sabou
459ac77d48 Merge mozilla-central to inbound. a=merge 2018-05-17 12:49:47 +03:00
Stephen A Pohl
72c10db1b1 Bug 860493: Add test for history swipe arrows. r=felipe 2018-05-16 23:09:51 -04:00
Mathieu Leplatre
5092505fec Bug 1451050 - Generalize loading of packaged remote settings dumps r=Gijs
MozReview-Commit-ID: FwD92fataAy
2018-05-10 15:27:21 +02:00
Margareta Eliza Balazs
d94d8ffdfe Backed out changeset be23dc007b53 (bug 1451050) for bustage [automation/package] Error 2 on a CLOSED TREE 2018-05-16 13:24:53 +03:00
Margareta Eliza Balazs
a2799891eb Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-05-16 13:06:18 +03:00
Mathieu Leplatre
94e19220ff Bug 1451050 - Generalize loading of packaged remote settings dumps r=Gijs
MozReview-Commit-ID: FwD92fataAy
2018-05-10 15:27:21 +02:00
Shane Caraveo
74c6dfd05d Bug 1460728 fix intermittent pinned tab test, r=rpl
MozReview-Commit-ID: KLIbEDWoBgk
2018-05-14 12:17:57 -05:00
Johann Hofmann
23ecf14d34 Bug 1452361 - Don't reset to default permissions for cookies in page info. r=nhnt11
This commit makes the page info window treat cookie permissions a little
differently, to reflect that the "default" value for cookies is a combination
of two prefs that doesn't strictly map onto the ALLOW/SESSION/DENY system of
permissions.

I also added some more general pageinfo permissions tests.

MozReview-Commit-ID: 80vd61Rv867
2018-05-09 15:39:26 +02:00
Csoregi Natalia
664846369b Merge inbound to mozilla-central. a=merge 2018-05-15 12:53:24 +03:00
Cosmin Sabou
b767eadf4b Bug 1455882 - Disable browser/base/content/test/tabs/browser_new_tab_insert_position.js on Linux 32 debug for almost permafailing. r=nbeleuzu,cbrindusan 2018-05-15 04:25:04 +03:00
Jonathan Kingston
78a584887d Bug 1424380 - Require triggering principal passed into openUILink(). r=Gijs
MozReview-Commit-ID: BsQqZzfm2Ra
2018-05-14 11:35:08 +01:00
Johann Hofmann
9ff3826f2f Bug 1456899 - Consider the page URI when checking WebRTC permissions in webrtcUI.jsm. r=nhnt11
While we already do a permission check in native webrtc code, the one
in webrtcUI is needed to provide extra protection against permission spam
by checking if there's a temporarily denied permission on the tab.

Since we introduced custom default permission values it is necessary to
also pass the URI to make sure we catch exceptions added by the user.

MozReview-Commit-ID: C8r6ymbKE3a
2018-05-08 15:31:49 +02:00
Brindusan Cristian
cf60ac34cf Merge inbound to mozilla-central. a=merge 2018-05-12 12:47:14 +03:00
Xidorn Quan
c9613f717e Bug 1460870 - Whitelist fullscreen pseudo-class in pdfjs when unprefixed fullscreen is disabled. r=Gijs
MozReview-Commit-ID: L5EpFOHc5v4
2018-05-12 00:15:15 +10:00
Marco Bonardo
bb40ab662a Bug 1458910 - Merge nsPIPlacesDatabase into nsINavHistoryService. r=standard8
MozReview-Commit-ID: LacXKR32Jn3
2018-05-10 10:39:12 +02:00
Chris Pearce
91caf2ccc0 Bug 1458383 - Remove browser mediaBlocked attribute. r=mikedeboer
This is a partial backout of Bug 1347791 part 3; a5fbb7e2d1d0.

a5fbb7e2d1d0 added a mediaBlocked attribute to the browser element, which
tracked whether the tab has ever been in the foreground, so that this could
be saved and restored in session restore. We don't session restore this
anymore, so we can remove this attribute and associated event handlers.

This also removes the media.autoplay* pref accesses which are accounted for in
the test browser_preferencecs_usage.js, so remove those prefs from that test.

MozReview-Commit-ID: HLeylLzEsW8
2018-05-09 14:45:39 +12:00