Commit Graph

2030 Commits

Author SHA1 Message Date
Sebastian Hengst
6ba0872c78 Backed out changeset ba60dcd190ad (bug 1256472) for leaks in browser_windowStateContainer.js. r=backout 2017-03-16 17:24:01 +01:00
Sebastian Hengst
94029ffa74 Backed out changeset 27f5fcaca7fa (bug 1256472) 2017-03-16 17:22:23 +01:00
Blake Kaplan
e0f6f9337e Bug 1346286 - Remove CPOWs from browser_history_persist.js r=Felipe
MozReview-Commit-ID: 22fQbSgMzQM
2017-03-09 14:30:30 -08:00
Blake Kaplan
190fe8b889 Bug 1346286 - Remove CPOWs from browser_911547.js. r=Felipe
MozReview-Commit-ID: 3Y5K84X2EIe
2017-03-09 11:36:28 -08:00
Blake Kaplan
8a6a5e06b1 Bug 1346286 - Remove CPOWs from browser_500328.js. r=Felipe
MozReview-Commit-ID: 2Ok956Ec2ub
2017-03-08 17:07:57 -08:00
Blake Kaplan
5055ae78e1 Bug 1346286 - Remove CPOWs from browser_687710_2.js. r=Felipe
MozReview-Commit-ID: Au09j3DGveY
2017-03-07 18:09:42 -08:00
Blake Kaplan
b102997ca7 Bug 1346286 - Remove CPOWs from browser_739805.js. r=Felipe
MozReview-Commit-ID: I2wWOxSbdsD
2017-03-07 16:38:13 -08:00
Mike Conley
5480dd72d7 Bug 1256472 - When restoring a window, initialize each browser tab as remote if possible. r=mikedeboer
Originally, we were forcing these restored background tabs to be non-remote by default.
This was because we didn't want them to show the crashed tab favicon nor show about:tabcrashed
if the user hadn't restored them before.

Bug 1241459 added infrastructure that makes it possible to put crashed background tabs into
the "restore on demand" state again, without showing about:tabcrashed or showing the crashed
tab favicon.

This means we should be able to restore tabs in the content process again which should take
some load off of the parent process during session restore, which is good for perceived
performance.

Note that if the content process does crash, the background tabs are then loaded in the parent
process. Restoring them on demand will then do the remoteness flip.

MozReview-Commit-ID: 1mWe0td6geB
2017-03-14 10:01:38 -04:00
Mike Conley
a2a38bd947 Bug 1256472 - Add a reason to the restoreTabContent function and message. r=Gijs,mikedeboer
This helps differentiate restorations that were caused by navigateAndRestore, as opposed
to SessionStore having set state via setBrowserState, setWindowState, or setTabState.

MozReview-Commit-ID: DEEbKLh7f7p
2017-03-14 09:55:54 -04:00
Carsten "Tomcat" Book
ad53984245 Merge mozilla-central to autoland 2017-03-14 14:27:38 +01:00
Mark Banner
e20b9ee0f3 Bug 1311347 - Enable eslint of browser/components/sessionstore/. Manual fixes. r=jaws
MozReview-Commit-ID: AupJNLZJ2Ye
2017-03-13 10:32:03 +00:00
Mark Banner
03b4896b94 Bug 1311347 - Enable eslint of browser/components/sessionstore/. Autofix changes. r=jaws
MozReview-Commit-ID: 5LKHbcmjSy
2017-03-10 19:51:20 +00:00
Michael Layzell
786c7882e2 Bug 1345857 - Clone TabData entries when restoring tabs, r=mikedeboer
MozReview-Commit-ID: BhAbhSHgXWt
2017-03-13 18:57:07 -04:00
Sebastian Hengst
ac27cc4dcf Backed out changeset 5e4c135cb424 (bug 1345857) for failing at least marionette (test_refresh_firefox.py TestFirefoxRefresh.testReset), functional-ui and browser-chrome. r=backout on a CLOSED TREE 2017-03-13 19:21:03 +01:00
Michael Layzell
2c14aa63d0 Bug 1345857 - Clone TabData entries when restoring tabs, r=mikedeboer
MozReview-Commit-ID: BhAbhSHgXWt
2017-03-13 13:25:01 -04:00
Carsten "Tomcat" Book
708777dd78 merge mozilla-inbound to mozilla-central a=merge 2017-03-07 15:13:31 +01:00
Jan Henning
8352e0a6df Bug 1340828 - Part 1 - Move SessionHistory.jsm to toolkit. r=mikedeboer
We want to use this for Android, too. Once again, moving the file necessitates fixing a few ESLint errors that weren't yet checked for under the old directory.

MozReview-Commit-ID: IPxcizKwzAX
2017-02-18 20:54:09 +01:00
Matheus Longaray
939b3a3a4a Bug 1343056 - Take userTypedValue into account when saving tabs to disk. r=mikedeboer
This patch adds userTypedValue data validation when saving tabs to disk

MozReview-Commit-ID: EltANtbDfqe
2017-03-02 21:24:13 +01:00
Ehsan Akhgari
ecc61c0e88 Bug 1344595 - Protect against nsIPrincipal.origin throwing for about:blank iframes; r=ttaubert 2017-03-06 09:42:55 -05:00
jordan9769
8212e38214 Bug 1311347 - Enable eslint of browser/components/sessionstore/. Initial changes by Sourav, updated by Standard8. r=jaws
MozReview-Commit-ID: 4RFxoV8SkIa
2016-10-28 02:48:50 +05:30
Masatoshi Kimura
4f2e64ad3d Bug 1342144 - Remove version parameter from the type attribute of script elements. r=jmaher
This patch is generated by the following sed script:
find . ! -wholename '*/.hg*' -type f \( -iname '*.html' -o -iname '*.xhtml' -o -iname '*.xul' -o -iname '*.js' \) -exec sed -i -e 's/\(\(text\|application\)\/javascript\);version=1.[0-9]/\1/g' {} \;

MozReview-Commit-ID: AzhtdwJwVNg
2017-02-23 06:10:07 +09:00
Matheus Longaray
096464b043 Bug 1323987 - Keep saving about:blank and about:newtab to disk. r=mikedeboer
This patch creates a new method that verifies if the tab state we're passed is
something we should keep to be reopened at session restore. This is used when
we are saving the current session state to disk. This method is very similar to
_shouldSaveTabState, however, "about:blank" and "about:newtab" tabs will still
be saved to disk.

MozReview-Commit-ID: 70zKFeUG9uQ
2017-01-09 19:35:31 +01:00
Sebastian Hengst
5fbfcd2a99 Backed out changeset 3f7bb57e5440 (bug 1340450) for frequently failing own test browser_disable_containers.js. r=backout 2017-02-21 17:52:23 +01:00
Andrea Marchesini
134dc8ad19 Bug 1340450 - When containers are disabled, it should not be possible to reopen container tabs, r=mdeboer 2017-02-21 15:11:42 +01:00
Gabor Krizsanits
31a62d0a71 Bug 1289723 - Fixing crashedTabs test for e10s-multi. r=mrbkap r=felipc 2017-02-21 13:30:17 +01:00
Carsten "Tomcat" Book
277718205c Backed out changeset 59d4978e8726 (bug 1289723) for eslint failure 2017-02-21 12:11:04 +01:00
Gabor Krizsanits
165d8f1a09 Bug 1289723 - Fixing crashedTabs test for e10s-multi. r=mrbkap 2017-02-21 11:27:19 +01:00
Himanshi Jain
7797737616 Bug 1289785 - Remove entry.owner_b64 from SessionStore.js and SessionHistory.jsm. r=ckerschb, r=mdeboer 2016-10-17 14:38:13 +05:30
Sebastian Hengst
62e47ffc17 Backed out changeset 6b22d70e15f5 (bug 1340450) for frequent failure of own test browser_disable_containers.js. r=backout 2017-02-20 21:13:33 +01:00
Andrea Marchesini
cdc4c8d9bc Bug 1340450 - When containers are disabled, it should not be possible to reopen container tabs, r=mdeboer 2017-02-20 15:55:05 +01:00
Christoph Kerschbaumer
ecd9d4ed04 Bug 1338009 - Utils#deserializePrincipal should return NullPrincipal if deserialization fails. r=mikedeboer 2017-02-12 11:50:25 +01:00
Tooru Fujisawa
386ab4a3d1 Bug 1338248 - Remove remaining legacy generator from browser/components/sessionstore/test/. r=mikedeboer 2017-02-11 01:53:23 +09:00
Mike Conley
923a5b92ad Bug 1336230 - Rename macsuppressanimation and CHROME_MAC_SUPPRESS_ANIMATION to be platform agnostic. r=jimm
MozReview-Commit-ID: HWyrm1lVwdY
2017-02-03 16:04:33 -05:00
Jan Henning
9755aa98b0 Bug 1335008 - Part 1 - Move PrivacyLevel.jsm to toolkit. r=mikedeboer
... so we can use it on Android, too. Also fix ESLint errors that are appearing at the new file location.

MozReview-Commit-ID: 3A3aoHm00RJ
2017-01-31 23:05:31 +01:00
Florian Quèze
c32c931bc9 Bug 1334831 - script-generated patch to use .remove() instead of .parentNode.removeChild, r=jaws. 2017-01-30 08:10:22 +01:00
Christoph Kerschbaumer
5bd46231f4 Bug 1307736 - Ensure tests performing a history load pass valid triggeringPrincipal. r=bz,mdeboer 2017-01-27 11:19:45 +01:00
Christoph Kerschbaumer
7ad993429a Bug 1307736 - Store triggeringPrincipal with all history entries. r=mdeboer 2017-01-27 11:19:27 +01:00
Florian Quèze
aac9c05258 Bug 1334250 - adapt the no-useless-removeEventListener rule to handle the listener being added and removed with the same variable + some hand fixes, r=jaws. 2017-01-27 10:47:57 +01:00
Florian Quèze
91f7a2ef3a Bug 1331599 - script-generated patch to replace removeEventListener calls with the once option when possible, r=jaws. 2017-01-25 07:01:52 +01:00
Tooru Fujisawa
7ede6ed466 Bug 1321215 - Remove legacy generator from browser/. r=Paolo 2017-01-21 22:52:44 +09:00
Ehsan Akhgari
2450dc5efa Bug 1319951 - Partially revert the changes from bug 1283281 to handle the case where DOM Storage is accessed with the system principal exactly like before; r=baku 2017-01-20 10:57:07 -05:00
Mark Banner
55868dde7c Bug 503613 - Remove old 'tail =' lines from xpcshell.ini files; r=gps
MozReview-Commit-ID: 62Hp5ISxowJ
2017-01-18 10:30:39 +00:00
Christoph Kerschbaumer
81c125990e Bug 1329032 - Extend loadURIWithOptions by a triggeringPrincipal. r=bz,gijs 2017-01-18 08:24:55 +01:00
Wes Kocher
aa51fd7f3a Backed out 2 changesets (bug 1329032) for failures a=backout
Backed out changeset 16c4f0df527d (bug 1329032)
Backed out changeset 54f7bfe3ca11 (bug 1329032)

MozReview-Commit-ID: ChGyTdJvT8N
2017-01-17 14:08:10 -08:00
Christoph Kerschbaumer
1e6a940fa1 Bug 1329032 - Extend loadURIWithOptions by a triggeringPrincipal. r=bz,gijs 2017-01-17 21:52:01 +01:00
Florian Quèze
63de711857 Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws. 2017-01-17 11:50:25 +01:00
Kestrel
02c13d1e3e Bug 1315524 - Clear sessionStorage when expiring or sanitizing cookies on clean shutdown. r=mikedeboer 2016-11-06 02:24:00 -05:00
Phil Ringnalda
eb6266ba41 Backed out 2 changesets (bug 1307736) for failures in browser_490040.js and test_refresh_firefox.py TestFirefoxRefresh.testReset
CLOSED TREE

Backed out changeset 338dd2c343f8 (bug 1307736)
Backed out changeset 1a71a0d9aa90 (bug 1307736)
2017-01-16 10:47:55 -08:00
Christoph Kerschbaumer
a42b05841f Bug 1307736 - Ensure tests performing a history load pass valid triggeringPrincipal. r=bz,mdeboer 2017-01-16 18:30:32 +01:00
Kris Maglione
a29c1c55f6 Bug 1321706: Fix race in closed window handling. r=mikedeboer
MozReview-Commit-ID: KszEE0I7w7e
2017-01-11 14:20:27 -08:00