Commit Graph

1741 Commits

Author SHA1 Message Date
Bob Silverberg
3b6fa65a56 Bug 1313776 - Fix frequent OSX debug bc6 failures with The mochitest suite, r=mikedeboer
MozReview-Commit-ID: 34mzWaM4vef
2016-11-03 07:11:48 -04:00
Phil Ringnalda
2c3920625f Merge m-c to autoland 2016-11-02 20:03:20 -07:00
Phil Ringnalda
1376833f1c Merge m-i to m-c, a=merge
MozReview-Commit-ID: 48WAQwKUCpw
2016-11-02 19:28:38 -07:00
Gijs Kruitbosch
70a8e9c0a1 Bug 1312406 - part 1: remove tab groups migration code, r=Dolske
MozReview-Commit-ID: BDuX607J51w
2016-11-01 15:59:11 +00:00
Geoff Brown
131dda1304 Bug 1313397 - Move browser/components/sessionstore/Utils.jsm to toolkit/modules; r=mikedeboer 2016-11-02 10:56:20 -06:00
Bob Silverberg
cb45147847 Bug 1309880 - Support undoing closeTab and closeWindow by ID, r=mikedeboer
MozReview-Commit-ID: 6CoJPyjUpHH
2016-10-28 08:15:11 -04:00
Phil Ringnalda
a5895c1ec6 Merge m-i to m-c, a=merge
MozReview-Commit-ID: J2Mx0f21eBE
2016-10-31 18:35:14 -07:00
Michael Layzell
cb46a4fd67 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
2c8214052e Bug 1313876 - Fixed _undoCloseMiddleClick function call in event listener. r=jaws
MozReview-Commit-ID: 3hkpkldzxRW
2016-10-30 11:29:24 +01:00
David Malaschonok
346db5b28a Bug 926579 - Remove duplication in RecentlyClosedTabsAndWindowsMenuUtils through refactoring. r=jaws
MozReview-Commit-ID: 8M43BnSxnoO
2016-10-20 19:00:33 +02:00
Will Wang
d431127978 Bug 1255977 - Resolve promise once flushing timeout or crash observed. r=yoric
MozReview-Commit-ID: Bjd59RPzcw2
2016-10-21 18:23:32 +08:00
Mark Banner
233309fbe2 Bug 1251003 - Change .eslintrc files to .eslintrc.js to avoid obsolete config file format. r=mossop
MozReview-Commit-ID: JrbFxQ5rj6I
2016-10-18 08:38:10 +01:00
J. Ryan Stinnett
824d70ca6c Bug 1310298 - Add event before remoteness flip. r=mconley
MozReview-Commit-ID: Bbs5Hj99JV4
2016-10-14 14:36:26 -05:00
Bob Silverberg
5f251b831f Bug 1309702 - Update getClosedTabData and getClosedWindowData in SessionStore.jsm to not return JSON, r=mikedeboer
MozReview-Commit-ID: 9SevLkTp0G7
2016-10-14 07:12:18 -04:00
Mark Banner
299f236684 Bug 1309842 - Fix eslint/espree parsing errors for ignored directories in browser/. r=jaws
Change functions definitions to generators where yield is used, and drop of non-standards if statement in catch.
List translation/cld2/cld-worker.js as ignored now, as it is a generated file.

MozReview-Commit-ID: wbkjx67fox
2016-10-13 11:48:35 +01:00
Mike Conley
a2c235fe1e Bug 1241459 - Add regression tests for background tab crashing behaviour. r=Felipe
MozReview-Commit-ID: KkOCdtJqDPQ
2016-10-03 18:01:51 -04:00
Mike Conley
bf28a85b69 Bug 1241459 - Background tab crashes should only show about:tabcrashed for first selected tab. r=Felipe,mikedeboer
When a content process crashes for a tab that is not currently visible to the user (which
can occur if the user is looking at only non-remote tabs, or tabs in other content processes),
then we will only show the tab crash page for the first crashed tab that is selected
by the user. The rest of the tabs will restore on demand.

MozReview-Commit-ID: 1JBAp8diHXp
2016-09-30 15:06:49 -04:00
Andrea Marchesini
7e87ed1cb2 Bug 1280590 - nsICookieManager2.cookieExists must use the originAttributes, r=smaug 2016-09-30 08:24:21 +02:00
Carsten "Tomcat" Book
f5ed025ff9 Backed out changeset 826cc48624a3 (bug 1280590) for windows m-oth and xpc crashes 2016-09-29 15:28:53 +02:00
Andrea Marchesini
eba096d2ae Bug 1280590 - nsICookieManager2.cookieExists must use the originAttributes, r=smaug 2016-09-29 12:02:30 +02:00
Gregory Szorc
53c5fb6984 Bug 1305444 - Move telemetry assignment, remove variable use; r=Yoric
We have an unused "telemetry" variable. Use this variable and move
the telemetry assignment to immediately after the operation it is
recording.

While I was here, I also cleaned up the timing variables. I eliminated
the end time variable and moved the declaration of the start time
variable so its scope is shorter.

MozReview-Commit-ID: IbGOK5pPkcR
2016-09-24 17:18:21 -07:00
Phil Ringnalda
fbcf9563b8 Backed out changeset 5ef08ec39cd7 (bug 1305444) for failures in browser_upgrade_backup.js
CLOSED TREE
2016-09-27 19:59:59 -07:00
Gregory Szorc
d2f73cb04d Bug 1305444 - Move telemetry assignment, remove variable use; r=Yoric
We have an unused "telemetry" variable. Use this variable and move
the telemetry assignment to immediately after the operation it is
recording.

While I was here, I also cleaned up the timing variables. I eliminated
the end time variable and moved the declaration of the start time
variable so its scope is shorter.

MozReview-Commit-ID: IbGOK5pPkcR
2016-09-24 17:18:21 -07:00
Gabor Krizsanits
9ed9975ffc Bug 1301340 - Force single process in some tests. r=mrbkap 2016-09-22 09:24:31 +02:00
Christoph Kerschbaumer
71dbab1ad4 Bug 1297338 - Introduce concept of principalToInherit to SessionHistory. r=bz,mikedeboer 2016-09-20 08:36:45 +02:00
Steven Englehardt
c254fbe37d Bug 1294866 - Part 3: Tests to verify contentPrincipal persists during session restore. r=mikedeboer 2016-09-13 21:18:38 +08:00
Steven Englehardt
0f14c6f982 Bug 1294866 - Part 2: Storing the loadingPrincipal used to load favicons in SessionStore. r=mikedeboer 2016-09-13 21:18:37 +08:00
Steven Englehardt
1d6791d880 Bug 1294866 - Part 1: Move principal serialization to a utils file. r=mikedeboer 2016-09-13 21:18:36 +08:00
Carsten "Tomcat" Book
3a1fa51fea merge fx-team to mozilla-central a=merge 2016-09-09 12:01:21 +02:00
Blake Kaplan
d7170c0e84 Bug 1294378 - Force a single process in this test because it's only designed to work with one process r=krizsa.
MozReview-Commit-ID: LNIjLX6926e
2016-08-30 17:29:04 -07:00
Joseph Yeh
905944896a Bug 1184989 - Prevent flipping preference will scroll the page as well. r=jaws
MozReview-Commit-ID: 5j5FN8aFDlX
2016-08-25 10:51:43 +08:00
Jared Wein
3cefaa6899 Bug 1218937 - Introduce a new option for switchToTabHavingURI's ignoreFragment to not overwrite the fragment portion. Use this new argument to switch to the preferences without changing the currently opened pane. r=mattn
MozReview-Commit-ID: JZmAsf8k5Qp
2016-08-31 12:53:23 -04:00
Sebastian Hengst
2e47f0965a Backed out changeset 865501b808e3 (bug 1287330) for frequent timeouts in browser_async_remove_tab.js with e10s on Linux debug. r=backout 2016-08-21 16:45:16 +02:00
Allasso Travesser
5a023ca6cd Bug 1287330 - Insert tabs' linkedBrowser lazily into the document. r=dao 2016-08-19 17:46:04 +02:00
Wes Kocher
bad19898b2 Merge inbound to central, a=merge 2016-08-17 16:38:41 -07:00
Dão Gottwald
fb5382fbfb Bug 1292542 - Remove unused 'window' variable in SessionStoreInternal._resetLocalTabRestoringState. r=dao 2016-08-16 20:36:31 +02:00
Wes Kocher
5b870e1886 Merge m-c to inbound, a=merge 2016-08-15 14:53:49 -07:00
Mike Conley
177e558ea2 Bug 1290280 - Make bug_423132.js more resilient to the initial browser being remote by default. r=mikedeboer
The problem with this test was that it was actually relying on the old
broken behaviour where the initial browser of the new window it opens
would be flipped from remote back to non-remote before loading its
contents and flipping remote again. Because it now starts remote
(and stays there instead of doing all of the extra work), the
test was more likely to fall into the trap that I described in
https://groups.google.com/forum/#!searchin/mozilla.dev.platform/1261842%7Csort:relevance/mozilla.dev.platform/gthFqog3J-M/Ypx-SNhEQgAJ
where the promiseBrowserLoaded was firing for the wrong page
load, which meant that the cookie hadn't had a chance to be
set yet.

I've converted the test to use the properly instrumented
BrowserTestUtils functions which wait for the window to be
properly ready, and it appears to pass on try with multiple
retriggers.

MozReview-Commit-ID: BtQRx7og52A
2016-08-13 18:46:38 -04:00
Mike Conley
df087471c1 Bug 1290280 - Add tests for window state restoration remoteness flips. r=mikedeboer
MozReview-Commit-ID: ARtmju65xR9
2016-08-10 15:46:03 -04:00
Mike Conley
ec8ee45995 Bug 1290280 - Improve the logic for flipping the remoteness of the initial browser back to non-remote. r=mikedeboer
The code that checks to see whether or not we should flip the remoteness of a browser
before loading the session state into it wasn't accounting for the fact that oftentimes,
restoreImmediately isn't included, so it's undefined, which coerces to "false-y".

This caused us to very quickly destroy a TabParent, very soon after creating it. In
some cases, the IPC layer seems to not like that, and throws an OnChannelError,
which causes the TabParent ActorDestroy method to be called with an abnormal
shutdown reason, which causes the tab crash observer to fire, which bubbles the
tab crash event.

We should probably make the IPC layer more resilient to this sort of thing, but
we should also probably not flip remoteness when we really don't need to.

Now instead, when restoring a tab, we detect whether or not it's going to
be restored automatically in the near future. If it's not going to be
restored automatically, and the browser is remote, we flip its remoteness -
otherwise we leave it alone.

MozReview-Commit-ID: 5AmPHvzDZlX
2016-08-09 13:32:21 -04:00
Sebastian Hengst
6064ec1e6c Backed out changeset 1e57110913fc (bug 1290280) for timeouts of added test and remoteness issues e.g. in cookie tests like browser_423132.js. r=backout 2016-08-13 15:27:48 +02:00
Sebastian Hengst
a40c80fa67 Backed out changeset 2b50b05f8929 (bug 1290280) 2016-08-13 15:26:39 +02:00
Mike Conley
7a418b14fc Bug 1290280 - Add tests for window state restoration remoteness flips. r=mikedeboer
MozReview-Commit-ID: ARtmju65xR9
2016-08-10 15:46:03 -04:00
Mike Conley
83fa1cfc69 Bug 1290280 - Improve the logic for flipping the remoteness of the initial browser back to non-remote. r=mikedeboer
The code that checks to see whether or not we should flip the remoteness of a browser
before loading the session state into it wasn't accounting for the fact that oftentimes,
restoreImmediately isn't included, so it's undefined, which coerces to "false-y".

This caused us to very quickly destroy a TabParent, very soon after creating it. In
some cases, the IPC layer seems to not like that, and throws an OnChannelError,
which causes the TabParent ActorDestroy method to be called with an abnormal
shutdown reason, which causes the tab crash observer to fire, which bubbles the
tab crash event.

We should probably make the IPC layer more resilient to this sort of thing, but
we should also probably not flip remoteness when we really don't need to.

Now instead, when restoring a tab, we detect whether or not it's going to
be restored automatically in the near future. If it's not going to be
restored automatically, and the browser is remote, we flip its remoteness -
otherwise we leave it alone.

MozReview-Commit-ID: 5AmPHvzDZlX
2016-08-09 13:32:21 -04:00
fiveNinePlusR
26cec6a132 Bug 1289213 - Part 1: Add ability to duplicate tabs lazily from the session store. r=kmag 2016-08-01 16:35:52 -07:00
Wes Kocher
f687037ad0 Backed out changeset 1c7f1b07be44 (bug 1290280) for failures in browser_remoteness_flip_on_restore.js a=backout 2016-08-11 14:43:09 -07:00
Wes Kocher
821d0c747f Merge m-c to autoland, a=merge
a=release for the webidl hook for a comment-only change
2016-08-16 22:07:30 -07:00
James Andreou
6d5098ad98 Bug 1283281 - Remove PB Flag from DOMStorage. r=jdm 2016-06-29 14:01:00 +02:00
Mike Conley
2df2f54c83 Bug 1290280 - Add tests for window state restoration remoteness flips. r=mikedeboer
MozReview-Commit-ID: ARtmju65xR9
2016-08-10 15:46:03 -04:00
Mike Conley
924ab0a955 Bug 1290280 - Improve the logic for flipping the remoteness of the initial browser back to non-remote. r=mikedeboer
The code that checks to see whether or not we should flip the remoteness of a browser
before loading the session state into it wasn't accounting for the fact that oftentimes,
restoreImmediately isn't included, so it's undefined, which coerces to "false-y".

This caused us to very quickly destroy a TabParent, very soon after creating it. In
some cases, the IPC layer seems to not like that, and throws an OnChannelError,
which causes the TabParent ActorDestroy method to be called with an abnormal
shutdown reason, which causes the tab crash observer to fire, which bubbles the
tab crash event.

We should probably make the IPC layer more resilient to this sort of thing, but
we should also probably not flip remoteness when we really don't need to.

Now instead, when restoring a tab, we detect whether or not it's going to
be restored automatically in the near future. If it's not going to be
restored automatically, and the browser is remote, we flip its remoteness -
otherwise we leave it alone.

MozReview-Commit-ID: 5AmPHvzDZlX
2016-08-09 13:32:21 -04:00