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

666084 Коммитов

Автор SHA1 Сообщение Дата
David Walsh 25d9b05653 Bug 1574122 - Provide a key for DOM Mutation breakpoint items r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D42133

--HG--
extra : moz-landing-system : lando
2019-08-16 16:56:03 +00:00
David Walsh 823913efb6 Bug 1574266 - Use modern syntax highlighting in debugger r=Harald
Differential Revision: https://phabricator.services.mozilla.com/D42245

--HG--
extra : moz-landing-system : lando
2019-08-16 15:02:42 +00:00
Kershaw Chang fb1430c0de Bug 1553267 - Cancel the redirect load if docshell is being destroyed r=mayhemer
When the docshell is being destroyed, HttpChannelChild::CompleteRedirectSetup is not called and HttpChannelChild::mListener is not also assigned. In this case, I think we should cancel the channel and propagate the error to the http channel parent.

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

--HG--
extra : moz-landing-system : lando
2019-08-16 11:41:04 +00:00
Jason Laster c0a595d089 Bug 1573890 - Simplify logpoint messages. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D41990

--HG--
extra : moz-landing-system : lando
2019-08-16 17:28:40 +00:00
Eric Rahm f92163b353 Bug 1574276 - Update traits in the bits library to specify dyn. r=agashlin
The `bits` library needs to be updated to prefix traits with `dyn` in order to compile with Rust 1.37 in which they've deprecated non-prefixed traits.

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

--HG--
extra : moz-landing-system : lando
2019-08-16 17:22:15 +00:00
Aaron Amanuel 3e2b89118e Bug 1574243 - Duplicate bouncerscript submission task to point at Nazgul. r=mtabara
Duplicating the old bouncer submission task and having it point to Nazgul in both stage and prod.

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

--HG--
extra : moz-landing-system : lando
2019-08-16 15:45:24 +00:00
Sebastian Hengst 0195ac9406 Merge mozilla-central to autoland 2019-08-16 19:05:43 +02:00
Markus Stange 87683af326 Bug 1574521 - Make sure updateLayer is only called when the CoreAnimation pref is set. r=jrmuizel a=Aryx
updateLayer expects some objects to be non-null which are only initialized when the pref is set.
But in builds that were compiled with the 10.14 SDK, all NSViews are layer-backed by default, so
wantspdateLayer gets called, and returning YES from that unconditionally will cause updateLayer
to be called.

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

--HG--
extra : amend_source : a7a1f7ecba9418e3bf5464bca90ba655002bc637
2019-08-16 18:53:44 +02:00
Robert Helmer eb7c0990a0 Bug 1573285 - set system add-on enable pref on by default for Fennec r=snorp
This was originally added in bug 1428459 to separate system add-on updates from app updates, but the pref only made it to desktop and not mobile.

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

--HG--
extra : moz-landing-system : lando
2019-08-16 13:52:14 +00:00
Marco Zehe bbff91b9c7 Bug 1574389 - Give each div containing a bar a role of "img" for accessibility, r=mtigley
While NVDA works fine with the current implementation, JAWS needs the divs themselves to have an explicit role to pick them up properly and read them to the user. Since the divs essentially contain a graphical representation, the "img" role is appropriate to use in this context. This makes JAWS pick up the information for each bar.

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

--HG--
extra : moz-landing-system : lando
2019-08-16 15:20:30 +00:00
Axel Hecht d638afbb1b Bug 1574411, use fluent.pygments to syntax-highlight code blocks, r=ahal,flod
Differential Revision: https://phabricator.services.mozilla.com/D42277

--HG--
extra : moz-landing-system : lando
2019-08-16 16:41:15 +00:00
Dorel Luca 4b3c5c8fa3 Backed out changeset 6e01b87795cf (bug 1573890) for Devtools failures. CLOSED TREE
--HG--
extra : rebase_source : e8a8addd651398d07630e0990eb49f0210969f23
2019-08-16 19:36:41 +03:00
Sebastian Hengst 53ceae20f0 Bug 1574535 - temporarily disable suddenly permafailing browser_startup_syncIPC.js. a=florian-on-IRC CLOSED TREE
--HG--
extra : amend_source : 62e63891a0f1fe3247c2b3c96eb54ab93f5bfb79
2019-08-16 18:51:55 +02:00
Dorel Luca f97e939824 Backed out changeset 10a056f52e49 (bug 1571969) for cpp failure. CLOSED TREE 2019-08-16 19:02:56 +03:00
Aaron Klotz db904c3cc8 Bug 1574298: Convert mscom::ProcessRuntime to use ProcessCategory enum and matching constructor; r=Jamie
In order to use `mscom::ProcessRuntime` in the maintenance service, we need
`ProcessRuntime` to be able to distinguish between more than just whether or not
the current process is the parent process.

I've added a new `ProcessCategory` enum to track this information, and revised
the constructors so that we now have one that accepts a ProcessCategory.

The `ProcessCategory` constructor is private inside XUL, since the
`GeckoProcessType` variant should always be used in that case.

We also slightly change apartment initialization to depend on the underlying
`ProcessCategory` value.

Finally, I modify the one case where we instantiate a `ProcessRuntime` in the
launcher process to use the new constructor.

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

--HG--
extra : moz-landing-system : lando
2019-08-16 16:06:45 +00:00
Randall E. Barker 393595d494 Bug 1574341 - Add devtools.console.stdout.chrome to GeckoRuntimeSettings.Builder.debugLogging() r=geckoview-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D42230

--HG--
extra : moz-landing-system : lando
2019-08-16 16:02:08 +00:00
mcrawford@mozilla.com ea906a1753 Bug 1574108 - blocklist migration (ETP) using UI version 85 won't run in beta and release once it reaches version 70 because UI version 86 got uplifted r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D42175

--HG--
extra : moz-landing-system : lando
2019-08-16 15:47:59 +00:00
Henrik Skupin 25ed81e808 Bug 1330560 - [marionette] Temporarily skip TestScreenCaptureContent.test_capture_flags on Windows. r=webdriver-reviewers,jgraham
Temporarily skip on Windows to get the new screenshot API landed.
Given that this change makes this failure permanent it should be
easier for investigation after its landing.

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

--HG--
extra : moz-landing-system : lando
2019-08-16 15:50:11 +00:00
mcrawford 2dc8fda553 Bug 1550165 - Footer advertising links to Lockwise mobile apps. r=fluent-reviewers,Pike,MattN
Differential Revision: https://phabricator.services.mozilla.com/D34370

--HG--
extra : moz-landing-system : lando
2019-08-16 14:43:37 +00:00
Robert Strong 78a7ea9c45 Bug 1574080 - Remove gDestPath and associated code in updater.cpp since it is no longer used. r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D42316

--HG--
extra : moz-landing-system : lando
2019-08-16 15:43:13 +00:00
Andreas Tolfsen bc7f951fd6 bug 1540655: remote: document how to vendor Puppeteer; r=remote-protocol-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D39660

--HG--
extra : moz-landing-system : lando
2019-08-16 12:58:34 +00:00
Andreas Tolfsen eb6edbf0df bug 1540655: remote: document how to run Puppeteer tests; r=remote-protocol-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D39659

--HG--
extra : moz-landing-system : lando
2019-08-16 12:58:32 +00:00
Andreas Tolfsen a7e5e01481 bug 1540655: ci: add test job for Puppeteer tests; r=ahal
This adds a "remote(pup)" TaskCluster job for running the Google
Puppeteer tests against the new Firefox remote agent.

Earlier in this patchset we added a "./mach puppeteer-test" command
that wraps npm, and this being a source-test with access to the
full checkout, invokes this command directly instead of going
through mozharness.

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

--HG--
extra : moz-landing-system : lando
2019-08-16 12:58:24 +00:00
Andreas Tolfsen d653e19e81 bug 1540655: remote: connect Puppeteer spec tests with mach test flavour; r=remote-protocol-reviewers,jdescottes
This makes it possible to for mach to determine which test types
are likely to be relevant.

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

--HG--
extra : moz-landing-system : lando
2019-08-16 12:58:23 +00:00
Andreas Tolfsen 54820db49c bug 1540655: moztest: add test path resolution for Puppeteer tests; r=ahal
Makes it possible for mach to resolve test paths for Puppeteer,
so that individual tests can be run from the command line using
"./mach test", as such:

	% ./mach test remote/test/puppeteer/test/screenshot.spec.js

As the Puppeteer test suite is imported from upstream and we cannot
change this directory at will (i.e. to add test manifest files),
we take the same approach as for WPT and populate the manifest by
recursively walking the remote/test/puppeteer/test/**/*.spec.js file tree.

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

--HG--
extra : moz-landing-system : lando
2019-08-16 12:58:21 +00:00
Andreas Tolfsen c65d20cca3 bug 1540655: mozbuild: add puppeteer test flavor; r=firefox-build-system-reviewers,chmanchester
The Puppeteer test flavour are functional tests for the CDP-based
Puppeteer library from Google, that we want to run against our
implementation of CDP for Firefox.

They are distinct from the Firefox Puppeteer tests based on Marionette.

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

--HG--
extra : moz-landing-system : lando
2019-08-16 12:58:19 +00:00
Andreas Tolfsen e95c2010c7 bug 1540655: remote: ignore non-vendored Node.js assets; r=remote-protocol-reviewers,jdescottes
We vendor the Puppeteer library, but not its dependencies.
When "npm install" is called in remote/test/puppeteer/, it puts
its dependencies under remote/test/puppeteer/node_modules/ and
generates a remote/test/puppeteer/package-lock.json file.  We do
not want these to be checked in.

DONTBUILD

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

--HG--
extra : moz-landing-system : lando
2019-08-16 12:58:17 +00:00
Andreas Tolfsen a5a5c8b5bb bug 1540655: remote: add mach command for running Puppeteer tests; r=remote-protocol-reviewers,jdescottes
Introduces "./mach puppeteer-test" command for running the Puppeteer
tests against the remote agent.  This has to be a top-level command
because the automatic test detection system in mach does not allow
us to delegate to a subcommand such as "./mach remote puppeteer-test".

The tests run against a fork of Puppeteer with hotfixes needed for
it to work  with the CDP implementation in Firefox.  This fork is
located at https://github.com/andreastt/puppeteer/tree/firefox, and
vendored under remote/test/puppeteer/ in a previous commit in this series.

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

--HG--
extra : moz-landing-system : lando
2019-08-16 12:58:15 +00:00
Andreas Tolfsen a0e6457fa6 bug 1540655: remote: vendor Puppeteer; r=remote-protocol-reviewers,jdescottes
Puppeteer is licensed under the Apache-2.0 license.

No code from Puppeteer gets included in Firefox.

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

--HG--
extra : moz-landing-system : lando
2019-08-16 12:58:08 +00:00
Andreas Tolfsen 8350dc3134 bug 1540655: build, remote: add mach command for vendoring Puppeteer; r=firefox-build-system-reviewers,chmanchester
Introduces "./mach remote vendor-puppeteer" for vendoring the
Puppeteer client without dependencies into remote/test/puppeteer/.

The particular checkout of Puppeteer is
https://github.com/andreastt/puppeteer/tree/firefox, which contains a
couple of hotfixes we need for the client to work with the Firefox
implementation of CDP.

The remote agent targets a specific version of Puppeteer, so it is
not suitable for this to be vendored under third_party/.  We also
wouldn't want other code in central to accidentally use a patched fork.

The vendoring process is not part of "./mach vendor" because it does
not yet have Node.js support, and implementing that for mach is outside
the scope of getting the Puppeteer tests running with the remote agent.

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

--HG--
extra : moz-landing-system : lando
2019-08-16 12:58:06 +00:00
Andreas Tolfsen 1c7db08de2 bug 1540655: build: sort MACH_MODULES; r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D37006

--HG--
extra : moz-landing-system : lando
2019-08-16 12:58:05 +00:00
Dan Minor e6817b0e4d Bug 1573541 - Fix assertion failure in PannerNode.h; r=karlt
This removes the call to SetThreeDPointParameter which is no longer necessary
now that we're using AudioParams for position and orientation. Doing the
conversion can cause an assertion failure when the AudioParams have a scheduled
future value.

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

--HG--
extra : moz-landing-system : lando
2019-08-15 21:17:36 +00:00
Nicholas Nethercote 08f34bc7d6 Bug 1572633 - Remove browser.cache.frecency_experiment. r=mayhemer
It's unused.

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

--HG--
extra : moz-landing-system : lando
2019-08-16 11:18:46 +00:00
Gijs Kruitbosch a829e24657 Bug 1571342 - unify save paths for console and netmonitor and fix the latter to not do docshell loads, r=Honza,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D41858

--HG--
extra : moz-landing-system : lando
2019-08-16 11:13:24 +00:00
Jan Odvarko a1cc09d360 Bug 1566856 - JSONView stopped rendering relative URLs; nchevobbe r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D41543

--HG--
extra : moz-landing-system : lando
2019-08-16 10:06:17 +00:00
Emilio Cobos Álvarez 479f277399 Bug 1480146 - Add memory reporting for the inline style cache. r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D41731

--HG--
extra : moz-landing-system : lando
2019-08-16 10:56:25 +00:00
Emilio Cobos Álvarez c24f17aee9 Bug 1480146 - Add a cache for inline stylesheets without @import rules. r=heycam
Supporting @import was much more annoying (I had a patch but it became much more
complex than this), and seems other browsers don't do it either:

  https://cs.chromium.org/chromium/src/third_party/blink/renderer/core/css/style_sheet_contents.cc?l=149&rcl=1999822baf4dc673088e65997fa07ad158f2e166
  https://trac.webkit.org/browser/webkit/trunk/Source/WebCore/css/StyleSheetContents.cpp?rev=246490#L111

Also added a singleton perf test for <link> caching.

Maybe we should add some cache eviction here, but I'm not sure what'd be the
best policy here.

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

--HG--
extra : moz-landing-system : lando
2019-08-16 10:56:23 +00:00
Emilio Cobos Álvarez a61410f8ae Bug 1571530 - Remove sheets from the <link> cache when they have been touched by CSS OM. r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D41563

--HG--
extra : moz-landing-system : lando
2019-08-16 10:56:22 +00:00
Emilio Cobos Álvarez b9e6e577b3 Bug 1571530 - Move a bit of code around in Loader::LoadInlineSheet. r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D41562

--HG--
extra : moz-landing-system : lando
2019-08-16 10:56:20 +00:00
Emilio Cobos Álvarez 86651be7e1 Bug 1571530 - Make PrepareSheet take a reference. r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D41561

--HG--
extra : moz-landing-system : lando
2019-08-16 10:56:18 +00:00
Emilio Cobos Álvarez 919bb7ded3 Bug 1571530 - Cleanup slightly SheetComplete, and use the right boolean to notify. r=heycam
This is mostly straight-forward cleanup, but there's a behavior change which
was an oversight from bug 1386840, the regular mObservers stuff didn't pass the
right thing (was passing only mWasAlternate rather than whether it was
deferred).

I think that as a result, only in XML documents (since nsXMLContentSink is the
only thing that adds itself as a global CSS loader observer that ever looks at
this boolean), we may end up breaking this assert:

https://searchfox.org/mozilla-central/rev/9ae20497229225cb3fa729a787791f424ff8087b/dom/base/nsContentSink.cpp#183

(If there are any sheets with non-matching media queries and such).

But I couldn't find a test-case that broke it (tried SVG / XHTML), and in other
documents like pure XML you cannot specify a media query...

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

--HG--
extra : moz-landing-system : lando
2019-08-16 10:56:16 +00:00
Emilio Cobos Álvarez 36d3f1e1b9 Bug 1571530 - Cleanup confusing lifetime of SheetLoadData. r=heycam
Saving a refcount bump is not worth the churn. Use a proper RefPtr<>
everywhere instead of manual refcounting, and don't make DoSheetComplete call
NS_RELEASE unconditionally.

Also, make clear by using references where null is expected or not.

Also, properly use a RefPtr in mPendingDatas, since they are strong pointers,
in fact.

Finally, remove some unused macros from nsCSSValue of which this code was the
last consumer.

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

--HG--
extra : moz-landing-system : lando
2019-08-16 10:56:09 +00:00
Emilio Cobos Álvarez 588365a846 Bug 1571530 - Don't use nsBaseHashtable in the CSS loader. r=heycam
It's a refptr hashtable, really.

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

--HG--
extra : moz-landing-system : lando
2019-08-16 10:56:07 +00:00
Emilio Cobos Álvarez 6779b66f01 Bug 1571530 - Remove various bool arguments in sheet loader APIs. r=heycam
They're bad, specially if they do vastly different thing in overloaded
functions, like aUseSystemPrincipal and aIsPreload. :)

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

--HG--
extra : moz-landing-system : lando
2019-08-16 10:56:05 +00:00
Emilio Cobos Álvarez 2353359865 Bug 1571530 - Make Loader APIs return a Result. r=heycam
On the fence on this one, but I do think it's nicer.

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

--HG--
extra : moz-landing-system : lando
2019-08-16 10:56:03 +00:00
Emilio Cobos Álvarez 353176ffe4 Bug 1571530 - Move inline sheet creation somewhere else that isn't CreateSheet. r=heycam
It doesn't do much for them.

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

--HG--
extra : moz-landing-system : lando
2019-08-16 10:55:56 +00:00
Emilio Cobos Álvarez 70e10752be Bug 1571530 - Cleanup CreateSheet so that it returns its arguments rather than having outparams. r=heycam
Also, it's infallible, so no need to have an error state.

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

--HG--
extra : moz-landing-system : lando
2019-08-16 10:55:54 +00:00
Emilio Cobos Álvarez 6c780690be Bug 1571530 - Factor out the stylesheet cache bits. r=heycam
Just moving code around but hopefully the new code is nicer :)

Also fix a regression I introduced in D40691 where the parsing mode wouldn't be
checked for XUL sheets.

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

--HG--
extra : moz-landing-system : lando
2019-08-16 10:55:50 +00:00
Henrik Skupin 0945291ada Bug 1574155 - [wdspec] Use different top-level domains for cross-site iframe tests. r=webdriver-reviewers,ato
Using a different subdomain as host for an iframe source doesn't actually
qualify for a cross-site origin. Instead the TLD has to be different.

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

--HG--
extra : moz-landing-system : lando
2019-08-16 10:54:32 +00:00
Jan Odvarko 9f9e2d3cf4 Bug 1572396 - Introduce Search button in the Net panel toolbar; r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D42080

--HG--
extra : moz-landing-system : lando
2019-08-16 10:42:59 +00:00