Commit Graph

4591 Commits

Author SHA1 Message Date
Dorel Luca
a64c0d1cfc Backed out changeset 7d3f2f4c53be (bug 1544863) for eslint failure 2019-04-23 17:16:13 +03:00
Christoph Kerschbaumer
1f7c11624e Bug 1544863: Explicitly pass csp to createContentWindow(). r=Gijs,baku
Differential Revision: https://phabricator.services.mozilla.com/D27871
2019-04-23 13:02:40 +00:00
Vijay Budhram
27bbee7a6e Bug 1542334 - Add FxA toolbar menu to app menu r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D26377
2019-04-19 14:05:24 +00:00
Arpit
bf94575434 Bug 1483077 - Replaced reference to getBrowser with gBrowser r=robwu,dao
Differential Revision: https://phabricator.services.mozilla.com/D27418
2019-04-17 00:04:54 +00:00
Ian Moody
0b2673df36 Bug 1379466 - Use auxclick event to trigger new tab on middle click. r=smaug
So it is still preventDefault()able once non-primary clicks aren't web visible.

Don't let browser.js' contentAreaClick handle any non-primary clicks.
ClickHandlerChild.jsm handles them first anyway.  Can probably rip it out
entirely in another bug.

Differential Revision: https://phabricator.services.mozilla.com/D26791
2019-04-18 12:57:36 +00:00
Nika Layzell
53da643c46 Bug 1542791 - Part 1: Support enabling out-of-process iframes with per-frame granularity, r=mconley
This code builds on top of the E10S "remote tabs" configuration system to add a
system for specifying that remote subframes should be used. Fission can be
enabled for a window by including the "fission" flag in options when opening
the window.

Differential Revision: https://phabricator.services.mozilla.com/D26560
2019-04-17 00:53:22 +00:00
Mike de Boer
4685c831da Bug 1518545 - Remove the superfluous 'engine-current' Search Service observer topic in favour of 'engine-default'. r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D27857
2019-04-17 09:45:24 +00:00
Marco Bonardo
c196d3bb5b Bug 1541647 - Avoid rebinding the urlbar on startup if Quantum Bar is enabled. r=Standard8
Applying the attribute early enough allows us to avoid rebinding the urlbar,
plus a few checks to ensure "popup" windows, without a visible toolbar, work
properly.

Differential Revision: https://phabricator.services.mozilla.com/D27253
2019-04-12 14:14:51 +00:00
Tim Nguyen
f6c51887ba Bug 1540387 - Replace browser-compacttheme.js with theme experiments. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D25536
2019-04-11 00:16:05 +00:00
Coroiu Cristina
817bdb8fcb Backed out 4 changesets (bug 1540387) for xpcshell failures at toolkit/mozapps/extensions/test/xpcshell/test_shutdown.js on a CLOSED TREE
Backed out changeset 0f940b496e58 (bug 1540387)
Backed out changeset f8e11c0bb2a4 (bug 1540387)
Backed out changeset e3ca91d64e82 (bug 1540387)
Backed out changeset ee2913c76f4a (bug 1540387)
2019-04-11 02:57:19 +03:00
Tim Nguyen
518d146eb1 Bug 1540387 - Replace browser-compacttheme.js with theme experiments. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D25536
2019-04-03 08:28:18 +00:00
Jonathan Kingston
7af9989152 Bug 1479433 - Changing icons and colors for containers to be class based. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D24918
2019-04-10 11:19:00 +00:00
Trushita
19b14883c7 Bug 1494948: Removed FX_PREFERENCES_OPENED_VIA probe and origin parameter for openPreferences r=jaws,chutten
Removed FX_PREFERENCES_OPENED_VIA probe as it expired in 63.Origin parameter for openPreferences has also been removed.

Differential Revision: https://phabricator.services.mozilla.com/D26795
2019-04-09 20:40:26 +00:00
Vijay Budhram
a103f9f794 Bug 1535937 - Add custom telemetry for FxA toolbar menu r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D25225
2019-04-09 13:30:59 +00:00
Syeda Asra Arshia Qadri
368cc6d884 Bug 1540637: Don't save persistent certificate exceptions in private browsing windows. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D26539
2019-04-09 10:30:01 +00:00
Gijs Kruitbosch
d494028419 Bug 1539757 - fix trying to initialize XBL bindings while the prompt is still hidden, r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D25390
2019-04-01 13:37:49 +00:00
Ciure Andrei
1ba5b77433 Backed out changeset de24b08ddc37 (bug 1539757) for causing browser_hidden_document_autofill.js, browser_httpauth.js, test_bug_627616.html to permafail CLOSED TREE 2019-03-30 03:13:58 +02:00
Gijs Kruitbosch
8e91bd9302 Bug 1539757 - fix trying to initialize XBL bindings while the prompt is still hidden, r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D25390
2019-03-29 23:11:37 +00:00
Johann Hofmann
68e7b1e3db Bug 1530348 - Unfork aboutNetError.{xhtml,css}. r=nhnt11
The larger changesets in this patch are simply moving code from one file into the other with hg mv.

A short summary of the changes:

- I removed the forked redirection from AboutRedirector.cpp
- I deleted the original aboutNetError.xhtml and aboutNetError.css files
  and moved aboutNetError-new.xhtml and aboutNetError-new.css in their place instead.
- I removed the browser.security.newcerterrorpage.enabled pref and all its usages.
- I removed some localization strings and resources that went unused because of the above changes.

Differential Revision: https://phabricator.services.mozilla.com/D25232
2019-03-29 09:33:58 +00:00
Oana Pop Rus
6f77633292 Merge inbound to mozilla-central. a=merge 2019-03-28 12:11:35 +02:00
Christoph Kerschbaumer
2ccc12bb79 Bug 1524970: Update more frontend code to explicitly pass a csp. r=Gijs,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D24959
2019-03-27 16:38:01 +00:00
Kris Maglione
bf5e48a6c8 Bug 1525511: Part 1 - Remove LWT install gunk. r=aswan
Differential Revision: https://phabricator.services.mozilla.com/D18781
2019-02-05 21:29:58 -08:00
Bas Schouten
6436b2e689 Bug 1536174 - Part 3: Add ability to start and stop composition recordings from a keyboard combo. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D23915
2019-03-18 20:06:33 +01:00
Mark Banner
9fe217af0e Bug 1538771 - Move trimURL to BrowserUtils.jsm so it can be more easily accessed in non-window contexts. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D24761
2019-03-26 09:15:50 +00:00
sakshaat
8b67bd2a1d Bug 1517483 - Get rid of nsIScriptSecurityManager::IsSystemPrincipal r=bzbarsky
Replaced instances of callers in both C++ and JS files to query the state from the principal directly.

Differential Revision: https://phabricator.services.mozilla.com/D22532
2019-03-24 20:36:25 +00:00
Ian Moody
cac3a5f1e2 Bug 1536653 - browser/ automated ESLint no-throw-literal fixes. r=Gijs
Result of running:
$ mach eslint -funix browser/ | sed -Ee 's/:.+//' - | xargs sed -E \
    -e 's/throw ((["`])[^"]+\2);/throw new Error(\1);/g' \
    -e 's/throw ((["`])[^"]+\2 \+ [^ ";]+);/throw new Error(\1);/g' \
    -e 's/throw \(/throw new Error(/g' -i

Differential Revision: https://phabricator.services.mozilla.com/D24110
2019-03-20 10:17:42 +00:00
Gijs Kruitbosch
a4db9e0510 Bug 1353013 - create preloaded newtab browser from an idle task, only in top window(s), r=dthayer
This limits us to 1 preloaded browser per window, in the top 3 normal windows + top 3 private windows.
If we try to create additional browsers beyond that, we instead move a pre-existing browser across.

Differential Revision: https://phabricator.services.mozilla.com/D21129
2019-03-19 17:29:48 +00:00
Gijs Kruitbosch
866709f525 Bug 1353013 - move new tab preload browser tracking into a separate module, r=dthayer
Differential Revision: https://phabricator.services.mozilla.com/D21126
2019-03-19 17:29:14 +00:00
Mellina Yonashiro
e33017de4b Bug 1534629 Non-bypassable cert error pages should use Advanced instead of More information r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D23316
2019-03-18 17:11:50 +00:00
Dhyey Thakore
b1279b35cf Bug 1444133 - Have an option to have view-source open in a separate (browser) window, not separate tab, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D18071
2019-03-19 11:17:18 +00:00
Gurzau Raul
d1c4f9f1f2 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-03-18 23:44:31 +02:00
Vijay Budhram
70b2482ba6 Bug 1524665 - Add send tab to device button, r=gijs
Differential Revision: https://phabricator.services.mozilla.com//D23387
2019-03-13 20:31:59 +00:00
shindli
244d2d9547 Backed out 3 changesets (bug 1353013) for a11y failures in accessible/tests/mochitest/relations/test_tabbrowser.xul CLOSED TREE
Backed out changeset af8bce2330e9 (bug 1353013)
Backed out changeset a3d1302b06c0 (bug 1353013)
Backed out changeset 976afd1adf84 (bug 1353013)
2019-03-18 18:21:16 +02:00
Erica Wright
aed14cd2c6 Bug 1522919 - Add histograms to count fingerprinting and cryptomining blocking states per page load. r=johannh
Add histograms to count fingerprinting and cryptomining blocking states per page load.

Differential Revision: https://phabricator.services.mozilla.com/D20389
2019-03-18 15:21:52 +00:00
Gijs Kruitbosch
f46c2a4254 Bug 1353013 - create preloaded newtab browser from an idle task, only in top window(s), r=dthayer
This limits us to 1 preloaded browser per window, in the top 3 normal windows + top 3 private windows.
If we try to create additional browsers beyond that, we instead move a pre-existing browser across.

Differential Revision: https://phabricator.services.mozilla.com/D21129
2019-03-12 14:34:39 +00:00
Gijs Kruitbosch
6a19ff891f Bug 1353013 - move new tab preload browser tracking into a separate module, r=dthayer
Differential Revision: https://phabricator.services.mozilla.com/D21126
2019-03-12 14:34:04 +00:00
Mark Striemer
384fe83296 Bug 1525092 - Confirm removing an extension in HTML about:addons r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D22796
2019-03-15 19:19:28 +00:00
Johann Hofmann
7f25eeb7a5 Bug 1533362 - Record contentBlockingEvent for background tabs. r=Ehsan
When switching tabs we use the securityUI.contentBlockingEvent property to update the shield state.

That property is set in https://searchfox.org/mozilla-central/rev/aae527894a97ee3bbe0c2cfce9c67c59e8b8fcb9/browser/base/content/browser.js#5025.

Unfortunately, that event is only received by the current browser because is is registered with gBrowser.addProgressListener instead of gBrowser.addTabsProgressListener. Thus, the background tab is not storing its content blocking event.

To fix this, we also listen for content blocking events with addTabsProgressListener, but exclude the
currently selected tab there.

Differential Revision: https://phabricator.services.mozilla.com/D23485
2019-03-15 17:37:26 +00:00
Thomas Nguyen
e5f8eebf98 Bug 1528695 - Part 2 : Use referrerInfo in openWindow, contextmenu and openLinkIn r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D21911
2019-03-15 05:10:17 +00:00
Kyle Machulis
84c4937745 Bug 1524709 - Remove aShouldBeRemote from updateBrowserRemoteness; r=nika
Just set the RemoteType in the options object argument, instead of
doubling up the information.

Differential Revision: https://phabricator.services.mozilla.com/D23250
2019-03-14 00:51:30 +00:00
Johann Hofmann
a989feb43e Bug 1529643 - Implement MitM priming on certificate error pages. r=keeler,mconley
Differential Revision: https://phabricator.services.mozilla.com/D22406
2019-03-13 23:36:54 +00:00
Gurzau Raul
ea769840ea Backed out 2 changesets (bug 1529643) for eslint failure at NetErrorChild.jsm on a CLOSED TREE.
Backed out changeset 000dfd4caca0 (bug 1529643)
Backed out changeset e4718a35d70b (bug 1529643)
2019-03-14 01:09:43 +02:00
Johann Hofmann
bb25c62a05 Bug 1529643 - Implement MitM priming on certificate error pages. r=keeler,mconley
Differential Revision: https://phabricator.services.mozilla.com/D22406
2019-03-13 21:04:02 +00:00
Ricky Rosario
f84ebeca36 Bug 1533588 - Bookmark confirmation hint panel is missing "Saved to Library!" text after landing patch from bug #1528955 r=dao
MozReview-Commit-ID: Ks6TAsIpHFz

Differential Revision: https://phabricator.services.mozilla.com/D22991
2019-03-13 08:16:27 +00:00
James Willcox
b93b9fa90d Bug 1524992 - Treat command line URIs as external r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D20890
2019-03-12 20:20:58 +00:00
Ricky Rosario
da722e4c7c Bug 1533452 - Very frequent (80%) macOS debug TEST-UNEXPECTED-FAIL | leakcheck | default 3024989 bytes leaked (AbstractThread, AbstractWatcher, AnimationTimeline, AtomSet, AudioChannelAgent, ...) when Gecko 67 merges to Beta on 2019-03-11 r=dao
MozReview-Commit-ID: BTTLzWmA1HT

Differential Revision: https://phabricator.services.mozilla.com/D23034
2019-03-12 09:11:10 +00:00
Vijay Budhram
ea307c8d64 Bug 1524665 - Add FxA avatar toolbar menu, r=gijs,eoger
Differential Revision: https://phabricator.services.mozilla.com//D20433
2019-02-23 17:56:19 +00:00
Mike Conley
d175eafd55 Bug 1529762 - Send PageStyle information up from pageshow events only after idle. r=Felipe
Differential Revision: https://phabricator.services.mozilla.com/D22521
2019-03-08 20:22:37 +00:00
Noemi Erli
7168c43af8 Backed out 2 changesets (bug 1529762) for failures in browser_page_style.js CLOSED TREE
Backed out changeset f49189976e12 (bug 1529762)
Backed out changeset 459979fd1d25 (bug 1529762)
2019-03-07 23:27:43 +02:00
Mike Conley
269dc372fa Bug 1529762 - Send PageStyle information up from pageshow events only after idle. r=Felipe
Differential Revision: https://phabricator.services.mozilla.com/D22521
2019-03-07 19:04:35 +00:00