Commit Graph

2212 Commits

Author SHA1 Message Date
Chris H-C
bd63a5ab71 bug 1366294 - Part 13 - Fix telemetry-using tests. r=Dexter
Some tests were using "secret" APIs to get at telemetry knowledge from various
processes in various ways. Adjust them so that they work with the new ways of
doing things.

MozReview-Commit-ID: 2iBL00HVGyg
2017-07-21 08:41:44 -04:00
Tim Taubert
006da10109 Bug 1382635 - FormDataListener shouldn't listen for change events r=mikedeboer 2017-07-21 10:35:25 +02:00
Tim Taubert
ebe9275441 Bug 1348816 - Remove PageStyle collection/restoration from SessionStore r=mikedeboer 2017-07-21 10:35:20 +02:00
k88hudson
2ec195e65a Bug 1382746 - Provide a helper function to remove the preloaded browser r=Mardak
MozReview-Commit-ID: 2PSIhwvKTKA
2017-07-20 14:32:39 -04:00
Sebastian Hengst
fd630d5ad3 Backed out changeset 36fe0b0b3b4c (bug 874533) for eslint failures, e.g. in browser/components/sessionstore/SessionStore.jsm:3437. r=backout 2017-07-18 18:22:24 +02:00
Sebastian Hengst
6d474037c5 Backed out changeset b194f4fb6731 (bug 874533) 2017-07-18 18:21:40 +02:00
Beekill95
955edace10 Bug 874533 - Part 2: Test connections prepared when users hover mouse on tabs or when restoring automatically. r=mikedeboer
MozReview-Commit-ID: 4rfhQF2WVwn
2017-06-23 10:29:32 +07:00
Beekill95
e1df6753f7 Bug 874533 - Part 1: Speculative connect when users hover mouse on a tab or when restoring tabs automatically. r=mikedeboer
MozReview-Commit-ID: aJUyM4z3Nh
2017-06-23 10:27:32 +07:00
Dão Gottwald
1262916843 Bug 1367630 - part 4: Don't claim that the stored title is a content title when it's really the page's URL. r=mikedeboer
MozReview-Commit-ID: 6VKZFmEv8WN
2017-07-14 09:50:41 +02:00
Dão Gottwald
3f091bcc9d Bug 1367630 - part 1: Refactor tab label update mechanism to better handle tabs without a content title. f=cpeterson r=mikedeboer
MozReview-Commit-ID: JKkN08enLyQ
2017-07-14 09:46:55 +02:00
Wes Kocher
7c8f1a68cf Merge inbound to central, a=merge
MozReview-Commit-ID: 8nlqm5dHCUQ
2017-07-14 17:14:43 -07:00
Geoff Brown
97967263d6 Bug 1244904 - Skip all browser/components/sessionstore tests on non-e10s Linux; r=mikedeboer 2017-07-14 10:51:07 -06:00
Will Wang
f69fd8c812 Bug 1328013 - Do not collect the flag of allowJavascript DocShell capabilities. r=mikedeboer 2017-07-10 16:56:48 +08:00
Sebastian Hengst
3073215161 Backed out changeset e62c93a8c93b (bug 1373672) for bustage at nsSessionStoreUtils.cpp:21: bad implicit conversion constructor for 'DynamicFrameEventFilter, and e.g. eslint failures. r=backout on a CLOSED TREE 2017-08-01 12:39:21 +02:00
Sebastian Hengst
aa83ab0a55 Backed out changeset 36bb09c4b28e (bug 1373672) 2017-08-01 12:38:20 +02:00
Michael Layzell
e8382ff99f Bug 1373672 - Part 3: Expose childOffset from nsIDocShell to use in nsSessionStoreUtils, r=ttaubert, r=smaug
The reasoning behind this is that with this change, removing a non-dynamic
docshell from the document dynamically shouldn't affect the indexes which we use
for both recording and restoring data in child docshells.

MozReview-Commit-ID: JIK8GBSWDEF
2017-08-01 11:22:53 +02:00
Tim Taubert
12284f3ab0 Bug 1373672 - Part 1: Filter events from dynamic docShells in Gecko before they reach SessionStore event handlers r=smaug,mystor 2017-07-21 14:57:30 +02:00
Kartikaya Gupta
d3e47bb1bf Back out cset 6e3e79a9b873 from bug 1364764 to re-enable the test, since the assertion has been removed instead. r=backout 2017-07-12 12:23:41 -04:00
Beekill95
d6972c29f0 Bug 1331932 - Suppress window animations while we're restoring window dimension. r=mikedeboer,jimm,mstange 2017-06-22 14:27:05 +07:00
Will Wang
5b70a21197 Bug 1366213: Part 2 - Make session restore component switch to observe new topic 'session-cookie-changed' instead of 'cookie-changed'. r=mikedeboer 2017-06-30 12:09:31 -07:00
Wes Kocher
4a3051693d Merge m-c to inbound, a=merge
MozReview-Commit-ID: IVwrN2VivZT
2017-07-07 17:30:32 -07:00
Geoff Brown
d260eaba57 Bug 1364764 - Skip test browser_windowStateContainer.js, for intermittent crashes; r=me,test-only 2017-07-07 15:10:05 -06:00
Dão Gottwald
551a17704f Bug 1378703 - Make browser_tab_label_during_restore.js more robust and clean up browser_label_and_icon.js. r=cpeterson
MozReview-Commit-ID: JaGqbumotIn
2017-07-06 11:40:42 +02:00
Frederik Braun
96b2642639 Bug 1351608 - Disable warnings for existing violations to no-unsanitize rule r=Standard8.
MozReview-Commit-ID: 7cTNL5jMtRw
2017-07-03 20:07:02 +01:00
Alastor Wu
044f0cd4cb Bug 1351925 - remove blockMedia() and related tests. r=baku
The intermittent failure is caused by the innate drawback of the present test,
it doesn't be consistent with the behavior how we actually block the media.

Since we always block media implicit, it would be set in nsGlobalWindow's ctor.
We would never call blockMedia directly, so we can remove the function.

MozReview-Commit-ID: IjYJi5OHQ3X
2017-06-30 12:16:43 -07:00
Carsten "Tomcat" Book
5d237abf55 Backed out changeset ad0560789e1e (bug 1331932) 2017-07-04 09:53:11 +02:00
Beekill95
1401857ea2 Bug 1331932 - Suppress window animations while we're restoring window dimension. r=mikedeboer,jimm,mstange 2017-06-22 14:27:05 +07:00
Carsten "Tomcat" Book
8f40d14bcc merge mozilla-inbound to mozilla-central a=merge 2017-06-30 12:59:45 +02:00
Paolo Amadini
e228f9c0f4 Bug 1376986 - Remove ability to customize restriction tokens. r=mak
MozReview-Commit-ID: 3JuLExJwF6z
2017-06-29 01:10:37 +01:00
Blake Kaplan
16a899b557 Bug 1375710 - Remove CPOWs from browser_500328.js. r=Gijs
This also reworks an async function to read more linearly.

MozReview-Commit-ID: JPzRlCNWY65
2017-05-17 17:49:26 -07:00
Chris H-C
ae4b82aa78 bug 1373728 - Count how many pinned tabs are restored in a session r=bsmedberg,Dexter
Pinned tabs, when restored, load. This can have startup impact.
We should probably measure this.

To avoid impacting startup ourselves, do this when idle or after 60s from
session restore, whichever comes first.

MozReview-Commit-ID: EQzqqcz4IdL
2017-06-28 15:14:22 -07:00
Alastor Wu
88eba98907 Bug 1347791 - part4 : keep tab's block state consistent after session restore. r=dao,mikedeboer
If the tab was resumed before, it could start playing any autoplay media without user's
permission after session restore.

MozReview-Commit-ID: C3DHIIsLtJA
2017-06-29 05:46:28 -07:00
Carsten "Tomcat" Book
911b7bbf48 merge mozilla-inbound to mozilla-central a=merge 2017-06-26 13:25:51 +02:00
Wes Kocher
43b6aaeaf1 Backed out 2 changesets (bug 1365643) for frequent failures in browser_forget_async_closings.js on Windows a=backout CLOSED TREE
Backed out changeset c5e8b08a4635 (bug 1365643)
Backed out changeset 9377a56fe004 (bug 1365643)
2017-06-23 14:57:22 -07:00
Florian Quèze
c0468168f5 Bug 1368456 - remove Promise.jsm imports in tests, r=mconley. 2017-06-23 11:25:52 +02:00
Florian Quèze
b622c2b081 Bug 1368456 - Remove imports of Promise.jsm from Firefox, r=mconley. 2017-06-23 11:25:18 +02:00
Beekill95
b5f71b0049 Bug 934967 - Part 4: Change session file extension in FirefoxProfileMigrator to jsonlz4 and make SessionMigration read and write functions use lz4 compression. r=mikedeboer
MozReview-Commit-ID: LjsEwnr5I1R
2017-06-20 15:49:38 +07:00
Beekill95
7b1d03efc6 Bug 934967 - Part 3: Add test cases to check session store's migration to using lz4 compression. r=mikedeboer
MozReview-Commit-ID: 6lE8MPqcLdr
2017-06-14 15:39:04 +07:00
Beekill95
5040b59b5b Bug 934967 - Part 2: Make test cases read lz4 compressed version of session store files and create a frequently use function in head.js. r=mikedeboer
MozReview-Commit-ID: A7X7TwOwvxC
2017-06-14 15:38:30 +07:00
Beekill95
a28e9a41b9 Bug 934967 - Part 1: Compress session store files using lz4. r=mikedeboer
MozReview-Commit-ID: 6wKLIAglefr
2017-06-08 15:14:18 +07:00
Dan Mosedale
5e9f01da08 Bug 1365643 - temporarily disable preload patch until the rest of this bug relands, r=Mardak
MozReview-Commit-ID: Cl5Oqsq1txX
2017-06-22 12:31:43 -07:00
Florian Quèze
c30094cdf7 Bug 1374282 - script generated patch to remove generators from add_task in browser/ and toolkit/, r=Mossop. 2017-06-22 12:51:43 +02:00
Ehsan Akhgari
7636b9231e Bug 1374892 - Implement nsISHistoryListener::OnLengthChanged/OnIndexChanged on the JS implementations to avoid generating silent exceptions when Gecko calls these functions; r=freesamael 2017-06-22 00:30:37 -04:00
Dão Gottwald
be10d10d8a Bug 1365541 - Re-implement reusing the selected tab when restoring a window to fix FX_SESSION_RESTORE_RESTORE_WINDOW_MS regression. r=mikedeboer
MozReview-Commit-ID: CFxrJ8NjlER
2017-06-19 12:57:09 +02:00
Mike de Boer
c193430d60 Bug 1373116 - Disable browser_windowStateContainer.js mochitest on Linux until it is fixed. r=jmaher
MozReview-Commit-ID: DLaTgAnnFhE
2017-06-21 13:46:04 +02:00
k88hudson
4686771903 Bug 1373271 - Handle crashes in preloaded browsers in tabbrowser r=mconley
MozReview-Commit-ID: IVMQOOsyMnZ
2017-06-15 12:27:06 -04:00
Wes Kocher
fded8f00c4 Backed out changeset 65ff5356cdfa (bug 1373271) for leaking a window in browser_1234021.js a=backout
MozReview-Commit-ID: LZT4Q7ixilz
2017-06-19 17:47:00 -07:00
k88hudson
bbd3695be3 Bug 1373271 - Handle crashes in preloaded browsers in tabbrowser r=mconley
MozReview-Commit-ID: IVMQOOsyMnZ
2017-06-15 12:27:06 -04:00
Paolo Amadini
489326239e Bug 1242505 - Detect unhandled rejections of native Promises in browser-chrome tests. r=Mossop
The browser-chrome test suite now detects and reports unhandled rejections of native Promises, in addition to those created by Promise.jsm. The whitelisting mechanism is updated to use primarily the PromiseTestUtils.expectUncaughtRejection function. Tests will fail if a rejection that is not whitelisted occurs, or if a whitelisted rejection does not occur anymore.

MozReview-Commit-ID: 1beGB5GG8Ty
2017-06-18 08:05:06 +01:00
Mike Conley
af2825f947 Bug 1370035 - Remove pending tab optimization now that tabs are injected lazily. r=dao
MozReview-Commit-ID: HTWVmFHtFv0
2017-06-13 16:48:08 -04:00