Commit Graph

2030 Commits

Author SHA1 Message Date
Beekill95
56f93ea8c0 Bug 1383073 - Move speculativeConnectOnTabHover to tabbrowser.xml so we don't have to worry about clearing mouseover listeners from tabs. r=dao.
MozReview-Commit-ID: 6Q0EvtJGEIg
2017-07-28 15:03:30 +07:00
Christoph Kerschbaumer
041ea80f59 Bug 1381761 - Convert test browser_911547.js to comply with new data: URI inheritance model. r=dveditz 2017-08-04 14:10:21 +02:00
Wes Kocher
8ad489263c Merge inbound to central, a=merge
MozReview-Commit-ID: 9NFjSEt96iT
2017-08-02 17:11:51 -07:00
Michael Layzell
74ff77e07d 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
* * *
fixup
From c2cb8e33211348c36b1ce18bb62e6465fa46d3ae Mon Sep 17 00:00:00 2001
2017-08-02 19:08:19 +02:00
Tim Taubert
5c1a30b131 Bug 1373672 - Part 1: Filter events from dynamic docShells in Gecko before they reach SessionStore event handlers r=smaug,mystor 2017-08-02 19:08:04 +02:00
Rajesh Kathiriya
fefc455410 Bug 1374620 - Enabled the ESLint dot-notation rule across mozilla-central r=standard8
MozReview-Commit-ID: FadrI2li43G
2017-07-25 23:45:41 +05:30
Bevis Tseng
d46d0e9e86 Bug 1384041 - Label the use of setTimeout of Timer.jsm in content-sessionStore.js. r=billm
MozReview-Commit-ID: i8Rn1eke4s
2017-07-28 16:03:51 +08:00
Wes Kocher
11c90747d8 Merge inbound to central, a=merge
MozReview-Commit-ID: Dg4fbH8wbXt
2017-07-31 17:43:38 -07:00
Marco Castelluccio
91823bf6b0 Bug 1357517 - Remove or delay Preferences.jsm usage from some browser/components/* files. r=Gijs 2017-07-31 13:25:41 +02:00
Andrew Halberstadt
ee1695e1cd Bug 1385356 - Skip browser_tabicon_after_bg_tab_crash.js and browser_child_resources.js if crashreporter is disabled, r=mccr8
These tests use BrowserTestUtils.crashBrowser() and fail with ASan enabled.

MozReview-Commit-ID: CpkldaKouzD
2017-07-28 14:47:00 -04:00
Sebastian Hengst
1326418a49 Backed out changeset f5922a7ed25a (bug 1374620) for failing eslint at telemetry/tests/unit/test_TelemetrySend.js:358: ["os"] is better written in dot notation. r=backout 2017-07-31 14:44:34 +02:00
Rajesh Kathiriya
0d920ece6a Bug 1374620 - Enabled the ESLint dot-notation rule across mozilla-central r=standard8
MozReview-Commit-ID: FadrI2li43G
2017-07-25 23:45:41 +05:30
Chris H-C
d212df97df 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-24 09:52:26 -04:00
Wes Kocher
c21f63d3ed Merge inbound to central, a=merge CLOSED TREE
MozReview-Commit-ID: GYc8r8gnS0j
2017-07-21 18:12:55 -07:00
Ryan VanderMeulen
af0aa4cb17 Merge m-c to inbound. a=merge 2017-07-21 09:40:28 -04:00
Beekill95
b0ab65e98f 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
be4e60944f 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
Sebastian Hengst
2b457a1054 Backed out changeset e7a3ac603f7c (bug 1366294) 2017-07-21 15:19:21 +02:00
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