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

621148 Коммитов

Автор SHA1 Сообщение Дата
Andreea Pavel b74fab43a7 Backed out changeset b374a5789689 (bug 1501375) for failing xpcshell at toolkit/components/extensions/test/xpcshell/test_ext_webRequest_startup.js on a CLOSED TREE 2018-10-30 23:59:24 +02:00
Jason Orendorff 6a9ea162e6 Bug 1502963 - Quote jit_test.py --show-failed-cmd output. r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D10091

--HG--
extra : moz-landing-system : lando
2018-10-30 21:49:29 +00:00
Felipe Gomes e13fd1f1fc Bug 1493984 - Change event listener to the mm to be able to receive chrome events. r=mconley
Some events that actors need to listen to are chrome events which are not received by the listener in the window (even with mozSystemGroup = true).

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

--HG--
extra : moz-landing-system : lando
2018-10-30 21:47:05 +00:00
Felipe Gomes 3b972f7f7a Bug 1493984 - Implement Fission-aware message handling to actors. r=mconley
This patch adds a messaging mechanism to actors that work like this:

If browser.fission.simulate is true, messages handled by ActorManagerChild will only be dispatched to an actor tied to a specific frame, specified either by its frameId (outerWindowId) or by its browsingContextId. Messages that lack the information about the destination frame will be considered meant for the top-level frame.

In addition, a sendMessage API is added to ActorChild that automatically adds the id information to the outbound message, making it easier for it to be handled in the parent.

The frameId support is to ease the transition of some code that is already using outerWindowIds. For new code, it is preferred to use the browsing context ids, together with bug 1496840

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

--HG--
extra : moz-landing-system : lando
2018-10-30 21:47:04 +00:00
Felipe Gomes 51817cd36d Bug 1493984 - Part 0. Fix ActorChild.addEventListener. r=mconley
This fixes the addEventListener in ActorChild that I got wrong on bug 1490810, as it was still directly adding the events to the message manager, instead of going through the dispatcher (which can simulate the Fission process boundaries). ActorChild.addEventListener is meant for actors to add more events after they are constructed (that were not declared in nsBrowserGlue or ActorManagerParent)

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

--HG--
extra : moz-landing-system : lando
2018-10-30 21:46:55 +00:00
Henrik Skupin 5fcc1832bd Bug 1416747 - [marionette] Hardening test_cli_arguments.py TestCommandLineArguments.test_startup_timeout. r=ato
Using a startup timeout of 0s should always cause an IOError,
even for builds which startup within 100ms (pgo, Nightly opt).

Further the test should not modify the internal startup timeout
property, but pass the timeout as parameter to "start_session()".

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

--HG--
extra : moz-landing-system : lando
2018-10-30 21:47:29 +00:00
Emilio Cobos Álvarez 249491eb67 Bug 1502609 - followup: Add a missing ifdef. 2018-10-30 22:41:43 +01:00
Emilio Cobos Álvarez b85791110f Bug 1503401 - Update cbindgen due to breaking change. r=boris
https://github.com/eqrion/cbindgen/pull/233 changed the way one of the options
we use work.

I think the new behavior is better, but we should do this sooner rather than
later, and fix broken builds.

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

--HG--
extra : moz-landing-system : lando
2018-10-30 21:25:17 +00:00
Hiroyuki Ikezoe ecabb3873c Bug 1486960 - Test that checks the interaction media features when touch similation is enabled on RDM. r=gl
Depends on D10203

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

--HG--
extra : moz-landing-system : lando
2018-10-30 21:24:06 +00:00
Hiroyuki Ikezoe 8d7b51d943 Bug 1486960 - Pretend there is only a touch screen device if touch similation is enabled on RDM. #firefox-style-system-reviewers r=emilio
When the touch similation is enabled on RDM, TOUCHEVENTS_OVERRIDE_ENABLED is
propagated to all descendants docShells, so that we can just query it and return
PointerCapabilities::Coarse for the case.

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

--HG--
extra : moz-landing-system : lando
2018-10-30 21:24:04 +00:00
Gijs Kruitbosch 000eca920e Bug 1498697 - stop polling when there's nothing to poll, restart when processes are re-added, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D8962

--HG--
extra : moz-landing-system : lando
2018-10-30 19:34:22 +00:00
Jan Henning 77c9e65708 Bug 1502646 - Enable using ChromeUtils in Robocop JS tests. r=gbrown
We finally updated our host utils at some point after bug 1431533, so this
works now.

robocop_head.js is being included as a normal page <script> as well, though, and
as such is left to bug 1502674.

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

--HG--
extra : moz-landing-system : lando
2018-10-30 20:36:10 +00:00
Tim Nguyen 83fc24bb27 Bug 1502731 - Fix browser_all_files_referenced.js failures. r=me 2018-10-30 21:48:30 +01:00
Petru Lingurar 30189001cd Bug 1502435 - 1 - Set valid clientId and save if previous was canary clientId; r=jchen
Differential Revision: https://phabricator.services.mozilla.com/D10202

--HG--
extra : moz-landing-system : lando
2018-10-30 16:28:02 +00:00
Jan-Erik Rediger 2db06847e9 Bug 1501329 - Set valid client ID on Fennec if canary is detected r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D9544

--HG--
extra : moz-landing-system : lando
2018-10-26 18:17:48 +00:00
Emilio Cobos Álvarez ce32511d99 Bug 1502609 - Assert that we don't mess up pseudo-element / anon-box restyling. r=TYLin
Differential Revision: https://phabricator.services.mozilla.com/D9990

--HG--
extra : moz-landing-system : lando
2018-10-30 20:28:51 +00:00
Felipe Gomes a129af5f13 Bug 1499896 - Clean up listeners to an empty array instead of null. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D9047

--HG--
extra : moz-landing-system : lando
2018-10-30 19:55:03 +00:00
Rob Wu b3f95a8c0e Bug 1501375 - Interrupt extension start-up if background page crashes r=mixedpuppy
Extension start-up is blocked on receiving an initialization message
from the extension child process. If the extension browser goes away
before a response is received (e.g. if the extension is crashed), stop
waiting to avoid blocking the startup (and shutdown) forever.

This is not the cause of bug 1501375, but still worth fixing
( for bug 1355239 ).

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

--HG--
extra : moz-landing-system : lando
2018-10-30 18:53:22 +00:00
Ursula Sarracini b0c1c38fa8 Bug 1503288 - Use 'args' in button_action params to fix busted simplified onboarding actions r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D10232

--HG--
extra : moz-landing-system : lando
2018-10-30 19:36:22 +00:00
Chris Manchester 325c068d48 Bug 1501178 - Prioritize directories containing rust compilation in the make backend. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D10268

--HG--
extra : moz-landing-system : lando
2018-10-30 18:12:30 +00:00
Ted Campbell 7deaf7bc04 Bug 1447372 - Cleanup LifoAlloc usage for BytecodeCompiler r=jorendorff
Make off-thread and main-thread parsing more consistent by using the
JSContext tempLifoAlloc always. This also makes BytecodeCompiler APIs
more consistent.

Remove BytecodeCompiler::alloc which was obscuring lifetimes and
conflicts of allocator.

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

--HG--
extra : moz-landing-system : lando
2018-10-30 19:23:25 +00:00
Ted Campbell 6b5003a03f Bug 1447372 - Cleanup LifoAlloc usage for BytecodeParser r=jorendorff
Move LifoAllocScope out of BytecodeParser to avoid ordering issues that
may arise when LifoAllocScope is wrapped.

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

--HG--
extra : moz-landing-system : lando
2018-10-30 19:24:37 +00:00
Ted Campbell d16e7c5292 Bug 1447372 - Cleanup LifoAlloc usage for RegExp r=jorendorff
Directly construct a LifoAllocScope on cx->tempLifoAlloc inside
RegExpObject::create. The data allocated temporarily does not outlive
this function. Also simplify callers as a result.

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

--HG--
extra : moz-landing-system : lando
2018-10-30 19:24:14 +00:00
Andrew Swan bb30270b1c Bug 1438255 Part 2 Convert sync addon unit tests to use webextensions r=tcsc
This isn't strictly part of removing support for non-restartless
extensions, but it ensures that sync is testing with the types of
extensions that people are really using these days.

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

--HG--
extra : rebase_source : 9737bdce09464d7efb6150c15b1936bac99278f9
extra : source : 05f4f82cd81ced4c8cd441e7af0a31b728287bf1
2018-10-24 13:26:06 -07:00
Andrew Swan a6e1db22bd Bug 1438255 Part 1 Remove handling in sync for non-restartless addons r=tcsc
Differential Revision: https://phabricator.services.mozilla.com/D10110

--HG--
extra : rebase_source : f0914bd1660e1e0427a67bcfc131494162a74fed
extra : source : 01b626ffa66008672129d42f3d2c28b35631c02b
2018-10-29 10:03:07 -07:00
J.C. Jones 054009f29f Bug 1501587 - land NSS 3b79af0fa294 UPGRADE_NSS_RELEASE, r=me
--HG--
extra : rebase_source : 710a4c409afc9a1b0c8a77a872b04369b3d03671
2018-10-29 14:29:54 -07:00
Chun-Min Chang 395ebd7b2d Bug 1487797 - P2. Make sure the sample index of FLAC's frame is monotonically increasing. r=jya
Depends on D9043

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

--HG--
extra : moz-landing-system : lando
2018-10-22 22:51:23 +00:00
Chun-Min Chang 4deffa6a58 Bug 1487797 - P1. Move sample index from FrameHeader to Frame. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D9043

--HG--
extra : moz-landing-system : lando
2018-10-22 22:51:21 +00:00
Myk Melez 9b692b9cbd Bug 1503031 - use ::nserror::nsresult everywhere in IDL-generated Rust files r=froydnj
After bug 1496622, the IDL parser converts some references to `nsresult` in IDL files to `::nserror::nsresult` in IDL-generated Rust files.  But it doesn't convert others.  It should convert them all consistently, and this patch makes it do so by adding conversion of the return type of attribute getters/setters and references generated by the IDL parser's Typedef class.

MozReview-Commit-ID: 838K8XGjvTx

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

--HG--
extra : moz-landing-system : lando
2018-10-29 21:23:21 +00:00
Mark Banner 3df3ea0b86 Bug 1501041 - Fix browser_UsageTelemetry_content*.js to consistently fail if there is an issue with the navigation event probe, and disable them due to current expiry. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D10070

--HG--
extra : moz-landing-system : lando
2018-10-29 18:48:52 +00:00
Gurzau Raul 08a80deaa6 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-10-30 00:04:59 +02:00
Gurzau Raul 8f82fd493f Merge inbound to mozilla-central. a=merge 2018-10-30 00:00:56 +02:00
Gurzau Raul 60b38b72af Merge autoland to mozilla-central. a=merge 2018-10-29 23:59:38 +02:00
Bogdan Tara 9bf2ee5167 Backed out changeset e51fa157869f (bug 1499693) for browser_details.js failures CLOSED TREE 2018-10-29 23:36:30 +02:00
Bogdan Tara 4119f6ad2e Backed out 3 changesets (bug 1499903) for causing bug 1502637 CLOSED TREE
Backed out changeset 3c7165875616 (bug 1499903)
Backed out changeset 106752b77131 (bug 1499903)
Backed out changeset 3f6d3c425b42 (bug 1499903)
2018-10-29 23:32:50 +02:00
Bogdan Tara 3de3de8049 Backed out changeset efd80121bf41 (bug 1501459) for ES lint failure CLOSED TREE
--HG--
rename : browser/components/pocket/content/panels/tmpl/ho2/ho2_sharebutton.handlebars => browser/components/pocket/content/panels/tmpl/ho2/ho2_sharebutton_v2.handlebars
2018-10-29 21:42:21 +02:00
Kartikaya Gupta c277149ab9 Bug 1501062 - Set the visible region on scrollthumb WebRenderLayerScrollData items. r=botond
This field is used by APZ to implement the feature where the scrollbar snaps
back to the starting position if the mouse gets too far away.
2018-10-29 15:40:09 -04:00
Kyle Machulis ee8ccacb05 Backed out changeset fa8487b94a38 due to a=BUSTAGE on comm-central 2018-10-29 12:28:02 -07:00
Ehsan Akhgari 7191917660 Bug 1500543 - Only inform windows that their parent is changing when being removed from their parent r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D10085

--HG--
extra : moz-landing-system : lando
2018-10-29 19:15:32 +00:00
Perry Jiang 40e929d0df Bug 1354577 - require ServiceWorkerGlobalScope.importScripts() to only accept JavaScript MIME types r=edenchuang
- Make ServiceWorkerGlobalScope.importScripts() throw a NetworkError when receiving a
bad (i.e. non-JavaScript) MIME type
- Correct registration-tests-mime-types.js to expect TypeError when registering
a service worker that calls importScripts() with a bad MIME type, per spec
- Add WPT import-scripts-mime-types.https.html to test importScripts success/failure,
depending on MIME type

Depends on D6416

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

--HG--
extra : moz-landing-system : lando
2018-10-29 15:08:24 +00:00
Perry Jiang 2d17bf3ec7 Bug 1354577 - require ServiceWorkerContainer.register() to only accept JavaScript MIME types r=edenchuang
- Change "ServiceWorkerRegisterMimeTypeError" to "ServiceWorkerRegisterMimeTypeError2"
to account for more acceptable MIME types

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

--HG--
extra : moz-landing-system : lando
2018-10-29 15:09:40 +00:00
Erica Wright dbe7418e20 Bug 1501989 - turn "keep until" menu list into a checkbox r=flod,johannh
Remove the keepUntil menulist and label, add a checkbox that toggles the value of 'network.cookie.lifetimePolicy' between 2 and 0.

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

--HG--
extra : moz-landing-system : lando
2018-10-29 16:46:17 +00:00
Oriol Brufau fc11a0ae6a Bug 1499693 - Choose correct add-on icon size in about:addons. r=mstriemer,aswan
Differential Revision: https://phabricator.services.mozilla.com/D9347

--HG--
extra : moz-landing-system : lando
2018-10-29 19:41:12 +00:00
André Bargull fc26d6a38a Bug 1490821: Change PCCount profiler to use JSONPrinter and add testing functions for it. r=tcampbell
--HG--
extra : rebase_source : 9decf46b720801c1a6bd428b95c5c92b3f450936
2018-10-29 07:21:16 -07:00
Eden Chuang 74e578d048 Bug 1497215 - Refactor the IPC structure for PaymentResponse.details r=baku
In original design, payment method response data is passed between processes
    through a simple nsString. It means a special encoder/decoder is needed for
    special response data, ex. BasicCardResponse, to serialize/deserialize
    into/from the nsString. However, when a token spliter, ':', ';' and '@', is
    used in response data, it makes the encoder/decoder can not work normally.
    It is hard to define a suitable token spliter set for encoder/decoder.
    So instead of using an error-prone encoder/decoder, this patch defining a new
    IPC structure for response data.

--HG--
extra : rebase_source : 4972033516bc861ea3f975a27b7688fc6eb89a94
2018-10-29 13:56:32 +01:00
Sean Voisen a3b735e085 Bug 1430969: Add tests for border-image-source blocking r=emilio
Depends on D10017

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

--HG--
extra : moz-landing-system : lando
2018-10-29 10:40:32 +00:00
Sean Voisen 7b694bc60c Bug 1430969: Ignore border-image-source when overriding document colors r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D10017

--HG--
extra : moz-landing-system : lando
2018-10-29 10:38:50 +00:00
Petru Lingurar 8ebf0b8200 Bug 1501571 - Update <Product and feature tips> setting summary when disabled; r=jchen
Needed to allow localizers more control over what needs to be translated in a
String that contains another already translated String that should be bolded.

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

--HG--
extra : moz-landing-system : lando
2018-10-29 16:24:10 +00:00
Michael Cooper d2bd355768 Bug 1500965 - Fix todo_is in toolkit/components/normandy/test/browser/browser_PreferenceExperiments.js r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D10100

--HG--
extra : moz-landing-system : lando
2018-10-29 19:17:36 +00:00
Gavin Lazar Suntop a332afed78 Bug 1501459 - removing unused CTA layouts r=thecount
Removing unused CTA layouts from multivariant testing for Pocket users without the mobile app installed.

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

--HG--
rename : browser/components/pocket/content/panels/tmpl/ho2/ho2_sharebutton_v2.handlebars => browser/components/pocket/content/panels/tmpl/ho2/ho2_sharebutton.handlebars
extra : moz-landing-system : lando
2018-10-29 17:45:06 +00:00