Commit graph

2076 commits

Author SHA1 Message Date
Ryan VanderMeulen
f443914cb9 Bug 1380968 - Fix broken syntax from the previous attempt at disabling. r=me 2017-09-21 10:40:35 -04:00
Kris Maglione
76f5de43e0 Bug 1401422: Bail out from idle callback if frameloader is being destroyed. r=mikedeboer
MozReview-Commit-ID: Je8rUC9PoLH

--HG--
extra : rebase_source : 9f690a2f567928cc046ddff031f4baadbbd3e79f
2017-09-19 18:51:52 -07:00
Nihanth Subramanya
5774ce7105 Bug 1398183 - Update copy for about:sessionrestore. r=johannh
MozReview-Commit-ID: ET2zEKsS7SM

--HG--
extra : rebase_source : 4684157d65d9425a043eacf14e470ee5ee974afd
2017-09-20 01:23:07 +05:30
Nan Jiang
dcc9a5e00a Bug 1352459 - Collect rich icons in ContentLinkHandler. r=mak,Mardak
MozReview-Commit-ID: GrjpuyvY7nm

--HG--
extra : rebase_source : a1800ae9f1626aeeea311ea85c81e50b5dd2094c
2017-09-12 09:47:51 -04:00
Joel Maher
f79bc86156 Bug 1380968 - Disable browser/components/sessionstore/test/browser_522545.js for frequent failures. r=me, a=test-only 2017-09-18 12:00:25 -04:00
Gijs Kruitbosch
069f2c2997 Bug 1391280 - store last sidebar command irrespective of whether sidebar was open, r=bgrins,mixedpuppy
MozReview-Commit-ID: HBfdW5vEZaD

--HG--
extra : rebase_source : 5058884698a2a2144b921a36abbe7c8c3a1fda52
2017-08-23 14:06:26 +01:00
Will Wang
1e04e92d6a Bug 1365970 - Move data collector timer in the content process to idle dispatch. r=mikedeboer 2017-09-13 21:06:06 +08:00
Christoph Kerschbaumer
e328a6db15 Bug 1397652 - Update tests within browser/ to comply with new toplevel data: URI navigation policy. r=gijs 2017-09-13 06:56:42 +02:00
Sebastian Hengst
dc47844809 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
Sebastian Hengst
08cf7c642a Backed out changeset b9fdf5d1b402 (bug 1034036)
MozReview-Commit-ID: 6JkYTuLEJQb
2017-09-09 12:58:38 +02:00
Sebastian Hengst
3c3aa7ed62 Backed out changeset 39a94e16a369 (bug 1034036)
MozReview-Commit-ID: IcSi7Zbp96e
2017-09-09 12:58:33 +02:00
Beekill95
72ce1c7a57 Bug 1034036 - Part 3: Tests that use set state should wait until window is restored to continue. r=mikedeboer
MozReview-Commit-ID: 5SZ9ePGMKF1

--HG--
extra : rebase_source : 0078e02a310374b5f54b68e17c824367547b0cc5
2017-08-15 14:45:08 +07:00
Beekill95
0f783a7dba Bug 1034036 - Part 2: Test that we stored correct z-indices and windows creation order, ensure we restore windows in reversed z-index. r=mikedeboer
MozReview-Commit-ID: HlAL2e6o7xX

--HG--
extra : rebase_source : 2166fca2090ca18f7b29a3be6cd0ca63b805335c
2017-07-25 10:53:04 +07:00
beekill
687bdfa2bb Bug 1034036 - Part 1: Separate windows opening and windows restoration process. Make windows restored in reversed z-order. r=mikedeboer
MozReview-Commit-ID: Faa8fnHRVvw

--HG--
extra : rebase_source : 094a3ff3acc79cb7fb896d85cec4abf046d83e01
2017-07-21 10:00:32 +07:00
Dão Gottwald
ffab83f96f 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

--HG--
extra : rebase_source : 36f06281afe370069442208cd129e91a8e1a0d18
2017-09-07 13:45:08 +02:00
Brian Grinstead
2ed7602d7a Bug 1394207 - Export a function to show the sidebar without firing focus for session restore;r=Gijs
MozReview-Commit-ID: uHrShpl2xJ

--HG--
extra : rebase_source : b9a79d541171982c6860edec366722821844f3e1
2017-09-06 08:58:10 -07:00
Kevin Jones
225104513a Bug 1284886 - Implement discardBrowser method. r=dao
MozReview-Commit-ID: 83ibhCHEaAM
2017-09-05 09:27:47 +02:00
Sebastian Hengst
2ff8041e36 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
0a5839402a Bug 1284886 - Add discardBrowser method to tabbrowser.xml, which returns tab to its lazy state. r=dao, r=mikedeboer
--HG--
extra : rebase_source : b63734bccd6a08535e2037fcd05081ade819e40b
2017-09-03 15:31:00 -04:00
Wei-Cheng Pan
83f77707b7 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

--HG--
extra : rebase_source : d920975bf95545ea9e3127d3f570b814fe301be9
2017-08-08 17:54:13 +08:00
Tim Taubert
ef4e38b6ea Bug 1386867 - Fix quantum_pageload_google talos regression r=mystor 2017-08-30 14:57:00 +02:00
Erica Wright
6bac72ab5a Bug 1379226 - Add telemetry probes to measure use of session restore button in tab bar. r=Gijs,liuche
MozReview-Commit-ID: 2u5CtatqBBT

--HG--
extra : rebase_source : db4d17bd5c57bfc5fb5bce4da8b7410152e44cc1
extra : source : 5f66dcf6ca5b0b7f0fa79fa564cecd6132aef783
2017-07-11 16:13:56 -04:00
Chris H-C
28c67cf8bd bug 1376600 - Remove registered(Keyed)Histograms r=Dexter
With the removal of the old addonHistograms, all histograms are now registered.
So removing registered(Keyed)Histograms should be straightforward?

Unfortunately not, as this was how we filtered data based on dataset
(opt-in/opt-out), so a little more fiddling was needed to get C++ to only
serialize dataset-appropriate data (instead of post-facto filtering it in JS).

MozReview-Commit-ID: HDplhmzmzJl

--HG--
extra : rebase_source : 9c38c97e39e3c4fb192288d751505e1f0f2a2c6d
2017-08-22 09:42:09 -04:00
Samael Wang
984c9ec855 Bug 1375833 - Part 4.2 - Fix session store test case. r=mikedeboer
Previously gecko would drop all subframe history entries on reloading if there
exists one or more dynamic subframes. With bug 1326251 and this bug, now that
dynamic frame entries are bound to bfcache (so they're still dropped on
reloading) but static entries are always kept in normal reloads.

Force reload would still drop all subframes regardless they're static or
dynamic, so for this test case I think we should just use a force reload.

MozReview-Commit-ID: 2mZZa59RMHB

--HG--
extra : rebase_source : 188b27f9566ce0652ca92c7765761ad3fd0b8c99
2017-08-21 18:01:40 +08:00
Dan Banner
f1eb5aaa84 Bug 1392119 - Enable the ESLint no-caller rule across mozilla-central r=standard8
MozReview-Commit-ID: JOC1330iFnh

--HG--
extra : rebase_source : 2afcb219d4a0d78f996bdc2c841456d2dccff605
2017-08-23 13:38:24 +01:00
Dão Gottwald
b34674d9c1 Bug 1054740 - When a session should be restored, don't load the homepage before the session file has been read. r=mikedeboer
MozReview-Commit-ID: 7W4ihQZEeWf

--HG--
extra : rebase_source : c8d6acbed4ddbff148523982b0b218479063855c
2017-08-24 18:39:39 +02:00
Kris Maglione
821308e4d1 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

--HG--
extra : rebase_source : 2495c07df21c474f5fabc257ff4db43b0d8047e4
2017-08-19 13:32:58 -07:00
Beekill95
f932059175 Bug 1388664: Execute _saveStateAsync in idle callback. r=mikedeboer
MozReview-Commit-ID: EmqpUkoUeUi

--HG--
extra : rebase_source : 16da91d7694a32523f4ffdc812422a1e0c9083a7
2017-08-11 08:49:52 +07:00
Mark Banner
a53020d022 Bug 1392098 - Enable the new ESLint no-useless-run-test rule across the tree. r=mossop
MozReview-Commit-ID: 35MaseieNUk

--HG--
extra : rebase_source : 98eaec6a67fd3b30ea6b0be641f26c3911012fab
2017-08-20 18:52:05 +01:00
Masatoshi Kimura
b3d2965807 Bug 938704 - Make OS.File support modern iterators. r=florian,Yoric
MozReview-Commit-ID: 8F1DtgakxM3

--HG--
extra : rebase_source : 05c42a3236ad55356a9149d8107e4a569fc06cd0
2017-08-19 15:04:13 +09:00
Christoph Kerschbaumer
3433502e67 Bug 1392095 - Update browser/components/sessionstore/test/browser_739531.js to comply with new data: URI inheritance model. r=smaug 2017-08-21 15:48:06 +02:00
Sebastian Hengst
4ea589bff9 Backed out changeset b91870ea1243 (bug 1392095) for failing browser/components/sessionstore/test/browser_739531.js. r=backout 2017-08-21 13:35:33 +02:00
Christoph Kerschbaumer
727db46407 Bug 1392095 - Update browser/components/sessionstore/test/browser_739531.js to comply with new data: URI inheritance model. r=smaug 2017-08-21 08:59:42 +02:00
Brian Grinstead
4902b5d260 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

--HG--
extra : rebase_source : 33f1a2183ee717c79f360a7dda688832a5c33566
2017-08-11 09:16:59 -07:00
Dão Gottwald
0a97ee4a56 Bug 1389525 - Add async version of nsISessionStartup::willOverrideHomepage. r=mikedeboer
MozReview-Commit-ID: 7zVR8H8cpB3

--HG--
extra : rebase_source : 9f02321b4a8242478ccba5a0275a2493a328678b
2017-08-11 17:26:35 +02:00
Gijs Kruitbosch
fcb33eb27c Bug 1377967 - make middle clicking history, bookmarks and closed tabs items work correctly, r=mikedeboer
MozReview-Commit-ID: VQUuQHyCXi

--HG--
extra : rebase_source : e76167b317c19993b23a9e869146a2201c3ff5ef
2017-08-10 23:05:33 +01:00
Andrew Halberstadt
d2109610fb Bug 1385352 - Enable 'mozilla/no-arbitrary-setTimeout' eslint rule on browser-chrome tests, r=standard8
MozReview-Commit-ID: 5lO0uAjHMsw

--HG--
extra : rebase_source : 8607b3964da207a6076c79b6f1d75b40503cdd7d
2017-08-10 14:48:21 -04:00
Phil Ringnalda
0ff5a4285d Backed out changeset 6896f93a2327 (bug 1385352) for not making it to m-c before the next violation of its new linting rule merged to autoland
MozReview-Commit-ID: 3HDE2C3wSU0
2017-08-10 20:21:19 -07:00
Wes Kocher
cff9e9b197 Merge m-c to autoland, a=merge
MozReview-Commit-ID: 2YvHbITn9w3
2017-08-10 18:25:34 -07:00
Sebastian Hengst
51d351f567 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-08-10 17:41:11 +02:00
Gijs Kruitbosch
2de2d3a7e9 Bug 1377967 - make middle clicking history, bookmarks and closed tabs items work correctly, r=mikedeboer
MozReview-Commit-ID: VQUuQHyCXi

--HG--
extra : rebase_source : 8f2edec2e0de448d4814b254f5c2458aa645be32
2017-08-10 23:05:33 +01:00
Felipe Gomes
bd266247ea Bug 1388145 - Add SessionStore.promiseAllWindowsRestored. r=mikedeboer
MozReview-Commit-ID: 6FvkAdDnRPa

--HG--
extra : rebase_source : be74710b8109afe231cbe09a26678f247b88fada
2017-08-09 15:05:59 -03: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
Andrew Halberstadt
f625fd5c37 Bug 1385352 - Enable 'mozilla/no-arbitrary-setTimeout' eslint rule on browser-chrome tests, r=standard8
MozReview-Commit-ID: 5lO0uAjHMsw

--HG--
extra : rebase_source : d72a88962ec8d843e7be99e25f710887f01b6e1a
2017-08-10 14:48:21 -04:00
Sebastian Hengst
c3b5851db2 Backed out changeset e4d1389a96ca (bug 1377967) because it blocks the backout of bug 1388753. r=backout 2017-08-10 20:01:44 +02:00
Gijs Kruitbosch
e105c93b98 Bug 1377967 - make middle clicking history, bookmarks and closed tabs items work correctly, r=mikedeboer
MozReview-Commit-ID: VQUuQHyCXi

--HG--
extra : rebase_source : 75e148a49ed86e1c979991daa43d31cfbf9511e0
2017-08-09 21:04:27 +01:00
Beekill95
74e263bd4c 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

--HG--
extra : rebase_source : a7f5653fb025ff845dc232da5ab3d41e858f7b79
2017-07-28 15:03:30 +07:00
Christoph Kerschbaumer
9427f1bbd8 Bug 1381761 - Convert test browser_911547.js to comply with new data: URI inheritance model. r=dveditz 2017-08-04 14:10:21 +02:00
Wes Kocher
baf6cddc4c Merge inbound to central, a=merge
MozReview-Commit-ID: 9NFjSEt96iT
2017-08-02 17:11:51 -07:00
Michael Layzell
93173eaebd Bug 1373672 - Part 3: Expose childOffset from nsIDocShell to use in nsSessionStoreUtils, r=ttaubert, r=smaug
The reasoning behind this is that with this change, removing a non-dynamic
docshell from the document dynamically shouldn't affect the indexes which we use
for both recording and restoring data in child docshells.

MozReview-Commit-ID: JIK8GBSWDEF
* * *
fixup
From c2cb8e33211348c36b1ce18bb62e6465fa46d3ae Mon Sep 17 00:00:00 2001
2017-08-02 19:08:19 +02:00