Commit Graph

2087 Commits

Author SHA1 Message Date
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
Chris Peterson
86575e6440 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
2017-06-10 12:39:18 -07:00
Chris Peterson
785de8b764 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
2017-05-29 14:58:57 -07:00
Paolo Amadini
8531ce563a 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
2017-06-06 21:15:42 +01:00
Joel Maher
d1f0b3328d 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
35d0023e0b Bug 1369467 - Move a few module imports off of app-startup, r=mconley. 2017-06-02 22:08:21 +02:00
Geoff Brown
6a3afd92aa Bug 1331853 - Skip browser_dying_cache.js on Windows, for intermittent failures; r=WillWang 2017-06-01 08:25:33 -06:00
Julian Descottes
9ffe201f77 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
2017-05-24 20:50:23 +02:00
Paolo Amadini
e2ac328f74 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
2017-05-28 11:46:45 +01:00
Paolo Amadini
255a25f454 Bug 1242505 - Part 1 - Handle more rejections in code exercised by browser-chrome tests. r=Mossop
MozReview-Commit-ID: JTMgC2XwzX2
2017-05-25 15:00:22 +01:00
Sebastian Hengst
4f5a64e5c8 Backed out changeset b59573695517 (bug 1242505) 2017-05-28 11:31:22 +02:00
Sebastian Hengst
d3e7375d07 Backed out changeset 8d53be05afc5 (bug 1242505) 2017-05-28 11:31:12 +02:00
Paolo Amadini
0c75b3612c 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
2017-05-25 15:00:35 +01:00
Paolo Amadini
48197ac0f0 Bug 1242505 - Part 1 - Handle more rejections in code exercised by browser-chrome tests. r=Mossop
MozReview-Commit-ID: JTMgC2XwzX2
2017-05-25 15:00:22 +01:00
Ryan VanderMeulen
e45e8dfb59 Merge m-c to inbound. a=merge 2017-05-23 11:15:49 -04:00
Kevin Jones
f52d01c4f8 Bug 1365933 - Unit test for tabData.entries nonexistent/empty regression. r=mikedeboer 2017-05-22 10:39:00 -06:00
Julian Descottes
bb99e0e87c 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
2017-05-01 17:42:28 +02:00
Kevin Jones
4bc95d4f20 Bug 1365933 - Don't attempt to access tabData.entries value when tabData.entries is nonexistent or empty. r=mikedeboer 2017-05-22 08:33:29 -06:00
Will Wang
2b998772a1 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
5c61bddd6d Bug 1365780 - Consistently dispatch the TabAttrModified event and update the title bar when setting tab labels. r=mikedeboer
MozReview-Commit-ID: 1SNHtyw5hQ8
2017-05-19 14:19:06 +02:00
Bob Owen
bbbe1ef6e3 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
fb46714a11 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
28eed73af0 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
2017-05-15 13:21:54 -03:00
Carsten "Tomcat" Book
a27ec0c73b Backed out changeset 888dc371081a (bug 1347791) 2017-05-17 08:11:05 +02:00
Alastor Wu
61389f5625 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
2017-05-17 11:56:10 +08:00
Andreas Tolfsen
cde98db8f8 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
2017-04-27 22:59:16 +01:00