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

36105 Коммитов

Автор SHA1 Сообщение Дата
Robert Strong 3fb6c49dbe Bug 1214421 - add more test logging to help with diagnosing. r=mhowell 2016-08-31 12:35:09 -07:00
Robert Strong dab62f3605 Bug 1299333 test code only - Fix app update test file in use checks. r=mhowell 2016-08-31 12:35:05 -07:00
William Lachance 8056e10c11 Bug 1263409 - In addon performance alert tests, poll to see if we get desired jank measurement r=Yoric
MozReview-Commit-ID: 3k6AZO5QJTp

--HG--
extra : rebase_source : dc4135589c173abd331f7ca33d1f8fdf7dce3573
2016-08-31 15:47:12 -04:00
Kris Maglione 11b59ae527 Bug 1298810: Pass Port object to listeners on native messaging ports. r=rpl
MozReview-Commit-ID: 1saUOB1jyE1

--HG--
extra : rebase_source : 8831300c38bcca9283c25049c463d2b6cf41380d
extra : histedit_source : 3171045999ce6619f5e77af328c90ab3f8fbf994
2016-08-29 13:12:16 -07:00
Kris Maglione 3e51cc7423 Bug 1299256: Fix performance issues when stripping comments from large locale files. r=rpl
MozReview-Commit-ID: H7IfBnQ4KnO

--HG--
extra : rebase_source : 1e3670e0817ab9764cdca5cecd203207c41f2987
2016-08-30 12:24:23 -07:00
Aryeh Gregor 76862dadad Bug 1299453 - Stop using createEvent("DragEvents"/"KeyEvents") internally; r=smaug
They are non-standard aliases for "DragEvent" and "KeyboardEvent" that
are not supported by any other UA, and we would like to drop support.
So first let's stop using them ourselves, so we can use telemetry to see
if any sites are using them.

MozReview-Commit-ID: ICC33ORa2st
2016-08-31 20:38:50 +03:00
Wes Kocher 73f495435e Merge m-c to inbound a=merge 2016-08-30 18:14:57 -07:00
Bobby Holley 2ca3aaf37c Bug 1299276 - Add a separate --enable-stylo option to control MOZ_STYLO separate from the linkage effects of --with-servo. r=froydnj 2016-08-30 17:52:41 -07:00
Wes Kocher 6536590412 Merge fx-team to central, a=merge 2016-08-30 17:51:54 -07:00
Wes Kocher 87aec7a45f Merge inbound to central, a=merge 2016-08-30 17:35:02 -07:00
Sebastian Hengst 6ae51bd97a Backed out changeset 70b7f7e885c7 (bug 1290027) for crashing in xpcshell test test_httpsuspend_wrap.js. r=backout 2016-08-30 19:58:29 +02:00
Sebastian Hengst 4417aa0415 Backed out changeset 219efbc6aadb (bug 1277504) 2016-08-30 19:58:29 +02:00
Sebastian Hengst 2559410fb7 Backed out changeset 7d75e044ec95 (bug 1218576) 2016-08-30 19:58:29 +02:00
Sebastian Hengst 6bbdc8d953 Backed out changeset a7907f9f7bab (bug 1218576) 2016-08-30 19:58:29 +02:00
Sebastian Hengst 248a404d46 Backed out changeset ee46537edfbc (bug 1218576) 2016-08-30 19:58:29 +02:00
Sebastian Hengst 9150f55c5b Backed out changeset 5bb29adfd2f3 (bug 1218576) 2016-08-30 19:58:29 +02:00
Sebastian Hengst 6c0fe5cff9 Backed out changeset c56206f87ddf (bug 1218576) 2016-08-30 19:58:29 +02:00
Sebastian Hengst 5f4ea4a2ea Backed out changeset 80df18726a87 (bug 1218576) 2016-08-30 19:58:29 +02:00
Sebastian Hengst ead0adeb47 Backed out changeset 0fa32203e30a (bug 1218576) 2016-08-30 19:58:28 +02:00
Sebastian Hengst 4a66f7a213 Backed out changeset 5ecce735b1bf (bug 1218576) 2016-08-30 19:58:28 +02:00
Sebastian Hengst 05c2edcf1b Backed out changeset 355d9c21953c (bug 1218576) 2016-08-30 19:58:28 +02:00
Sebastian Hengst 1590d7a1a2 Backed out changeset ccbf45fbf4e8 (bug 1218576) 2016-08-30 19:58:28 +02:00
Sebastian Hengst ecae194a44 Backed out changeset 25905e31cba5 (bug 1218576) 2016-08-30 19:58:28 +02:00
Sebastian Hengst 870b8b763b Backed out changeset 009721cbd071 (bug 1218576) 2016-08-30 19:58:28 +02:00
Sebastian Hengst caffb53848 Backed out changeset 548b9c783ce5 (bug 1218576) 2016-08-30 19:58:28 +02:00
Sebastian Hengst 7d70b78877 Backed out changeset 9b23af2bc178 (bug 1218576) 2016-08-30 19:58:27 +02:00
Ryan VanderMeulen 8fd566e402 Merge m-c to autoland. a=merge 2016-08-30 09:57:26 -04:00
Ryan VanderMeulen 71d43e7c12 Merge inbound to m-c. a=merge 2016-08-30 09:52:55 -04:00
Iris Hsiao 114e53ff4e Backed out changeset 4a42968b790d (bug 1250901) for Mochitest M(oth) failures on OS X 2016-08-30 16:54:29 +08:00
Mike de Boer 79ac1d383d Bug 1280149 - rework and fix the positioning for range rects to work better with iframes and try better to not draw rects that are not visible from the top document. This basically means to leverage the Geometry.jsm API more and better. r=jaws
MozReview-Commit-ID: Kdr5FWzhxM4

--HG--
extra : rebase_source : 91eaa9db85faa54ac33eefacfbb54a3405d7d466
2016-08-31 09:59:56 +02:00
Mike de Boer 3052a476c3 Bug 1298438 - add modal highlighting stylesheet to each document, not only for each window. r=jaws
The reason this works is because the window object stays the same between location
changes, but the document object changes.
Since stylesheets are applied to documents, not windows, we need to make sure to
inject a stylesheet for each document, otherwise the find toolbar highlights will
look unstyled and wonky.
In bug 1279695 I made a change - to make tests pass and patch landable - to keep
track of all the things (state, mainly range sets) mapped to window objects, because
I hadn't thought of the fact that the content scripts and JSMs that are loaded in
its scope will see many different window objects. As many as there are tabs open,
actually (not counting frames).
The mistake I made there was to keep track of the state flag 'did I already install
the stylesheet?' on a per-window basis, unlike I did before. This patch corrects
this back to the way it was and should be, really.

MozReview-Commit-ID: 2t0mer2s10x

--HG--
extra : rebase_source : 6e793b695a4a86874898ca470639b60d5a91a001
2016-08-31 09:53:35 +02:00
Makoto Kato f3842d776e Bug 1298311 - Remove unused resource data for print dialog and narrate from Fennec. r=sebastian
MozReview-Commit-ID: 3nGrKVQqE3F

--HG--
extra : rebase_source : cded08082e238c93fc9a30aca80bcd5df69cafe8
2016-08-30 14:52:33 +09:00
Wes Kocher 81db6ce036 Merge m-c to autoland, a=merge 2016-08-30 18:15:33 -07:00
Ryan VanderMeulen c3bafd699d Backed out changesets 63812e8894ce and 809e880145b1 (bug 557710) for xpcshell failures. 2016-08-30 20:26:28 -04:00
Andrzej Hunt 086e5d1059 Bug 1293790 - Pre: implement AS topsites access r=grisha
MozReview-Commit-ID: 1z30naErciE

--HG--
extra : rebase_source : 5734af99f443a8a040117a02cbe4c582212a051c
2016-08-23 14:04:01 -07:00
Wes Kocher 513c6f555b Backed out 2 changesets (bug 1295762) for build bustage a=bustage CLOSED TREE
Backed out changeset b4b5fa96e8ee (bug 1295762)
Backed out changeset 30bb58fbbeb8 (bug 1295762)
2016-08-30 16:17:30 -07:00
Tom Schuster 490f44fef7 Bug 1114580 - Remove ctypes class tests. r=jorendorff 2016-08-31 00:13:10 +02:00
Wes Kocher bda25b8662 Backed out changeset 96e4aed6d414 (bug 1299276) for build bustage a=backout CLOSED TREE 2016-08-30 14:03:04 -07:00
Michael Layzell 7ebbb65581 Bug 1295762 - Part 1: Implement rust bindings to XPCOM's string types, r=froydnj
MozReview-Commit-ID: 7fnWSc3AzlR
2016-08-30 16:18:54 -04:00
Bobby Holley e81b83c99a Bug 1299276 - Add a separate --enable-stylo option to control MOZ_STYLO separate from the linkage effects of --with-servo. r=froydnj 2016-08-30 13:12:15 -07:00
Chris H-C dab2c53450 bug 1277504 - Support aggregated child histograms in about:telemetry r=gfritzsche
Throw some process selectors in the Histograms and Keyed Histograms sections
to allow users to choose which process type's histograms they'd like to see.
2016-08-30 20:00:12 +02:00
Chris H-C e8793bd7f9 bug 1290027 - Update "main" ping docs for child telemetry aggregation. r=gfritzsche
MozReview-Commit-ID: 52ja77pxuXu
2016-08-30 20:00:08 +02:00
Robert Helmer 141464cd20 Bug 557710 - add support for system add-ons to fake testing cert r=kmag
MozReview-Commit-ID: IMGlPXKaOYx

--HG--
extra : rebase_source : 1e7b314a0146ff4dd159b03b5605c19e5180ac88
2016-08-29 21:27:04 -07:00
Robert Helmer 125ee98fef Bug 557710 - add tests for behavior when the same restartless add-on is present in multiple install locations r=aswan
MozReview-Commit-ID: Fx9psv9sufD

--HG--
extra : rebase_source : cb853ee3eab970e4ea4950965c91b3a9c5690dcd
2016-08-15 16:24:12 -07:00
Eitan Isaacson 57a244c4d9 Bug 1298436 - Don't get caught in an endless loop when narrating last paragraph. r=jaws
MozReview-Commit-ID: 7SMh0MGusgM

--HG--
extra : rebase_source : 03f3c0c9d4b3de248f39e7d013e34df0260594a3
2016-08-27 14:42:51 -07:00
Mike de Boer 7919e32b36 Bug 1296822 - ignore the scrollbar size when nsIDOMWindowUtils.getRootBounds is used when fetching the page size for the findbar. r=jaws
MozReview-Commit-ID: 8chEDzgNVsL

--HG--
extra : rebase_source : 9dade23c76e41375e078db0147b2ef1a3f6e5c1e
2016-08-27 11:43:09 +02:00
Mike de Boer 8c6203d47d Bug 1298435 - upon browser window resize, update all the rects we track for each range we found and correctly reposition all oulines atop the mask. r=jaws
MozReview-Commit-ID: 46q0hVxfczW

--HG--
extra : rebase_source : aa33f2cc5432aa61ba8074af72109d0aeaadde99
2016-08-30 13:25:58 +02:00
Sebastian Kaspari 4b882652fe Bug 1281220 - Remove about:accounts telemetry on Fennec. r=liuche
MozReview-Commit-ID: GTKaauQIDKo

--HG--
extra : rebase_source : 8547ccf947b45d23de77e61018ec4de45cc3e329
2016-08-23 16:25:19 +02:00
Gijs Kruitbosch 802a08e401 Bug 1280888 - make hash links in about:reader absolute to avoid kicking people out of reader mode unnecessarily, r=jaws
MozReview-Commit-ID: IwrPJZZXxEW

--HG--
extra : rebase_source : 6596de3105985540f9fbc0bed79b69fd42d88e0e
2016-08-24 16:49:13 +01:00
Chris H-C e443888b98 bug 1218576 - Change unused.h to Unused.h, which matters to some filesystems. r=gfritzsche
MozReview-Commit-ID: GOy5Xz2Pxta
2016-08-30 09:13:00 +07:00
Chris H-C 1434ea0202 bug 1218576 - Test child categorical histogram aggregation r=gfritzsche
It's new, it wasn't tested, and my patches broke it earlier so we should have
coverage for it.

MozReview-Commit-ID: B25bFOJHMSQ
2016-08-23 08:36:00 +07:00
Chris H-C 8646cc0945 bug 1218576 - Aggregate child categorical histograms in the parent process. r=gfritzsche
Rewrite the categorical histogram accumulation code to use the common path.
This way it gets remote accumulation for cheap.

MozReview-Commit-ID: 3q6gdSvBix
2016-08-18 14:06:00 +07:00
Chris H-C d19fab2cbd bug 1218576 - Ensure we can record before trying to record categorical histograms. r=gfritzsche
Every other Accumulate call has it :S

MozReview-Commit-ID: 8uWtADebuJ1
2016-08-16 12:42:00 +07:00
Chris H-C 809dd2d8a4 bug 1218576 - Ensure Telemetry IDs coming from IPC are valid r=gfritzsche
I saw a one-off crash on try in internal_GetHistogramByEnumId. Not reproducible
but maybe possible if we're trying to accumulate using an invalid ID. So let's
guard against that.

MozReview-Commit-ID: Ei6eTlV91mJ
2016-08-16 12:42:00 +07:00
Chris H-C 7b27816209 bug 1218576 - Ensure remaining batched telemetry is flushed on content process shutdown r=gfritzsche
On content process shutdown we send a content process ping to ensure we have
up-to-date data from the content process before it goes away. Now we need to
also flush the batched telemetry accumulations to the parent so that it can be
present in the ping.

No attempt is made to synchronize access to IPCTimerFired. It is safe to
re-enter.

No attempt is made to cancel the timer as its firing is benign.

MozReview-Commit-ID: 1gjNH9IPhKf
2016-08-16 12:41:00 +07:00
Chris H-C bbc40e0f54 bug 1218576 - Assert we're the parent process when clearing histograms. r=gfritzsche
Clear isn't generally called at all, and isn't dispatched to the parent process
for child telemetry aggregation. Clear should only be called on the parent
process.

MozReview-Commit-ID: stIutvAO6h
2016-08-16 12:41:00 +07:00
Chris H-C d395977a97 bug 1218576 - Update test_ChildHistograms for child telemetry aggregation r=gfritzsche
No more requestChildPayloads (or need for it).

MozReview-Commit-ID: AmPuT04HjWx
2016-08-16 12:40:00 +07:00
Chris H-C a1b1c4ce72 bug 1218576 - Support remote accumulation via JS histograms. r=gfritzsche
The JS histograms, too, need to dispatch their accumulations from child to
parent.

JSHistograms_Add now only supports histograms that are in gHistogramsMap or
that were created in the parent process. After bug 1288745, maybe we'll be able
to change this to be less convoluted.

MozReview-Commit-ID: 3qTH89YKbGP
2016-08-19 08:41:00 +07:00
Chris H-C c6929f17da bug 1218576 - Move aggregated child telemetry to processes.content r=gfritzsche
Take the opportunity presented through changing child telemetry accumulation
to bring the ping form closer to the ideas expressed in bug 1281795.

childPayloads still exists, but without histograms or keyedHistograms which are
now at root.processes.content.{keyedH|h}istograms. This will require coordinated
changes in the aggregator and moztelemetry libraries.

MozReview-Commit-ID: AqG2jmBBC2W
2016-08-16 12:39:00 +07:00
Chris H-C c5e2a000eb bug 1218576 - Remove requestChildPayloads r=gfritzsche
To simplify using child telemetry from the parent process, only allow child
telemetry payloads to be generated once per child process, on shut down.

This will allow us to use the child telemetry's subsession information to leave
childPayloads the way it currently is.

Will need to update test_ChildHistograms.js as it is the only consumer.

MozReview-Commit-ID: 2qSztg0QHV5
2016-08-16 12:39:00 +07:00
Chris H-C 719d3302a8 bug 1218576 - Pre-allocate child keyed histograms in the parent process r=gfritzsche
I originally thought we'd be able to avoid the previous implementation's waste
of a map full of every kind of keyed histogram. Unfortunately, other code
(TelemetrySession at the very least) depends on this (and will throw if a keyed
histogram isn't present, even if it is empty)

MozReview-Commit-ID: 8MCGVa595UB
2016-08-16 12:38:00 +07:00
Chris H-C e063705e9c bug 1218576 - Support subsession hgrams for child aggregation r=gfritzsche
The original commit didn't properly support subsession histograms, so rectify
that lapse by adding support for stripping out the base name of a histogram
when trying to determine its id.

MozReview-Commit-ID: LvUek6f5WUx
2016-08-30 09:12:00 +07:00
Chris H-C 89a2726675 bug 1218576 - Accumulate child histograms in the parent process r=froydnj
Batch the accumulations to only transmit every so often, so we don't incur
too much in the way of IPC overhead penalties.

What this doesn't do:
* remove or restructure child telemetry code to adapt to the new way
* send the telemetry anywhere
* allow for the child process to clear child histograms
* support anything but histograms (but this is expected and okay)

MozReview-Commit-ID: JnUkcmN3Ya7
2016-08-23 08:35:00 +07:00
Chris H-C ed20b63cda bug 1277504 - Support aggregated child histograms in about:telemetry r=gfritzsche
Throw some process selectors in the Histograms and Keyed Histograms sections
to allow users to choose which process type's histograms they'd like to see.
2016-08-26 08:06:00 +07:00
Chris H-C 4d65d7fb3f bug 1290027 - Update "main" ping docs for child telemetry aggregation. r=gfritzsche
MozReview-Commit-ID: 52ja77pxuXu
2016-08-29 08:20:00 +07:00
André Bargull 96b7707bfe Bug 1121938 - Implement TypedArray.prototype.toString and .toLocaleString. r=waldo 2016-08-11 09:31:22 -07:00
Sunny f4e6ea33b9 Bug 1205845 - Implement telemetry measure to track toolbox docking setting; r=jryans p=bsmedberg
MozReview-Commit-ID: 7Zl1ggZDbde
2016-08-30 10:19:29 -05:00
Fred Lin f43904382f Bug 1272849 - Skip browser_notification_2 test on linux to avoid intermittent. r=MattN
MozReview-Commit-ID: 7NYWnQsBbpG

--HG--
extra : rebase_source : 9edbd750177c8f26bf1b605840aae5fa28f148f2
2016-08-09 13:56:21 +08:00
Thomas Nguyen 90c10e0eba Bug 1201716 - Missing status check in SafeBrowsing::Merge causes SafeBrowsing malfunction. r=francois
MozReview-Commit-ID: CtF4Gczkoa1

--HG--
extra : transplant_source : %D9E%045%FF%EB%91%04%12%D3%E2%E3%E9R%15z-%01%22%8E
2016-08-24 17:15:13 +08:00
Chris H-C d88b9182b1 bug 1218576 - Ensure IPCTimer is on the main thread. r=froydnj f=gfritzsche
nsTimer fires on the thread that created the timer. An nsTimer instance should
only be manipulated on its target thread (it isn't threadsafe). IPC using
PContent must be on the main thread.

Thus, everything to do with the gIPCTimer must be on the main thread.

This also takes care of bug 1299312.

MozReview-Commit-ID: IcVRYsoX2R9
2016-09-07 08:53:00 -04:00
Chris H-C 608c587bf3 bug 1218576 - Change unused.h to Unused.h, which matters to some filesystems. r=gfritzsche
MozReview-Commit-ID: GOy5Xz2Pxta
2016-09-07 08:53:00 -04:00
Chris H-C 761d11614f bug 1277504 - Support aggregated child histograms in about:telemetry r=gfritzsche
Throw some process selectors in the Histograms and Keyed Histograms sections
to allow users to choose which process type's histograms they'd like to see.
2016-09-07 08:53:00 -04:00
Chris H-C e87bce05db bug 1218576 - Test child categorical histogram aggregation r=gfritzsche
It's new, it wasn't tested, and my patches broke it earlier so we should have
coverage for it.

MozReview-Commit-ID: B25bFOJHMSQ
2016-09-07 08:53:00 -04:00
Chris H-C ff11ceafee bug 1218576 - Aggregate child categorical histograms in the parent process. r=gfritzsche
Rewrite the categorical histogram accumulation code to use the common path.
This way it gets remote accumulation for cheap.

MozReview-Commit-ID: 3q6gdSvBix
2016-09-07 08:53:00 -04:00
Chris H-C 27ce69e88d bug 1218576 - Ensure we can record before trying to record categorical histograms. r=gfritzsche
Every other Accumulate call has it :S

MozReview-Commit-ID: 8uWtADebuJ1
2016-09-07 08:53:00 -04:00
Chris H-C ab8640761f bug 1218576 - Ensure Telemetry IDs coming from IPC are valid r=gfritzsche
I saw a one-off crash on try in internal_GetHistogramByEnumId. Not reproducible
but maybe possible if we're trying to accumulate using an invalid ID. So let's
guard against that.

MozReview-Commit-ID: Ei6eTlV91mJ
2016-09-07 08:53:00 -04:00
Chris H-C 26c492926f bug 1218576 - Ensure remaining batched telemetry is flushed on content process shutdown r=gfritzsche
On content process shutdown we send a content process ping to ensure we have
up-to-date data from the content process before it goes away. Now we need to
also flush the batched telemetry accumulations to the parent so that it can be
present in the ping.

No attempt is made to synchronize access to IPCTimerFired. It is safe to
re-enter.

No attempt is made to cancel the timer as its firing is benign.

MozReview-Commit-ID: 1gjNH9IPhKf
2016-09-07 08:53:00 -04:00
Chris H-C 5a9db54b76 bug 1218576 - Assert we're the parent process when clearing histograms. r=gfritzsche
Clear isn't generally called at all, and isn't dispatched to the parent process
for child telemetry aggregation. Clear should only be called on the parent
process.

MozReview-Commit-ID: stIutvAO6h
2016-09-07 08:53:00 -04:00
Chris H-C e39f48e377 bug 1218576 - Update test_ChildHistograms for child telemetry aggregation r=gfritzsche
No more requestChildPayloads (or need for it).

MozReview-Commit-ID: AmPuT04HjWx
2016-09-07 08:53:00 -04:00
Chris H-C 80b0990d7a bug 1218576 - Support remote accumulation via JS histograms. r=gfritzsche
The JS histograms, too, need to dispatch their accumulations from child to
parent.

JSHistograms_Add now only supports histograms that are in gHistogramsMap or
that were created in the parent process. After bug 1288745, maybe we'll be able
to change this to be less convoluted.

MozReview-Commit-ID: 3qTH89YKbGP
2016-09-07 08:53:00 -04:00
Chris H-C 826805edbb bug 1218576 - Move aggregated child telemetry to processes.content r=gfritzsche
Take the opportunity presented through changing child telemetry accumulation
to bring the ping form closer to the ideas expressed in bug 1281795.

childPayloads still exists, but without histograms or keyedHistograms which are
now at root.processes.content.{keyedH|h}istograms. This will require coordinated
changes in the aggregator and moztelemetry libraries.

MozReview-Commit-ID: AqG2jmBBC2W
2016-09-07 08:53:00 -04:00
Chris H-C 2caa28ca86 bug 1218576 - Remove requestChildPayloads r=gfritzsche
To simplify using child telemetry from the parent process, only allow child
telemetry payloads to be generated once per child process, on shut down.

This will allow us to use the child telemetry's subsession information to leave
childPayloads the way it currently is.

Will need to update test_ChildHistograms.js as it is the only consumer.

MozReview-Commit-ID: 2qSztg0QHV5
2016-09-07 08:53:00 -04:00
Chris H-C e34b5502f1 bug 1218576 - Pre-allocate child keyed histograms in the parent process r=gfritzsche
I originally thought we'd be able to avoid the previous implementation's waste
of a map full of every kind of keyed histogram. Unfortunately, other code
(TelemetrySession at the very least) depends on this (and will throw if a keyed
histogram isn't present, even if it is empty)

MozReview-Commit-ID: 8MCGVa595UB
2016-09-07 08:53:00 -04:00
Chris H-C 5bf299ef1a bug 1218577 - Support subsession hgrams for child aggregation r=gfritzsche
The original commit didn't properly support subsession histograms, so rectify
that lapse by adding support for stripping out the base name of a histogram
when trying to determine its id.

MozReview-Commit-ID: LvUek6f5WUx
2016-09-07 08:53:00 -04:00
Chris H-C 14a62ec6c8 bug 1218576 - Accumulate child histograms in the parent process r=froydnj
Batch the accumulations to only transmit every so often, so we don't incur
too much in the way of IPC overhead penalties.

What this doesn't do:
* remove or restructure child telemetry code to adapt to the new way
* send the telemetry anywhere
* allow for the child process to clear child histograms
* support anything but histograms (but this is expected and okay)

MozReview-Commit-ID: JnUkcmN3Ya7
2016-09-07 08:53:00 -04:00
Tim Huang b091b33cd2 Bug 1278037 - Part 5: Modify the ForgetAboutSite.jsm to clear a site for all originAttributes in general. r=MattN
--HG--
extra : rebase_source : d389a2e0f6dd359f90607c6ca7d9dc22352453bd
extra : histedit_source : 492dcf679cbe6e5bfa57fc81080f15178fc287ed
2016-07-21 14:50:50 +08:00
Thomas Wisniewski 756abf6cfa Bug 289714 - Do not write <parsererror> nodes for invalid XML documents in XMLHttpRequests made by web content. r=billm, r=bz
--HG--
extra : rebase_source : 4cc87bbeca140953a90b31e1fd5b32098d37a2de
2016-08-29 16:30:36 -04:00
Johann Hofmann 95395ae5d0 Bug 1286118 - Add telemetry probe to measure changes to permissions after initial prompt. r=florian
MozReview-Commit-ID: 9Y4XaY71dhh

--HG--
extra : rebase_source : 6cb6ba2f3d36670f84f96a859ce0f86a0bfe69c3
2016-07-20 12:20:43 +02:00
Johann Hofmann 3f7d436e2f Bug 1286118 - Add telemetry probe to measure changes to permissions after initial prompt. r=florian data-review=bsmedberg
MozReview-Commit-ID: 9Y4XaY71dhh

--HG--
extra : rebase_source : 73f91b2211976329f56c8b721b8d1097ef258c4b
extra : amend_source : d92576417f6d92cb477b70064b147685410e3309
2016-07-20 12:20:43 +02:00
Sebastian Hengst fdbd17ca71 Backed out changeset af5df7bd1d26 (bug 1293365) for failing modified xpcshell test test_bookmarks_reorder.js. r=backout 2016-09-01 11:37:21 +02:00
Johann Hofmann cac56e91d0 Bug 1266836 - Part 3 - Rename window to chromeWindow, clean up _getNotifyWindow in nsLoginManagerPrompter. r=MattN
MozReview-Commit-ID: GetpnTlBtxg

--HG--
extra : rebase_source : a7de8eb0e63c444534f6c8e005153416bd99513a
extra : histedit_source : d6356fc18aa98f0bf89c8a5af1976488f598a269
2016-08-30 12:31:56 +02:00
Johann Hofmann ae39fbf912 Bug 1266836 - Part 2 - Rename openerWindow to openerTopWindow. r=MattN
MozReview-Commit-ID: 3UUaWO6fkAs

--HG--
extra : rebase_source : 52605c97e1532c493421d53eadba0a074c79a386
extra : histedit_source : 097b38eec87907dfa392ebd00467191a180835db
2016-08-26 08:38:23 +02:00
Johann Hofmann f1547c7e17 Bug 1266836 - Part 1 - Fix password manager handling of popup windows in e10s. r=MattN r=liuche
MozReview-Commit-ID: OVsgkHhyg9

--HG--
extra : rebase_source : fb5a56c5e31967636112ae8ce3dcca25d5ebefec
extra : histedit_source : abbb3d0cafc96bf925773443cc28ff26d5895f0f
2016-08-30 15:47:38 +02:00
Marco Bonardo 2342e44d51 Bug 1293365 - PlacesUtils.bookmarks.reorder can introduce holes when reordering. r=kitcambridge
MozReview-Commit-ID: Gt1UVykwvQz

--HG--
extra : rebase_source : df37ec30cb52ffd1371223e2e9dba4204a388be5
2016-08-31 11:37:09 +02:00
Ryan VanderMeulen 60c3cb1548 Merge m-c to fx-team. a=merge 2016-08-31 22:37:49 -04:00
Jared Wein 97e69eb233 Bug 336290 - remove --enable-safe-browsing from configure since its used everywhere. r=gcp
MozReview-Commit-ID: Duwu5vZOhtF

--HG--
extra : rebase_source : 564542010fd854c92978defba889b18a73f398f9
2016-08-31 19:28:29 -04:00
Gijs Kruitbosch 24da61daea Bug 1286389 - fix focusing if nothing is focused when panel closes, r=Enn
MozReview-Commit-ID: DzNnQZjuXK2

--HG--
extra : rebase_source : d84d49f06a275a4ab664996e144211d3cc588e3e
extra : source : 3696a22ff7a09bcc27296c0a5648e2e9afd32f67
2016-07-19 15:56:15 +01:00
Wes Kocher a2e7bd60fc Merge m-c to inbound, a=merge 2016-09-02 13:34:10 -07:00
Wes Kocher 5c55e46366 Backed out changeset d332de446548 (bug 1294650) 2016-09-02 11:02:59 -07:00
Rutuja Surve 27b6de8e73 Bug 1255843 - Add process memory reporting tool to about:performance. r=mconley
MozReview-Commit-ID: EHCkl6G3bTT

--HG--
extra : rebase_source : 2e9d711aa977e6d0313f07d28e1a2a4861b501c0
extra : source : 5ad925dd2e4e9f6943b228f0173d01278a74c2a8
2016-09-02 00:21:00 -04:00
Rob Wu 13d2c8e67f Bug 1286124 - Part 2/2 - Do not deliver messages to the sender's frame r=kmag
MozReview-Commit-ID: 8xZPDIJyMEo

--HG--
extra : rebase_source : 87fe85ef4786bfe8092569361557eb17f3471276
2016-07-13 21:33:56 -07:00
Rob Wu 6a21e0fb1b Bug 1286124 - Part 1/2 - Modify existing tests to not use same-frame messaging r=kmag
MozReview-Commit-ID: CtCcajKYAoR

--HG--
extra : rebase_source : 80fda91586e917b77f2a3df8e3ad24cc1433b38d
2016-07-13 16:25:58 -07:00
Wes Kocher 08fbeaaf2e Merge m-c to autoland, a=merge 2016-08-29 17:57:01 -07:00
Wes Kocher a4c2350d88 Merge fx-team to central, a=merge 2016-08-29 17:53:29 -07:00
Wes Kocher ecea29f6a3 Backed out changeset 0f53bc1a9aea (bug 1290619) a=merge 2016-08-29 17:40:59 -07:00
Wes Kocher ed461fdf11 Merge inbound to m-c a=merge 2016-08-29 17:40:50 -07:00
Ryan VanderMeulen e7d85d7c46 Merge m-c to autoland. a=merge 2016-08-29 12:52:13 -04:00
Ryan VanderMeulen 8b0f132c86 Merge fx-team to m-c. a=merge 2016-08-29 12:31:32 -04:00
Alastor Wu a2979b25f8 Bug 1262053 - part10 : modify tests. r=baku
MozReview-Commit-ID: 98JWlLo7oRG

--HG--
extra : rebase_source : 207b0c68a3218ad260f8b7c97748df7587cb0616
2016-08-29 18:56:43 +08:00
Alastor Wu b29b15681d Bug 1262053 - part9 : add test case. r=baku,cpearce
MozReview-Commit-ID: DjoIr7jdZeq

--HG--
extra : rebase_source : c4a672cdf2816eaa0462928f42780c260660fb0b
2016-08-29 18:56:40 +08:00
Mark Hammond edddec37c7 Bug 1297945 - have PlacesSyncUtils use a more efficient technique for checking whether a GUID exists. r=kitcambridge
MozReview-Commit-ID: 3DJMtMblBOF

--HG--
extra : rebase_source : 23e4b9983a598720b5b70ffdf9aed3c6ba17b7b0
2016-08-22 14:36:51 +10:00
Shubheksha Jalan 63373e4352 Bug 1282978 - Accept and ignore the minimum_chrome_version manifest property. r=kmag
MozReview-Commit-ID: C9AlxpQDCnC
***
Bug 1282978 - Fixed tabs and spacing issues

MozReview-Commit-ID: 3SSpQpvZY2B

--HG--
extra : rebase_source : e1f8e0378c7c78f01fff7251463af0715c3a3abe
2016-08-30 00:40:33 +05:30
Fischer.json e4c9207170 Bug 1113581 - Artifact when editing a keyword, the keyword is displayed under the text-area. r=jaws
MozReview-Commit-ID: 6toSvZlJeBz

--HG--
extra : transplant_source : %DC%82%29%EA%19%CD%B8%D3%CE%7D%90%FA%AA%89La%A5Rr%85
2016-08-01 11:32:24 +08:00
Ryan VanderMeulen 140d8ee017 Merge m-c to fx-team. a=merge 2016-08-29 12:56:48 -04:00
Julian Descottes 80f8e99613 Bug 1298012 - update libraries paths in about:license for node-properties and sprintfjs;r=gerv
MozReview-Commit-ID: 12paEMReI4i

--HG--
extra : rebase_source : 069399f97d22498819c378156b8623946388f25c
extra : intermediate-source : d0f2f6e140a0c02d142e6a460f87c661a9f802d2
extra : source : c344fba70d9511c2f665a5e375695e6e98cb4134
2016-08-25 15:05:32 +02:00
Marco Bonardo afb0a9831b Bug 1297941 - eraseEverything may send notifications in the wrong order, causing an invalid GuidHelper cache. r=kcambridge
MozReview-Commit-ID: EolOzGkLbg9

--HG--
extra : rebase_source : 89fcc1ee1b2b1aec2105b5022087df6d77530b0a
extra : amend_source : 3b72c9d90363458ebd4744713230a5f167ea09b2
2016-08-25 10:41:36 +10:00
Wes Kocher 41f168796b Merge m-c to fx-team, a=merge 2016-08-26 16:33:43 -07:00
Wes Kocher f09e8fef1a Merge inbound to central, a=merge 2016-08-26 16:20:50 -07:00
Robert Strong 529df92f7d Bug 1298222 - Fix showPrompt and showNeverForVersion checks in updateManagerXML.js. r=mhowell 2016-08-26 10:16:21 -07:00
Matthew Noorenberghe d5e941d656 Bug 1298193 - Part 8: Move pwmgr HTTP auth tests triggered by HTTP requests to their own file. r=Dolske
MozReview-Commit-ID: GdZJCnygYxK

--HG--
rename : toolkit/components/passwordmgr/test/mochitest/test_prompt_promptAuth.html => toolkit/components/passwordmgr/test/mochitest/test_prompt_http.html
extra : rebase_source : 5a804752bf906e7adc86b6fc5601f0b733bcad2c
2016-08-25 22:56:41 -07:00
Matthew Noorenberghe 13a0a6fe43 Bug 1298193 - Part 7: Make test_prompt_promptAuth work with channels in the parent. r=Dolske
MozReview-Commit-ID: 4PTYcJr83pW

--HG--
extra : rebase_source : d04d2d00eeea371cada057be00b5371e5d8a8178
2016-08-25 22:59:51 -07:00
Matthew Noorenberghe 580d4b0402 Bug 1298193 - Part 6: Remove storage observer from test_prompt_promptAuth.html and run setup in the chrome. r=Dolske
MozReview-Commit-ID: CPxynswqAru

--HG--
extra : rebase_source : ae83f1804d10cc98ddce6474a946a45a1d680cc1
2016-08-25 23:04:23 -07:00
Matthew Noorenberghe 694b575fdf Bug 1298193 - Part 5: test_prompt_promptAuth_proxy doesn't need to clear auth sessions on its own. r=Dolske
MozReview-Commit-ID: 2L9lYM3oeTm

--HG--
extra : rebase_source : 35476379ca28142a20552e1a9912a784c06fa317
2016-08-25 23:05:58 -07:00
Matthew Noorenberghe 4de5b6b6d8 Bug 1298193 - Part 4: Remove storage observer from test_prompt_promptAuth_proxy. r=Dolske
MozReview-Commit-ID: 9HDllNPpiVh

--HG--
extra : rebase_source : 49f4b4afab6f08e6da6fc0f530306b6db63e4699
2016-08-25 23:06:34 -07:00
Matthew Noorenberghe 278a4c4e0b Bug 1298193 - Part 3: Don't manually remove logins at the end of test_prompt_promptAuth*. r=Dolske
Services.logins.removeAllLogins is already done in registerCleanupFunction

MozReview-Commit-ID: 8FGF3kJmvj0

--HG--
extra : rebase_source : fa3dc1d635620f0285009685ff7d0a281a8ba49b
2016-08-25 23:09:41 -07:00
Matthew Noorenberghe 277e8620dd Bug 1298193 - Part 2: Switch test_prompt_promptAuth* to add_task. r=Dolske
MozReview-Commit-ID: Es4r5JGFzVW

--HG--
extra : rebase_source : b82927ff4a5262f0b8aef8feba7139b48e6b3519
2016-08-25 23:08:59 -07:00
Matthew Noorenberghe 24db9921eb Bug 1298193 - Part 1: Move promptAuth proxy tests to their own file. r=Dolske
More splitting of test_prompt.html to make these tests easier to maintain/digest.

MozReview-Commit-ID: DuakmtkJ41I

--HG--
rename : toolkit/components/passwordmgr/test/mochitest/test_prompt_promptAuth.html => toolkit/components/passwordmgr/test/mochitest/test_prompt_promptAuth_proxy.html
extra : rebase_source : b0056d757df10befd6d662bdff29e52343835fa9
2016-08-25 15:48:21 -07:00
Justin Dolske ae5fb968b3 Bug 1298208 - add bug number and notification emails for migrator probes, removing them from exception whitelist. r=mattn
MozReview-Commit-ID: A5kUiutYX0l
2016-08-26 13:06:14 -07:00
Justin Dolske 19f629190b Bug 1298208 - FX_MIGRATION_HOMEPAGE_IMPORTED probe is (incorrectly) always true. r=mattn
MozReview-Commit-ID: 6wZUeRTKExw
2016-08-26 13:06:14 -07:00
Ryan VanderMeulen e1fdfb3b73 Merge inbound to m-c. a=merge 2016-08-26 09:37:03 -04:00
Ryan VanderMeulen aec08e3182 Merge fx-team to m-c. a=merge 2016-08-26 09:26:49 -04:00
Matthew Noorenberghe c0fde59d6e Bug 1266618 - Fix test_prompt.html for E10S by using a ChromeWindow. r=dolske
This switches getPrompt to use a ChromeWindow which matches what the shipping code does for e10s.

MozReview-Commit-ID: DcVSr6JfmdK

--HG--
extra : rebase_source : 35178483a1223c71c0dd2142479799225ccde1bb
2016-08-25 00:06:51 -07:00
Wes Kocher 7d3cddeb71 Merge m-c to fx-team, a=merge 2016-08-25 17:15:43 -07:00
Wes Kocher f78f2d693b Merge inbound to central, a=merge 2016-08-25 16:59:00 -07:00
Mike de Boer 915c0ea08b Bug 1279695 - update the position of ranges that are inside fixed, sticky positioned container nodes or frameset or iframe at each repaint or scroll. r=jaws
MozReview-Commit-ID: J8YK1s2kArq
2016-08-25 20:11:46 +02:00
Mike de Boer 56661a22a9 Bug 1294392 - consolidate the highlight and counter timers into one iterator timer. r=jaws
This introduces a new NLP (Natural Language Processing) module with only one
method: 'levenstein'. We're using it to allow the highlighter to keep running
when the it starts the iterator with a word that's one edit distance behind the
value in the findField.

MozReview-Commit-ID: K8oeiXoiLUe
2016-08-25 20:11:44 +02:00
Rob Wu 364b810c75 Bug 1287010 - s/Extension:RemoveListener/API:RemoveListener/ r=billm
This fix is not related to the referenced bug but came up during review.

MozReview-Commit-ID: IjrxWzkLIq1

--HG--
extra : rebase_source : d53179af98106049bcf1a12efed74c4527ac62c1
2016-08-24 16:09:43 -07:00
Rob Wu 6576d65005 Bug 1287010 - Add test for SchemaAPIManager's loadScript r=billm
And change `this.global.Object.create(null)` to
`Cu.createObjectIn(this.global)`. The tests pass either way, but
`Cu.createObjectIn` is more explicit.

MozReview-Commit-ID: LmL6rTru5zZ

--HG--
extra : rebase_source : 4cf7b1463bf8b6882b6fd453657eae0ff43ed64d
2016-08-24 15:40:35 -07:00
Rob Wu e080d5603d Bug 1287010 - Refactor shouldInject / pathObj r=billm
Split the `shouldInject` method into separate methods:
- `shouldInject` to determine whether the API (or namespace)
  should be injected.
- `getImplementation` to return the actual implementation.

Introduced `SchemaAPIInterface` for documentation purposes, and
two concrete implementations `LocalAPIImplementation` and
`ProxyAPIImplementation` which provide the functionality to run a local
and remote implementation of the API for which the schema API is
generated, respectively. These classes store the necessary details for
the invocation, so the methods that were formerly in the `Context` in
Schemas.jsm no longer get the `pathObj`, `path` or `name` parameters.

And merge the `path` and `name` in the implementation of remote APIs
because there is no need for having them separate, as the callers and
callees often did redundant pre/post-processing on `data.path` because
of the way it was implemented.

MozReview-Commit-ID: isbG9i9pNP

--HG--
extra : rebase_source : 22cdc3ab3d14c6381f9f540739d6750281ae8c71
2016-08-24 01:03:49 -07:00
Rob Wu bef0b5a7ac Bug 1287010 - Use sandbox instead of JSM for global separation r=billm
MozReview-Commit-ID: GSqmh0xC2hW

--HG--
extra : rebase_source : 9b23172c205a1e4ef49f018eb2fbd5d9bd207adc
2016-08-23 16:19:33 -07:00
Rob Wu 2e1c4a437c Bug 1287010 - Extension.jsm optimization: Use pathObj r=billm
The API implementation is already available upfront when the schema API
is generated, so `pathObj` has the implementation and can be used
instead of looking up the implementation over and over again with
`findPathInObject`.

MozReview-Commit-ID: FnCIyoaxgA4

--HG--
extra : rebase_source : 440b25fcfb4a0438b1ff8680ad770930e7427de7
2016-08-20 15:37:43 -07:00
Rob Wu 72ac7d1f12 Bug 1287010 - Use schema-generated extension, split ext-extension.js r=billm
- This was the last non-schema-generated API in content scripts.

MozReview-Commit-ID: FaIOCHoircf

--HG--
extra : rebase_source : 7bab2249a7462a581e493f7aa937df45cb895107
2016-08-18 19:19:40 -07:00
Rob Wu cf5257b11d Bug 1287010, 1286712 - Use schema-generated runtime API, split ext-runtime.js r=billm
- Use schema-generated runtime API for content scripts instead of
  untyped API.
- Move logic that cannot be run in the main process to a new file.

Together with the previous patch that migrated the i18n API, this
concludes the fix for bug 1286712.

MozReview-Commit-ID: A3yG0x1kjwx

--HG--
extra : rebase_source : 19efe95149c423c0f9284bb70e289a282fb758c1
2016-08-18 18:15:37 -07:00
Rob Wu 289e3b1ea7 Bug 1287010 - Use schema-generated i18n for all contexts r=billm
Use schema-generated i18n API for both content script and
addon contexts, instead of just the addon context.

MozReview-Commit-ID: AKDAFxNv6Zs

--HG--
extra : rebase_source : ea66e8bab7b4713d971614ce27e8c1d9350a0a14
2016-08-20 15:49:20 -07:00
Rob Wu 8053e5a9c0 Bug 1287010 - Prepare for moving content script APIs to schemas r=billm
- By default, schema APIs are not injected in content scripts unless
  the JSON schema sets the "restrictions" attribute to `["content"]`.
- Added the "restrictions" attribute to the storage and test schemas.
  Other APIs will follow in subsequent commits and make use of the
  primitives introduced in this commit.

MozReview-Commit-ID: 1rNjQap0BiM

--HG--
extra : rebase_source : bf2c7fb70a38fbf13cdfd4337cb3cb6fef7e67e8
2016-08-18 17:46:57 -07:00
Ryan VanderMeulen 628ab3deff Merge m-c to inbound. a=merge 2016-08-26 09:39:29 -04:00
Yoshi Huang 8c13a9fd49 Bug 1244340 - Part 3: pass userContextId to search suggestions r=mak 2016-08-26 18:59:00 +08:00
Yoshi Huang 8ace8c51a5 Bug 1244340 - Part 1: Use origin attributes as cstor arg for LoadContext r=sicking 2016-08-26 18:59:00 +08:00
Dão Gottwald 6cfb9c6072 Bug 1292593 - Add missing border to autocomplete popups. r=gijs 2016-08-26 10:50:41 +02:00
Ryan VanderMeulen bfdd703c49 Merge fx-team to m-c. a=merge 2016-08-25 08:12:26 -04:00
Ryan VanderMeulen 520acfd195 Merge inbound to m-c. a=merge 2016-08-25 08:10:52 -04:00
Matthew Noorenberghe 15369c0198 Bug 1296800 - test_prompt.html: Move promptAuth tests to their own test file. r=Dolske
MozReview-Commit-ID: 3BbtbT1q1VT

--HG--
rename : toolkit/components/passwordmgr/test/mochitest/test_prompt.html => toolkit/components/passwordmgr/test/mochitest/test_prompt_promptAuth.html
extra : rebase_source : e9dcb50d3c032ad036be0331abb2255d1900ddcd
2016-08-24 15:37:00 -07:00
Wes Kocher 3343f6c576 Backed out changeset b357fab2feb4 (bug 1290619) for osx e10s crashes a=backout CLOSED TREE 2016-08-24 10:59:04 -07:00
Kearwood (Kip) Gilbert b42092fe00 Bug 1297532 - Add Valve BSD License to about:license for OpenVR headers,r=gerv 2016-08-24 10:03:19 -07:00
Bob Silverberg d487ac88f9 Bug 1281884 - strict_min_version and strict_max_version aren't respected in "Load Temporary Add-on". r=aswan
Replace test_disabled_addon_can_be_enabled_after_reload in test_reload.js with test_reload_to_invalid_version_fails.

MozReview-Commit-ID: 9OEBnbwNplC

--HG--
extra : transplant_source : %F8T%13%BAZ%9C%9D%A2%23%E7n%FC%2CL%81%90%05g%0D%C3
2016-08-22 13:28:17 -04:00
Ryan VanderMeulen 44f6964ba9 Merge fx-team to m-c. a=merge 2016-08-24 09:04:42 -04:00
Shane Caraveo 1bb3fcb541 Bug 1289549 P3 socialapi move toolkit component to browser, r=florian
MozReview-Commit-ID: 2rMDwrZTTpG

--HG--
rename : toolkit/components/social/SocialService.jsm => browser/modules/SocialService.jsm
rename : toolkit/components/social/test/xpcshell/test_SocialService.js => browser/modules/test/unit/social/test_SocialService.js
rename : toolkit/components/social/test/xpcshell/test_SocialServiceMigration21.js => browser/modules/test/unit/social/test_SocialServiceMigration21.js
rename : toolkit/components/social/test/xpcshell/test_SocialServiceMigration22.js => browser/modules/test/unit/social/test_SocialServiceMigration22.js
rename : toolkit/components/social/test/xpcshell/test_SocialServiceMigration29.js => browser/modules/test/unit/social/test_SocialServiceMigration29.js
2016-08-23 15:24:07 -07:00
Shane Caraveo 4987c70c34 Bug 1289549 P2 socialapi remove sidebar and chat, r=florian
MozReview-Commit-ID: JzSDh41IPBu
2016-08-23 15:24:06 -07:00
Shane Caraveo 51cf1dcb66 Bug 1289549 P1 socialapi remove status and marks, r=florian
MozReview-Commit-ID: IgpgD7qwasI
2016-08-23 15:24:06 -07:00
Matthew Noorenberghe dccc27b4b9 Bug 1270926 - Modify aboutNetError.xhtml & blockedSite.xhtml to pass current eslint rules. r=dao
eol-last requires a new line at the end of the JS block

MozReview-Commit-ID: sEcAiEgb4s
2016-08-23 14:38:57 -07:00
Ryan VanderMeulen baeaac9b10 Merge m-c to fx-team. a=merge 2016-08-23 10:11:52 -04:00
Ryan VanderMeulen 82663d8710 Merge inbound to m-c. a=merge 2016-08-23 10:05:18 -04:00
Ryan VanderMeulen 3625d814ad Merge autoland to m-c. a=merge 2016-08-23 10:01:31 -04:00
David Anderson 398cf04082 Switch the GPU process main thread to have an XPCOM event loop. (bug 1294350 part 6, r=froydnj) 2016-08-22 22:57:36 -07:00
Paolo Amadini aebadaa666 Bug 1243445 - Pasting an invalid URL breaks the Downloads View in the Library. r=jaws
MozReview-Commit-ID: DCPhxiB1i0Y

--HG--
extra : rebase_source : 2ecf9925407929c07390fcdfaf3e778011be25f4
2016-08-22 14:22:18 +01:00
Jim Mathies 167c5c0cb3 Bug 1294650 - Install shim 'qipcap' dlls into the Firefox folder to circumvent dll injection by the 3rd party Websense product. r=aklotz a=jimm
MozReview-Commit-ID: 3LtPtfCqJ2o
2016-08-22 06:53:38 -05:00
Wes Kocher b38dbd1378 Backed out 2 changesets (bug 1279086) for causing painting issues a=backout
Backed out changeset b1c893387fdd (bug 1279086)
Backed out changeset 277c54118c8a (bug 1279086)
2016-08-22 16:00:34 -07:00
Ryan VanderMeulen 833833b8c5 Merge inbound to m-c. a=merge 2016-08-22 09:40:41 -04:00
Matthew Noorenberghe cd4f4dd80a Bug 1296800 - Use separate setup and test tasks in test_prompt.html. r=Dolske
MozReview-Commit-ID: CMj1q9B5v8u

--HG--
extra : rebase_source : fee3e41b2421545b5deef0a6ae9bb2728369da2a
2016-08-19 17:27:05 -07:00
Matthew Noorenberghe e4a4c5cb94 Bug 1296800 - Output test numbers in test_prompt.html. r=Dolske
MozReview-Commit-ID: GaZMCUlThGW

--HG--
extra : rebase_source : 8948ea9ece26738b8971b16a10b3dc7deca80388
2016-08-19 17:24:47 -07:00
Andrea Marchesini 3f20309ae8 Bug 1286895 - Reintroduce a limit on number of dedicated JS web workers in Firefox, r=bkelly 2016-08-19 08:38:58 +02:00
Christoph Kerschbaumer 3976be42ff Bug 1288361 - Return a network error for requests whose type is script and response has a MIME type that starts with image. r=dveditz 2016-08-22 08:55:35 +02:00
Nicholas Nethercote 880da46719 Bug 1296164 (part 3) - Use [must_use] on more nsIFile things. r=froydnj.
These ones don't require any extra checks to be added.

--HG--
extra : rebase_source : d13aa304f930d5250462813d32c67747f4ce4b30
2016-08-18 16:43:28 +10:00
Nicholas Nethercote 8f84642d03 Bug 1296164 (part 2) - Use [must_use] on nsIFile.open{NSPR,ANSI}FileDesc(). r=froydnj.
The patch also changes RemoteOpenFileChild::OpenNSPRFileDesc() so that it
cannot succeed with a null fd, so that checking just the return value is
sufficient.

--HG--
extra : rebase_source : cc40bbcf2a9991edc9d3da3fb624d27db50b4996
2016-08-18 15:27:16 +10:00
Nicholas Nethercote 04be8d005a Bug 1296164 (part 1) - Use [must_use] on nsIFile.{create,createUnique}. r=froydnj.
And fix numerous missing checks that this change identifies.

--HG--
extra : rebase_source : 97b0a6e8f9375c937dadb59c1110bb54b7633134
2016-08-18 13:30:12 +10:00
Mike Hommey b65bccd9ce Bug 1276003 - Move --enable-necko-protocols to python configure. r=chmanchester
--HG--
extra : rebase_source : 6187c1a382b240e2fa01f38f4c739000d5f177ce
2016-08-18 09:57:06 +09:00
Jean-Yves Avenard 07e2fafa73 Bug 1195723: [flac] P12. Add sniffer for streaming flac. r=kamidphish
MozReview-Commit-ID: P62v6vsXzs

--HG--
extra : rebase_source : aec72ae19890e3c21f4557c4899cf1697e7e94cc
2016-08-18 13:07:11 +10:00
Rob Wu b21d936ca3 Bug 1287010 - Move Management logic to SchemaAPIManager r=billm
- Moved Management logic to ExtensionUtils (as SchemaAPIManager) so that
  the logic can be used by addon and content processes.
- Remove the `context.extension.hasPermission(api.permission)` check in
  `generateAPIs` because the only user (`registeredPrivilegedAPI`) was
  removed before in bug 1295082.
- Add new category "webextension-scripts-content", intended for
  registering the few scripts that must be loaded in a content process.

MozReview-Commit-ID: 81nhblV8YE6

--HG--
extra : rebase_source : d2eee0298ad5038225ea56c2e752532af0bc6fb7
2016-08-17 17:51:21 -07:00
Jean-Yves Avenard ca3c25edb9 Bug 1195723: [flac] P10. Add media sniffer for flac file. r=kamidphish
This only supports flac with a STREAMINFO header.

MozReview-Commit-ID: FaT9N6xJDPY

--HG--
extra : rebase_source : ba4e1f78f3a3ca9b4062edfc84445d444c323d80
2016-08-17 15:47:39 +10:00
Blake Kaplan 974d3410e3 Bug 1296785 - Make view-source in a new window work correctly. r=mconley
This patch also makes sure that we correctly grab a weak reference to the
related window instead of just setting a "relatedBrowser" property directly on
the JS object (which shadows the XBL property getter).

MozReview-Commit-ID: 97VQyCoY1Cj
2016-08-22 14:49:20 -07:00
Rob Wu be3652cd57 Bug 1287010 - Make environment of Context explicit. r=billm
- Add `envType` to BaseContext.
 - Pass an explicit envType to all `registerSchemaAPI` invocations.
 - The factories passed to `registerSchemaAPI` will be split up later, so
   that content scripts (`content_child`) and addon pages can share
   common implementations.
 - The factories that implement the addon API will also be split up,
   to separate code running in the main process (`addon_parent`) from
   code running in a child process (`addon_child`).
 - Remove the use of a hardcoded list of `namespaces` from ProxyContext.
   Now `envType` is used to specify whether an API should be activated.

MozReview-Commit-ID: Jiff8HIwG92

--HG--
extra : rebase_source : 946a3c0009a4e3223c2d10044b3099a94c845394
2016-08-16 15:51:50 -07:00
Rob Wu 1067b066d5 Bug 1287010 - Add pathObj parameter to Schemas r=billm
Local wrappers currently look up the API object over and over again
whenever a schema API is invoked. This can be optimized by re-using
the lookup result from a `shouldInject` invocation, which is passed
as the `pathObj` parameter to the wrapper methods.

This commit adds the necessary changes and tests to allow this to
happen, but does not modify the wrapper in Extension.jsm yet.

Also, this construction allows the `ChildAPIManager` to use a local
implementation if available and fall back to a remote implementation
otherwise.

MozReview-Commit-ID: C9gm7A9Zppb

--HG--
extra : rebase_source : e2ab1e40de72fdea23acc9a68f3cf7d77e3da66f
2016-08-19 00:35:07 -07:00
Rob Wu 459ac122eb Bug 1287010 - Use minimal global scope for ext-*.js scripts r=billm
Currently there is a tight coupling between registered APIs because they
share the same global scope, and the dependencies between the modules
that use these globals are not explicit. Consequently, it would be
possible for APIs to break when the registered APIs run in separate
processes, because then there are separate global scopes.
To mitigate this issue, this patch isolates the global namespaces of
API registrations in different environments, starting with the "chrome"
process. Content and addon processes will follow later.

A new JSM is introduced to avoid hidden dependencies between ext-*.js
and the script loader. ExtensionUtils.jsm would be a natural choice for
this shared utility method, but cannot be used because its local
`EventEmitter` implementation conflicts with the `EventEmitter` import
in ext-tabs.js.

So, this patch provides isolation of global variables declared through
`globals.XXX = ...`, but does not provide isolation for `Cu.import`-ed
logic. Ideally `Cu.import` should always use its second argument to
prevent inadvertent namespace pollution.

MozReview-Commit-ID: 1DTZaKOaeSE

--HG--
extra : rebase_source : 1376a1325fd9bf186e09e1dbe83467f3ad94516f
2016-08-17 20:28:19 -07:00
Rob Wu 36648bb360 Bug 1286712 - Remove unused ExtensionContext and GlobalManager globals r=billm
The presence of these globals interfere with the attempt to get ext-*.js
scripts to load in a content process because these globals are only
available in the main process.

MozReview-Commit-ID: 7syjAGcuUnu

--HG--
extra : rebase_source : d614424d50bbb2a5dea6c23e4dae1586b9efe4fb
2016-08-16 22:05:05 -07:00
Rob Wu 53ae1a1256 Bug 1286712 - Validate runtime.sendMessage parameters r=billm
The main motive for this patch is to remove the use of the GlobalManager
global (which was used to see if an extension ID is valid, which was
specifically added in order to create thebrowser_ext_lastError.js test).
To preserve test coverage I implemented a full validation of the
runtime.sendMessage method.

Now the error for a non-existent extension is identical in both the
content script and background pages. Note that this also fixes a
minor privacy leak: Previously extensions could see whether another
extension is installed by sending a message to the specified extension
and using the different responses to see whether another extension is
installed.

MozReview-Commit-ID: 82R97Ei25Xr

--HG--
extra : rebase_source : 900a65e695afd6db83d5102f515dc29d46d001f1
2016-08-16 21:36:42 -07:00
Ryan VanderMeulen e5adfbffe6 Merge m-c to autoland. a=merge
--HG--
rename : accessible/tests/browser/browser_caching_attributes.js => accessible/tests/browser/e10s/browser_caching_attributes.js
rename : accessible/tests/browser/browser_caching_description.js => accessible/tests/browser/e10s/browser_caching_description.js
rename : accessible/tests/browser/browser_caching_name.js => accessible/tests/browser/e10s/browser_caching_name.js
rename : accessible/tests/browser/browser_caching_relations.js => accessible/tests/browser/e10s/browser_caching_relations.js
rename : accessible/tests/browser/browser_caching_states.js => accessible/tests/browser/e10s/browser_caching_states.js
rename : accessible/tests/browser/browser_caching_value.js => accessible/tests/browser/e10s/browser_caching_value.js
rename : accessible/tests/browser/browser_events_caretmove.js => accessible/tests/browser/e10s/browser_events_caretmove.js
rename : accessible/tests/browser/browser_events_hide.js => accessible/tests/browser/e10s/browser_events_hide.js
rename : accessible/tests/browser/browser_events_show.js => accessible/tests/browser/e10s/browser_events_show.js
rename : accessible/tests/browser/browser_events_statechange.js => accessible/tests/browser/e10s/browser_events_statechange.js
rename : accessible/tests/browser/browser_events_textchange.js => accessible/tests/browser/e10s/browser_events_textchange.js
rename : accessible/tests/browser/browser_treeupdate_ariadialog.js => accessible/tests/browser/e10s/browser_treeupdate_ariadialog.js
rename : accessible/tests/browser/browser_treeupdate_ariaowns.js => accessible/tests/browser/e10s/browser_treeupdate_ariaowns.js
rename : accessible/tests/browser/browser_treeupdate_canvas.js => accessible/tests/browser/e10s/browser_treeupdate_canvas.js
rename : accessible/tests/browser/browser_treeupdate_cssoverflow.js => accessible/tests/browser/e10s/browser_treeupdate_cssoverflow.js
rename : accessible/tests/browser/browser_treeupdate_doc.js => accessible/tests/browser/e10s/browser_treeupdate_doc.js
rename : accessible/tests/browser/browser_treeupdate_gencontent.js => accessible/tests/browser/e10s/browser_treeupdate_gencontent.js
rename : accessible/tests/browser/browser_treeupdate_hidden.js => accessible/tests/browser/e10s/browser_treeupdate_hidden.js
rename : accessible/tests/browser/browser_treeupdate_imagemap.js => accessible/tests/browser/e10s/browser_treeupdate_imagemap.js
rename : accessible/tests/browser/browser_treeupdate_list.js => accessible/tests/browser/e10s/browser_treeupdate_list.js
rename : accessible/tests/browser/browser_treeupdate_list_editabledoc.js => accessible/tests/browser/e10s/browser_treeupdate_list_editabledoc.js
rename : accessible/tests/browser/browser_treeupdate_listener.js => accessible/tests/browser/e10s/browser_treeupdate_listener.js
rename : accessible/tests/browser/browser_treeupdate_optgroup.js => accessible/tests/browser/e10s/browser_treeupdate_optgroup.js
rename : accessible/tests/browser/browser_treeupdate_removal.js => accessible/tests/browser/e10s/browser_treeupdate_removal.js
rename : accessible/tests/browser/browser_treeupdate_table.js => accessible/tests/browser/e10s/browser_treeupdate_table.js
rename : accessible/tests/browser/browser_treeupdate_textleaf.js => accessible/tests/browser/e10s/browser_treeupdate_textleaf.js
rename : accessible/tests/browser/browser_treeupdate_visibility.js => accessible/tests/browser/e10s/browser_treeupdate_visibility.js
rename : accessible/tests/browser/browser_treeupdate_whitespace.js => accessible/tests/browser/e10s/browser_treeupdate_whitespace.js
rename : accessible/tests/browser/doc_treeupdate_ariadialog.html => accessible/tests/browser/e10s/doc_treeupdate_ariadialog.html
rename : accessible/tests/browser/doc_treeupdate_ariaowns.html => accessible/tests/browser/e10s/doc_treeupdate_ariaowns.html
rename : accessible/tests/browser/doc_treeupdate_imagemap.html => accessible/tests/browser/e10s/doc_treeupdate_imagemap.html
rename : accessible/tests/browser/doc_treeupdate_removal.xhtml => accessible/tests/browser/e10s/doc_treeupdate_removal.xhtml
rename : accessible/tests/browser/doc_treeupdate_visibility.html => accessible/tests/browser/e10s/doc_treeupdate_visibility.html
rename : accessible/tests/browser/doc_treeupdate_whitespace.html => accessible/tests/browser/e10s/doc_treeupdate_whitespace.html
rename : accessible/tests/browser/events.js => accessible/tests/browser/e10s/events.js
rename : browser/components/extensions/test/browser/browser_ext_pageAction_context.js => browser/components/extensions/test/browser/browser_ext_pageAction_title.js
rename : browser/components/extensions/test/browser/browser_ext_pageAction_context.js => browser/components/extensions/test/browser/head_pageAction.js
rename : dom/events/test/pointerevents/pointerevent_element_haspointercapture.html => dom/events/test/pointerevents/pointerevent_element_haspointercapture-manual.html
rename : dom/events/test/pointerevents/test_pointerevent_element_haspointercapture.html => dom/events/test/pointerevents/test_pointerevent_element_haspointercapture-manual.html
rename : gfx/thebes/DeviceManagerD3D11.cpp => gfx/thebes/DeviceManagerDx.cpp
rename : gfx/thebes/DeviceManagerD3D11.h => gfx/thebes/DeviceManagerDx.h
rename : media/webrtc/trunk/tools/gyp/test/compiler-override/compiler.gyp => media/webrtc/trunk/tools/gyp/test/compiler-override/compiler-exe.gyp
rename : media/webrtc/trunk/tools/gyp/test/mac/app-bundle/TestApp/English.lproj/InfoPlist.strings => media/webrtc/trunk/tools/gyp/test/ios/app-bundle/TestApp/English.lproj/InfoPlist-error.strings
rename : media/webrtc/trunk/tools/gyp/test/mac/app-bundle/TestApp/English.lproj/InfoPlist.strings => media/webrtc/trunk/tools/gyp/test/mac/app-bundle/TestApp/English.lproj/InfoPlist-error.strings
rename : media/webrtc/trunk/tools/gyp/test/mac/gyptest-postbuild-static-library.gyp => media/webrtc/trunk/tools/gyp/test/mac/gyptest-postbuild-static-library.py
rename : media/webrtc/trunk/tools/gyp/test/rules/src/subdir4/asm-function.asm => media/webrtc/trunk/tools/gyp/test/rules/src/subdir4/asm-function.assem
rename : mfbt/unused.h => mfbt/Unused.h
rename : testing/web-platform/tests/pointerevents/pointerevent_element_haspointercapture.html => testing/web-platform/tests/pointerevents/pointerevent_element_haspointercapture-manual.html
extra : rebase_source : a3de7d91a61df9b14fe07a89f5b0184a067549cf
2016-08-25 08:14:36 -04:00
Sebastian Hengst 0b4287e91c Backed out changeset eb0c3d8a6d53 (bug 1281220) for crashing in testBug1217581 in rc3. r=backout on a CLOSED TREE 2016-08-25 14:22:47 +02:00
Andrew Swan 4297232844 Bug 1297028 Expose Addon.canUninstall flag to content r=bz,rhelmer
MozReview-Commit-ID: Ec6QPj9h9k7

--HG--
extra : rebase_source : 747cb4ce54d5e8d0cc7bc2cc3654471b3b07bfcb
2016-08-23 19:24:15 -07:00
Yura Zenevich f9a9742e3a Bug 1297456 - use nsIXULRuntime's accessibilityEnabled attribute in Troubleshoot.jsm to check if accessibility service is enabled. r=Felipe
MozReview-Commit-ID: C5YPq58yemB

--HG--
extra : rebase_source : dd939482501af829122c1191d5632b73ea3c1b58
2016-08-24 11:09:55 -04:00
Dão Gottwald 764c21453a Backed out changeset ec5af78d53a3 for test_arrowpanel.xul failure 2016-08-22 20:11:43 +02:00
Robert Strong 009acbe783 Bug 1291985 - Remove failing check from tests that run in parallel. r=mhowell 2016-08-22 09:19:00 -07:00
Dão Gottwald 3bdd9bbad2 Bug 1296361 - Implement shadow behind arrow panels across platforms. r=mdeboer 2016-08-22 18:05:17 +02:00
dimi 6868c16845 Bug 1291024 - Avoid caching safebrowsing testcase resources. r=francois
MozReview-Commit-ID: 9SB5diTrr5F

--HG--
extra : rebase_source : 9bd5f644f46627bd00871f58111bda54732df4e4
2016-08-23 15:51:29 +08:00
dimi d7abe4a988 Bug 1296201 - Wait for SafeBrowsing,jsm to be initialized before running testcase. r=francois
MozReview-Commit-ID: 8o3cszqJK36

--HG--
extra : rebase_source : 92816999a5704f1e5854db713352d7f8f5280412
2016-08-24 17:00:08 +08:00
Ryan VanderMeulen 0374889baf Merge m-c to autoland. a=merge 2016-08-24 09:10:50 -04:00
Sebastian Kaspari cb6fdc2f74 Bug 1287387 - Remove FENNEC_RESTRICTED_PROFILE_RESTRICTIONS histogram. r=liuche
MozReview-Commit-ID: CvSLLCAACZv

--HG--
extra : rebase_source : c15a2e63ea12dc8612c8dc484eaf1f6dcebb782a
2016-08-23 15:38:59 +02:00
Sebastian Kaspari 660d421d30 Bug 1287387 - Set histograms FENNEC_CUSTOM_HOMEPAGE, FENNEC_LOAD_SAVED_PAGE, ZOOMED_VIEW_ENABLED to expire in Firefox 60.0. r=liuche
MozReview-Commit-ID: 8ymVQAm51VB

--HG--
extra : rebase_source : bc9d0432f9d32524eaa479e691ddcabca0226890
2016-08-23 15:37:46 +02:00
Dão Gottwald 0eb70cfa53 Bug 1296361 - Implement shadow behind arrow panels across platforms. r=mdeboer 2016-08-25 15:58:56 +02:00
Aryeh Gregor f3e54042f1 Bug 1271115 - Merge ChromeUtils.js into EventUtils.js; r=jmaher
This allows plain mochitests to use the functions as well, which is
necessary to get them to work with e10s.

MozReview-Commit-ID: J4um2mliJcZ
2016-08-25 16:57:09 +03:00
Ryan VanderMeulen a99793373f Merge m-c to inbound. a=merge 2016-08-22 09:43:40 -04:00