Commit Graph

1632 Commits

Author SHA1 Message Date
ISHIKAWA, Chiaki
9ee69e3ce0 Bug 1248252 - Improper outdated octal constant syntax in M-C tree. Use '0o' prefix. r=dao
Be warned. Do not attemp to change the .js "test" source code in ./js
They are meant to check

 - the outdated 0666 octal constant is still parsed correctly,
 - the outdated 0666 octal constant raises syntax error flag
   in strict mode, etc.

So leave them alone.
2016-02-15 08:57:00 +01:00
Mike Conley
61f894ecc1 Bug 1236414 - Re-enable browser_crashedTabs.js with longer timeout. r=me
MozReview-Commit-ID: FlXemvsEMCM
2016-02-11 15:29:53 -05:00
Kris Maglione
bb24c75487 Bug 1244496: Add more detail to TabOpen/TabClose events for tabs moved between windows. r=Gijs
MozReview-Commit-ID: 9YHaVlMW0T6
2016-02-10 17:52:53 -08:00
Mike Conley
734a8b7805 Bug 1245212 - Properly cancel SessionStore:update message timers if timeoutDisabled is set to true. r=billm
MozReview-Commit-ID: BjiumfIOrdT
2016-02-01 16:00:29 -05:00
Phil Ringnalda
1a9322738e Bug 1236414 - Disable browser_crashedTabs.js for an insanely high intermittent failure rate 2016-02-05 23:02:58 -08:00
David Rajchenbach-Teller
4f79ec13cb Bug 1243549 - SessionFile.wipe() now waits until SessionFile has been properly initialized. r=mconley
While investigating bug 1243549, we encountered several instances of the following error message during each startup:

*************************
A coding exception was thrown and uncaught in a Task.

Full message: TypeError: this.Paths is null
Full stack: Agent.wipe@resource:///modules/sessionstore/SessionWorker.js:296:7
worker.dispatch@resource:///modules/sessionstore/SessionWorker.js:21:24
anonymous/AbstractWorker.prototype.handleMessage@resource://gre/modules/workers/PromiseWorker.js:122:16
@resource:///modules/sessionstore/SessionWorker.js:30:41

*************************

These messages can be explained as follows:

* If sanitization has failed during shutdown, it attempts again to
  sanitize during startup. This happens more often than it used to,
  because of 1/ startup bug fixes in bug 1089695; 2/ new shutdown bugs
  most likely also added by or around bug 1089695.

* Sanitization during startup doesn't wait until Session Restore has
  properly started to sanitize the session. So sanitization of Session
  Restore file fails. This has probably always been the case, except
  we never noticed.

* For some reason I do not understand, it attempts to sanitize several
  times.

* I suspect that this can cause problems during startup, as
  sanitization and Session Restore race to use/remove the files of
  Session Restore.

This patch makes sure that SessionFile.wipe() waits until
initialization of SessionFile is complete before proceeding.
2016-02-02 12:56:11 +01:00
Kris Maglione
0eedc58ba7 Bug 1238311: Part 2 - Persist tab mutedInfo in sessionstore. r=ehsan 2016-01-26 17:05:42 -08:00
Carsten "Tomcat" Book
4d0557758c merge mozilla-inbound to mozilla-central a=merge 2016-01-27 11:59:49 +01:00
Mike Conley
8067cfa63c Bug 1233497 - Stop using TabState.flushAsync in session store tests. r=billm 2016-01-05 19:19:51 -05:00
Mike Conley
ea58f63c4a Bug 1231422 - Fix busted pref observer for browser.sessionstore.debug.no_auto_updates. r=billm 2016-01-22 11:43:49 -05:00
Kate McKinley
13125178e4 Bug 1195881 - working test for session store using containers under e10s. r=baku,r=tanvi 2016-01-20 00:29:00 +01:00
Jonathan Kew
657b233fdc Bug 890156 - patch 6 - Update window placement code to work with desktop pixels, for per-monitor DPI support on Windows. r=emk 2015-12-03 13:19:50 +00:00
Till Schneidereit
2be2015088 Bug 1101817 - Part 1: Remove usages of WeakMap.prototype.clear from Gecko. r=yzen,mak,yoric,gijs,jlongster 2016-01-04 13:06:50 +01:00
David Rajchenbach-Teller
35e57e7aec Bug 1198898 - Determining number of tabs/windows restored by Session Restore;r=mconley 2015-11-26 18:13:20 +01:00
David Rajchenbach-Teller
3a85c6bc9f Bug 1214158 - New module StartupPerformance to monitor the duration of restoration of initial tabs;r=mconley 2015-11-26 18:01:56 +01:00
AJ Kerrigan
9981c05a18 Bug 1132556 - Replace runInContent() with ContentTask.spawn(). r=smacleod 2016-01-07 03:26:31 -05:00
Shu-yu Guo
90b93e6d5b Bug 1220564 - Update chrome code uses of genexprs and legacy comprehensions. (r=billm) 2016-01-06 16:02:16 -08:00
Andrea Marchesini
aa687047b3 Bug 1237081 - remove the getter of userContextId from nsIDocShell, r=smaug 2016-01-06 15:39:58 +00:00
Andrea Marchesini
30b65cf847 Bug 1235657 - Session storage needs to handle origin attributes correctly - part 2 - SessionStorageInternal::restore, r=huseby 2016-01-06 10:09:04 +00:00
Nigel Babu
86f063c2dc Backed out changeset 1b5c66916877 (bug 1237081) for mochitest browser-chrome bustage 2016-01-06 12:01:27 +05:30
Bill McCloskey
2e2bc09867 Bug 1235379 - Eliminate deferred session storage mode (r=ttaubert) 2016-01-05 21:59:46 -08:00
Andrea Marchesini
e4dbb1db2b Bug 1237081 - Remove the getter of userContextId from nsIDocShell. r=smaug 2016-01-05 14:22:00 -05:00
Andrea Marchesini
2e98858627 Bug 1193854 - Restoring userContextIds with the browser session - part 3 - tests, r=ttaubert 2016-01-05 21:01:46 +00:00
Andrea Marchesini
58de5f5e42 Bug 1193854 - Restoring userContextIds with the browser session - part 2 - restore the UI, r=ttaubert 2016-01-05 21:01:13 +00:00
Andrea Marchesini
9c383de363 Bug 1193854 - Restoring userContextIds with the browser session - part 1 - store the userContextId in sessionStore, r=smaug, r=ttaubert 2016-01-05 21:00:33 +00:00
Andrea Marchesini
ecddf6884c Bug 1236827 - Remove non-useful 'delete' in TabStore.jsm, r=ttaubert 2016-01-05 17:22:36 +00:00
Carsten "Tomcat" Book
ef75c405fd merge mozilla-inbound to mozilla-central a=merge 2016-01-05 11:58:56 +01:00
Dave Townsend
8dc7f59eb3 Bug 1229142: Link browser and toolkit test directory to the shared eslintrc files. r=Standard8 2015-11-30 13:05:00 -08:00
Andrea Marchesini
1af0f85145 Bug 1236505 - isPinned param in SessionHistory.jsm serializeEntry is not used, r=smaug 2016-01-04 19:04:48 +00:00
Ehsan Akhgari
d051dbe086 Bug 1175659 - Increase the timeout of browser_sessionHistory.js 2015-12-31 17:42:28 -05:00
Ehsan Akhgari
13ee681879 Bug 1170881 - Increase the timeout of browser_586068-apptabs.js 2015-12-31 17:41:25 -05:00
Ehsan Akhgari
a3d69bc4cc Bug 1203732 - Increase the timeout of browser_522545.js 2015-12-31 17:29:26 -05:00
Ehsan Akhgari
0a76aa81c3 Bug 1224066 - Increase the timeout of browser_formdata_cc.js 2015-12-31 17:28:22 -05:00
Ehsan Akhgari
a6c0c8d90a Bug 1164242 - Increase the timeout of browser_600545.js 2015-12-30 22:27:40 -05:00
Ehsan Akhgari
8a7a0c3d21 Bug 1221013 - Increase the timeout of browser_crashedTabs.js 2015-12-30 22:27:40 -05:00
Olli Pettay
1d483a7a70 Bug 1155730, implement History.scrollRestoration r=jst 2015-12-26 12:59:09 +02:00
Andrew McCreight
720e278561 Backed out changeset 18eec0849a1f (Bug 1195295) for leaking.
This changeset is causing shutdown leaks (bug 1234697 and bug 1220517).
2015-12-23 15:59:15 -05:00
Markus Stange
b7d7c15fe9 Bug 1209970 - Fire scroll events early in the refresh tick. r=mats
With APZ we want to be firing scroll events to content more consistently, so
we tie them to the refresh driver tick rather than firing them on paint or
haphazardly on the next spin of the event loop.

Patch by Markus Stange, test fixes by Kartikaya Gupta
2015-12-17 17:19:30 -05:00
Luis Miguel [:quicksaver]
300052720b Bug 1228980 - Display favicons of tab entries in aboutSessionRestore-based pages. r=ttaubert 2015-12-08 12:35:28 +00:00
Mike Conley
415e22c19d Bug 1195295 - Remove SessionStore's SyncHandler since all tab and window flushing is now async. r=ttaubert 2015-12-01 14:34:25 -05:00
Mike Conley
33ccbee547 Bug 1225921 - Have SessionStore keep a list of window data that might be saved during a flush. r=billm
This helps us keep track of what windows we've chosen to forget, and helps
us avoid the problem of accidentally saving a window we've chosen to forget.
2015-12-02 13:48:19 -05:00
Mike Conley
03268c846d Bug 1225921 - Regression tests. r=billm 2015-12-02 13:48:05 -05:00
Mike Conley
0305c3c776 Bug 1226333 - Add tests for async window flushing. r=billm. 2015-12-02 09:46:06 -05:00
Mike Conley
c8bbf9627b Bug 1177310 - Don't flush windows synchronously on application shutdown. r=billm,feedback=ttaubert
Instead of synchronously flushing the windows, we use AsyncShutdown to
wait for all window flushes to finish.
2015-11-13 14:46:37 -05:00
Mike Conley
bd1629f0e1 Bug 1177310 - TabStateFlusher Promises should always resolve. r=Yoric
They'll always resolve, but might receive a negative success state
and a message. We're doing this so that we can maintain a Set of
in-flight flushes that we can call Promise.all on (which will
fast-fail if any Promise rejects, or will just never resolve if
one or more of the Promises never resolve).
2015-11-24 18:41:32 -05:00
Gijs Kruitbosch
33920aa4b1 Bug 1222490 - part 3: update all the tests for tabview's removal, r=ttaubert 2015-12-01 10:48:11 +00:00
Gijs Kruitbosch
cde9701b62 Bug 1222490 - part 2: remove traces of tabview from XUL/XBL/JS in other parts of browser/, r=ttaubert 2015-12-01 10:48:11 +00:00
Gijs Kruitbosch
d79ddd13c8 Bug 1221050 - part 5: create page for use with tabview migration, r=ttaubert 2015-12-01 10:48:10 +00:00
Mike Conley
54bd2d9754 Bug 1228518 - Don't send SessionStore:update for initial about:blank page load. r=ttaubert 2015-11-27 15:11:31 -05:00
Mike Conley
78b584308f Bug 1228518 - Regression test. r=ttaubert 2015-11-27 15:48:43 -05:00