Commit Graph

1724 Commits

Author SHA1 Message Date
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
Rob Wood
a9fb260049 Bug 1259329 - Split test up to fix intermittent timeout; r=jmaher
MozReview-Commit-ID: 5uDU6ScsDea
2016-08-15 15:05:24 -04:00
Carsten "Tomcat" Book
d2f14b0140 merge fx-team to mozilla-central a=merge 2016-08-05 12:00:16 +02:00
Dão Gottwald
b32713f125 Bug 1292095 - Implement SSWindowRestored event and use it instead of SSWindowStateReady for the Ctrl+Tab panel. r=mdeboer 2016-08-04 18:58:00 +02:00
Mike Conley
4a22f22c55 Bug 1291860 - Don't flip remoteness of pinned tabs on session restore. r=mikedeboer
The initial browser of new windows starts remote now. When restoring a session,
if we're restoring content into the initial tab and it's going to be loaded
on demand, then we would flip it to non-remote so that it can't background crash.

We'd do this for pinned tabs too, which is silly, since pinned tabs load ASAP.

This patch causes us to skip the remoteness flip if the tab we're restoring
is pinned.

MozReview-Commit-ID: 9eQzfLADzlQ
2016-08-03 16:34:20 -04:00
Dão Gottwald
9ddd0e915e Bug 1292049 - Prevent tab.lastAccessed from being set to a discrete value when the tab is selected. r=mdeboer 2016-08-04 14:41:15 +02:00
Dão Gottwald
abc7ceae3a Backed out changeset 510f0b4792de 2016-08-04 14:21:56 +02:00
Dão Gottwald
e37e7e2e5e Bug 1292049 - Prevent tab.lastAccessed from being set to a discrete value when the tab is selected. r=mdeboer 2016-08-04 11:33:15 +02:00
Gabor Krizsanits
55fa36c683 Bug 1285941 - browser_crashedTabs.js should always use single content process. r=mrbkap 2016-08-01 12:27:08 +02:00
Jonathan Hao
3e43192e96 Bug 1289571 - Set browser's userContextId before updateRemoteness in restoreTabContent. r=mikedeboer 2016-07-28 23:54:00 +02:00
Christoph Kerschbaumer
139ede3f25 Bug 1286472: Replace serializing nsISHEntry.owner with nsISHEntry.triggeringPrincipal. r=bz,mikedeboer 2016-07-28 09:23:25 +02:00
Mike Conley
d0be67566d Bug 1261842 - Tests in browser_windowStateContainer.js should wait for new browser windows to completely load. r=baku
MozReview-Commit-ID: 8SyED1dQbM5
2016-06-08 10:48:15 -04:00
Mike Conley
3573171604 Bug 1261842 - When putting the initial tab into the restored background state, flip it to non-remote. r=mikedeboer
MozReview-Commit-ID: BX8XbYjJHGf
2016-06-03 14:12:21 -04:00
Mike Conley
f425dd4caa Bug 1261842 - Update browser_394759_behavior.js to account for initial browser being remote. r=mikedeboer
MozReview-Commit-ID: H1A4bzARkyf
2016-06-01 17:15:25 -04:00
Mike Conley
0df0cea13c Bug 1261842 - browser_async_window_flushing.js no longer needs to wait for remoteness flip on initial browser of new window. r=Felipe
MozReview-Commit-ID: E74rDTQ2FjX
2016-06-08 16:22:13 -04:00
Mike Conley
2ce07ac2ff Bug 1261842 - browser_423132.js no longer needs to wait for remoteness flip on initial browser of new window. r=Felipe
MozReview-Commit-ID: 4QniZC8w7pA
2016-06-08 16:45:37 -04:00
Mike Conley
af03d2d67f Bug 1261842 - browser_394759_behavior.js no longer needs to wait for remoteness flip on initial browser of new window. r=Felipe
MozReview-Commit-ID: C9aIKuRSDa3
2016-06-08 16:42:39 -04:00
Tom Tromey
1b5a2bdb96 Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
This removes the unnecessary setting of c-basic-offset from all
python-mode files.

This was automatically generated using

    perl -pi -e 's/; *c-basic-offset: *[0-9]+//'

... on the affected files.

The bulk of these files are moz.build files but there a few others as
well.

MozReview-Commit-ID: 2pPf3DEiZqx
2016-07-14 10:16:42 -06:00