Граф коммитов

46030 Коммитов

Автор SHA1 Сообщение Дата
Fischer.json c39e57fe94 Part 2: Bug 1354530 - Disable offline group in Preferences in Nightly because Storage Management v1 spec is done, r=jaws
MozReview-Commit-ID: A4xbomLFYlQ

--HG--
extra : rebase_source : 9b5088f65c86ea6eb78b1c020cabed8922555234
2017-04-07 21:21:32 +08:00
Fischer.json a08651e908 Part 1: Bug 1354530 - Update the strings about Storage Manager according to the latest v1 specs, r=jaws
MozReview-Commit-ID: H9gCEZS7U3N

--HG--
extra : rebase_source : 95c23a122fa2c3830f9671334eb686d6a456bd6f
2017-04-07 21:04:49 +08:00
Rex Lee 446fef466c Bug 1349096 - Prevent download panel from moving up and down with download start animation. r=Paolo
MozReview-Commit-ID: E6zQUXcBWWP

--HG--
extra : rebase_source : b7cebbd0ed077c29b2606bd42a3ec8d017a37d18
2017-04-10 15:20:32 +08:00
Jared Wein a9e45312b0 Bug 1352738 - Move the position of the Container Tabs 'Learn More' link so it is inline with the checkbox like the other preferences. r=jkt
MozReview-Commit-ID: FGowC3cp1J2

--HG--
extra : rebase_source : 629575f3d9c17d735f65f1352f801bbf9d64ec0d
2017-04-12 09:50:03 -04:00
Marco Bonardo 0a4d59cc55 Bug 977177 - Add favicons.sqlite to profile related lists. r=adw,jmaher
MozReview-Commit-ID: HkYpXQ0UFmd

--HG--
extra : rebase_source : cabc1b332783cc40756538996e5dec79da3fba6a
2017-03-30 13:08:05 +02:00
Marco Bonardo 19cfdf37f2 Bug 977177 - Update favicons API consumers. r=adw
Updates consumers to the new behavior.
Some consumers are changed to use  the "page-icon:" protocol, since it's not
trivial to join the icons table and get a single result out of it. In most cases
the join would return multiple results since a page can have multiple icon payloads.
These consumers for now will return the biggest payload, bug 1347532 will fix
some of them to properly pass a #size=NN fragment.
Note that, even before, these were just "moz-anno:favicon:" uris, and the
payload had to be fetched from the database.
Some other consumers for now just fallback to the largest payload, by passing 0
to GetFaviconURLForPage.

The favicon optimization still happens on the main-thread, bug 1346139 will
handle that problem.

Most of the changes involve handling the modified IconData objects, that now
retain an array of payloads, rather than just one. But note that .ico files are
not yet split into single frames, due to imagelib missing APIs that will be handled
in bug 1337402.
The other changes involve fixing queries to properly join with the new tables.

Finally, note that thanks to the FOREIGN KEYS support, removing from moz_icons or
moz_pages_w_icons will also remove relations from moz_icons_to_pages.

The system only supports square icons, so icons are resized based on their larger side.

This doesn't include new tests, those will be in a following changeset.

MozReview-Commit-ID: JUkpquhpS8y

--HG--
rename : toolkit/components/places/tests/unit/test_svg_favicon.js => toolkit/components/places/tests/favicons/test_svg_favicon.js
extra : rebase_source : fa49c4a81d6ab6b34a2f19ee4175e889a6e9d734
2016-09-28 16:14:30 +02:00
Bob Silverberg b945ec9ade Bug 1344857 - SessionStore does not return titles for tabs which have a url that is identical to the title, r=mikedeboer
MozReview-Commit-ID: H7dHJo6rOuz

--HG--
extra : rebase_source : 6f4c483db21d659e84878f29bb1bb4e7ab6e3781
2017-04-11 13:50:24 -04:00
Gerald Squelart 445bbfd5e9 Bug 1343442 - decode-error/warning tests - r=Gijs
MozReview-Commit-ID: A0HO6RrnpMC

--HG--
extra : rebase_source : 41d64a38638e6c4f694b84d3ece811c4c358646f
2017-04-11 09:35:17 +12:00
Gerald Squelart b0ed44c907 Bug 1343442 - Handle decode-error/warning in browser-media.js - r=Gijs
Open webcompat.com in new tab, similar to what "Report Site Issue" button does.

MozReview-Commit-ID: 1ESOY3upHgc

--HG--
extra : rebase_source : 3f55c6798671ad430e59f5954a177a22b4b7642d
2017-04-11 13:37:52 +12:00
Gerald Squelart 8e4cf9eeaa Bug 1343442 - Re-enable browser_decoderDoctor.js on Mac - r=Gijs
Thanks to the previous patch, these tests can now be run on Mac, though they
don't do anything useful there just yet.

MozReview-Commit-ID: 3HyN7ms1EPl

--HG--
extra : rebase_source : c9487790d9c424dd8d21cfb6af927fd4121a15fa
2017-04-11 08:18:22 +12:00
Gerald Squelart 058ee32a6a Bug 1343442 - Refactored DecDoc browser tests for extensibility - r=Gijs
Mostly moved things around to make future tests (using different parameter
sets) easier to write.
Also, all tests are now run on all platforms, but we're expecting nothing to
happen in those cases that were previously skipped.
It will be useful when we add tests that actually need to run on all platforms.

MozReview-Commit-ID: AZTz9lr2eIJ

--HG--
extra : rebase_source : d028ebad59f2eef5591e04f9ca583d264de6b02f
2017-04-10 16:31:44 +12:00
Iris Hsiao 9493a7eab5 Backed out changeset a9fb56b87d01 (bug 1348396) for frequent customizableui browser_panelUINotifications.js failures 2017-04-12 18:07:29 +08:00
Panos Astithas aa73212e5b Add an index-per-type histogram for awesomebar results (bug 1345834). data-review=bsmedberg r=adw,bsmedberg
MozReview-Commit-ID: HxqENFSYcJy

--HG--
extra : rebase_source : b7bdbc6cdd6d67ed633b19b36418e3272a3f96e5
2017-04-05 17:51:41 +03:00
Iris Hsiao 05ad633169 Merge mozilla-central to autoland
--HG--
extra : rebase_source : 191c554cc14a76f0df547033c99e201d1ce7d915
2017-04-12 11:18:49 +08:00
Iris Hsiao 944f87c575 merge mozilla-inbound to mozilla-central a=merge 2017-04-12 11:16:46 +08:00
Sebastian Hengst 12bbf7f45f Backed out changeset d6d5806e5695 (bug 1348396) for frequently failing modified test. r=backout 2017-04-11 21:31:41 +02:00
Sebastian Hengst 96a2cd81fe Backed out changeset afb421c9af44 (bug 1351675) for leaving unreferenced file pins.json in tree. r=backout 2017-04-11 21:23:05 +02:00
Zibi Braniecki 9f6c244d29 Bug 1354445 - Migrate Intl.DateTimeFormat to mozIntl.DateTimeFormat in chrome. r=mak
MozReview-Commit-ID: 4z13lcLXN9T

--HG--
extra : rebase_source : 8043212542b95ca76cf5957fa1ca05e6943fb635
2017-04-08 23:04:32 -07:00
Olli Pettay 30d60038dd Bug 1352523, trying to fix browser_parsable_css.js to not depend on previous tests, r=Gijs
--HG--
extra : rebase_source : 4759251a81be9fc1df4ccdb65d0667aeae32d043
2017-04-11 16:25:48 +03:00
Sebastian Hengst 6312629bc7 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-04-11 11:35:10 +02:00
Sebastian Hengst 51beeffdec Backed out changeset bc87945ba833 (bug 1342178)
MozReview-Commit-ID: 2TLlzk8hOZY
2017-04-11 11:28:05 +02:00
Yoshi Huang 34f66889f3 Bug 1346713 - Generate unique firstPartyDomain value for NullPrincipal. r=smaug
In the past we used a fixed value for the firstPartyDomain of
NullPrincipal, now we derive it from the path of NullPrincipal, so it
will be unique everytime we create it.
2017-04-11 16:48:34 +08:00
Jonathan Hao e5a3b0c533 Bug 1342178 - Pass origin attributes to isSecureURI in devtools and browser. r=keeler,past
MozReview-Commit-ID: HIOYH8iUUkO

--HG--
extra : rebase_source : 2512cb3e403093e0f18b3b979d7b4a10e3d7c42b
2017-04-11 10:14:10 +08:00
Tim Huang 8f6d9f30c3 Bug 1351084 - Making the TabState.jsm collecting 'iconLoadingPrincipal' from browser.mIconLoadingPrincipal. r=mikedeboer
The browser.contentPrincpal will report a null prinicpal instead of the actual
content principal if the tab is not loaded. So the SessionStore will collect a
wrong principal for the 'iconLoadingPrincipal', and it will use this wrong
principal to load favicon when session restoring.

To fix this problem, this patch makes the TabState.jsm to collect
'iconLoadingPrincipal' from browser.mIconLoadingPrincipal which will be the
correct principal for loading favicon.

MozReview-Commit-ID: AYUbHFKaG8v

--HG--
extra : rebase_source : 3e2333f18c221d415bd0e26bc416a841344cef2c
2017-03-29 10:46:01 +08:00
Andy McKay a51c96851d bug 1323311 make tabs.move on multiple tabs more reliable r=kmag
MozReview-Commit-ID: 9o4huF1f60g

--HG--
extra : rebase_source : 392718783a20d59860cf8315b1687985799f076e
2017-04-10 11:18:04 -07:00
Wes Kocher 5eabc03c18 Merge m-c to autoland a=merge 2017-04-10 16:55:21 -07:00
Wes Kocher 05965b79a9 Merge inbound to central, a=merge 2017-04-10 16:32:45 -07:00
Mike de Boer d84d119582 Bug 1350053 - Part 2 - Update tests to check the arrow panel to appear, instead of the notification bar. r=mossop
MozReview-Commit-ID: G4Hkb7KQ79X

--HG--
extra : rebase_source : cb959e1f87d69f0d89113fdcd15406c187a9e74b
2017-04-10 16:17:36 +02:00
Mike de Boer 0154e989a3 Bug 1350053 - Part 1 - Change install flow of Light-weight Themes (LWT) to use PopupNotifications, instead of notification boxes. r=mossop
The newer Theming API follows the WebExtension install flow, which uses
PopupNotifications to request permission before installation, show progress and
notify upon install completion. This patch makes sure that older LWTs follow that
same flow.

MozReview-Commit-ID: C7X2si0a47J

--HG--
extra : rebase_source : 76f6283818dd69f62c4d59b6b11c5e90d37145a2
2017-04-10 16:16:50 +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
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
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