Commit Graph

1724 Commits

Author SHA1 Message Date
Dão Gottwald
32b886c770 Bug 1287732 - Remove some event.target null checks. r=gijs 2016-07-19 18:20:13 +02:00
Pushpankar
77a14e357c Bug 1286854 - Replace ownerDocument.defaultView with ownerGlobal in browser/. r=dao 2016-07-16 10:20:04 +02:00
Allasso Travesser
145ed7dab5 Bug 1285789 - Implement TabBrowserCreated event. r=dao 2016-07-15 16:10:27 +02:00
Phil Ringnalda
9f7a578e0a Merge f-t to m-c, a=merge 2016-07-09 08:53:47 -07:00
Mike Conley
9f9f65c5e6 Bug 1284687 - Hide windows on shutdown while persisting session instead of closing them. r=billm
We were closing the windows before to improve perceived shutdown
performance, but we end up in a state where we're likely to miss
out on the last ~2 seconds of session activity for most tabs per
window. This is because we were removing the session update
message listeners and resolving the flush Promises once the
domwindowclosed notification fired for the window.

Hiding the window allows us to wait for the messages properly.

What's more, we weren't even collecting the window state after
we had flushed, so we have _always_ been missing (in the worst
case) about 2 seconds of session state per window. This addresses
that.

MozReview-Commit-ID: BEOIHV4EErf
2016-07-07 15:04:52 -04:00
Mike de Boer
ad57d62f59 No Bug - add test coverage for more types of form fields to ignore in session form field restore. r=MattN
MozReview-Commit-ID: KdN5kETA9go
2016-07-07 15:10:26 +02:00
Jonathan Hao
724cca57f5 Bug 1283709 - Test if cookies are restored correctly to container tabs. r=mikedeboer
MozReview-Commit-ID: 2NJlJ5tFsS4
2016-07-06 01:39:00 +08:00
Jonathan Hao
c1ae179f3b Bug 1283709 - Map SessionCookies by origin attributes. r=mikedeboer
MozReview-Commit-ID: IAuKZdVWgNl
2016-07-06 01:45:00 +08:00
Mike Conley
8ff25826bd Bug 1271607 - Pinned tabs should not restore as non-remote. r=mikedeboer
App tabs load immediately, and so there's no point in causing the remoteness
flipping machinery to kick off by making the pinned tabs non-remote by default.

MozReview-Commit-ID: 48O2mJSHurr
2016-06-29 13:49:57 -04:00
Ben Kelly
5e2e5285a7 Bug 1279389 P3 Fix OS.File.DirectoryIterator leaks throughout tree. r=yoric 2016-06-28 18:47:55 -07:00
Carsten "Tomcat" Book
f1e70b513b Backed out changeset 00312b136937 (bug 968273) for causing regressions 2016-06-28 10:03:25 +02:00
Andrea Marchesini
7f7472a4fd Bug 1271516 - Introducing nsIWebNavigation.setOriginAttributesBeforeLoading, r=smaug 2016-06-07 19:59:22 +02:00
Phil Ringnalda
732de24a7c Back out 32d16086e85e (bug 1271516) for frequent ChromeUtils::IsOriginAttributesEqual assertin failures
CLOSED TREE
2016-06-06 21:07:42 -07:00
Yoshi Huang
a5cc6b2b69 Bug 1278149 - split browser_sessionStoreContainer.js. r=mikedeboer 2016-06-07 11:02:38 +08:00
Andrea Marchesini
c151ac65b4 Bug 1271516 - Introducing nsIWebNavigation.setOriginAttributesBeforeLoading, r=smaug 2016-06-07 00:47:13 +02:00
Dragana Damjanovic
74f2117281 Bug 968273 - On reload load from the original uri, so that all redirects are reloader.r=mayhemer 2016-06-01 11:57:52 +02:00
Jonathan Kew
01cccabd3f Bug 1276516 - When restoring window positions from a saved session, allow the window bounds to extend a few pixels beyond the screen edges before deciding to override the saved position and force the window entirely within the screen's visible area. r=mikedeboer 2016-06-02 12:35:56 +01:00
Yoshi Huang
5eed697a1c Bug 1274461 - Part 3: another test for restoring. r=mikedeboer
This test will verify the following case:
When restore tab doesn't have userContextId, however open tab does have.
2016-06-03 15:01:03 +08:00
Yoshi Huang
b690c760e7 Bug 1274461 - Part 2: restore tabs should preserve userContextId. r=mikedeboer 2016-06-03 15:01:03 +08:00
Yoshi Huang
40afbc460a Bug 1274461 - Part 1: undoCloseTab should preserve userContextId. r=mikedeboer 2016-06-03 15:01:03 +08:00
Carsten "Tomcat" Book
d72f08e97e Merge mozilla-central to fx-team 2016-06-01 15:09:07 +02:00
Mike de Boer
e4fea8ae6c Bug 1276884 - fix nits in TabAttributes.jsm and TabState.jsm. r=ttaubert 2016-06-01 14:48:18 +02:00
Mike de Boer
ddc7813ff4 Bug 1276884 - fix nits in RunState.jsm. r=ttaubert 2016-06-01 14:48:16 +02:00
Mike de Boer
88dd34141e Bug 1276884 - fix nits in PrivacyFilter.jsm and PrivacyLevel.jsm. r=ttaubert 2016-06-01 14:48:15 +02:00
Wes Kocher
c3743d1b70 Merge m-c to inbound, a=merge 2016-05-31 17:18:54 -07:00
Tim Taubert
497e8c7fa1 Bug 1275415 - Use Ci.nsICookieService.ACCEPT_SESSION instead of Services.cookies.ACCEPT_SESSION in SessionSaver.jsm r=mikedeboer 2016-05-30 07:49:29 +02:00
Tim Huang
1f60311061 Bug 1267910 - Part 4: Add a test case for the session store regression test. r=mikedeboer 2016-05-25 11:54:23 +08:00
Tim Huang
f3c87ef67d Bug 1267910 - Part 2: Update all existing functions of add() and getCookiesFromHost() to make them origin attributes aware. r=jdm, r=mratcliffe 2016-05-25 11:54:21 +08:00
Carsten "Tomcat" Book
b05930f50e merge mozilla-inbound to mozilla-central a=merge 2016-05-25 15:04:00 +02:00
Gijs Kruitbosch
966fb83509 Bug 1271821 - fix intermittent timeouts in browser_newtab_userTypedValue.js, rs=timeout-increase,me
MozReview-Commit-ID: BTKkOh8LAgG
2016-05-24 11:35:09 +01:00
Phil Ringnalda
9ff857db9e Back out changeset b3835efbf422 (bug 1257182) for failures in browser_restoreClosedTabs.js and browser_urlbarPrivateBrowsingWindowChange.js
CLOSED TREE
2016-05-23 19:36:08 -07:00
Blair McBride
b8e4a2f3b0 Bug 1257182 - "Restore All Tabs" can fail when there are pre-existing tabs. r=dao
MozReview-Commit-ID: HZqflYBJfJy
2016-05-24 12:19:31 +12:00
Wes Kocher
18fc6fa5e3 Backed out 3 changesets (bug 1267910) for reports of it breaking session restore a=backout
Backed out changeset 5962f8e6d030 (bug 1267910)
Backed out changeset f8afc5cf9e0e (bug 1267910)
Backed out changeset cc202e0ac0dd (bug 1267910)
2016-05-20 21:15:17 -07:00
Gabor Krizsanits
cf6cc37a4b Bug 1262661 - part2: optimization on session storage and history messages. r=mconley 2016-05-23 12:15:15 +02:00
Tim Huang
0a60cbfed3 Bug 1267910 - Part 2: Update all existing functions of add() and getCookiesFromHost() to make them origin attributes aware. r=jdm, r=mratcliffe 2016-05-18 20:42:00 -04:00
Gijs Kruitbosch
28b580ac4e Bug 1272317 - fix URL bar state when switching to a non-remote browser, r=mconley
MozReview-Commit-ID: 4dmgz6iHfdK
2016-05-16 22:36:35 +01:00
Mike Conley
efe55711ba Bug 1276966 - Fix tests that were accidentally resetting browser.startup.page. r=mikedeboer
MozReview-Commit-ID: 3E4xVfdGDIi
2016-05-29 12:01:18 -04:00
Wes Kocher
1280d15682 Backed out changeset 5f50f2c7e813 (bug 968273) for android mochitest failures in the test this added 2016-05-31 09:59:13 -07:00
Dragana Damjanovic
3f9d7c73a8 Bug 968273 - On reload load from the original uri, so that all redirects are reloader.r=mayhemer 2016-05-31 03:43:00 +02:00
Gijs Kruitbosch
4c76c34e27 Bug 1276117 - part 1: fix URL bar state when loading about:home after about:preferences, r=mikedeboer
MozReview-Commit-ID: D5ecLsiJF3R
2016-05-27 14:06:02 +01:00
Yoshi Huang
a4205c0771 Bug 1250063 - Part 1: Pass userContextId in duplicateTab. r=ttaubert 2016-05-17 19:49:09 +08:00
Blake Kaplan
d7fae9ca24 Bug 1251760 - Remove CPOWs from browser_bug339445.js. r=felipe 2016-05-12 10:45:00 -04:00
Carsten "Tomcat" Book
31585b3be9 Merge mozilla-central to fx-team 2016-05-10 12:15:50 +02:00
Carsten "Tomcat" Book
4f104b2da1 merge mozilla-inbound to mozilla-central a=merge 2016-05-10 12:05:56 +02:00
Timothy Guan-tin Chien
648c7f27c3 Bug 1153393 - Make session restore restores the scroll position of an about:reader page, r=gijs
MozReview-Commit-ID: 6smuca3vx5O
2016-05-07 12:31:21 +08:00
Gijs Kruitbosch
83d5307a65 Bug 1241085 - fix issues with about:newtab and other initial pages whose URIs now persist after session restore, r=mconley
MozReview-Commit-ID: BbzOSwFucf6
2016-05-06 09:11:33 +01:00
Ryan VanderMeulen
89924435a4 No bug - Enable some e10s that pass and add some more annotations to ones that don't. 2016-05-09 17:01:16 -04:00
Ryan VanderMeulen
54d6661e5f Bug 1269951 - Request a longer timeout for browser_819510_perwindowpb.js. 2016-05-09 17:01:16 -04:00
Gijs Kruitbosch
d06478992a Bug 1241085 - part 3: actually fix about:privatebrowsing clearing the URL bar, r=mconley
MozReview-Commit-ID: JB3GPKsfmTs
2016-04-28 20:03:38 +01:00
Gijs Kruitbosch
bb3cc1f15c Bug 1241085 - part 2: rip out userTypedClear and replace it with more self-documenting stuff, r=mconley
userTypedClear was used for two cases:
1) to keep track of whether we were in the middle of a loadURI call. This use is replaced by inLoadURI, which is
more sane when using e10s (though it's hard to be precise there because we're sending all web navigation calls to
the content process and this introduces a degree of asynchronousness that we just have to live with...).
2) to keep track of whether we were between a network start and a corresponding network stop, and whether the user
typed since the load properly started. This is now tracked on a small object on the browser binding, which has
appropriately named method so we're not just incrementing some magic number but actually understand what
we're saying, and so the information we get out (did the user type since this load started or not?) makes sense.

Note that we're keeping userTypedClear in session store information in order to remain backwards compatible.
It becomes a simple boolean-stored-as-int (1 or 0) that indicates whether we quit/crashed/stopped while a load
was pending, or not.

MozReview-Commit-ID: 5NbmVueocC7
2016-04-28 19:51:36 +01:00