Commit graph

2076 commits

Author SHA1 Message Date
Tim Taubert
26a7909744 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
48e6bc2124 Bug 1374620 - Enabled the ESLint dot-notation rule across mozilla-central r=standard8
MozReview-Commit-ID: FadrI2li43G

--HG--
extra : rebase_source : b455e846ab79c8141150517e67e542e3e06d630e
2017-07-25 23:45:41 +05:30
Bevis Tseng
16c9a58ee8 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
179a07b6ba Merge inbound to central, a=merge
MozReview-Commit-ID: Dg4fbH8wbXt
2017-07-31 17:43:38 -07:00
Marco Castelluccio
0abc80eebf Bug 1357517 - Remove or delay Preferences.jsm usage from some browser/components/* files. r=Gijs
--HG--
extra : rebase_source : 8ae926bfde827b9a5323d6fb96dc231d429ab9b0
2017-07-31 13:25:41 +02:00
Andrew Halberstadt
ef2417d716 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

--HG--
extra : rebase_source : 02c4c0c13e7ab3ba144b2922b0cc54913daa6ab9
2017-07-28 14:47:00 -04:00
Sebastian Hengst
804a36e668 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
22dfa54ef4 Bug 1374620 - Enabled the ESLint dot-notation rule across mozilla-central r=standard8
MozReview-Commit-ID: FadrI2li43G

--HG--
extra : rebase_source : 5992bdde34bcc2421350433bc8c1e498a6bba848
2017-07-25 23:45:41 +05:30
Chris H-C
a21051c236 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
051dc17e6c Merge inbound to central, a=merge CLOSED TREE
MozReview-Commit-ID: GYc8r8gnS0j
2017-07-21 18:12:55 -07:00
Ryan VanderMeulen
f4e3a91992 Merge m-c to inbound. a=merge 2017-07-21 09:40:28 -04:00
Beekill95
787d320805 Bug 874533 - Part 2: Test connections prepared when users hover mouse on tabs or when restoring automatically. r=mikedeboer
MozReview-Commit-ID: 4rfhQF2WVwn

--HG--
extra : rebase_source : 6561a85ddeeb17cabc9fc2b4bbf2d06f3b92d8ae
2017-06-23 10:29:32 +07:00
Beekill95
1914bb6831 Bug 874533 - Part 1: Speculative connect when users hover mouse on a tab or when restoring tabs automatically. r=mikedeboer
MozReview-Commit-ID: aJUyM4z3Nh

--HG--
extra : rebase_source : 028e8c05ff1dc6285d9391525e6bee60919cbfe2
2017-06-23 10:27:32 +07:00
Sebastian Hengst
48896371e9 Backed out changeset e7a3ac603f7c (bug 1366294) 2017-07-21 15:19:21 +02:00
Chris H-C
2ce21e2a22 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
13ee60d3e3 Bug 1382635 - FormDataListener shouldn't listen for change events r=mikedeboer 2017-07-21 10:35:25 +02:00
Tim Taubert
a92639f8e8 Bug 1348816 - Remove PageStyle collection/restoration from SessionStore r=mikedeboer 2017-07-21 10:35:20 +02:00
k88hudson
f4e4b2bc68 Bug 1382746 - Provide a helper function to remove the preloaded browser r=Mardak
MozReview-Commit-ID: 2PSIhwvKTKA

--HG--
extra : rebase_source : bc24f4c640ee5b8d5f8305f29fde7d56f103070e
2017-07-20 14:32:39 -04:00
Sebastian Hengst
37e2b90465 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
0b9b3f0528 Backed out changeset b194f4fb6731 (bug 874533) 2017-07-18 18:21:40 +02:00
Beekill95
77f151c7c2 Bug 874533 - Part 2: Test connections prepared when users hover mouse on tabs or when restoring automatically. r=mikedeboer
MozReview-Commit-ID: 4rfhQF2WVwn

--HG--
extra : rebase_source : ae4df8a16964cdc0eadcddd790747037684698cf
2017-06-23 10:29:32 +07:00
Beekill95
83f8e86c2a Bug 874533 - Part 1: Speculative connect when users hover mouse on a tab or when restoring tabs automatically. r=mikedeboer
MozReview-Commit-ID: aJUyM4z3Nh

--HG--
extra : rebase_source : cbc5fd68ce3804ff05c960aa56b7c52b7b8373ba
2017-06-23 10:27:32 +07:00
Dão Gottwald
7cedd07c27 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

--HG--
extra : rebase_source : e036a86294d3019f5e5f8a348f5c8aa235c7fba9
2017-07-14 09:50:41 +02:00
Dão Gottwald
0da38d02f4 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

--HG--
extra : rebase_source : e8f11ff69881357f7246019435230b8b46aec3b5
2017-07-14 09:46:55 +02:00
Wes Kocher
e9fa5c772a Merge inbound to central, a=merge
MozReview-Commit-ID: 8nlqm5dHCUQ
2017-07-14 17:14:43 -07:00
Geoff Brown
e69d97cdb7 Bug 1244904 - Skip all browser/components/sessionstore tests on non-e10s Linux; r=mikedeboer 2017-07-14 10:51:07 -06:00
Will Wang
47e943466e Bug 1328013 - Do not collect the flag of allowJavascript DocShell capabilities. r=mikedeboer 2017-07-10 16:56:48 +08:00
Sebastian Hengst
c3bdf442b0 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
--HG--
extra : amend_source : 7ae39f6dca050173fd0c1103d309b7a9a175a377
2017-08-01 12:39:21 +02:00
Sebastian Hengst
73c25eaf60 Backed out changeset 36bb09c4b28e (bug 1373672) 2017-08-01 12:38:20 +02:00
Michael Layzell
2c2323bccd 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
36e075eddf 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
886f95d406 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
d2643cda87 Bug 1331932 - Suppress window animations while we're restoring window dimension. r=mikedeboer,jimm,mstange
--HG--
extra : rebase_source : 4c1cc1b8beb38f1445db8942d38babfa9fbce526
2017-06-22 14:27:05 +07:00
Will Wang
dd03c7ac9b Bug 1366213: Part 2 - Make session restore component switch to observe new topic 'session-cookie-changed' instead of 'cookie-changed'. r=mikedeboer
--HG--
extra : rebase_source : beabb6499eb9c00cd0eda70fe7f08acefd4f7ed1
2017-06-30 12:09:31 -07:00
Wes Kocher
5dd57ee395 Merge m-c to inbound, a=merge
MozReview-Commit-ID: IVwrN2VivZT
2017-07-07 17:30:32 -07:00
Geoff Brown
2f0b3fe766 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
9c558dec2a 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

--HG--
extra : rebase_source : 8a60086cac3de5c99733dda5abc6a5a6e98a51fe
2017-07-06 11:40:42 +02:00
Frederik Braun
56838ddb04 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
8f8b760529 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

--HG--
extra : rebase_source : 1cb5eaf76f237f2c8be430ef94f7d8aa6031cf17
2017-06-30 12:16:43 -07:00
Carsten "Tomcat" Book
63e37c85e1 Backed out changeset ad0560789e1e (bug 1331932)
--HG--
extra : rebase_source : 234862b52d30a4a9ffd371c1088b67dd80a253af
2017-07-04 09:53:11 +02:00
Beekill95
4b50ba3fad 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
daa67cc9e3 merge mozilla-inbound to mozilla-central a=merge 2017-06-30 12:59:45 +02:00
Paolo Amadini
2c8564b0b5 Bug 1376986 - Remove ability to customize restriction tokens. r=mak
MozReview-Commit-ID: 3JuLExJwF6z

--HG--
extra : rebase_source : 1121d85ee910eb7e84a346cb1ead4c591e2ca066
2017-06-29 01:10:37 +01:00
Blake Kaplan
05d57f4f59 Bug 1375710 - Remove CPOWs from browser_500328.js. r=Gijs
This also reworks an async function to read more linearly.

MozReview-Commit-ID: JPzRlCNWY65

--HG--
extra : rebase_source : 55cbcfca6026f9700daa0061ba38615be5670b90
2017-05-17 17:49:26 -07:00
Chris H-C
2fffc9a94e 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

--HG--
extra : rebase_source : 85158b6731862933027e90b1fe607a6794b68f52
2017-06-28 15:14:22 -07:00
Alastor Wu
b58f62a199 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

--HG--
extra : rebase_source : d415d26d9ddcc9cb2949eb3215aee74f4c85912c
2017-06-29 05:46:28 -07:00
Carsten "Tomcat" Book
259377b6ab merge mozilla-inbound to mozilla-central a=merge 2017-06-26 13:25:51 +02:00
Wes Kocher
e423d726ed 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
2924991bf6 Bug 1368456 - remove Promise.jsm imports in tests, r=mconley. 2017-06-23 11:25:52 +02:00
Florian Quèze
721c3ada5e Bug 1368456 - Remove imports of Promise.jsm from Firefox, r=mconley. 2017-06-23 11:25:18 +02:00
Beekill95
b1c3221502 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

--HG--
extra : rebase_source : f0c50f610acb5d4c6ae1c89d3761cc53a1e5c182
2017-06-20 15:49:38 +07:00
Beekill95
a5a838af1a Bug 934967 - Part 3: Add test cases to check session store's migration to using lz4 compression. r=mikedeboer
MozReview-Commit-ID: 6lE8MPqcLdr

--HG--
extra : rebase_source : dd89ab6f11952f306319128cfa7d29b687056d45
2017-06-14 15:39:04 +07:00
Beekill95
cd56c36640 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

--HG--
extra : rebase_source : 60a595dd4da3b50f231fbd8d007d3b2f78786563
2017-06-14 15:38:30 +07:00
Beekill95
94f94018d4 Bug 934967 - Part 1: Compress session store files using lz4. r=mikedeboer
MozReview-Commit-ID: 6wKLIAglefr

--HG--
extra : rebase_source : 0e7b0fb89e342f70968209623eb0e84ffb41adea
2017-06-08 15:14:18 +07:00
Dan Mosedale ext:(%3E)
3f4c5880c0 Bug 1365643 - temporarily disable preload patch until the rest of this bug relands, r=Mardak
MozReview-Commit-ID: Cl5Oqsq1txX

--HG--
extra : rebase_source : a016340a435e388abdf28e876cc00b3d391327c7
2017-06-22 12:31:43 -07:00
Florian Quèze
7375dcec46 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
941548abbb 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
8fb21484bf 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

--HG--
extra : rebase_source : f002b52cd073411305c7279ca3937b932a20185c
2017-06-19 12:57:09 +02:00
Mike de Boer
88c964c223 Bug 1373116 - Disable browser_windowStateContainer.js mochitest on Linux until it is fixed. r=jmaher
MozReview-Commit-ID: DLaTgAnnFhE

--HG--
extra : rebase_source : 0d86b9d78b8bac84a8389490d8015bfcce926b55
2017-06-21 13:46:04 +02:00
k88hudson
8959faf201 Bug 1373271 - Handle crashes in preloaded browsers in tabbrowser r=mconley
MozReview-Commit-ID: IVMQOOsyMnZ

--HG--
extra : rebase_source : 536517888ee3a907b95bc2c27d8e5380f8c50d80
2017-06-15 12:27:06 -04:00
Wes Kocher
97ce4573b9 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
b7dbeaa205 Bug 1373271 - Handle crashes in preloaded browsers in tabbrowser r=mconley
MozReview-Commit-ID: IVMQOOsyMnZ

--HG--
extra : rebase_source : a36f0629532f890c4d43f189b764fd0c682d70de
2017-06-15 12:27:06 -04:00
Paolo Amadini
585fbe6cec 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

--HG--
extra : rebase_source : b6573f8e2001f91d0e5a50f6376b191459549e94
extra : intermediate-source : 0411e687044ecc7b56684196238e6e6e68a9d685
extra : source : 8d53be05afc59519c5ce8cfae96d284a972fda71
2017-06-18 08:05:06 +01:00
Mike Conley
b659b49c15 Bug 1370035 - Remove pending tab optimization now that tabs are injected lazily. r=dao
MozReview-Commit-ID: HTWVmFHtFv0

--HG--
extra : rebase_source : 98241bcf2c01fbca83b612a674b8da1ae430d6c2
2017-06-13 16:48:08 -04:00
Chris Peterson
e3153e78e2 Bug 1366870 - Part 2: Set initial tab title to URL's hostname until we know the actual page title. r=dao
We currently show a full URL as the initial tab title (e.g. "https://www.mozilla.org/en-US/") until the page loads and we know the actual page title. When loading multiple tabs, such as during session restore, many tabs will have the same undifferentiated tab title prefix like "https://www....". Since the URL scheme and "www." subdomain are not meaningful to users, just show the URL's hostname without any "www." prefix (e.g. "mozilla.org").

Other browsers' initial tab titles for comparison:

* Firefox 54 uses "Connecting...".
* IE11 uses the same "hostname without www" placeholder as this changeset.
* Edge uses "Blank page".
* Chrome uses "Loading..." on Windows and "Untitled" on Mac.
* Safari uses "Untitled".

MozReview-Commit-ID: JxLxvBjpIBh

--HG--
extra : rebase_source : b57987e2d61b2798b4e85045ac03a0a33965d138
2017-06-10 12:39:18 -07:00
Chris Peterson
cc716fd2c1 Bug 1366870 - Part 1: Add test for about: pages' initial tab titles. r=dao
This test case documents the current behavior of about: pages's initial tab titles. The fix for bug 1364127 caused about: pages' initial tab titles to show their about: URIs until their actual page titles are known, e.g. "about:addons" -> "Add-ons Manager". This is bug 1371896. Previously, about: pages' initial tab titles were blank until the page title was known.

This test case uses the about:robots page because its title is not localized, which makes testing easier.

MozReview-Commit-ID: JGaRciaZUEC

--HG--
extra : rebase_source : a55a6d438774462e8862f9c3890d32f9dfa6f511
2017-05-29 14:58:57 -07:00
Paolo Amadini
ac30ebecfa Bug 1370652 - Handle more rejections in code exercised by browser-chrome tests. r=Mossop
These fixes are in preparation of making browser-chrome tests fail when there are unhandled Promise rejections.

MozReview-Commit-ID: JTMgC2XwzX2

--HG--
extra : rebase_source : 4d0b0465641b2286d01f872b0cf8052af5573939
extra : amend_source : 75dacab1ff06bcab2a05e6e744845b151f97d06c
extra : intermediate-source : 047e38fdb0c889e7e7dc0c2cd5a4e6dc6aa7fe22
extra : source : b59573695517b2a464f22e00bd3792c50dcf371a
2017-06-06 21:15:42 +01:00
Joel Maher
b44356bc28 Bug 1368364 - backout bug 1242505 as it causes browser/modules/ intermittent failures. r=paolo 2017-06-03 10:34:14 +02:00
Florian Quèze
6e4f665838 Bug 1369467 - Move a few module imports off of app-startup, r=mconley. 2017-06-02 22:08:21 +02:00
Geoff Brown
881795c074 Bug 1331853 - Skip browser_dying_cache.js on Windows, for intermittent failures; r=WillWang 2017-06-01 08:25:33 -06:00
Julian Descottes
d94844731c Bug 1366823 - Use DevToolsShim to call Scratchpad APIs from SessionStore.jsm;r=mikedeboer
DevTools are moving out of mozilla-central and m-c code should only rely on the
DevToolsShim that will remain available in m-c after the migration.
This changeset updates SessionStore.jsm to call the DevToolsShim instead of the
scratchpadmanager.

The actual underlying implementation is the same when devtools are installed and
no-ops when they are not.

MozReview-Commit-ID: Fv22TtjJiDw

--HG--
extra : rebase_source : eb051a1612598eb3ca11cff8be92f55f5cb3f7ca
2017-05-24 20:50:23 +02:00
Paolo Amadini
d7513d1e02 Bug 1242505 - Part 3 - 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

--HG--
extra : rebase_source : 64395c5fdf25deebd60dfbf2cf5df3cbf7ca8abb
extra : amend_source : 0a3f13419c050662680f2bd110d724b3bf991732
extra : source : 8d53be05afc59519c5ce8cfae96d284a972fda71
2017-05-28 11:46:45 +01:00
Paolo Amadini
0369d7414c Bug 1242505 - Part 1 - Handle more rejections in code exercised by browser-chrome tests. r=Mossop
MozReview-Commit-ID: JTMgC2XwzX2

--HG--
extra : rebase_source : 279cabcd658b3877a8501df382804ae5fa7aa1fc
extra : source : b59573695517b2a464f22e00bd3792c50dcf371a
2017-05-25 15:00:22 +01:00
Sebastian Hengst
877985ac99 Backed out changeset b59573695517 (bug 1242505) 2017-05-28 11:31:22 +02:00
Sebastian Hengst
8d47870cdc Backed out changeset 8d53be05afc5 (bug 1242505) 2017-05-28 11:31:12 +02:00
Paolo Amadini
8edd3b1d5c Bug 1242505 - Part 3 - 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

--HG--
extra : rebase_source : 59e5b84cb431f3ca28287d30a3da8fbea1363ec5
2017-05-25 15:00:35 +01:00
Paolo Amadini
6886a4fb81 Bug 1242505 - Part 1 - Handle more rejections in code exercised by browser-chrome tests. r=Mossop
MozReview-Commit-ID: JTMgC2XwzX2

--HG--
extra : rebase_source : 83a77cbfe5629abe99ae575b57592361ea9627b8
2017-05-25 15:00:22 +01:00
Ryan VanderMeulen
1734a80650 Merge m-c to inbound. a=merge 2017-05-23 11:15:49 -04:00
Kevin Jones
a8af367238 Bug 1365933 - Unit test for tabData.entries nonexistent/empty regression. r=mikedeboer 2017-05-22 10:39:00 -06:00
Julian Descottes
8d5696d571 Bug 1361054 - move scratchpad sessions test to devtools/client/scratchpad;r=mikedeboer
DevTools are moving out of mozilla central, and since this test is relying on scratchpad
being available, it would probably make sense to move it to the scratchpad test suite
which will still be run in the new devtools continuous integration setup.

MozReview-Commit-ID: 19x6Ccp85ND

--HG--
rename : browser/components/sessionstore/test/browser_644409-scratchpads.js => devtools/client/scratchpad/test/browser_scratchpad_sessions.js
extra : rebase_source : bf564025199748b43ef56333f5c5626b266be1ca
2017-05-01 17:42:28 +02:00
Kevin Jones
dc64c827ef Bug 1365933 - Don't attempt to access tabData.entries value when tabData.entries is nonexistent or empty. r=mikedeboer
--HG--
extra : rebase_source : 59dff50d78c121f5d9a1519c76c298e749331c99
2017-05-22 08:33:29 -06:00
Will Wang
15fb67470c Bug 1356605 - Part 2: Use the new sessionEnumerator to iterate only the cookies we need. r=mikedeboer 2017-05-10 12:14:31 +08:00
Dão Gottwald
5675800b1d Bug 1365780 - Consistently dispatch the TabAttrModified event and update the title bar when setting tab labels. r=mikedeboer
MozReview-Commit-ID: 1SNHtyw5hQ8

--HG--
extra : rebase_source : ab9176f3a90531f57a448f2661fa0b70e48d4f7a
2017-05-19 14:19:06 +02:00
Bob Owen
d0c57d84c1 Bug 1351358 Part 2.5: Move logic in the parent for switching in and out of Large Allocation process into browser.js RedirectLoad. r=mystor
This fixes a bug where we swap out of the Large Allocation process, when reloaded via the UI.
2017-05-18 12:08:56 +01:00
Bob Owen
47421837bf Bug 1351358 Part 2: Limit the http pages that will load in the file content process with allowLinkedWebInFileUriProcess pref. r=Gijs, r=mystor
This change means that any related http pages driven through content (window.open, links, etc.) will continue to be loaded in the file content process.
Same-origin loads via the UI will also remain in the file content process.
Cross-origin loads via the UI will cause a process switch.
History navigation will stay in the process, if it was originally loaded in that process.
2017-05-18 12:08:56 +01:00
Matheus Longaray
2ad6b7785b Bug 1364483 - Take customizemode attribute into account when saving tabs to disk. r=mikedeboer
This patch adds customizemode attribute data validation when saving tabs to disk.

MozReview-Commit-ID: 2GFXpApi0iQ

--HG--
extra : rebase_source : ce82001fbdabfda88621277fa750d60c8f1ccd6b
2017-05-15 13:21:54 -03:00
Carsten "Tomcat" Book
c60f5362f4 Backed out changeset 888dc371081a (bug 1347791) 2017-05-17 08:11:05 +02:00
Alastor Wu
a483732a11 Bug 1347791 - part4 : keep tab's block state consistent after session restore. r=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

--HG--
extra : rebase_source : 9517525aa242bff3150a902070544cf64c5ba6c1
2017-05-17 11:56:10 +08:00
Andreas Tolfsen
6935e40966 Bug 1355890 - Move robot favicon to separate file r=Gijs
Robot favicon (image/png) is currently only used in about:robots
(browser/base/content/aboutRobots.xhtml), but we intend to re-use this
resource for indicating that the browser is under remote (robot) control.

MozReview-Commit-ID: 4eTNbAITPQx

--HG--
extra : rebase_source : 765e4e2d7abe95ecc48b6a55582bde73fb689d5e
2017-04-27 22:59:16 +01:00
Carsten "Tomcat" Book
e83697008e merge mozilla-inbound to mozilla-central a=merge 2017-05-16 15:04:38 +02:00
Christoph Kerschbaumer
e4f38c8d7c Bug 1362993 - Rewrite gBrowser.addTab() to use BrowserTestUtils.addTab(). r=florian 2017-05-15 21:49:50 +02:00
Sebastian Hengst
484d2b7f51 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: Jduo3F6TzgF
2017-05-14 18:04:29 +02:00
Honza Bambas
d6d727a69e backout of f9abb9c83452 (bug 1319111) for crashes, r=bz 2017-05-13 13:55:11 +02:00
Wes Kocher
0a1e1fe23b Backed out changeset 95ff98f1c2e5 (bug 1319111) for talos failures a=backout
MozReview-Commit-ID: Gs09moFm5rQ
2017-05-12 18:24:42 -07:00
Dão Gottwald
569c55f5cb Bug 1364127 - Set the initial tab label to the URL for new tabs and to the saved title for restored tabs, and make sure that label doesn't subsequently get clobbered with a placeholder r=past
MozReview-Commit-ID: 9t07uAVE13H

--HG--
extra : rebase_source : c3e317bf0d149593b5a5119a878be96ef36b81db
2017-05-12 13:35:44 +02:00
Dão Gottwald
17f07e92b9 Bug 1364516 - Move gCustomizeMode.setTab call out of updateTabLabelAndIcon. r=mikedeboer
While setTab does end up setting the label and icon, it also does completely different and more crucial things. This call really doesn't belong in updateTabLabelAndIcon.

MozReview-Commit-ID: 1ZSY17ThNx

--HG--
extra : rebase_source : 7406be1314e50665b2a4aa612916e93846ac32f1
2017-05-15 18:52:34 +02:00
Sebastian Hengst
c06df98c46 Backed out changeset b96483ca2c27 (bug 1364516) for failing mochitest browser/components/customizableui/test/browser_exit_background_customize_mode.js and eslint failure at SessionStore.jsm:3696:7 | 'win' is not defined. r=backout 2017-05-15 15:19:07 +02:00
Dão Gottwald
be99777e74 Bug 1364516 - Move gCustomizeMode.setTab call out of updateTabLabelAndIcon. r=mikedeboer
While setTab does end up setting the label and icon, it also does completely different and more crucial things. This call really doesn't belong in updateTabLabelAndIcon.

MozReview-Commit-ID: 9HXYS0fXgRN

--HG--
extra : rebase_source : f11e283bdc487f8df4ba8013f420158b6f356dbe
2017-05-12 19:52:04 +02:00
Joel Maher
21a5910c0f Bug 1348583 - Intermittent browser/components/sessionstore/test/browser_625016.js. temporarily disable on linux/debug. r=gbrown
MozReview-Commit-ID: 3gWsdhJ167A
2017-05-12 16:19:41 -04:00
Honza Bambas
70f62bdec1 backout of f9abb9c83452 (bug 1319111) for crashes, r=bz 2017-05-12 22:13:49 +02:00