Commit graph

3858 commits

Author SHA1 Message Date
Edouard Oger
2a915752c1 Bug 1391337 - Do not initialize gSync in nonBrowserWindowDelayedStartup. r=markh
MozReview-Commit-ID: H5ahbcFZnFX

--HG--
extra : rebase_source : 253bd5cf030b2a37d2bfe65b056440120a23b674
2017-08-17 14:13:49 -04:00
Wes Kocher
c1383cebf3 Merge m-c to autoland, a=merge
MozReview-Commit-ID: KLrOCT1a7El
2017-08-17 16:23:45 -07:00
Gijs Kruitbosch
f66567c39c Bug 1366327 - deal with about:reader, IDNA and non-exposable URIs better for copy/email link, r=adw
MozReview-Commit-ID: AnZa3mq2zMY

--HG--
extra : rebase_source : b35026f864c6d45856fb02b90e91b3a06b1a0ec0
2017-08-17 13:11:06 +01:00
Carsten "Tomcat" Book
99aa3f8e70 Merge mozilla-central to mozilla-inbound 2017-08-17 13:13:10 +02:00
Wes Kocher
366445521c Merge m-c to autoland, a=merge
MozReview-Commit-ID: DjSlrmDFfe3
2017-08-16 17:14:41 -07:00
Wes Kocher
9e13a44b54 Merge inbound to central, a=merge
MozReview-Commit-ID: GEfEDRZk5bo
2017-08-16 16:59:26 -07:00
Masatoshi Kimura
9ab81a1042 Bug 1389723 - Remove @deprecated nsIMIMEInputStream.addContentLength. r=dragana
MozReview-Commit-ID: 9b45aozatin

--HG--
extra : rebase_source : 636da171929fe6ecd69de5c68d9ed4064a3a7b09
2017-08-12 13:34:02 +09:00
Gabor Krizsanits
722233fed1 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-16 13:00:22 +02:00
Carsten "Tomcat" Book
1fc6e56a12 merge autoland to mozilla-central a=merge 2017-08-16 11:20:31 +02:00
Carsten "Tomcat" Book
a478b0ef54 Backed out changeset adf5ed713e0d (bug 1376895) 2017-08-16 11:15:50 +02:00
Wes Kocher
7921644d1b Merge inbound to central, a=merge
MozReview-Commit-ID: 1DadhJTLBXN
2017-08-15 19:02:51 -07:00
Wes Kocher
3945278423 Merge m-c to autoland, a=merge
MozReview-Commit-ID: D96bIJACwZe
2017-08-15 19:16:12 -07:00
Henry Chang
58f0bcb1a0 Bug 1388494 - Fix 'undefined' text issue after you clicked "Ignore this warning". r=francois
MozReview-Commit-ID: CLb1lVsybEg

--HG--
extra : rebase_source : b302d8da0c26fecc3a6b7afab676b762f62f08fc
2017-08-11 17:18:58 +08:00
Mike de Boer
25583e0eda Bug 1377968 - Add a tools section and subview to the Bookmarks subview inside the Library widget. r=Gijs
MozReview-Commit-ID: GqbUMbuvYoO

--HG--
extra : rebase_source : 09f489b9b558a9b8dfc0aecbf1ab863d816ee43b
2017-08-15 13:34:41 +02:00
Kris Maglione
08ac1de819 Bug 1357589: Part 1 - Use the correct default remote type for content-created tabs/windows. r=mconley r=mystor
When creating new windows/tabs from the content process, we currently choose
the default remote type based on the referrer URI, rather than the actual
remote type of the opener. While this generally works, it fails when opening
windows from URLs (particularly in iframes) which are opened in process types
other than their default process type, since the initial about:blank load gets
redirected to a new process before the child process has a chance to load its
actual target URI.

Using the actual remote type of the child opening the window fixes this
problem for URLs which are capable of being loaded into the child's process
type.

MozReview-Commit-ID: ClxVGxu52Lf

--HG--
extra : rebase_source : 3a029d207dac0b08eb7c7ce7737adfd9c1c96892
2017-08-16 15:11:59 -07:00
Wes Kocher
2458d6b297 Merge m-c to autoland, a=merge
MozReview-Commit-ID: KfZgcCxrZcg
2017-08-14 17:59:46 -07:00
Eugen Sawin
d8fdd4ab7b Bug 1377580 - [1.2] Extend nsIBrowserDOMWindow to support content window creation without URI loading. r=smaug 2017-08-14 14:57:25 +02:00
Jared Wein
9c075438e2 Bug 1389621 - Don't set this.animate=false during CombinedStopReload.init since pref monitoring is not guaranteed to run after init(), such is the case when exiting customize mode. r=Felipe
MozReview-Commit-ID: LXGChpFG2Xv

--HG--
extra : rebase_source : c9e0a34c63285e78282249387d472a8de0213879
2017-08-11 18:24:19 -04:00
Gabor Krizsanits
a53261ca24 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-15 14:05:17 +02:00
Wes Kocher
a5fc391fdf Merge m-c to autoland a=merge
MozReview-Commit-ID: LsPv9Mdodvf
2017-08-11 13:39:17 -07:00
Sebastian Hengst
cd718a6989 Backed out changeset 0aca62e914cf (bug 1376895) for asserting IsSafeToRun(), at dist\include\mozilla/SchedulerGroup.h:81 e.g. in mochitest dom/events/test/test_bug336682_1.html on Windows 10 x64. r=backout 2017-08-11 14:48:27 +02:00
Gabor Krizsanits
272b1a18ac 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-11 12:44:11 +02:00
Florian Quèze
a3bc704783 Bug 1372518 - the identity block shouldn't flicker when loading a secure internal page in a new window, r=johannh. 2017-08-11 10:19:48 +02:00
Brian Grinstead
0262e6e6ac Bug 1388552 - Export the HUDService object directly instead of individual methods and properties;r=nchevobbe
MozReview-Commit-ID: 9AYCuqqv1U7

--HG--
extra : rebase_source : 83612fd2c4edfde5c86cfc11a70682cc74ebfa12
2017-08-11 09:07:04 -07:00
Wes Kocher
936a9461f6 Merge inbound to m-c a=merge
MozReview-Commit-ID: KRQeIGmhAPA
2017-08-10 18:14:34 -07:00
Wes Kocher
1dfa5bfe06 Backed out changeset 93151fa47fcf (bug 1376895) for permafailing test_frameNavigation.html a=backout
MozReview-Commit-ID: 88VukVNkZHW

--HG--
extra : source : 93cf457d27d97667ff50dcf6aaeb7f0560708fae
2017-08-10 14:20:01 -07:00
Sebastian Hengst
6a9d58f37b Bug 1388215 - Fix broken browser.js after merge. r=bustage-fix on a CLOSED TREE
--HG--
extra : amend_source : 6f5cdb02d4784af2bdaf9571c2516fa33c0fe99a
2017-08-10 18:23:23 +02:00
Sebastian Hengst
51d351f567 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-08-10 17:41:11 +02:00
Gabor Krizsanits
02da6c0726 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
Dão Gottwald
2c29c9f69a Bug 956731 - Remove legacy add-on bar and statusbar shims. r=Gijs
MozReview-Commit-ID: 2deeujcHYUM

--HG--
extra : rebase_source : 90e8c1f1c90655d3e38560b588af82da64fdc2a5
2017-08-10 09:17:48 +02:00
Ryan VanderMeulen
6eb7aef00e Merge m-c to autoland. a=merge 2017-08-09 18:51:26 -04:00
Felipe Gomes
2e035ad163 Bug 1388145 - Move startup crashes tracking to nsBrowserGlue as it should only run once, and not per-window. r=florian
MozReview-Commit-ID: KR1bv1TJGVf

--HG--
extra : rebase_source : 0d6d7778acf515fdbf2fe86e926bc30d84b47514
2017-08-09 15:45:24 -03:00
Felipe Gomes
5130c05413 Bug 1388145 - Move CombinedStopReload.startAnimationPrefMonitoring to per-window initialization tasks. r=jaws
MozReview-Commit-ID: EECjcWwN9yZ

--HG--
extra : rebase_source : 6de62459205284008ca8c43fd80d1d8b9acb3a41
2017-08-09 15:45:12 -03:00
Felipe Gomes
a60bd21c16 Bug 1388145 - Move the Downloads progress code initialization to an idle callback. r=Paolo
MozReview-Commit-ID: 5cgvfKq5Mj4

--HG--
extra : rebase_source : 02c1ef380a6b3e71e14361a4ad60fc847c9dfc02
2017-08-09 15:44:43 -03:00
Felipe Gomes
702784b2dd Bug 1388145 - Move simple things out of delayedStartup to its proper location on _schedulePerWindowIdleTasks. r=florian
MozReview-Commit-ID: LN2ffUyKD13

--HG--
extra : rebase_source : 38c34fb5b36d7c977a938528f7670c966e461227
2017-08-09 15:44:38 -03:00
Felipe Gomes
2ebd419785 Bug 1388145 - Move Services.logins initialization to nsBrowserGlue. r=MattN
This will move this code to a place that will run it once per session (as needed) and not once per window. It also better defines it to run after all sessionstore-windows-restored, instead of arbitrarly after 3 seconds.

MozReview-Commit-ID: 2ekVeZfRYC4

--HG--
extra : rebase_source : 85f4e26d727a042091c5a8e5f9b9c346604d6029
2017-08-09 15:43:25 -03:00
Felipe Gomes
a8ac23305b Bug 1388145 - Make GMPInstallManager telemetry only run once per session (and not per window), and run it after an idle period. r=florian
MozReview-Commit-ID: GB07ftXNvXd

--HG--
extra : rebase_source : e047cfb5415658d732359e569f42572e0fb40bec
2017-08-09 15:43:14 -03:00
Felipe Gomes
635177b023 Bug 1388145 - Make Master Password telemetry only run once per session (and not per window), and run it after an idle period. r=MattN
MozReview-Commit-ID: 1Ecy94TGGar

--HG--
extra : rebase_source : 40596aaaf9f01fe6a565d5ebf1357951c928a863
2017-08-09 15:43:10 -03:00
Felipe Gomes
781d21edb8 Bug 1388145 - Create global and per-window entry points for scheduling initialization-related idle callbacks. r=florian
MozReview-Commit-ID: LDgTz21gDTL

--HG--
extra : rebase_source : 0dddf6768dea0fd0d044f0433f1fa869a92aa19b
2017-08-09 15:06:08 -03:00
Valentin Gosu
7096f198fc 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
3ebf792b66 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
Tooru Fujisawa
e50adffb61 Bug 1379842 - Check content principal when dragging and dropping from browser. r=smaug 2017-08-10 09:43:35 +09:00
Kris Maglione
0ecfcbc93e Bug 1388215: Part 3 - Use JIT-friendly defineLazy*Getters methods when defining many lazy imports. r=florian
MozReview-Commit-ID: APoFwUhDFdj

--HG--
extra : rebase_source : 15761873b91efaf1d338b6361bf7168ab4348e0d
2017-08-09 13:03:36 -07:00
Brian Grinstead
74f3a35a6d Bug 1385452 - Add a keyboard shortcut in local builds to restart the browser;r=mossop
MozReview-Commit-ID: Du4PTPawzhm

--HG--
extra : rebase_source : fbfca40a61b21fd06463e7075b9e1c8f758cc52d
2017-08-08 11:35:47 -07:00
dagasatvik
d4398e95f2 Bug 1385820 - Enable the ESLint no-new-wrappers rule across mozilla-central; r=markh,standard8
MozReview-Commit-ID: FvJO3ibeiwg

--HG--
extra : rebase_source : 5fc5c6760924da81a6d0708ff0d5586fc62c8c5e
2017-08-07 23:57:51 +05:30
Jared Wein
76f886b972 Bug 1385913 - Remove MOZ_PHOTON_ANIMATIONS ifdef. r=Gijs
MozReview-Commit-ID: 40TP43EKPCU

--HG--
extra : rebase_source : 203f7449e8345ed5c779dfc4fd5e9bd515b89da8
2017-08-07 12:37:34 -04:00
Masatoshi Kimura
ca088e461c Bug 389565 - Remove nsIExternalProtocolService::LoadUrl. r=Paolo
MozReview-Commit-ID: lMq06cPWYB

--HG--
extra : rebase_source : 5c48597cbe4491fff93d3e757efa5ecad0f7fc22
2017-08-06 11:25:42 +09:00
Henry Chang
a93f3d2ba4 Bug 1375277 - Move Safe Browsing UI events to a separate telemetry probe. r=francois
MozReview-Commit-ID: KDAklsznekw

--HG--
extra : rebase_source : 20d81369b18b12d9b5f6670d92bf3c7215c8c9a9
extra : intermediate-source : a2d99a6b07bb015f0bdc5c1687e250086ed09a5c
extra : source : 5460dbfebee4f99580b306a9b0ec754b890f5959
2017-08-02 14:01:44 +08:00
Masatoshi Kimura
8b713b2b0f 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

--HG--
extra : rebase_source : 412880ea27766118c38498d021331a3df6bccc70
2017-08-04 17:49:22 +09:00
Ed Lee
64170b63af 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

--HG--
extra : rebase_source : 2b53c4e58f4cb8cbd4ea10741f3f609693989010
2017-08-01 12:30:33 -07:00