Commit Graph

45977 Commits

Author SHA1 Message Date
Doug Thayer
4385b3a50b Bug 1354774 - http URLs in browser.dtd for appUpdate r=rstrong
MozReview-Commit-ID: JfBCUt3lYsV

--HG--
extra : rebase_source : 190d3cec2bcee9317221c785db26206bc532cce7
2017-04-10 11:26:48 -07:00
Wes Kocher
59b56514c9 Backed out 4 changesets (bug 1342178) for frequent test_network_security.html failures a=backout
Backed out changeset 7f9114ffbcae (bug 1342178)
Backed out changeset f19289f0cfef (bug 1342178)
Backed out changeset 4afce44bc2b9 (bug 1342178)
Backed out changeset db9b64a44012 (bug 1342178)

--HG--
rename : devtools/shared/webconsole/test/test_network_security.html => devtools/shared/webconsole/test/test_network_security-hpkp.html
2017-04-10 12:34:10 -07:00
Doug Thayer
fdb8261fdd Bug 1354949 - Add 'the' to updateRestart message r=rstrong
MozReview-Commit-ID: 6YRiOT88dTi

--HG--
extra : rebase_source : 26efec627c2a3b5b026def1c80baf0da435543c6
2017-04-10 11:15:53 -07:00
Gijs Kruitbosch
08d6dac87a Bug 1352043 - attempt to fix intermittents by forcing an initial system load in HiddenFrames, r=kmag
MozReview-Commit-ID: 5iBIqPclToU

--HG--
extra : rebase_source : b10e0e64661dffe6058c01d40a50af7c8291a430
2017-04-10 15:55:53 +01:00
Jonathan Hao
851f486bfc Bug 1342178 - Pass origin attributes to isSecureURI in devtools and browser. r=keeler,past
MozReview-Commit-ID: HIOYH8iUUkO

--HG--
extra : rebase_source : e8cfe06ac3691d45bf97f61a3f5603cbec1bae39
2017-04-06 15:43:35 +08:00
Francesco Lodolo (:flod)
e457943c4f Bug 1355082 - Sync browser shipped-locales between mozilla-aurora and mozilla-central r=Pike
Historically changes to shipped-locales landed in mozilla-aurora directly, skipping mozilla-central.
With Project Dawn we'll land these changes directly to mozilla-central, and let them ride the trains to
mozilla-beta, so we should sync their content.

MozReview-Commit-ID: DRuK5K7FJuI

--HG--
extra : rebase_source : dad327e6564c244c394afdb5d9e2a79d4dd65cc9
2017-04-10 15:51:58 +02:00
Dão Gottwald
b9c20c2796 Bug 1354789 - Cache layout information needed in _positionPinnedTabs. r=florian
MozReview-Commit-ID: 7RmuvvsXFTy

--HG--
extra : rebase_source : a57b249f57be9043a96b5448907f71eea832d3b1
2017-04-10 15:19:52 +02:00
Mark Banner
1db8f21862 Bug 1353374 - Fix regression where the taskbar button wasn't showing the download progress. r=mak
Put back in line that was incorrectly removed previously, and add a test.

MozReview-Commit-ID: FEl8fT1uCDm

--HG--
extra : rebase_source : 549b4d9ab9c963ab5a92b81311cffe07fae6953c
2017-04-05 15:28:06 +01:00
Fischer.json
1338acd53a Bug 1348252 - Disable buttons and display loading message in Site Data section while loading data, r=Gijs
MozReview-Commit-ID: 9EfG71hRoDe

--HG--
extra : rebase_source : 5163e88d3ebd7b7dd0578b27e9934e6a340bf6fb
2017-04-05 22:28:30 +08:00
Iris Hsiao
adc828742f Backed out changeset efb859759339 (bug 1323311) for eslint failure 2017-04-10 11:12:20 +08:00
Prathiksha
ad36dbc902 Bug 1333532 - Changed the permissions.js file to make the Page Info dialog work. r=johannh
MozReview-Commit-ID: 2zJeMhtYEds

--HG--
extra : rebase_source : 7db88f2451c740e1b5179d81f699ead14fbd585f
2017-04-09 16:50:02 +05:30
Andy McKay
0cfe55b71e bug 1323311 make tabs.move on multiple tabs more reliable r=kmag
MozReview-Commit-ID: 9o4huF1f60g

--HG--
extra : rebase_source : 53e7b0830f7ee3ce7b99bea39d2ae7e2967596fb
2017-04-07 16:52:00 -07:00
Prathiksha
68df0b85af Bug 1224137 - List the 'allow pages from <example.com> to take you to their tab' permission (for alerts/prompts) in the site identity / permission panel. r=johannh
MozReview-Commit-ID: LIsJ8VG0stN

--HG--
extra : rebase_source : 975e6684f0872ea3f0e42bf073f1bceec12d5bc7
2017-04-09 11:45:01 +05:30
Mike Conley
7f712307f1 Bug 1349787 - Make sure browser_tabCloseProbes.js waits for tabs to be fully open before closing them. r=mossop
The tests in browser_tabCloseProbes.js were closing tabs without waiting for them
to be fully open, and when they're not fully open, closing occurs without animation.

This was intermittently breaking the test for the probe that checks that we add
a count to the right histogram when closing with animation.

MozReview-Commit-ID: 5Qz7mZvtbkB

--HG--
extra : rebase_source : 0d794faebc8e751bfcd15476ae849018dfb1f6c1
2017-04-07 10:45:56 -04:00
Sebastian Hengst
6a5fe3bae0 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: IkoXCAwjjKu
2017-04-08 22:49:04 +02:00
Dão Gottwald
c951251cca Bug 1354782 - Re-use pinned tab width to avoid layout flush and invalidation loop in _positionPinnedTabs. r=florian
MozReview-Commit-ID: 98eGdDUXLm2

--HG--
extra : rebase_source : d454599f50aabbefd6144d7051cb293025e7e1ae
2017-04-08 09:17:03 +02:00
Dão Gottwald
cac52d46df Bug 1354781 - Filter scrollbox overflow and underflow events more accurately. r=florian
MozReview-Commit-ID: 6GJjO89q2s2

--HG--
extra : rebase_source : 3446a64267234eb36cc9c358c4a88c5b30e6fe62
2017-04-08 09:02:40 +02:00
kernp25
656efd183a Bug 1339416 - contextMenus.OnClickData should have the frameId. r=mixedpuppy 2017-04-04 12:00:16 +02:00
ffxbld
c288e8360e No bug, Automated blocklist update from host bld-linux64-spot-307 - a=blocklist-update 2017-04-07 09:18:33 -07:00
Carsten "Tomcat" Book
e9a1efbf89 Backed out changeset d4b635aa0c2e (bug 893505) for eslint failure
--HG--
extra : rebase_source : 4d3d223400907e2ed63384a6cf457a0b41d2624e
2017-04-07 15:53:19 +02:00
Carsten "Tomcat" Book
3a762886de Merge mozilla-central to mozilla-inbound 2017-04-07 15:33:03 +02:00
Tim Taubert
4da3a7f72e Bug 912717 - Tiny follow-up to fix ESLint bustage caused by a test file r=bustage 2017-04-07 15:09:46 +02:00
Tim Taubert
afed0705da Bug 912717 - Don't let SessionCookie collection jank the chrome process r=mikedeboer
Current state:
--------------

Session cookies - those that have no Expires or Max-Age directive, sent as a
header or set via document.cookie - are meant to live for the duration of a
session. SessionStore is a feature that aims to enable users to resume where
they left off last time they closed the browser. So SessionStore will persist
and restore those cookies that the cookie service only keeps in memory.

SessionCookies.jsm registers observers with the cookie service and is thus
notified of cookie additions, deletions, and modifications as-it-happens. It
has its own internal storage that we could easily serialize and write to disk
together with the rest of the session data.

The hangs shown in various profiles stem from the fact that since the inception
of SessionStore as an add-on around Firefox 2, cookies have been tacked to
windows. This means that whenever we collect session data for a specific
window (i.e. tabs, their shistory entries, etc.) we have to iterate *all* its
tabs and *all* their shistory entries to enumerate the hosts contained in that
window. We will then ask the internal cookie store in SessionCookies.jsm to
give us all cookies for these hosts and then store them together with the
window. This way we filter out cookies from tabs/hosts that have no active
documents (BFCache counts as "active").

Changes in this patch:
----------------------

Instead of trying to only retain cookies from “active” documents, i.e. those
contained somewhere in the shistory of a tab, we now simply save all session
cookies of the session. This will surely reduce user complaints about us
"logging them out" too fast because we discard cookies from tabs they
open only once in a while, although those definitely belong to the
browsing session.

Instead of storing the cookies per each window we now have a top-level
"cookies" attribute that is a list of cookies. These get restored whenever we
restore a session. Legacy window.cookies attributes will still be restored to
support older session formats for a while.

The DEFER_SESSION startup mode is active by default when a user choses not to
restore their whole session automatically but they still have one or more
pinned tabs. These pinned tabs are restored automatically and split off of the
rest of the session. The rest can be restored manually if the user chooses to
do so.

In the past, we here extracted and restored only the pinned tabs' cookies from
the last session. This filtering also works against how some sites (e.g.
Google) use session cookies. It also means we have to iterate all windows,
tabs, shistory entries, and cookies to find the data we want.

This patch changes our past behavior so that we now restore only pinned tabs
but all session cookies. So we don't have to filter, and pages will break less
likely. We hereby assume that a user having pinned tabs wants to continue their
browsing session partially, although without Firefox remembering the exact list
of tabs. Or they simply like starting off of a clean slate.
2017-04-07 14:41:38 +02:00
Johann Hofmann
9cd3d14848 Bug 1337772 - Part 2 - Explicitly trigger a mousedown event before opening the context menu in browser_context_menu.js. r=MattN
MozReview-Commit-ID: ADTskzMoK9t

--HG--
extra : rebase_source : 6133986c9e3c470f6e2fb3c5a172a82c0f07fd8a
2017-04-06 11:00:11 +02:00
Phil Ringnalda
cb5344f715 Backed out changeset 228a6487d0c1 (bug 1350781) for eslint failures
CLOSED TREE
2017-04-06 21:16:03 -07:00
Ehsan Akhgari
3ee2f84634 Bug 1350781 - Avoid recomputing gBrowserThumbnails._topSiteURLs for 1 minute after computing it to speed up session restore; r=markh 2017-04-06 23:26:08 -04:00
Doug Thayer
765003669c Bug 893505 - Simplify the application update UI. r=Gijs, r=enndeakin, r=rstrong, data-r=bsmedberg
There are quite a few changes in here. At a high level, all we're trying to do is to replace the old update popup with a less intrusive and more modern doorhanger (set of doorhangers) for various update success and failure conditions.
2017-04-06 17:20:36 -07:00
Sebastian Hengst
3f2001d7b9 Backed out 2 changesets (bug 893505) for failing eslint. r=backout
Backed out changeset 5880d471d75c (bug 893505)
Backed out changeset 3246d7cb2729 (bug 893505)
2017-04-07 01:04:54 +02:00
Robert Strong
8f137a0e86 Followup eslint fix for Bug 893505. r=me 2017-04-06 15:50:20 -07:00
Wes Kocher
7da1f4c235 Merge m-c to inbound a=merge 2017-04-06 15:30:43 -07:00
Doug Thayer
06dfd98d7d Bug 893505 - Simplify the application update UI. r=Gijs, r=enndeakin, r=rstrong, data-r=bsmedberg
There are quite a few changes in here. At a high level, all we're trying to do is to replace the old update popup with a less intrusive and more modern doorhanger (set of doorhangers) for various update success and failure conditions.
2017-04-06 15:09:16 -07:00
Wes Kocher
0c3144c6f6 Merge inbound to central, a=merge 2017-04-06 15:01:34 -07:00
Ryan VanderMeulen
91cbca3e88 Backed out changeset 5de79bf87514 (bug 1354081) 2017-04-06 09:50:40 -04:00
Ryan VanderMeulen
2ad48ad061 Bug 1354081 - Update pdf.js to version 1.7.418. r=bdahl 2017-04-06 15:32:15 +02:00
Sebastian Hengst
1074351606 Backed out changeset 3fd845171474 (bug 1354081) for rooting hazard. r=backout 2017-04-06 15:24:10 +02:00
Ryan VanderMeulen
f1e573b0c7 Bug 1354081 - Update pdf.js to version 1.7.418. r=bdahl 2017-04-06 08:43:36 -04:00
Joel Maher
16ec3a15a0 Bug 1341980 - Intermittent browser/components/sessionstore/test/browser_819510_perwindowpb.js - disable on osx. r=gbrown
MozReview-Commit-ID: J3IL8cHAmau
2017-04-06 07:29:53 -04:00
Carsten "Tomcat" Book
207b516e89 merge mozilla-inbound to mozilla-central a=merge 2017-04-06 12:50:50 +02:00
Mark Banner
585bf398ea Bug 1342459 - Enable no-undef on browser/base, and clean up unnecessary no-undef references. r=mossop
MozReview-Commit-ID: KVrAnAjMD1E

--HG--
extra : rebase_source : 7a9651c055e2c6e959d42d08e5be9de2e2265346
2017-04-03 11:46:56 +01:00
Mark Banner
92c422a2d6 Bug 1342459 - Add a rule to automatically detect ContentTask.spawn and inject the relevant globals. r=mossop
This reduces the amount of places where we need to specify the mozilla/frame-script environment. It does have
the side effect of allowing those globals in the whole file, but that is what specifying the environment would
do, and this is also for mochitest test files only.

MozReview-Commit-ID: 1LLFbn6fFJR

--HG--
extra : rebase_source : 82a6934d90bbbbd25f91b7b06bf4f9354e38865a
2017-04-05 10:00:25 +01:00
Mark Banner
427e3b23dc Bug 1342459 - Fix various no-undef issues in browser/base. r=mossop
MozReview-Commit-ID: CRYxu7copKb

--HG--
extra : rebase_source : bc176c5e6890ffc6a4e26cb9bc9d441d9486ce7b
2017-04-04 13:42:33 +01:00
Phil Ringnalda
3654f8f62b Backed out changeset 0a3044dc01d2 (bug 1354342) for eslint bustage 2017-04-06 20:26:36 -07:00
Andy McKay
da7650dff2 bug 1354342 allow a relativeUrl for homepage r=mixedpuppy
MozReview-Commit-ID: 86V6vFjO66C

--HG--
extra : rebase_source : b6017ed9a4f50008d20fc6c5684a70a4a740aef7
2017-04-06 17:12:57 -07:00
Masayuki Nakano
14608ddcac Bug 1353699 <menulist> for default font should use onsyncfrompreference r=jaws
When font.name.*.* is set to false, "value" attribute of <preference> is removed.  Then, <preference>.setElementValue() with an element which doesn't have onsyncfrompreference tries to set null.  Then, <menulist> selects nothing.

In such case, <menulist> should select the item whose value is "". If there is onsyncfrompreference attribute and it returns empty string, <preference>.setElementValue()  works as expected.

MozReview-Commit-ID: 54KIe3JxwyA

--HG--
extra : rebase_source : 8b94ff9a790cb5f771901cbfea72240d6d8df554
2017-04-06 10:04:04 +09:00
Ting-Yu Chou
19c3b373bc Bug 1333003 part 8 - Include ASan runtime dll and LLVM symbolizer in jsshell package. r=glandium
Update also the similar logic in browser/installer/package-manifest.in. The
reason I added the symbolizer is because it'd be useful when someone conduct
jsshell testing/fuzzing.

MozReview-Commit-ID: J9IqFWsnskS

--HG--
extra : rebase_source : db461065f778fc025576b1fc7612642181d94dcd
2017-03-24 16:58:27 +08:00
Doug Thayer
f463069928 Bug 893505 - Simplify the application update UI r=chmanchester,enndeakin+6102,Gijs,rstrong
There's quite a few changes in here. At a high level, all we're trying to do
is to replace the old update popup with a less intrusive and more modern
doorhanger (set of doorhangers) for various update failure conditions.

MozReview-Commit-ID: 24sESMTosNX

--HG--
extra : rebase_source : ee0c1e00fe3f99e16388f0de17274ff97a3b9fcf
2017-03-21 13:50:09 -07:00
Blake Kaplan
971ced558b Bug 1353910 - Fix intermittents in webrtc tests while removing code duplication. r=florian
MozReview-Commit-ID: 83XSsnQ0bBY

--HG--
extra : rebase_source : f476470a9d78b1d820a1aa23263e5b289c1e77fa
2017-04-06 11:41:02 -07:00
Andrew McCreight
757620ca9d Bug 1354328 - Lazily load the inline spell checker. r=Felipe
It isn't needed until we create a context menu.

MozReview-Commit-ID: 4kCfq9PzVPV

--HG--
extra : rebase_source : 51907d6aa28d5bd2a9fb8a0acb28cac719888292
2017-04-06 15:46:09 -07:00
Andrew McCreight
78ab774d55 Bug 1352522, part 3 - Remove the unused listener for webrtc:StartBrowserSharing. r=florian
MozReview-Commit-ID: 780LNGx1p15

--HG--
extra : rebase_source : 89d346d0f14ace7f80d842ee780e121c223788f9
2017-04-06 14:39:02 -07:00
Andrew McCreight
f4badf6dde Bug 1352522, part 2 - Use a shim for ContentWebRTC message listeners. r=florian
This avoids importing ContentWebRTC.jsm unless webrtc is actually
being used, which reduces memory usage.

MozReview-Commit-ID: GlMo1WIZEFD

--HG--
extra : rebase_source : 25476c825bef1948f22d0e6dae67dc01ab41f886
2017-03-31 11:19:27 -07:00