Commit Graph

2087 Commits

Author SHA1 Message Date
Mike de Boer
ed65e8c9b2 Bug 1402267 - Add a scalar telemetry probe that tracks SessionFile worker restarts. data-r=liuche, r=chutten,liuche,ttaubert
MozReview-Commit-ID: F3kCfz18kcQ
2017-10-17 12:04:37 +02:00
Mike de Boer
8fb809bc58 Bug 1402267 - Restart the SessionWorker each time there are failures reported as much as defined in the 'browser.sessionstore.max_write_failures' pref. r=ttaubert
MozReview-Commit-ID: 91vOcbmhFmj
2017-10-17 11:59:33 +02:00
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
Peter Van der Beken
a8401db6ec Bug 1383059 - Remove instanceof for supplemental interfaces. Part 1: add Window.isChromeWindow and switch |instanceof [nsIDOM]ChromeWindow| to use it instead. r=bz. 2017-10-06 13:47:27 +02:00
Erica Wright
0b479f8b5f Bug 1394457 - Update illustration for about:sessionrestore. ui-r=shorlander, r=dao
MozReview-Commit-ID: FSLb0ucVroj
2017-09-20 11:30:14 -04:00
Mike Conley
d25e9c9edf Bug 1244596 - Re-order awaits on browser loads in browser_revive_crashed_bg_tabs.js to avoid intermittent failure. r=mikedeboer
In this test, it was possible for browser2 to finish loading _before_ the
BrowserTestUtils.browserLoaded function we were awaiting on for browser1 had
yielded back to the test, meaning that by the time we got to run
BrowserTestUtils.browserLoaded(browser2), the browser was already done loading,
and browserLoaded would be waiting for a page load that would never occur.

MozReview-Commit-ID: EagrRrAAdJP
2017-10-03 15:23:47 -04:00
Wes Kocher
d89415aa9e Backed out changeset cf0280811b62 (bug 1394457) for sessionstore related bc failures a=backout
MozReview-Commit-ID: 6QvYDCSrdP1
2017-09-28 13:48:19 -07:00
Erica Wright
b50bbb2f6d Bug 1394457 - Update illustration for about:sessionrestore. ui-r=shorlander, r=dao
MozReview-Commit-ID: FSLb0ucVroj
2017-09-20 11:30:14 -04:00
Sebastian Hengst
810689541e Backed out changeset ff34580cb279 (bug 1394457) for failing many session store related tests due to exception, e.g. Marionette's test_refresh_firefox.py TestFirefoxRefresh.testReset. r=backout 2017-09-26 23:06:25 +02:00
Erica Wright
b9a88a9fb5 Bug 1394457 - Update illustration for about:sessionrestore. ui-r=shorlander, r=dao
MozReview-Commit-ID: FSLb0ucVroj
2017-09-20 11:30:14 -04:00
Ryan VanderMeulen
f0bfc9a7cd Bug 1380968 - Fix broken syntax from the previous attempt at disabling. r=me 2017-09-21 10:40:35 -04:00
Kris Maglione
ad542891c7 Bug 1401422: Bail out from idle callback if frameloader is being destroyed. r=mikedeboer
MozReview-Commit-ID: Je8rUC9PoLH
2017-09-19 18:51:52 -07:00
Nihanth Subramanya
f56a1dce1d Bug 1398183 - Update copy for about:sessionrestore. r=johannh
MozReview-Commit-ID: ET2zEKsS7SM
2017-09-20 01:23:07 +05:30
Nan Jiang
30ffa2b3a5 Bug 1352459 - Collect rich icons in ContentLinkHandler. r=mak,Mardak
MozReview-Commit-ID: GrjpuyvY7nm
2017-09-12 09:47:51 -04:00
Joel Maher
63d32ae1a1 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
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
Will Wang
719e779823 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
9657c6256d 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
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
Sebastian Hengst
c9fe595088 Backed out changeset b9fdf5d1b402 (bug 1034036)
MozReview-Commit-ID: 6JkYTuLEJQb
2017-09-09 12:58:38 +02:00
Sebastian Hengst
20affb951b Backed out changeset 39a94e16a369 (bug 1034036)
MozReview-Commit-ID: IcSi7Zbp96e
2017-09-09 12:58:33 +02:00
Beekill95
40f49ffa4b Bug 1034036 - Part 3: Tests that use set state should wait until window is restored to continue. r=mikedeboer
MozReview-Commit-ID: 5SZ9ePGMKF1
2017-08-15 14:45:08 +07:00
Beekill95
46d02655c0 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
2017-07-25 10:53:04 +07: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
Tim Taubert
83e6cb5a2a Bug 1386867 - Fix quantum_pageload_google talos regression r=mystor 2017-08-30 14:57:00 +02: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
Chris H-C
eabcba7afb 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
2017-08-22 09:42:09 -04:00
Samael Wang
026225fcc5 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
2017-08-21 18:01:40 +08:00
Dan Banner
69fb4d8501 Bug 1392119 - Enable the ESLint no-caller rule across mozilla-central r=standard8
MozReview-Commit-ID: JOC1330iFnh
2017-08-23 13:38:24 +01:00
Dão Gottwald
5cf041ac4e 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
2017-08-24 18:39:39 +02: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
Beekill95
819a958ee9 Bug 1388664: Execute _saveStateAsync in idle callback. r=mikedeboer
MozReview-Commit-ID: EmqpUkoUeUi
2017-08-11 08:49:52 +07:00
Mark Banner
44963145a5 Bug 1392098 - Enable the new ESLint no-useless-run-test rule across the tree. r=mossop
MozReview-Commit-ID: 35MaseieNUk
2017-08-20 18:52:05 +01:00
Masatoshi Kimura
747aea1659 Bug 938704 - Make OS.File support modern iterators. r=florian,Yoric
MozReview-Commit-ID: 8F1DtgakxM3
2017-08-19 15:04:13 +09:00
Christoph Kerschbaumer
9098a5fa96 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
d29ec40b1f 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
59b45527fe 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
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
Dão Gottwald
c2370a81b1 Bug 1389525 - Add async version of nsISessionStartup::willOverrideHomepage. r=mikedeboer
MozReview-Commit-ID: 7zVR8H8cpB3
2017-08-11 17:26:35 +02:00
Gijs Kruitbosch
d6670b90dc Bug 1377967 - make middle clicking history, bookmarks and closed tabs items work correctly, r=mikedeboer
MozReview-Commit-ID: VQUuQHyCXi
2017-08-10 23:05:33 +01:00
Andrew Halberstadt
1ecb0adc26 Bug 1385352 - Enable 'mozilla/no-arbitrary-setTimeout' eslint rule on browser-chrome tests, r=standard8
MozReview-Commit-ID: 5lO0uAjHMsw
2017-08-10 14:48:21 -04:00
Phil Ringnalda
5e91797776 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
d292002f8c Merge m-c to autoland, a=merge
MozReview-Commit-ID: 2YvHbITn9w3
2017-08-10 18:25:34 -07:00