Commit Graph

306 Commits

Author SHA1 Message Date
Dan Banner
5af4450327 Bug 1408777 - Automatically fix instances of missing semicolons in the tree. r=Standard8
MozReview-Commit-ID: Jm8BRgt6mIv
2017-10-15 20:50:39 +01:00
Dão Gottwald
84d5634a0a Bug 1407613 - Remove dropmarker from the generic autocomplete binding. r=mak
MozReview-Commit-ID: DIVPqfbkJnL
2017-10-11 15:34:57 +02:00
Gijs Kruitbosch
9f4f621edb Bug 1391280 - store last sidebar command irrespective of whether sidebar was open, r=bgrins,mixedpuppy
MozReview-Commit-ID: HBfdW5vEZaD
2017-08-23 14:06:26 +01:00
Sebastian Hengst
424d5f399d Backed out changeset 1576132e98a3 (bug 1034036) for frequently failing browser-chrome's browser/components/sessionstore/test/browser_restore_reversed_z_order.js on OS X. r=backout a=backout
MozReview-Commit-ID: 9Ygvi8JI6NP
2017-09-09 13:00:36 +02:00
beekill
26f68efdd4 Bug 1034036 - Part 1: Separate windows opening and windows restoration process. Make windows restored in reversed z-order. r=mikedeboer
MozReview-Commit-ID: Faa8fnHRVvw
2017-07-21 10:00:32 +07:00
Dão Gottwald
3b23c00ce1 Bug 1394767 - Log an error and return in unexpected situations rather than calling NS_ASSERT and letting the subsequent code fail. r=mikedeboer
Returning in onBrowserCrashed if the browser isn't remote breaks various tests, so I simply removed this seemingly bogus check.

MozReview-Commit-ID: IoHhzdc2p7Y
2017-09-07 13:45:08 +02:00
Brian Grinstead
1cb90a3262 Bug 1394207 - Export a function to show the sidebar without firing focus for session restore;r=Gijs
MozReview-Commit-ID: uHrShpl2xJ
2017-09-06 08:58:10 -07:00
Kevin Jones
d31f6048f5 Bug 1284886 - Implement discardBrowser method. r=dao
MozReview-Commit-ID: 83ibhCHEaAM
2017-09-05 09:27:47 +02:00
Sebastian Hengst
dc81b08ca8 Backed out changeset 14e59ce2ce01 (bug 1284886) for failing own test on Windows 7 debug without e10s. r=backout 2017-09-04 23:54:54 +02:00
Kevin Jones
0774c059c5 Bug 1284886 - Add discardBrowser method to tabbrowser.xml, which returns tab to its lazy state. r=dao, r=mikedeboer 2017-09-03 15:31:00 -04:00
Wei-Cheng Pan
98170f2e9f Bug 1373814 - Add new probe to measure start-up input latency. data-r=francois r=francois,smaug
For parent process, users may expect the UI is interactable after they saw the
first tab has restored/shown.
So this patch added a new topic "sessionstore-one-or-no-tab-restored" which
represents the parent process has finished a tab restoring. If there is nothing
to restore, it is effectively equal to "sessionstore-windows-restored".

For centent processes, users may expect web content is interactable when the
top-level-content-document has finished loading, which is different from the
parent case.

MozReview-Commit-ID: AtEUW80Ea6n
2017-08-08 17:54:13 +08:00
Erica Wright
c466a47fd1 Bug 1379226 - Add telemetry probes to measure use of session restore button in tab bar. r=Gijs,liuche
MozReview-Commit-ID: 2u5CtatqBBT
2017-07-11 16:13:56 -04:00
Kris Maglione
be161e68b4 Bug 1391110: Part 4 - Remove unnecessary nsIFrameLoaderOwner QIs. r=smaug
The FrameLoaderOwner interface has been implemented in WebIDL for several
years now, so these QIs are simply unnecessary overhead.

MozReview-Commit-ID: LAzvfm5Qhy0
2017-08-19 13:32:58 -07:00
Brian Grinstead
1d229271b6 Bug 1388552 - Save Browser Console state in session store;r=mikedeboer,nchevobbe
This evolves restoreScratchpadSession into restoreDevToolsSession which can keep track
of more than just scratchpad windows. In this case we also restore the Browser Console.

MozReview-Commit-ID: D4vOGkpq8xH
2017-08-11 09:16:59 -07:00
Sebastian Hengst
c7240206e3 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-08-10 17:41:11 +02:00
Felipe Gomes
2a361c289b Bug 1388145 - Add SessionStore.promiseAllWindowsRestored. r=mikedeboer
MozReview-Commit-ID: 6FvkAdDnRPa
2017-08-09 15:05:59 -03: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
Beekill95
56f93ea8c0 Bug 1383073 - Move speculativeConnectOnTabHover to tabbrowser.xml so we don't have to worry about clearing mouseover listeners from tabs. r=dao.
MozReview-Commit-ID: 6Q0EvtJGEIg
2017-07-28 15:03:30 +07:00
Ryan VanderMeulen
af0aa4cb17 Merge m-c to inbound. a=merge 2017-07-21 09:40:28 -04:00
Beekill95
be4e60944f Bug 874533 - Part 1: Speculative connect when users hover mouse on a tab or when restoring tabs automatically. r=mikedeboer
MozReview-Commit-ID: aJUyM4z3Nh
2017-06-23 10:27:32 +07:00
Tim Taubert
ebe9275441 Bug 1348816 - Remove PageStyle collection/restoration from SessionStore r=mikedeboer 2017-07-21 10:35:20 +02:00
Sebastian Hengst
fd630d5ad3 Backed out changeset 36fe0b0b3b4c (bug 874533) for eslint failures, e.g. in browser/components/sessionstore/SessionStore.jsm:3437. r=backout 2017-07-18 18:22:24 +02:00
Beekill95
e1df6753f7 Bug 874533 - Part 1: Speculative connect when users hover mouse on a tab or when restoring tabs automatically. r=mikedeboer
MozReview-Commit-ID: aJUyM4z3Nh
2017-06-23 10:27:32 +07:00
Dão Gottwald
1262916843 Bug 1367630 - part 4: Don't claim that the stored title is a content title when it's really the page's URL. r=mikedeboer
MozReview-Commit-ID: 6VKZFmEv8WN
2017-07-14 09:50:41 +02:00
Beekill95
d6972c29f0 Bug 1331932 - Suppress window animations while we're restoring window dimension. r=mikedeboer,jimm,mstange 2017-06-22 14:27:05 +07:00
Carsten "Tomcat" Book
5d237abf55 Backed out changeset ad0560789e1e (bug 1331932) 2017-07-04 09:53:11 +02:00
Beekill95
1401857ea2 Bug 1331932 - Suppress window animations while we're restoring window dimension. r=mikedeboer,jimm,mstange 2017-06-22 14:27:05 +07:00
Alastor Wu
044f0cd4cb Bug 1351925 - remove blockMedia() and related tests. r=baku
The intermittent failure is caused by the innate drawback of the present test,
it doesn't be consistent with the behavior how we actually block the media.

Since we always block media implicit, it would be set in nsGlobalWindow's ctor.
We would never call blockMedia directly, so we can remove the function.

MozReview-Commit-ID: IjYJi5OHQ3X
2017-06-30 12:16:43 -07:00
Alastor Wu
88eba98907 Bug 1347791 - part4 : keep tab's block state consistent after session restore. r=dao,mikedeboer
If the tab was resumed before, it could start playing any autoplay media without user's
permission after session restore.

MozReview-Commit-ID: C3DHIIsLtJA
2017-06-29 05:46:28 -07:00
Florian Quèze
b622c2b081 Bug 1368456 - Remove imports of Promise.jsm from Firefox, r=mconley. 2017-06-23 11:25:18 +02:00
Dão Gottwald
be10d10d8a Bug 1365541 - Re-implement reusing the selected tab when restoring a window to fix FX_SESSION_RESTORE_RESTORE_WINDOW_MS regression. r=mikedeboer
MozReview-Commit-ID: CFxrJ8NjlER
2017-06-19 12:57:09 +02:00
Mike Conley
af2825f947 Bug 1370035 - Remove pending tab optimization now that tabs are injected lazily. r=dao
MozReview-Commit-ID: HTWVmFHtFv0
2017-06-13 16:48:08 -04:00
Paolo Amadini
8531ce563a Bug 1370652 - Handle more rejections in code exercised by browser-chrome tests. r=Mossop
These fixes are in preparation of making browser-chrome tests fail when there are unhandled Promise rejections.

MozReview-Commit-ID: JTMgC2XwzX2
2017-06-06 21:15:42 +01:00
Joel Maher
d1f0b3328d Bug 1368364 - backout bug 1242505 as it causes browser/modules/ intermittent failures. r=paolo 2017-06-03 10:34:14 +02:00
Julian Descottes
9ffe201f77 Bug 1366823 - Use DevToolsShim to call Scratchpad APIs from SessionStore.jsm;r=mikedeboer
DevTools are moving out of mozilla-central and m-c code should only rely on the
DevToolsShim that will remain available in m-c after the migration.
This changeset updates SessionStore.jsm to call the DevToolsShim instead of the
scratchpadmanager.

The actual underlying implementation is the same when devtools are installed and
no-ops when they are not.

MozReview-Commit-ID: Fv22TtjJiDw
2017-05-24 20:50:23 +02:00
Paolo Amadini
255a25f454 Bug 1242505 - Part 1 - Handle more rejections in code exercised by browser-chrome tests. r=Mossop
MozReview-Commit-ID: JTMgC2XwzX2
2017-05-25 15:00:22 +01:00
Sebastian Hengst
4f5a64e5c8 Backed out changeset b59573695517 (bug 1242505) 2017-05-28 11:31:22 +02:00
Paolo Amadini
48197ac0f0 Bug 1242505 - Part 1 - Handle more rejections in code exercised by browser-chrome tests. r=Mossop
MozReview-Commit-ID: JTMgC2XwzX2
2017-05-25 15:00:22 +01:00
Kevin Jones
4bc95d4f20 Bug 1365933 - Don't attempt to access tabData.entries value when tabData.entries is nonexistent or empty. r=mikedeboer 2017-05-22 08:33:29 -06:00
Dão Gottwald
5c61bddd6d Bug 1365780 - Consistently dispatch the TabAttrModified event and update the title bar when setting tab labels. r=mikedeboer
MozReview-Commit-ID: 1SNHtyw5hQ8
2017-05-19 14:19:06 +02:00
Bob Owen
bbbe1ef6e3 Bug 1351358 Part 2.5: Move logic in the parent for switching in and out of Large Allocation process into browser.js RedirectLoad. r=mystor
This fixes a bug where we swap out of the Large Allocation process, when reloaded via the UI.
2017-05-18 12:08:56 +01:00
Bob Owen
fb46714a11 Bug 1351358 Part 2: Limit the http pages that will load in the file content process with allowLinkedWebInFileUriProcess pref. r=Gijs, r=mystor
This change means that any related http pages driven through content (window.open, links, etc.) will continue to be loaded in the file content process.
Same-origin loads via the UI will also remain in the file content process.
Cross-origin loads via the UI will cause a process switch.
History navigation will stay in the process, if it was originally loaded in that process.
2017-05-18 12:08:56 +01:00
Matheus Longaray
28eed73af0 Bug 1364483 - Take customizemode attribute into account when saving tabs to disk. r=mikedeboer
This patch adds customizemode attribute data validation when saving tabs to disk.

MozReview-Commit-ID: 2GFXpApi0iQ
2017-05-15 13:21:54 -03:00
Carsten "Tomcat" Book
a27ec0c73b Backed out changeset 888dc371081a (bug 1347791) 2017-05-17 08:11:05 +02:00
Alastor Wu
61389f5625 Bug 1347791 - part4 : keep tab's block state consistent after session restore. r=mikedeboer
If the tab was resumed before, it could start playing any autoplay media without user's
permission after session restore.

MozReview-Commit-ID: C3DHIIsLtJA
2017-05-17 11:56:10 +08:00
Dão Gottwald
8a03219f50 Bug 1364516 - Move gCustomizeMode.setTab call out of updateTabLabelAndIcon. r=mikedeboer
While setTab does end up setting the label and icon, it also does completely different and more crucial things. This call really doesn't belong in updateTabLabelAndIcon.

MozReview-Commit-ID: 1ZSY17ThNx
2017-05-15 18:52:34 +02:00
Sebastian Hengst
aca09143b3 Backed out changeset b96483ca2c27 (bug 1364516) for failing mochitest browser/components/customizableui/test/browser_exit_background_customize_mode.js and eslint failure at SessionStore.jsm:3696:7 | 'win' is not defined. r=backout 2017-05-15 15:19:07 +02:00
Dão Gottwald
84b2e5be4d Bug 1364516 - Move gCustomizeMode.setTab call out of updateTabLabelAndIcon. r=mikedeboer
While setTab does end up setting the label and icon, it also does completely different and more crucial things. This call really doesn't belong in updateTabLabelAndIcon.

MozReview-Commit-ID: 9HXYS0fXgRN
2017-05-12 19:52:04 +02:00
Dão Gottwald
a4982b4878 Bug 1364127 - Set the initial tab label to the URL for new tabs and to the saved title for restored tabs, and make sure that label doesn't subsequently get clobbered with a placeholder r=past
MozReview-Commit-ID: 9t07uAVE13H
2017-05-12 13:35:44 +02:00
Florian Quèze
ff53eb9a63 Bug 1353542 - massive script-generated patch converting Task.async and Task.spawn calls, and generators clearly identifiable as tasks, rs=Mossop. 2017-05-12 14:42:39 +02:00