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

529444 Коммитов

Автор SHA1 Сообщение Дата
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
Andrew McCreight a4e17048dd Bug 1352522, part 1 - Add ContentWebRTC observers in ContentObservers.js. r=florian
This avoids importing ContentWebRTC.jsm just to register observers
that may never observe anything. Avoiding importing .jsms reduces
memory usage.

ContentObserver.js gets loaded once per content process, so I think
the ._initialized stuff is not needed in the process script.

MozReview-Commit-ID: 5r9L3bfFS0U

--HG--
extra : rebase_source : 0fe6e14c2963efccf21bd1606885098902fed598
2017-04-07 08:48:58 -07:00
Nicholas Hurley 8a7a1ddf0e Bug 1352146 - Don't allow status phrases in http/2. r=mcmanus
MozReview-Commit-ID: Cf30tUivhnB

--HG--
extra : rebase_source : d3b64d6ee9077f448ff9b8aaaff3d449655f0b62
2017-04-07 13:18:20 -07:00
Nicholas Hurley 7edcb91dff Bug 1352146 - fix whitespace in moz-http2.js. r=mcmanus
MozReview-Commit-ID: Ij4c6RS0UyV

--HG--
extra : rebase_source : 72a7b30b76f627765bcb11b9ea9b1e3f9246aafb
2017-04-07 12:58:54 -07:00
Patrick Brosset 498369fdf0 Bug 1354647 - Move the eyedropper l10n strings to /devtools/shared/; r=jryans
MozReview-Commit-ID: Fgu72wGpFK1

--HG--
rename : devtools/client/locales/en-US/eyedropper.properties => devtools/shared/locales/en-US/eyedropper.properties
extra : rebase_source : 25ceb960d644fea262caa4d2535f2d306f79aff2
2017-04-07 22:00:00 +02:00
Phil Ringnalda 7acd88c933 Backed out changeset 3d1ad05d7b99 (bug 1353104) for Android bustage in test_chrome_ext_hybrid_addons.html 2017-04-07 13:39:54 -07:00
Phil Ringnalda d40c8778b0 Backed out changeset 389893c52830 (bug 1349787) for timeouts in browser_tabCloseProbes.js 2017-04-07 13:36:11 -07:00
Daosheng Mu 031d7a70be Bug 1349895 - Vive Tracker support in OpenVR; r=kip
MozReview-Commit-ID: Gug4SUenhtU

--HG--
extra : rebase_source : 744bc90aa210466eb4a78b4fc63c7ddf79ea9bc2
2017-04-06 09:45:55 +08:00
Sebastian Hengst 548852b3a4 merge mozilla-central to autoland. r=merge a=merge 2017-04-07 22:16:26 +02:00
Sebastian Hengst 0e1faab582 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: F5aZ4FC75r7
2017-04-07 22:03:41 +02:00
Gregory Szorc ea8bded050 Bug 1354625 - Use mozilla-unified for upstream for all Firefox builds; r=aki
Without the use of an upstream the first repo cloned on a machine will
be cached. If a subsequent job references a different repo, it may have
to pull thousands of changesets because those changesets aren't part of
the initially-cloned repo. This is why the --upstream feature to
robustclone exists and is why it uses the mozilla-unified repo.

The mozilla-unified repo is a superset of central, aurora, beta, release,
etc. So by cloning it, you get changesets for all of the repos at the
time of the clone. When a subsequent job comes along and requests
a changeset from a different repo, you likely only need to fetch data
for a handful of changesets, not thousands.

This change adds the upstream url config for all fx_desktop_build jobs,
ensuring it is used. A redundant config entry for the try repo has been
removed as well.

MozReview-Commit-ID: 3EL7aSXS4AG

--HG--
extra : rebase_source : 19fc7373da56ad879b4b813a379dd8d9798909e4
2017-04-07 11:08:11 -07:00
Gregory Szorc 65eaff13a1 Bug 1354625 - Use mozilla-unified for single_local try builds upstream; r=aki
I think I initially defined these and I think I know why I used
mozilla-central (it had to do with try not advertising bundles and
mozilla-unified being generaldelta when other repos were not). Those
reasons are no longer valid and we should be using mozilla-unified
everywhere.

MozReview-Commit-ID: CFaZspU6A5M

--HG--
extra : rebase_source : 79b74038307a3faa9b150a7ea1d449cad472e748
2017-04-07 11:08:14 -07:00
Sebastian Hengst 594c2edeec Backed out changeset 321a37f440e8 (bug 1353638) for linting failure in testing/web-platform/meta/MANIFEST.json. r=backout 2017-04-07 18:40:20 +02:00
Sebastian Hengst ae044c4f73 Backed out changeset dc210ac61f96 (bug 1353638) 2017-04-07 18:39:26 +02:00
Eric Rahm 2d1b7da05b Bug 1354207 - Set webrtc build flags when building under valgrind, etc. r=jesup
The webrtc gyp files have a 'build_for_tool' flag that controls among other
things what defines are provided at build time. This meant that during a
firefox valgrind build webrtc would still specify NVALGRIND, thus disabling
some valgrind macros. Similarly there are flags for asan and tsan that we
should probably have been specifying as well. This patch sets the
'build_for_tool' flag to the appropriate value when building under valgrind,
asan, and tsan.
2017-04-07 09:20:37 -07:00
Brendan Dahl 79c787d9b4 Bug 1353937 - Expose http server wrapped js object for private apis. r=mcmanus
Slimerjs relies on the hidden _start to create a server with a
port and host.
2017-04-07 09:18:33 -07: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
ffxbld 8b74a28ba4 No bug, Automated HPKP preload list update from host bld-linux64-spot-307 - a=hpkp-update 2017-04-07 09:18:33 -07:00
ffxbld 25c5a4b366 No bug, Automated HSTS preload list update from host bld-linux64-spot-307 - a=hsts-update 2017-04-07 09:18:33 -07:00
ffxbld 78cefe75fb No bug, Automated blocklist update from host bld-linux64-spot-307 - a=blocklist-update 2017-04-07 08:52:32 -07:00
ffxbld 1d4ad52861 No bug, Automated HPKP preload list update from host bld-linux64-spot-307 - a=hpkp-update 2017-04-07 08:52:29 -07:00
ffxbld f0a8966894 No bug, Automated HSTS preload list update from host bld-linux64-spot-307 - a=hsts-update 2017-04-07 08:52:27 -07:00
Dale Harvey c5ff9ba7e2 Bug 1353714 - Only setTaskDescription on supported android. r=janh 2017-04-07 16:43:12 +01:00
Dragana Damjanovic 2b3a916d76 Bug 1354233 - Add stream to m0RTTStreams after streamId is set. r=mcmanus 2017-04-07 17:28:21 +02:00
Phil Ringnalda a8bb90e93a Backed out changeset 5d3bc5f2c41f (bug 1354055) for mass Android reftest failures 2017-04-07 07:59:37 -07:00
Carsten "Tomcat" Book ab87252d1a Backed out changeset e22c18d39a92 (bug 1352699) for talos failures 2017-04-07 10:49:21 +02:00
Carsten "Tomcat" Book 84176d993c Backed out changeset a822f74d410e (bug 1352699) 2017-04-07 10:48:10 +02:00
Carsten "Tomcat" Book 5010bfe1c5 Backed out changeset afbfe3a5cdb6 (bug 1352699) 2017-04-07 10:48:08 +02:00
Carsten "Tomcat" Book 5db0c1c8bf Backed out changeset 48d3321e3474 (bug 1352699) 2017-04-07 10:48:06 +02:00
Carsten "Tomcat" Book 83d84af024 Backed out changeset 2b6c014551e0 (bug 1352699) 2017-04-07 10:48:04 +02:00
Sebastian Hengst 988017d22d Backed out changeset ba97ba73f72d (bug 1353333) for failing flake8. r=backout 2017-04-07 10:34:05 +02:00
Ho-Pang Hsu c831108a0e Bug 1353638 - P2: Remove a testcase. r=bkelly 2017-04-07 10:17:39 +08:00
Marco Bonardo 5af6b5b2cc Bug 1353783 - updatePlaces doesn't correctly notify and count embed visits. r=Gijs
Additionally, move some history tests to the history folder, split insertMany tests into their own test file.
Also, remove some no more needed android annotations, Firefox for Android doesn't use nor build Places anymore.

MozReview-Commit-ID: 6p4mazeUjsw

--HG--
rename : toolkit/components/places/tests/unit/test_async_history_api.js => toolkit/components/places/tests/history/test_async_history_api.js
rename : toolkit/components/places/tests/history/test_updatePlaces_sameUri_titleChanged.js => toolkit/components/places/tests/history/test_sameUri_titleChanged.js
extra : rebase_source : 1061f3ceb6dc20b9a94a39a7d400670ac45657d0
2017-04-06 14:24:25 +02:00
Johan Lorenzo 998fa260f9 Bug 1353333 - [push-apk] release: activate rollout percentage r=aki
MozReview-Commit-ID: 6SXbfREPBVS

--HG--
extra : rebase_source : d9c39f5df2f97554dfab169876c50064a90da1d9
2017-04-06 10:30:59 +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
Johann Hofmann c7f84eacc4 Bug 1337772 - Part 1 - Use mousedown instead of contextmenu to avoid showing the password autocomplete. r=MattN
MozReview-Commit-ID: EUZ1f6Qdm0c

--HG--
extra : rebase_source : e0b4f4f5d14407a831ca6efe4481f6c884682b39
2017-04-07 00:01:31 +02:00
Zibi Braniecki 847c06f3d1 Bug 1354055 - Don't cache wrong result in OSPreferences::ReadSystemLocales on Android. r=rnewman
MozReview-Commit-ID: Li7wUQnC9Gz

--HG--
extra : rebase_source : 6db7feb523c99634db468c3a674957163ec83142
2017-04-06 13:00:02 +02:00
Servo VCS Sync 89c762cc0c No bug - Revendor rust dependencies 2017-04-07 06:46:39 +00:00
Xidorn Quan fb31179442 servo: Merge #16296 - Update cssparser in Cargo.toml (from upsuper:cssparser); r=heycam
This helps Stylo builds to actually use the new cssparser.

Source-Repo: https://github.com/servo/servo
Source-Revision: 535d0e421a3188473fc0c3cefca569c1276c4804

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : d72cbe5b073fd7a22eb291a86007734c7b54e42b
2017-04-07 01:10:25 -05:00
Ho-Pang Hsu 475f025932 Bug 1353638 - P1: Hide useCache registrationOptions. r=bkelly 2017-04-05 23:42:50 +08:00
Phil Ringnalda 8f78b639e7 Merge m-c to m-i 2017-04-07 08:02:21 -07:00
Nathan Froyd c430f999dd Bug 1322656 - add servo bindings for profiler thread registration; r=xidorn
We need these to be able to register parallel traversal threads with the
profiler.
2017-04-07 10:44:41 -04: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
Paolo Amadini 9c01cb1c62 Bug 1350026 - Fix recognition of the handler type in the JSON handler service back-end, and add detailed testing of the file format. r=mak
On Android, nsIHandlerInfo instances representing protocols are also instances of nsIMIMEInfo. This causes the RDF back-end of the handler service to store them in the same cateory as MIME types. This fix corrects the situation for the JSON back-end, while leaving the RDF back-end unchanged for backwards compatibility.

Detailed testing is added using different RDF reference files for Desktop and Android.

MozReview-Commit-ID: B0ls60jfENe

--HG--
extra : source : 0bfa2e0ad6232cbaf66dd7e42326101e23b62352
2017-04-04 17:20:37 +01:00
Carsten "Tomcat" Book 3a762886de Merge mozilla-central to mozilla-inbound 2017-04-07 15:33:03 +02:00
Carsten "Tomcat" Book 7eac1bb720 Backed out changeset d24b3983c4c2 (bug 1322656) for causing merge conflict with m-c
--HG--
extra : rebase_source : 2a5ec1a8ad6115b79edad5276d69cde3cf3a346e
2017-04-07 15:09:55 +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
André Bargull 73d053f9c2 Bug 1333621 - Throw when calling Intl.PluralRules as a function. r=gandalf
--HG--
extra : rebase_source : abd883cd42f5bbe8d65bbc845d27ea6315a46a7d
extra : histedit_source : 4d92cc13aaaa3e2d0c88d8865a26536ae96ca4f7
2017-04-06 13:41:07 +02:00