Commit graph

1780 commits

Author SHA1 Message Date
Mike Conley
ae5eef41a2 Bug 1327210 - Make sure we can flip remoteness on a customizemode tab if the user somehow finds a way of navigating away. r=dao
A check for the customizemode attribute was added to SessionStore.restoreTabContent
back when we removed the about:customizing preloading hackery in bug 1014185. This
was added to prevent the extra work of unnecessarily restoring the content for a
tab that was in customize mode (since the content is actually hidden).

However, there are ways for a user to attempt to browse away from customize mode
in the current tab - for example, going to their Home page with Alt-Home. When
we do this in e10s mode, we do a "remoteness flip" to make the hidden about:blank
browser be remote, which causes us to go through the SessionStore machinery to
do the session swap to the new remote browser. The problem is when we hit the
restoreTabContent part - we hit the condition where the customizemode attribute
is set to true, and then we bail out, which means we never finish the swap. We're,
at this point, in a half-restored state that never resolves.

This patch makes it so that in restoreTabContent, if loadArguments is not null (so
we've been given arguments on where to send the browser _next_ on top of its newly
restored history), we don't skip just because the customizemode attribute is set.

MozReview-Commit-ID: HwW7y2EKJvn

--HG--
extra : rebase_source : 73dfebae4f0399905a8146545618e62826817df0
2017-01-10 13:56:15 -05:00
Florian Quèze
028a82f682 Bug 1329182 - remove trailing newURI null parameters in browser/, r=jaws. 2017-01-09 20:27:25 +01:00
Thomas Nguyen
0aaea58b69 Bug 1304623 - Create a pref to control the default referrer policy - part 3. r=bkelly
MozReview-Commit-ID: 1A6IHPeNYBQ
2017-01-05 11:29:56 +08:00
Samael Wang
1e9e35e6e1 Bug 1323651 - Rename Partial/GroupedSessionHistory to Partial/GroupedSHistory. r=ehsan
MozReview-Commit-ID: G2GW4ZPIfH3
2016-12-22 16:06:50 +08:00
Vedant Sareen
9fe2fdf0cb Bug 1323134 - Stop setting the crop attribute on tabs. r=dao 2016-12-18 19:09:27 +01:00
Matheus Longaray
e6b68c3ab4 Bug 1306294 - Filters out not worth-saving tabs from session state. r=mikedeboer
--HG--
extra : amend_source : f68d04558cad4c72c9dbdef661dd6158c8a5a403
2016-12-06 03:30:00 -05:00
Michael Layzell
14a9005e68 Bug 1318767 - Part 1: When performing SessionRestore on a GroupedSHistory tab, ensure that it reverts to a complete SHistory state before restoring, r=mikedeboer
MozReview-Commit-ID: 2zNXDtkx3bs
2016-11-24 10:45:00 +08:00
Mike de Boer
45676f2f6b Backed out changeset ba2692e1cbcf (bug 1252376) due to intermittent leaks.
MozReview-Commit-ID: IPFyfMhhLhv
2016-11-30 11:31:44 +01:00
Mike de Boer
ad5c134dfa Bug 1252376 - refactor browser_privatetabs.js to use BrowserTestUtils instead of using less deterministic methods and make sure to garbage collect, forcibly, after each sessionstore mochitest ended. r=Gijs
MozReview-Commit-ID: BgYllazwzLp

--HG--
extra : rebase_source : a4d75ac6a4d6bcd5fa3370f2cbcc7aa5a36529e1
2016-11-25 16:53:33 +01:00
Bob Silverberg
8e649a473a Bug 1308061 - Implement sessionstore-closed-objects-changed event, r=mikedeboer
MozReview-Commit-ID: 7pBrvAhVQHP

--HG--
extra : rebase_source : 94e2784e733806a181175a163586fc354476a6f2
2016-11-25 10:32:08 -05:00
Michael Layzell
96ce3e596a Bug 1318867 - Listen for a LocationChange event after changing processes before flushing SessionStore, r=mikedeboer
MozReview-Commit-ID: GidwIVWEy2s
2016-11-24 12:23:09 -05:00
Bob Owen
4f48f9317d Bug 1147911 Part 2: Add a remote type property and use it to drive the process switching in frontend code. r=gijs, r=jryans, r=mikedeboer 2016-11-24 15:08:30 +00:00
Sebastian Hengst
4240700f13 Backed out changeset 5b26ae9afaea (bug 1147911) 2016-11-23 18:33:10 +01:00
Bob Owen
67d3ea6af8 Bug 1147911 Part 2: Add a remote type property and use it to drive the process switching in frontend code. r=gijs, r=jryans, r=mikedeboer 2016-11-23 13:36:57 +00:00
Carsten "Tomcat" Book
838bd84f47 Backed out changeset 4b75d4672954 (bug 1306294) for bc5 test failures 2016-11-23 12:44:02 +01:00
Matheus Longaray
253c6de341 Bug 1306294 - "Restarting browser while Simplify Page mode on, restores 2 new empty tabs". r=mdeboer 2016-11-22 06:30:00 +08:00
Michael Layzell
b761a161fd Bug 1310771 - Part 4: Add a test for SessionStore support for cross process navigations, r=mikedeboer
MozReview-Commit-ID: 288dTbrSjOE
2016-11-18 16:00:43 -05:00
Michael Layzell
054becaed7 Bug 1310771 - Part 3: Add support to SessionStore for recording history for GroupedSHistories, r=mikedeboer
MozReview-Commit-ID: Ffq7h3zRUm3
2016-11-18 16:00:43 -05:00
Andrea Marchesini
42cdd9436b Bug 1318273 - Improve the use of SpecialPowers.pushPrefEnv() - part 2, r=qdot 2016-11-18 09:33:50 +01:00
Andrea Marchesini
2f974ccbce Bug 1318273 - Improve the use of SpecialPowers.pushPrefEnv() - part 1, r=qdot 2016-11-18 09:33:33 +01:00
Sebastian Hengst
5fca81c6e4 Backed out changeset 5cffb4645bc0 (bug 1147911) 2016-11-18 00:58:52 +01:00
Michael Layzell
8a4c8d5381 Bug 944694 - Part 2: Update SessionStore to use the new docshellID format, r=mikedeboer
MozReview-Commit-ID: 29te1YC9FNo
2016-11-17 16:52:17 -05:00
Sebastian Hengst
7110a88674 Backed out changeset d43b778d95c6 (bug 1318273) for failing mochitest fetch/test_formdataparsing.html. r=backout on a CLOSED TREE 2016-11-17 20:58:38 +01:00
Sebastian Hengst
fdfd8b91d1 Backed out changeset 2560659cda95 (bug 1318273) 2016-11-17 20:57:59 +01:00
Andrea Marchesini
a895bd31ae Bug 1318273 - Improve the use of SpecialPowers.pushPrefEnv() - part 2, r=qdot 2016-11-17 19:36:21 +01:00
Andrea Marchesini
cf2ad8072f Bug 1318273 - Improve the use of SpecialPowers.pushPrefEnv() - part 1, r=qdot 2016-11-17 19:36:01 +01:00
Bob Owen
8c7b20c42d Bug 1147911 Part 2: Add a remote type property and use it to drive the process switching in frontend code. r=gijs, r=jryans, r=mikedeboer 2016-11-17 15:48:52 +00:00
Michael Layzell
16da45d78b Bug 1317705 - Pass aRestoreImmediately through to SessionStoreInternal, r=Yoric a=kwierso CLOSED TREE
MozReview-Commit-ID: ENRssR9Wmun
2016-11-15 12:02:23 -08:00
Wes Kocher
87e69af608 Backed out changeset 100920157ed0 (bug 1317705) for bc4 failures a=backout 2016-11-15 11:33:15 -08:00
Michael Layzell
363b71590c Bug 1317705 - Pass aRestoreImmediately through to SessionStoreInternal, r=Yoric
MozReview-Commit-ID: ENRssR9Wmun
2016-11-15 11:32:42 -05:00
Mike Conley
446ba52ae7 Bug 1309316 - Expose preference for auto-submitting backlogged crash reports to about:tabcrashed. r=Felipe
MozReview-Commit-ID: JvhK0MO1IK

--HG--
extra : rebase_source : 1d1b1fbab92a0fa11772779c489a221c06b236c2
2016-11-02 15:04:15 -04:00
Valentin Gosu
656872593e Bug 1315302 - Remove signedPkg from origin attributes r=baku
MozReview-Commit-ID: L1xvRgeO6De

--HG--
extra : rebase_source : dee943054af499b6e3f0aca2801fa9414f5567be
2016-11-06 16:15:36 +01:00
Phil Ringnalda
a7bc94158c Merge m-i to m-c, a=merge
MozReview-Commit-ID: H4VKCYDq5cD

--HG--
rename : xpcom/tests/TestAutoRef.cpp => xpcom/tests/gtest/TestAutoRef.cpp
rename : xpcom/tests/TestCOMArray.cpp => xpcom/tests/gtest/TestCOMArray.cpp
rename : xpcom/tests/TestCOMPtr.cpp => xpcom/tests/gtest/TestCOMPtr.cpp
rename : xpcom/tests/TestCOMPtrEq.cpp => xpcom/tests/gtest/TestCOMPtrEq.cpp
rename : xpcom/tests/TestFile.cpp => xpcom/tests/gtest/TestFile.cpp
rename : xpcom/tests/TestHashtables.cpp => xpcom/tests/gtest/TestHashtables.cpp
rename : xpcom/tests/TestID.cpp => xpcom/tests/gtest/TestID.cpp
2016-11-05 13:36:25 -07:00
Kevin Jones
0eaa912893 Bug 1315222 - Rename the TabBrowserCreated event to TabBrowserInserted. r=dao 2016-11-05 09:01:11 +01:00
Phil Ringnalda
c9fdc270b6 Merge m-c to autoland
--HG--
rename : dom/media/webaudio/compiledtest/TestAudioEventTimeline.cpp => dom/media/webaudio/gtest/TestAudioEventTimeline.cpp
2016-11-03 20:02:24 -07:00
Phil Ringnalda
0f32b67e2d Merge m-i to m-c, a=merge
MozReview-Commit-ID: Hm1RxN6OaoZ
2016-11-03 19:32:48 -07:00
Gabor Krizsanits
fccad1c205 Bug 1301340 - part4: Force single content process for failing tests. r=mrbkap 2016-11-03 19:28:09 +01:00
Phil Ringnalda
45c34d7e95 Merge m-c to autoland 2016-11-02 20:03:20 -07:00
Phil Ringnalda
393b414467 Merge m-i to m-c, a=merge
MozReview-Commit-ID: 48WAQwKUCpw
2016-11-02 19:28:38 -07:00
Gijs Kruitbosch
dc8d50ed3e Bug 1312406 - part 1: remove tab groups migration code, r=Dolske
MozReview-Commit-ID: BDuX607J51w

--HG--
extra : rebase_source : a22ba1e0c19680484abe7bd7344ea72a29d26755
2016-11-01 15:59:11 +00:00
Bob Silverberg
94e5cc5c56 Bug 1313776 - Fix frequent OSX debug bc6 failures with The mochitest suite, r=mikedeboer
MozReview-Commit-ID: 34mzWaM4vef

--HG--
extra : rebase_source : 413eff80ec36539a29d03b321fe5e5c124b2c249
2016-11-03 07:11:48 -04:00
Geoff Brown
ef3f1323fa Bug 1313397 - Move browser/components/sessionstore/Utils.jsm to toolkit/modules; r=mikedeboer
--HG--
rename : browser/components/sessionstore/Utils.jsm => toolkit/modules/sessionstore/Utils.jsm
2016-11-02 10:56:20 -06:00
Sebastian Hengst
07a93d8bfb Bug 1310297 - Remove test annotations using b2g, mulet or gonk: browser. r=RyanVM
MozReview-Commit-ID: LDNr97hKpc8

--HG--
extra : rebase_source : 64fd1735a2db892c5e2d2976667ca2374b9b0554
2016-11-05 11:29:13 +01:00
Wes Kocher
df5dbf81cc Merge central to inbound a=merge 2016-11-02 17:31:08 -07:00
Bob Silverberg
6bd41ebdb5 Bug 1309880 - Support undoing closeTab and closeWindow by ID, r=mikedeboer
MozReview-Commit-ID: 6CoJPyjUpHH

--HG--
extra : rebase_source : 775ee7b7933e07ffca7199d4b04d20f0ed363b1e
2016-10-28 08:15:11 -04:00
Phil Ringnalda
56dcb2694d Merge m-i to m-c, a=merge
MozReview-Commit-ID: J2Mx0f21eBE
2016-10-31 18:35:14 -07:00
Michael Layzell
209fba3a7f Bug 1304140 - Part 1: Implement support for the Large-Allocation header behind the dom.largeAllocationHeader.enabled pref, r=smaug
MozReview-Commit-ID: 5KBIu6Fc3Ea
2016-10-31 16:38:54 -04:00
David Malaschonok
30c99b8a19 Bug 1313876 - Fixed _undoCloseMiddleClick function call in event listener. r=jaws
MozReview-Commit-ID: 3hkpkldzxRW

--HG--
extra : rebase_source : 7ae0bcf4772702cef6007fb47419fdc815e25036
2016-10-30 11:29:24 +01:00
David Malaschonok
a0735c9169 Bug 926579 - Remove duplication in RecentlyClosedTabsAndWindowsMenuUtils through refactoring. r=jaws
MozReview-Commit-ID: 8M43BnSxnoO

--HG--
extra : rebase_source : 27c4554ef9727592e5dad35385ab8d7e1953eb27
2016-10-20 19:00:33 +02:00
Will Wang
4a9ead405c Bug 1255977 - Resolve promise once flushing timeout or crash observed. r=yoric
MozReview-Commit-ID: Bjd59RPzcw2
2016-10-21 18:23:32 +08:00