Commit Graph

3812 Commits

Author SHA1 Message Date
Gabor Krizsanits
136abcdb0d Bug 1376895 - Make preloaded browser use pre-existing content process. r=mconley
We want to avoid to have several cached content processes, one for each
preloaded browser (one per window) and one for the preallocated process.
For that we force the preloaded browser to choose an existing process and
during the first navigation in that tab, that leaves about:newtab, we re-run
the process selecting algorithm
2017-08-10 16:48:11 +02:00
Tooru Fujisawa
4d79301846 Bug 1379842 - Check content principal when dragging and dropping from browser. r=smaug 2017-08-10 09:43:35 +09:00
Kris Maglione
0fb6b2e73c Bug 1388215: Part 3 - Use JIT-friendly defineLazy*Getters methods when defining many lazy imports. r=florian
MozReview-Commit-ID: APoFwUhDFdj
2017-08-09 13:03:36 -07:00
Valentin Gosu
3b55a54838 Bug 1380617 - Make sure "Did you mean to go to X" displays unicode domain r=Gijs
MozReview-Commit-ID: 4EbA4QJuNIX
2017-08-09 17:43:53 +02:00
Valentin Gosu
7a666609d4 Bug 1380617 - Change firefox code to use uri.displaySpec when unicode URLs are wanted r=Gijs
* Make URL bar show unicode URL by making losslessDecodeURI call uri.displaySpec
* Make sure URL bar copying returns unicode variant

MozReview-Commit-ID: GTESwOSJW0P
* * *
[mq]: bug1380617-url-autofill.patch

MozReview-Commit-ID: JUxFZcpc3rN
2017-08-09 17:43:51 +02:00
Brian Grinstead
1639cc6e15 Bug 1385452 - Add a keyboard shortcut in local builds to restart the browser;r=mossop
MozReview-Commit-ID: Du4PTPawzhm
2017-08-08 11:35:47 -07:00
dagasatvik
91d42b2553 Bug 1385820 - Enable the ESLint no-new-wrappers rule across mozilla-central; r=markh,standard8
MozReview-Commit-ID: FvJO3ibeiwg
2017-08-07 23:57:51 +05:30
Jared Wein
d016c13ec8 Bug 1385913 - Remove MOZ_PHOTON_ANIMATIONS ifdef. r=Gijs
MozReview-Commit-ID: 40TP43EKPCU
2017-08-07 12:37:34 -04:00
Masatoshi Kimura
29a4322fe8 Bug 389565 - Remove nsIExternalProtocolService::LoadUrl. r=Paolo
MozReview-Commit-ID: lMq06cPWYB
2017-08-06 11:25:42 +09:00
Henry Chang
325a9e1bb5 Bug 1375277 - Move Safe Browsing UI events to a separate telemetry probe. r=francois
MozReview-Commit-ID: KDAklsznekw
2017-08-02 14:01:44 +08:00
Masatoshi Kimura
0af76969af Bug 1375125 - Stop using nsILocalFile in the tree. r=froydnj
This mechanically replaces nsILocalFile with nsIFile in
*.js, *.jsm, *.sjs, *.html, *.xul, *.xml, and *.py.

MozReview-Commit-ID: 4ecl3RZhOwC
2017-08-04 17:49:22 +09:00
Ed Lee
c8a637b8a6 Bug 1386445 - Early about:newtab pages are missing message APIs because RemotePages registers too late. r=mossop
This moves AboutNewTab.init from nsBrowserGlue.js handling of "browser-delayed-startup-finished" into aboutNewTabService.js so that when the service is loaded once from the main thread probably by browser.js towards the beginning of _delayedStartup just before potentially calling gBrowser.loadTabs, the service triggers the attaching of RemotePages(about:newtab) before any about:newtab pages load.

Additionally even when RemotePages starts early enough, Activity Stream might not borrow the RemotePages instance early enough to catch the RemotePage:Load message, so to simulate that, RemotePages now remembers when a port has been loaded for consumers to check. Adds tests to confirm the expected properties on the port and value of loaded at the various RemotePage:* messages.

MozReview-Commit-ID: IXJLvFCgbEH
2017-08-01 12:30:33 -07:00
Gijs Kruitbosch
eb20153dc8 Bug 1354117 - remove pref from firefox.js, r=jaws
MozReview-Commit-ID: 3mrQ0vVD1zV
2017-08-02 11:32:09 +01:00
Gijs Kruitbosch
d485cb5fac Bug 1354117 - remove wrap handling for the bookmarks toolbar button and tests verifying it, r=johannh
MozReview-Commit-ID: CeSGIQrDPpw
2017-07-31 21:52:06 +01:00
Jared Wein
00be1e84aa Bug 1382898 - Disable the Stop / Reload animation if the stop / reload buttons are placed outside of the nav-bar due to bug 1382894. r=Gijs
MozReview-Commit-ID: 1LgSYvl7YGR
2017-07-20 20:55:58 -04:00
Jared Wein
c4ad1ec831 Bug 1384180 - Don't animate the stop->reload if the page loads within 150ms (too distracting). r=dao
MozReview-Commit-ID: 9KvMCRZo5LZ
2017-07-26 07:08:00 -04:00
Jared Wein
7670b22b76 Bug 1379620 - Disable stop-reload animation while a tab is opening or closing. r=dao
MozReview-Commit-ID: 4rwBQaH7jTR
2017-07-26 11:34:22 -04:00
Dão Gottwald
458082f07a Bug 1387011 - Remove deprecated getBrowserSelection and getNavToolbox functions. r=daleharvey
MozReview-Commit-ID: GVya0FS5hvX
2017-08-03 12:41:25 +02:00
Dão Gottwald
01ddaaba1d Bug 1386594 - Remove XULBrowserWindow.init. r=johannh
MozReview-Commit-ID: 6uWcb9FMdNE
2017-08-02 13:57:18 +02:00
Dão Gottwald
a4e8256282 Bug 1349555 - Implement most of the photon tab strip. r=johannh
MozReview-Commit-ID: 96ug22yZt5G
2017-08-03 09:15:23 +02:00
Wes Kocher
8f335f47a5 Merge m-c to autoland, a=merge
MozReview-Commit-ID: IJRYyJu1sWm
2017-08-02 17:42:10 -07:00
Wes Kocher
8ad489263c Merge inbound to central, a=merge
MozReview-Commit-ID: 9NFjSEt96iT
2017-08-02 17:11:51 -07:00
Sebastian Hengst
97ce1f48f8 Backed out changeset 4f1a531978f4 (bug 1379620) for failing browser_aboutStopReload.js. r=backout 2017-08-02 19:23:54 +02:00
Sebastian Hengst
2371bcb212 Backed out changeset 714713b0c49e (bug 1384180) because related bug 1379620 gets backed out. r=backout 2017-08-02 19:22:57 +02:00
Jared Wein
b245c3df86 Bug 1384180 - Don't animate the stop->reload if the page loads within 150ms (too distracting). r=dao
MozReview-Commit-ID: 9KvMCRZo5LZ
2017-07-26 07:08:00 -04:00
Sebastian Hengst
9fa8063d76 Backed out changeset c9594a10a88a (bug 1349555) for failing browser_windowopen_reflows.js. r=backout 2017-08-02 18:26:37 +02:00
Jared Wein
b41a469047 Bug 1379620 - Disable stop-reload animation while a tab is opening or closing. r=dao
MozReview-Commit-ID: 4rwBQaH7jTR
2017-07-26 11:34:22 -04:00
Masatoshi Kimura
c0943e4f30 Bug 1326520 - Rename nsIURI.path to pathQueryRef. r=valentin.gosu
MozReview-Commit-ID: DqJdTGopR9G
2017-07-29 20:50:21 +09:00
Dão Gottwald
e78546a45e Bug 1349555 - Implement most of the photon tab strip. r=johannh
MozReview-Commit-ID: GmWBIdjNMkC
2017-08-02 15:06:10 +02:00
Dão Gottwald
c862af6ace Bug 1386576 - Use list-style-image rather than the image attribute for items in the back/forward menu so that CSS can override this to display back/forward icons. r=mak
MozReview-Commit-ID: LvnpJlGlOqk
2017-08-02 14:46:08 +02:00
Sebastian Hengst
7808690ed4 Backed out changeset 696ea3253bc5 (bug 1386576) for one closing parenthesis too many in browser.js. r=backout on a CLOSED TREE 2017-08-02 14:35:15 +02:00
Dão Gottwald
9e65582310 Bug 1386576 - Use list-style-image rather than the image attribute for items in the back/forward menu so that CSS can override this to display back/forward icons. r=mak
MozReview-Commit-ID: 5Q0GpI0QiiM
2017-08-02 12:34:08 +02:00
Kris Maglione
13c497c2b8 Bug 1380294: Anchor non-tab tooltips to the correct remote browser. r=aswan
MozReview-Commit-ID: EsJEseyfGYi
2017-08-01 15:01:06 -07:00
Jared Wein
85b6f44e3b Bug 1386255 - Switch the stop/reload button if the about: URL loaded is not top-level. r=Felipe
MozReview-Commit-ID: Ieet9wNQf9o
2017-08-02 11:11:35 -04:00
Wes Kocher
404dd8da6d Backed out 2 changesets (bug 1349555) for failures in viewport-units-css2-001.html a=backout
Backed out changeset 5f1e7e8de03f (bug 1349555)
Backed out changeset 3ef0f35adc9f (bug 1349555)

MozReview-Commit-ID: Ly8AeXQy5Mn
2017-08-02 15:22:58 -07:00
Dão Gottwald
9e9c95719b Bug 1349555 - Implement most of the photon tab strip. r=johannh
MozReview-Commit-ID: GmWBIdjNMkC
2017-08-02 15:06:10 +02:00
Sebastian Hengst
c79acc9371 Backed out changeset 9f57aa650148 (bug 1379620) on request from jaws. r=backout 2017-08-02 21:09:35 +02:00
Jared Wein
081e810d73 Bug 1379620 - Disable stop-reload animation while a tab is opening or closing. r=dao
MozReview-Commit-ID: 4rwBQaH7jTR
2017-07-26 11:34:22 -04:00
Wes Kocher
b875a46c32 Merge m-c to autoland, a=merge
MozReview-Commit-ID: L5cEw8jWPNI
2017-07-31 17:53:14 -07:00
Wes Kocher
11c90747d8 Merge inbound to central, a=merge
MozReview-Commit-ID: Dg4fbH8wbXt
2017-07-31 17:43:38 -07:00
Marco Castelluccio
7501412ad3 Bug 1357517 - Remove or delay Preferences.jsm usage from some browser/base/content/* files. r=Gijs 2017-07-31 12:51:35 +02:00
Sebastian Hengst
76245ecacd Backed out changeset ecaae0733ca1 (bug 1383367)
MozReview-Commit-ID: 2lnZ8OUnXnG
2017-07-30 12:54:02 +02:00
Kris Maglione
5a72b01eec Bug 1383367: Part 3 - Defer getComputedStyle call if a reflow is currently pending. r=mconley
MozReview-Commit-ID: 33IRfOlaBxP
2017-07-26 14:30:00 -07:00
Drew Willcoxon
4611af424f Bug 1374477 - Add browser-pageActions.js for Photon page actions. r=Gijs
MozReview-Commit-ID: DUl7WlSnk4k
2017-07-29 20:24:58 -07:00
Carsten "Tomcat" Book
031a6f535a Merge mozilla-central to mozilla-inbound 2017-07-28 15:25:58 +02:00
Gijs Kruitbosch
9c6984405e Bug 1378807 - make search bar shortcut work in the permanent overflow panel, r=bwinton
MozReview-Commit-ID: HLdegoy2525
2017-07-27 15:00:38 +01:00
Kershaw Chang
864b01eb40 Bug 1366822 - Part1: Modify NetworkPrioritizer to only update selected tab's window ID, r=dao
The original NetworkPrioritizer tracks each browser window and give the high priority to the selected tab.
This patch is based on the NetworkPrioritizer, but only send a notification of the current selected tab's content outer window ID to network module.
2017-07-27 23:41:00 +02:00
Carsten "Tomcat" Book
f942a20315 Backed out changeset 1f9ec3827494 (bug 1383367) 2017-07-28 09:45:16 +02:00
Kris Maglione
fbc6edabc0 Bug 1383367: Part 3 - Defer getComputedStyle call if a reflow is currently pending. r=mconley
MozReview-Commit-ID: 33IRfOlaBxP
2017-07-26 14:30:00 -07:00
Carsten "Tomcat" Book
3fe83e45ea merge mozilla-inbound to mozilla-central a=merge 2017-07-27 10:57:25 +02:00