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

612134 Коммитов

Автор SHA1 Сообщение Дата
Aaron Klotz bd0e3152bb Bug 1488547: Add flag to IsSafeModeRequested to skip keypress checks; r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D4966

--HG--
extra : moz-landing-system : lando
2018-09-04 19:55:53 +00:00
Gijs Kruitbosch 9d274b2d2f Bug 1337794 - remove obsolete pagehide handling hacks from browser.js r=mconley
The pagehide handler has been as dead as a doornail for a while now,
but the side-effect of forcing the creation of an about:blank document
in non-remote windows was implicitly relied upon by some tests.

This removes the dead code and fixes up some tests.

Differential Revision: https://phabricator.services.mozilla.com/D4962

--HG--
extra : moz-landing-system : lando
2018-09-04 17:55:05 +00:00
Henri Sivonen 34a614ae14 Bug 1488186 - Avoid writing past the logical length of a string in Base64URLEncode. r=froydnj
MozReview-Commit-ID: 4Sv7fHYIT9n

Differential Revision: https://phabricator.services.mozilla.com/D4912

--HG--
extra : moz-landing-system : lando
2018-09-04 18:24:52 +00:00
Henri Sivonen f691976c87 Bug 1487051 - Remove EnsureStringLength(). r=froydnj
MozReview-Commit-ID: 4X4Rrs8xHTF

Differential Revision: https://phabricator.services.mozilla.com/D4930

--HG--
extra : moz-landing-system : lando
2018-09-04 18:25:11 +00:00
Tim Nguyen 2c14b75a07 Bug 1385518 - Update sidebar styling for dark theme. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D4823

--HG--
extra : moz-landing-system : lando
2018-09-04 18:49:15 +00:00
Mark Banner c6885f5391 Bug 1488445 - Remove and replace obsolete ESLint rules. r=mossop
This removes a number of references to rules that are now deprecated or removed from ESLint.

- no-native-reassign is replaced with no-global-assign
- no-spaced-func is replaced with func-call-spacing (where enabled)

Depends on D4944

Differential Revision: https://phabricator.services.mozilla.com/D4946

--HG--
extra : moz-landing-system : lando
2018-09-04 18:08:43 +00:00
Mark Banner 56437d9aed Bug 1488445 - Change the ESLint configuration to extend from eslint:recommended. r=mossop
This enables the following extra rules over the current configuration:

- for-direction
- no-compare-neg-zero
- no-new-symbol
- no-this-before-super

Other rules that are in eslint:recommended but not in our configuration are turned off for now.

Differential Revision: https://phabricator.services.mozilla.com/D4944

--HG--
extra : moz-landing-system : lando
2018-09-04 18:08:41 +00:00
Mark Banner 9f7f6bcc8e Bug 1488246 - Cleanup .eslintignore for removed directories/files. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D4882

--HG--
extra : moz-landing-system : lando
2018-09-04 17:57:35 +00:00
egao 1a098a6537 Bug 1484238 - Add an 'adb_reverse' command to mozdevice.ADBAndroid r=gbrown,bc
Differential Revision: https://phabricator.services.mozilla.com/D4775

--HG--
extra : moz-landing-system : lando
2018-09-04 14:15:42 +00:00
Yura Zenevich 8d537bb798 Bug 1488508 - update help icon to use Photon style system. r=gl
MozReview-Commit-ID: 75efDzRq187

Differential Revision: https://phabricator.services.mozilla.com/D4958

--HG--
extra : moz-landing-system : lando
2018-09-04 17:21:44 +00:00
Thom Chiovoloni 793280d394 Bug 1451527 - Move sync's TPS tests into a webextension r=markh
Differential Revision: https://phabricator.services.mozilla.com/D4486

--HG--
extra : moz-landing-system : lando
2018-09-04 17:38:16 +00:00
Gijs Kruitbosch fd954f1869 Bug 237027 - allow turning off URL canonization, remove shift support, and move the remainder from 'cmd' to 'ctrl' on mac, r=mak
This avoids the conflict with cmd-enter/click to open links in new tabs on
macOS. It also removes support for the use of `shift` to complete to '.net',
and allows users to toggle a pref to turn off `ctrl` support on all OSes.

Differential Revision: https://phabricator.services.mozilla.com/D2604

--HG--
extra : moz-landing-system : lando
2018-09-04 17:10:09 +00:00
Gurzau Raul dfbefcc19f Backed out changeset 45605798ecfe (bug 1476996) for build bustage at netwerk/protocol/http/HttpChannelParentListener.cpp on a CLOSED TREE 2018-09-04 20:31:33 +03:00
Zibi Braniecki a7959b6272 Bug 1483038 - Optimize L10nRegistry generator to early exit on missing resources. r=mossop
Optimize L10nRegistry generator to early exit on missing resources.

Differential Revision: https://phabricator.services.mozilla.com/D3394

--HG--
extra : moz-landing-system : lando
2018-09-04 16:57:52 +00:00
Jan de Mooij 53f1370b5f Bug 1267297 - Use AutoEntryScript for script activity bookkeeping instead of the request machinery. r=bholley
Differential Revision: https://phabricator.services.mozilla.com/D4085

--HG--
extra : moz-landing-system : lando
2018-09-04 16:59:56 +00:00
Jan de Mooij 56ca0b122a Bug 1487238 - Do realm checks instead of compartment checks in the expression decompiler code. r=luke
Another option is to allow same-compartment realms here, but this seems simpler and safer (to ensure we don't leak any information in document.domain cases or if we ever change from CPO to something else). A principals check is probably not worth the complexity.

Differential Revision: https://phabricator.services.mozilla.com/D4868

--HG--
extra : moz-landing-system : lando
2018-09-04 14:07:28 +00:00
Bogdan Tara dd95156739 Backed out changeset b886f2cf9d89 (bug 1451527) for eslint failure on extensions/tps/api.js:34 CLOSED TREE 2018-09-04 20:16:21 +03:00
Valentin Gosu 98ff61cc44 Bug 1476996 - Implement cross process redirection in Http on the parent process r=bagder,nika
This patch builds the foundation for the ability to relocate HTTP channels from one content process to another in order to ensure that origins are properly isolated. This relocation would normally occur when the response to an HTTP request is a redirect to a different origin.
The patch merely adds the mechanism for relocating the channel, rather than the logic of doing so. This will be provided in a follow-up patch by a specialized service. Right now that functionality is mocked in the test.

How this works:
In nsHttpChannel::OnStartRequest we will query the service that decides whether we need to direct the response to another process. If so, it will return a promise that resolves to a TabParent.
When the promise resolves, in HttpChannelParentListener::TriggerCrossProcessRedirect we call NeckoParent::SendCrossProcessRedirect passing along the required information to recreate the channel in the new process. The NeckoChild in the new process will then instantiate a new channel, call ConnectParent() which creates the associated parent channel, and connects it with the existing nsHttpChannel.
A listener in the new process is then notified of the existence of the new channel. It is required to call completeRedirectSetup on the channel, passing an nsIStreamListener to the call.
We then finish the entire operation with a call to HttpChannelChild::SendCrossProcessRedirectDone which causes us to close the old HttpChannelChild in the previous process and to resume the nsHttpChannel in the main process.

Differential Revision: https://phabricator.services.mozilla.com/D2958

--HG--
rename : netwerk/test/browser/browser_cookie_sync_across_tabs.js => netwerk/test/browser/browser_cross_process_redirect.js
rename : dom/media/test/redirect.sjs => netwerk/test/browser/redirect.sjs
extra : moz-landing-system : lando
2018-09-04 16:40:57 +00:00
Thi Huynh 1d21d7489f Bug 1483962 - Move helpers of LocalTime UTC TimeZoneComment functions to DateTimeHelper. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D3901

--HG--
extra : moz-landing-system : lando
2018-08-25 08:37:55 +00:00
shindli 895d91f1f8 Backed out changeset e41e158793a1 (bug 1476604) for bustages in AccessibleHandler.dll 2018-09-04 19:48:57 +03:00
ffxbld 08c332030d No Bug, taskcluster/docker/funsize-update-generator pipfile-update. r=bhearsum
Differential Revision: https://phabricator.services.mozilla.com/D4844

--HG--
extra : moz-landing-system : lando
2018-09-04 16:45:07 +00:00
shindli 72702be2ca Backed out changeset 6cd626758796 (bug 1483038) for ES lint failure in L10nRegistry 2018-09-04 19:45:06 +03:00
Thom Chiovoloni f4e5219ee3 Bug 1451527 - Move sync's TPS tests into a webextension r=markh
Differential Revision: https://phabricator.services.mozilla.com/D4486

--HG--
extra : moz-landing-system : lando
2018-09-04 16:40:22 +00:00
Bas Schouten d9c0061198 Bug 1486875: Make it possible to skip composition or painting using environment variables. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D4526

--HG--
extra : moz-landing-system : lando
2018-09-04 00:18:11 +00:00
Emilio Cobos Álvarez 4ce2d4adca Bug 1488472 - Fix the condition for CSS border tests. r=jgraham
We should also try to re-enable them in linux32 but...

Differential Revision: https://phabricator.services.mozilla.com/D4949

--HG--
extra : moz-landing-system : lando
2018-09-04 16:06:17 +00:00
Tarek Ziadé 5eaeb69af2 Bug 1483164 - move the timer test from onload - r=jmaher
Moves the test to try to fix an intermittent failure on linux64-asan

Differential Revision: https://phabricator.services.mozilla.com/D4908

--HG--
extra : moz-landing-system : lando
2018-09-04 16:05:05 +00:00
shindli 561c1777fb Backed out changeset 8d6a57caa626 (bug 1462121) for bc16 failures in browser_ext_getViews.js 2018-09-04 19:25:19 +03:00
Zibi Braniecki d5b262e43d Bug 1483038 - Optimize L10nRegistry generator to early exit on missing resources. r=mossop
Optimize L10nRegistry generator to early exit on missing resources.

Differential Revision: https://phabricator.services.mozilla.com/D3394

--HG--
extra : moz-landing-system : lando
2018-08-30 18:00:35 +00:00
Razvan Caliman 80313e0e6a Bug 1488419 - Re-attach listener for Rule view change after writing new value. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D4931

--HG--
extra : moz-landing-system : lando
2018-09-04 16:21:20 +00:00
Gabriele Svelto b356998aeb Bug 1463048 - Invoke the minidump generation callback asynchronsouly r=ted
Differential Revision: https://phabricator.services.mozilla.com/D3837

--HG--
extra : moz-landing-system : lando
2018-09-04 15:04:35 +00:00
Raphael Pierzina 4de49466e8 Update treeherder symbol for telemetry-tests-client suite (Bug 1487800) r=Dexter,whimboo
Update treeherder symbol for telemetry-tests-client suite.

Differential Revision: https://phabricator.services.mozilla.com/D4918

--HG--
extra : moz-landing-system : lando
2018-09-04 15:01:55 +00:00
Emilio Cobos Álvarez 46971a6492 Bug 1488403 - Make sticky legend reftest not depend on groove border antialising. r=nical
This reftest fails with my changes from
https://github.com/servo/webrender/pull/3010. I tried to debug locally but it
passes here.

The reason it fails is because WebRender does distance AA between the segments
of a ridge / groove border, and there's a subpixel difference so we get the AA
slightly different in the test.

Gecko on the other hand represents these borders as different composed solid
segments, so it can't have this problem, since it doesn't do AA across the
segments.

We may want to change that, but it's not clear to me it's wanted, since rounded
corners for these look much better on WR, for example.

Rather than fuzzing the test or something like that, make the test not rely on
that, given it's testing the position of the legend.

Differential Revision: https://phabricator.services.mozilla.com/D4934

--HG--
extra : moz-landing-system : lando
2018-09-04 15:17:04 +00:00
Ted Mielczarek 3213f7d4b1 bug 1476604 - update the version of sccache in CI to fix an issue with clang-cl. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D4431

--HG--
extra : moz-landing-system : lando
2018-09-04 06:17:17 +00:00
Francesco Lodolo (:flod) 58aaba43c4 Bug 1488398 - Fix a few nits in policies descriptions, add localization comments r=Felipe,Pike
Differential Revision: https://phabricator.services.mozilla.com/D4937

--HG--
extra : moz-landing-system : lando
2018-09-04 14:54:02 +00:00
Miko Mynttinen 4938049810 Bug 1413546 - Fix e10s logic in nsLayoutUtils::AreRetainedDisplayListsEnabled() and set layout.display-list.retain.chrome to true r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D2953

--HG--
extra : moz-landing-system : lando
2018-09-04 14:53:18 +00:00
Henri Sivonen 818df08a5b Bug 1487050 - Remove CountCharInReadable() as dead code. r=froydnj
MozReview-Commit-ID: DpRxyOgO85X

Differential Revision: https://phabricator.services.mozilla.com/D4941

--HG--
extra : moz-landing-system : lando
2018-09-04 14:48:39 +00:00
Abdoulaye O. Ly f39692c1fe Bug 1470555 - Implement ability to send a selection of tabs. r=flod,jaws
Differential Revision: https://phabricator.services.mozilla.com/D3126

--HG--
extra : moz-landing-system : lando
2018-09-04 14:36:05 +00:00
Paul Adenot 8c1deadfbf Bug 1488242 - Throw the correct error type in {ConstantSourceNode,AudioBufferSourceNode}.{Start,Stop}. r=karlt
Differential Revision: https://phabricator.services.mozilla.com/D4881

--HG--
extra : moz-landing-system : lando
2018-09-04 13:50:15 +00:00
Alessio Placitelli 4f96f7f8d3 Bug 1484611 - Re-organize the telemetry module layout. r=chutten,janerik on a CLOSED TREE
This patch organizes the Telemetry files according to a new
directory layout, which makes the top level dir less cluttered.
For a comprehensive discussion about the new layout, see
the bug comments.
Additionally, the build script and a few Python and C++ files
are adjusted for dealing with the new directory layout.

Differential Revision: https://phabricator.services.mozilla.com/D4427

--HG--
rename : toolkit/components/telemetry/TelemetryArchive.jsm => toolkit/components/telemetry/app/TelemetryArchive.jsm
rename : toolkit/components/telemetry/TelemetryController.jsm => toolkit/components/telemetry/app/TelemetryController.jsm
rename : toolkit/components/telemetry/TelemetryEnvironment.jsm => toolkit/components/telemetry/app/TelemetryEnvironment.jsm
rename : toolkit/components/telemetry/TelemetryReportingPolicy.jsm => toolkit/components/telemetry/app/TelemetryReportingPolicy.jsm
rename : toolkit/components/telemetry/TelemetrySend.jsm => toolkit/components/telemetry/app/TelemetrySend.jsm
rename : toolkit/components/telemetry/TelemetryStopwatch.jsm => toolkit/components/telemetry/app/TelemetryStopwatch.jsm
rename : toolkit/components/telemetry/TelemetryStorage.jsm => toolkit/components/telemetry/app/TelemetryStorage.jsm
rename : toolkit/components/telemetry/TelemetryTimestamps.jsm => toolkit/components/telemetry/app/TelemetryTimestamps.jsm
rename : toolkit/components/telemetry/TelemetryUtils.jsm => toolkit/components/telemetry/app/TelemetryUtils.jsm
rename : toolkit/components/telemetry/gen_event_data.py => toolkit/components/telemetry/build_scripts/gen_event_data.py
rename : toolkit/components/telemetry/gen_event_enum.py => toolkit/components/telemetry/build_scripts/gen_event_enum.py
rename : toolkit/components/telemetry/gen_histogram_data.py => toolkit/components/telemetry/build_scripts/gen_histogram_data.py
rename : toolkit/components/telemetry/gen_histogram_enum.py => toolkit/components/telemetry/build_scripts/gen_histogram_enum.py
rename : toolkit/components/telemetry/gen_histogram_phf.py => toolkit/components/telemetry/build_scripts/gen_histogram_phf.py
rename : toolkit/components/telemetry/gen_process_data.py => toolkit/components/telemetry/build_scripts/gen_process_data.py
rename : toolkit/components/telemetry/gen_process_enum.py => toolkit/components/telemetry/build_scripts/gen_process_enum.py
rename : toolkit/components/telemetry/gen_scalar_data.py => toolkit/components/telemetry/build_scripts/gen_scalar_data.py
rename : toolkit/components/telemetry/gen_scalar_enum.py => toolkit/components/telemetry/build_scripts/gen_scalar_enum.py
rename : toolkit/components/telemetry/parse_events.py => toolkit/components/telemetry/build_scripts/parsers/parse_events.py
rename : toolkit/components/telemetry/parse_histograms.py => toolkit/components/telemetry/build_scripts/parsers/parse_histograms.py
rename : toolkit/components/telemetry/parse_scalars.py => toolkit/components/telemetry/build_scripts/parsers/parse_scalars.py
rename : toolkit/components/telemetry/shared_telemetry_utils.py => toolkit/components/telemetry/build_scripts/parsers/shared_telemetry_utils.py
rename : toolkit/components/telemetry/EventInfo.h => toolkit/components/telemetry/core/EventInfo.h
rename : toolkit/components/telemetry/ScalarInfo.h => toolkit/components/telemetry/core/ScalarInfo.h
rename : toolkit/components/telemetry/Telemetry.cpp => toolkit/components/telemetry/core/Telemetry.cpp
rename : toolkit/components/telemetry/Telemetry.h => toolkit/components/telemetry/core/Telemetry.h
rename : toolkit/components/telemetry/TelemetryCommon.cpp => toolkit/components/telemetry/core/TelemetryCommon.cpp
rename : toolkit/components/telemetry/TelemetryCommon.h => toolkit/components/telemetry/core/TelemetryCommon.h
rename : toolkit/components/telemetry/TelemetryEvent.cpp => toolkit/components/telemetry/core/TelemetryEvent.cpp
rename : toolkit/components/telemetry/TelemetryEvent.h => toolkit/components/telemetry/core/TelemetryEvent.h
rename : toolkit/components/telemetry/TelemetryHistogram.cpp => toolkit/components/telemetry/core/TelemetryHistogram.cpp
rename : toolkit/components/telemetry/TelemetryHistogram.h => toolkit/components/telemetry/core/TelemetryHistogram.h
rename : toolkit/components/telemetry/TelemetryScalar.cpp => toolkit/components/telemetry/core/TelemetryScalar.cpp
rename : toolkit/components/telemetry/TelemetryScalar.h => toolkit/components/telemetry/core/TelemetryScalar.h
rename : toolkit/components/telemetry/ipc/TelemetryComms.h => toolkit/components/telemetry/core/ipc/TelemetryComms.h
rename : toolkit/components/telemetry/ipc/TelemetryIPC.cpp => toolkit/components/telemetry/core/ipc/TelemetryIPC.cpp
rename : toolkit/components/telemetry/ipc/TelemetryIPC.h => toolkit/components/telemetry/core/ipc/TelemetryIPC.h
rename : toolkit/components/telemetry/ipc/TelemetryIPCAccumulator.cpp => toolkit/components/telemetry/core/ipc/TelemetryIPCAccumulator.cpp
rename : toolkit/components/telemetry/ipc/TelemetryIPCAccumulator.h => toolkit/components/telemetry/core/ipc/TelemetryIPCAccumulator.h
rename : toolkit/components/telemetry/nsITelemetry.idl => toolkit/components/telemetry/core/nsITelemetry.idl
rename : toolkit/components/telemetry/CombinedStacks.cpp => toolkit/components/telemetry/other/CombinedStacks.cpp
rename : toolkit/components/telemetry/CombinedStacks.h => toolkit/components/telemetry/other/CombinedStacks.h
rename : toolkit/components/telemetry/GCTelemetry.jsm => toolkit/components/telemetry/other/GCTelemetry.jsm
rename : toolkit/components/telemetry/KeyedStackCapturer.cpp => toolkit/components/telemetry/other/KeyedStackCapturer.cpp
rename : toolkit/components/telemetry/KeyedStackCapturer.h => toolkit/components/telemetry/other/KeyedStackCapturer.h
rename : toolkit/components/telemetry/ProcessedStack.cpp => toolkit/components/telemetry/other/ProcessedStack.cpp
rename : toolkit/components/telemetry/ProcessedStack.h => toolkit/components/telemetry/other/ProcessedStack.h
rename : toolkit/components/telemetry/TelemetryIOInterposeObserver.cpp => toolkit/components/telemetry/other/TelemetryIOInterposeObserver.cpp
rename : toolkit/components/telemetry/TelemetryIOInterposeObserver.h => toolkit/components/telemetry/other/TelemetryIOInterposeObserver.h
rename : toolkit/components/telemetry/UITelemetry.jsm => toolkit/components/telemetry/other/UITelemetry.jsm
rename : toolkit/components/telemetry/WebrtcTelemetry.cpp => toolkit/components/telemetry/other/WebrtcTelemetry.cpp
rename : toolkit/components/telemetry/WebrtcTelemetry.h => toolkit/components/telemetry/other/WebrtcTelemetry.h
rename : toolkit/components/telemetry/TelemetryEventPing.jsm => toolkit/components/telemetry/pings/EventPing.jsm
rename : toolkit/components/telemetry/TelemetryHealthPing.jsm => toolkit/components/telemetry/pings/HealthPing.jsm
rename : toolkit/components/telemetry/TelemetryModules.jsm => toolkit/components/telemetry/pings/ModulesPing.jsm
rename : toolkit/components/telemetry/TelemetrySession.jsm => toolkit/components/telemetry/pings/TelemetrySession.jsm
rename : toolkit/components/telemetry/UpdatePing.jsm => toolkit/components/telemetry/pings/UpdatePing.jsm
2018-09-04 16:54:54 +03:00
shindli 7d53ec126f Backed out changeset f7c41ba8b88d (bug 1484611) for bustages in /builds/worker/workspace/build/src/toolkit/components/telemetry/tests/python/test_gen_scalar_data_json.py on a CLOSED TREE
--HG--
rename : toolkit/components/telemetry/other/CombinedStacks.cpp => toolkit/components/telemetry/CombinedStacks.cpp
rename : toolkit/components/telemetry/other/CombinedStacks.h => toolkit/components/telemetry/CombinedStacks.h
rename : toolkit/components/telemetry/core/EventInfo.h => toolkit/components/telemetry/EventInfo.h
rename : toolkit/components/telemetry/other/GCTelemetry.jsm => toolkit/components/telemetry/GCTelemetry.jsm
rename : toolkit/components/telemetry/other/KeyedStackCapturer.cpp => toolkit/components/telemetry/KeyedStackCapturer.cpp
rename : toolkit/components/telemetry/other/KeyedStackCapturer.h => toolkit/components/telemetry/KeyedStackCapturer.h
rename : toolkit/components/telemetry/other/ProcessedStack.cpp => toolkit/components/telemetry/ProcessedStack.cpp
rename : toolkit/components/telemetry/other/ProcessedStack.h => toolkit/components/telemetry/ProcessedStack.h
rename : toolkit/components/telemetry/core/ScalarInfo.h => toolkit/components/telemetry/ScalarInfo.h
rename : toolkit/components/telemetry/core/Telemetry.cpp => toolkit/components/telemetry/Telemetry.cpp
rename : toolkit/components/telemetry/core/Telemetry.h => toolkit/components/telemetry/Telemetry.h
rename : toolkit/components/telemetry/app/TelemetryArchive.jsm => toolkit/components/telemetry/TelemetryArchive.jsm
rename : toolkit/components/telemetry/core/TelemetryCommon.cpp => toolkit/components/telemetry/TelemetryCommon.cpp
rename : toolkit/components/telemetry/core/TelemetryCommon.h => toolkit/components/telemetry/TelemetryCommon.h
rename : toolkit/components/telemetry/app/TelemetryController.jsm => toolkit/components/telemetry/TelemetryController.jsm
rename : toolkit/components/telemetry/app/TelemetryEnvironment.jsm => toolkit/components/telemetry/TelemetryEnvironment.jsm
rename : toolkit/components/telemetry/core/TelemetryEvent.cpp => toolkit/components/telemetry/TelemetryEvent.cpp
rename : toolkit/components/telemetry/core/TelemetryEvent.h => toolkit/components/telemetry/TelemetryEvent.h
rename : toolkit/components/telemetry/pings/EventPing.jsm => toolkit/components/telemetry/TelemetryEventPing.jsm
rename : toolkit/components/telemetry/pings/HealthPing.jsm => toolkit/components/telemetry/TelemetryHealthPing.jsm
rename : toolkit/components/telemetry/core/TelemetryHistogram.cpp => toolkit/components/telemetry/TelemetryHistogram.cpp
rename : toolkit/components/telemetry/core/TelemetryHistogram.h => toolkit/components/telemetry/TelemetryHistogram.h
rename : toolkit/components/telemetry/other/TelemetryIOInterposeObserver.cpp => toolkit/components/telemetry/TelemetryIOInterposeObserver.cpp
rename : toolkit/components/telemetry/other/TelemetryIOInterposeObserver.h => toolkit/components/telemetry/TelemetryIOInterposeObserver.h
rename : toolkit/components/telemetry/pings/ModulesPing.jsm => toolkit/components/telemetry/TelemetryModules.jsm
rename : toolkit/components/telemetry/app/TelemetryReportingPolicy.jsm => toolkit/components/telemetry/TelemetryReportingPolicy.jsm
rename : toolkit/components/telemetry/core/TelemetryScalar.cpp => toolkit/components/telemetry/TelemetryScalar.cpp
rename : toolkit/components/telemetry/core/TelemetryScalar.h => toolkit/components/telemetry/TelemetryScalar.h
rename : toolkit/components/telemetry/app/TelemetrySend.jsm => toolkit/components/telemetry/TelemetrySend.jsm
rename : toolkit/components/telemetry/pings/TelemetrySession.jsm => toolkit/components/telemetry/TelemetrySession.jsm
rename : toolkit/components/telemetry/app/TelemetryStopwatch.jsm => toolkit/components/telemetry/TelemetryStopwatch.jsm
rename : toolkit/components/telemetry/app/TelemetryStorage.jsm => toolkit/components/telemetry/TelemetryStorage.jsm
rename : toolkit/components/telemetry/app/TelemetryTimestamps.jsm => toolkit/components/telemetry/TelemetryTimestamps.jsm
rename : toolkit/components/telemetry/app/TelemetryUtils.jsm => toolkit/components/telemetry/TelemetryUtils.jsm
rename : toolkit/components/telemetry/other/UITelemetry.jsm => toolkit/components/telemetry/UITelemetry.jsm
rename : toolkit/components/telemetry/pings/UpdatePing.jsm => toolkit/components/telemetry/UpdatePing.jsm
rename : toolkit/components/telemetry/other/WebrtcTelemetry.cpp => toolkit/components/telemetry/WebrtcTelemetry.cpp
rename : toolkit/components/telemetry/other/WebrtcTelemetry.h => toolkit/components/telemetry/WebrtcTelemetry.h
rename : toolkit/components/telemetry/build_scripts/gen_event_data.py => toolkit/components/telemetry/gen_event_data.py
rename : toolkit/components/telemetry/build_scripts/gen_event_enum.py => toolkit/components/telemetry/gen_event_enum.py
rename : toolkit/components/telemetry/build_scripts/gen_histogram_data.py => toolkit/components/telemetry/gen_histogram_data.py
rename : toolkit/components/telemetry/build_scripts/gen_histogram_enum.py => toolkit/components/telemetry/gen_histogram_enum.py
rename : toolkit/components/telemetry/build_scripts/gen_histogram_phf.py => toolkit/components/telemetry/gen_histogram_phf.py
rename : toolkit/components/telemetry/build_scripts/gen_process_data.py => toolkit/components/telemetry/gen_process_data.py
rename : toolkit/components/telemetry/build_scripts/gen_process_enum.py => toolkit/components/telemetry/gen_process_enum.py
rename : toolkit/components/telemetry/build_scripts/gen_scalar_data.py => toolkit/components/telemetry/gen_scalar_data.py
rename : toolkit/components/telemetry/build_scripts/gen_scalar_enum.py => toolkit/components/telemetry/gen_scalar_enum.py
rename : toolkit/components/telemetry/core/ipc/TelemetryComms.h => toolkit/components/telemetry/ipc/TelemetryComms.h
rename : toolkit/components/telemetry/core/ipc/TelemetryIPC.cpp => toolkit/components/telemetry/ipc/TelemetryIPC.cpp
rename : toolkit/components/telemetry/core/ipc/TelemetryIPC.h => toolkit/components/telemetry/ipc/TelemetryIPC.h
rename : toolkit/components/telemetry/core/ipc/TelemetryIPCAccumulator.cpp => toolkit/components/telemetry/ipc/TelemetryIPCAccumulator.cpp
rename : toolkit/components/telemetry/core/ipc/TelemetryIPCAccumulator.h => toolkit/components/telemetry/ipc/TelemetryIPCAccumulator.h
rename : toolkit/components/telemetry/core/nsITelemetry.idl => toolkit/components/telemetry/nsITelemetry.idl
rename : toolkit/components/telemetry/build_scripts/parsers/parse_events.py => toolkit/components/telemetry/parse_events.py
rename : toolkit/components/telemetry/build_scripts/parsers/parse_histograms.py => toolkit/components/telemetry/parse_histograms.py
rename : toolkit/components/telemetry/build_scripts/parsers/parse_scalars.py => toolkit/components/telemetry/parse_scalars.py
rename : toolkit/components/telemetry/build_scripts/parsers/shared_telemetry_utils.py => toolkit/components/telemetry/shared_telemetry_utils.py
2018-09-04 16:24:35 +03:00
Rob Wu d7e758ca6e Bug 1462121 - Improve reliability of context.contentWindow/active r=zombie
- Register pagehide/pageshow events in the system group and ignore
  synthetic events to avoid interference from web pages.
- Remove unused docShell member.
- Fix memory leak in bfcached windows, by ensuring that BaseContext
  instances can be GC'd when an extension is unloaded, even if the
  context is associated with a page in the bfcache.
- Ensure that context.contentWindow and context.active always have an
  accurate value.

The latter is achieved by moving all contentWindow tracking logic in a
new helper class "InnerWindowReference".

Differential Revision: https://phabricator.services.mozilla.com/D4072

--HG--
extra : moz-landing-system : lando
2018-09-04 13:17:10 +00:00
Alex Gaynor ac3702bff2 Bug 1487091 - remove an unused element from a graphics IPDL union; r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D4543

--HG--
extra : moz-landing-system : lando
2018-08-30 00:35:08 +00:00
Alessio Placitelli f5298ed4fe Bug 1484611 - Rename and fixup test files. r=chutten,janerik
We settled on a new naming scheme for ping implementation: {name}Ping.jsm.
This changes the test filenames as well and fixup the path
used to reference the JSM files.

Depends on D4427

Differential Revision: https://phabricator.services.mozilla.com/D4428

--HG--
rename : toolkit/components/telemetry/tests/unit/test_TelemetryEventPing.js => toolkit/components/telemetry/tests/unit/test_EventPing.js
rename : toolkit/components/telemetry/tests/unit/test_TelemetryEventPing_disabled.js => toolkit/components/telemetry/tests/unit/test_EventPing_disabled.js
rename : toolkit/components/telemetry/tests/unit/test_TelemetryHealthPing.js => toolkit/components/telemetry/tests/unit/test_HealthPing.js
rename : toolkit/components/telemetry/tests/unit/test_TelemetryModules.js => toolkit/components/telemetry/tests/unit/test_ModulesPing.js
extra : moz-landing-system : lando
2018-09-03 10:15:26 +00:00
Alessio Placitelli f8234320a3 Bug 1484611 - Re-organize the telemetry module layout. r=chutten,janerik
This patch organizes the Telemetry files according to a new
directory layout, which makes the top level dir less cluttered.
For a comprehensive discussion about the new layout, see
the bug comments.
Additionally, the build script and a few Python and C++ files
are adjusted for dealing with the new directory layout.

Differential Revision: https://phabricator.services.mozilla.com/D4427

--HG--
rename : toolkit/components/telemetry/TelemetryArchive.jsm => toolkit/components/telemetry/app/TelemetryArchive.jsm
rename : toolkit/components/telemetry/TelemetryController.jsm => toolkit/components/telemetry/app/TelemetryController.jsm
rename : toolkit/components/telemetry/TelemetryEnvironment.jsm => toolkit/components/telemetry/app/TelemetryEnvironment.jsm
rename : toolkit/components/telemetry/TelemetryReportingPolicy.jsm => toolkit/components/telemetry/app/TelemetryReportingPolicy.jsm
rename : toolkit/components/telemetry/TelemetrySend.jsm => toolkit/components/telemetry/app/TelemetrySend.jsm
rename : toolkit/components/telemetry/TelemetryStopwatch.jsm => toolkit/components/telemetry/app/TelemetryStopwatch.jsm
rename : toolkit/components/telemetry/TelemetryStorage.jsm => toolkit/components/telemetry/app/TelemetryStorage.jsm
rename : toolkit/components/telemetry/TelemetryTimestamps.jsm => toolkit/components/telemetry/app/TelemetryTimestamps.jsm
rename : toolkit/components/telemetry/TelemetryUtils.jsm => toolkit/components/telemetry/app/TelemetryUtils.jsm
rename : toolkit/components/telemetry/gen_event_data.py => toolkit/components/telemetry/build_scripts/gen_event_data.py
rename : toolkit/components/telemetry/gen_event_enum.py => toolkit/components/telemetry/build_scripts/gen_event_enum.py
rename : toolkit/components/telemetry/gen_histogram_data.py => toolkit/components/telemetry/build_scripts/gen_histogram_data.py
rename : toolkit/components/telemetry/gen_histogram_enum.py => toolkit/components/telemetry/build_scripts/gen_histogram_enum.py
rename : toolkit/components/telemetry/gen_histogram_phf.py => toolkit/components/telemetry/build_scripts/gen_histogram_phf.py
rename : toolkit/components/telemetry/gen_process_data.py => toolkit/components/telemetry/build_scripts/gen_process_data.py
rename : toolkit/components/telemetry/gen_process_enum.py => toolkit/components/telemetry/build_scripts/gen_process_enum.py
rename : toolkit/components/telemetry/gen_scalar_data.py => toolkit/components/telemetry/build_scripts/gen_scalar_data.py
rename : toolkit/components/telemetry/gen_scalar_enum.py => toolkit/components/telemetry/build_scripts/gen_scalar_enum.py
rename : toolkit/components/telemetry/parse_events.py => toolkit/components/telemetry/build_scripts/parsers/parse_events.py
rename : toolkit/components/telemetry/parse_histograms.py => toolkit/components/telemetry/build_scripts/parsers/parse_histograms.py
rename : toolkit/components/telemetry/parse_scalars.py => toolkit/components/telemetry/build_scripts/parsers/parse_scalars.py
rename : toolkit/components/telemetry/shared_telemetry_utils.py => toolkit/components/telemetry/build_scripts/parsers/shared_telemetry_utils.py
rename : toolkit/components/telemetry/EventInfo.h => toolkit/components/telemetry/core/EventInfo.h
rename : toolkit/components/telemetry/ScalarInfo.h => toolkit/components/telemetry/core/ScalarInfo.h
rename : toolkit/components/telemetry/Telemetry.cpp => toolkit/components/telemetry/core/Telemetry.cpp
rename : toolkit/components/telemetry/Telemetry.h => toolkit/components/telemetry/core/Telemetry.h
rename : toolkit/components/telemetry/TelemetryCommon.cpp => toolkit/components/telemetry/core/TelemetryCommon.cpp
rename : toolkit/components/telemetry/TelemetryCommon.h => toolkit/components/telemetry/core/TelemetryCommon.h
rename : toolkit/components/telemetry/TelemetryEvent.cpp => toolkit/components/telemetry/core/TelemetryEvent.cpp
rename : toolkit/components/telemetry/TelemetryEvent.h => toolkit/components/telemetry/core/TelemetryEvent.h
rename : toolkit/components/telemetry/TelemetryHistogram.cpp => toolkit/components/telemetry/core/TelemetryHistogram.cpp
rename : toolkit/components/telemetry/TelemetryHistogram.h => toolkit/components/telemetry/core/TelemetryHistogram.h
rename : toolkit/components/telemetry/TelemetryScalar.cpp => toolkit/components/telemetry/core/TelemetryScalar.cpp
rename : toolkit/components/telemetry/TelemetryScalar.h => toolkit/components/telemetry/core/TelemetryScalar.h
rename : toolkit/components/telemetry/ipc/TelemetryComms.h => toolkit/components/telemetry/core/ipc/TelemetryComms.h
rename : toolkit/components/telemetry/ipc/TelemetryIPC.cpp => toolkit/components/telemetry/core/ipc/TelemetryIPC.cpp
rename : toolkit/components/telemetry/ipc/TelemetryIPC.h => toolkit/components/telemetry/core/ipc/TelemetryIPC.h
rename : toolkit/components/telemetry/ipc/TelemetryIPCAccumulator.cpp => toolkit/components/telemetry/core/ipc/TelemetryIPCAccumulator.cpp
rename : toolkit/components/telemetry/ipc/TelemetryIPCAccumulator.h => toolkit/components/telemetry/core/ipc/TelemetryIPCAccumulator.h
rename : toolkit/components/telemetry/nsITelemetry.idl => toolkit/components/telemetry/core/nsITelemetry.idl
rename : toolkit/components/telemetry/CombinedStacks.cpp => toolkit/components/telemetry/other/CombinedStacks.cpp
rename : toolkit/components/telemetry/CombinedStacks.h => toolkit/components/telemetry/other/CombinedStacks.h
rename : toolkit/components/telemetry/GCTelemetry.jsm => toolkit/components/telemetry/other/GCTelemetry.jsm
rename : toolkit/components/telemetry/KeyedStackCapturer.cpp => toolkit/components/telemetry/other/KeyedStackCapturer.cpp
rename : toolkit/components/telemetry/KeyedStackCapturer.h => toolkit/components/telemetry/other/KeyedStackCapturer.h
rename : toolkit/components/telemetry/ProcessedStack.cpp => toolkit/components/telemetry/other/ProcessedStack.cpp
rename : toolkit/components/telemetry/ProcessedStack.h => toolkit/components/telemetry/other/ProcessedStack.h
rename : toolkit/components/telemetry/TelemetryIOInterposeObserver.cpp => toolkit/components/telemetry/other/TelemetryIOInterposeObserver.cpp
rename : toolkit/components/telemetry/TelemetryIOInterposeObserver.h => toolkit/components/telemetry/other/TelemetryIOInterposeObserver.h
rename : toolkit/components/telemetry/UITelemetry.jsm => toolkit/components/telemetry/other/UITelemetry.jsm
rename : toolkit/components/telemetry/WebrtcTelemetry.cpp => toolkit/components/telemetry/other/WebrtcTelemetry.cpp
rename : toolkit/components/telemetry/WebrtcTelemetry.h => toolkit/components/telemetry/other/WebrtcTelemetry.h
rename : toolkit/components/telemetry/TelemetryEventPing.jsm => toolkit/components/telemetry/pings/EventPing.jsm
rename : toolkit/components/telemetry/TelemetryHealthPing.jsm => toolkit/components/telemetry/pings/HealthPing.jsm
rename : toolkit/components/telemetry/TelemetryModules.jsm => toolkit/components/telemetry/pings/ModulesPing.jsm
rename : toolkit/components/telemetry/TelemetrySession.jsm => toolkit/components/telemetry/pings/TelemetrySession.jsm
rename : toolkit/components/telemetry/UpdatePing.jsm => toolkit/components/telemetry/pings/UpdatePing.jsm
extra : moz-landing-system : lando
2018-09-03 10:15:21 +00:00
Margareta Eliza Balazs 8f250956ce Backed out changeset e31d944d504b (bug 1462121) for mozbuild bustage in /builds/worker/workspace/build/src/toolkit/components/extensions/moz.build CLOSED TREE 2018-09-04 15:26:45 +03:00
Rob Wu 21e439aacf Bug 1462121 - Improve reliability of context.contentWindow/active r=zombie
- Register pagehide/pageshow events in the system group and ignore
  synthetic events to avoid interference from web pages.
- Remove unused docShell member.
- Fix memory leak in bfcached windows, by ensuring that BaseContext
  instances can be GC'd when an extension is unloaded, even if the
  context is associated with a page in the bfcache.
- Ensure that context.contentWindow and context.active always have an
  accurate value.

The latter is achieved by moving all contentWindow tracking logic in a
new helper class "InnerWindowReference".

Differential Revision: https://phabricator.services.mozilla.com/D4072

--HG--
extra : moz-landing-system : lando
2018-09-04 12:12:01 +00:00
Tim Nguyen dff40a3357 Bug 1488118 - Fix sidebar border color when it's on the right. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D4837

--HG--
extra : moz-landing-system : lando
2018-09-04 11:42:13 +00:00
Martin Stransky b3f03ff946 Bug 1484921 - [Wayland] Delay commit to hidden surfaces, r=jhorak
WindowSurfaceWayland::Commit() request may be called before associated GdkWindow is fully mapped.
In that case the commit fails because we can't commit to hidden wl_surface.

This patch delays the commit until the GdkWindow is fully visible and associated wl_surface
is ready.

Differential Revision: https://phabricator.services.mozilla.com/D3961

--HG--
extra : moz-landing-system : lando
2018-09-04 11:05:54 +00:00
James Teh eeb98454b6 Bug 1200038: Don't use the system group for XUL tabbox keydown handlers. r=dao
Bug 1008772 moved all key handlers related to browser tabs to the system group to prevent websites from stealing tab switching keys.
However, this is only necessary for global tab switching keys; e.g. Control+Tab, Control+PageUp.
It is not necessary for keys which only operate when the tab bar is focused; e.g. Up/DownArrow.
This is because when the browser chrome is focused (including the tab bar), content key handlers can't intercept key presses.
Furthermore, having these in the system group gives them precedence over XUL context menus.
This causes tab switches to occur when the arrow keys are pressed while the context menu is open, which is highly undesirable.
Moving these (non-global) keydown handlers into the normal group fixes this.

Differential Revision: https://phabricator.services.mozilla.com/D4854

--HG--
extra : moz-landing-system : lando
2018-09-04 09:34:23 +00:00
Johann Hofmann 0ba16ea654 Bug 1488371 - Add a comma to a string on about:privatebrowsing. r=flod
Differential Revision: https://phabricator.services.mozilla.com/D4919

--HG--
extra : moz-landing-system : lando
2018-09-04 10:30:11 +00:00