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
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
Mike Conley
8cb7232e19
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
2017-01-10 13:56:15 -05:00
Florian Quèze
45647c4570
Bug 1329182 - remove trailing newURI null parameters in browser/, r=jaws.
2017-01-09 20:27:25 +01:00
Thomas Nguyen
82e1caab63
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
53bcab1c16
Bug 1323651 - Rename Partial/GroupedSessionHistory to Partial/GroupedSHistory. r=ehsan
...
MozReview-Commit-ID: G2GW4ZPIfH3
2016-12-22 16:06:50 +08:00
Vedant Sareen
a029df9f98
Bug 1323134 - Stop setting the crop attribute on tabs. r=dao
2016-12-18 19:09:27 +01:00
Matheus Longaray
55f42e68bd
Bug 1306294 - Filters out not worth-saving tabs from session state. r=mikedeboer
2016-12-06 03:30:00 -05:00
Michael Layzell
0bfea928aa
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
68d8d6203a
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
b6bb4b0d21
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
2016-11-25 16:53:33 +01:00
Bob Silverberg
172148a513
Bug 1308061 - Implement sessionstore-closed-objects-changed event, r=mikedeboer
...
MozReview-Commit-ID: 7pBrvAhVQHP
2016-11-25 10:32:08 -05:00
Michael Layzell
49bf1f6e93
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
432572b6f3
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
d9dbaf74fb
Backed out changeset 5b26ae9afaea (bug 1147911)
2016-11-23 18:33:10 +01:00
Bob Owen
a7d454bdcc
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
0976216719
Backed out changeset 4b75d4672954 (bug 1306294) for bc5 test failures
2016-11-23 12:44:02 +01:00
Matheus Longaray
fad0a44074
Bug 1306294 - "Restarting browser while Simplify Page mode on, restores 2 new empty tabs". r=mdeboer
2016-11-22 06:30:00 +08:00