Commit Graph

628857 Commits

Author SHA1 Message Date
Bogdan Tara
d7c417565a Backed out changeset 3956dbb7e65d (bug 1511303) for browser_ignore_same_page_navigation.js failures CLOSED TREE 2018-12-19 00:57:37 +02:00
Martin Stransky
36e0a3f5a9 Bug 1507423 - Don't draw StyleAppearance::MozWindowButtonBox on Linux/Gtk, r=mconley
Depends on D14243

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

--HG--
extra : moz-landing-system : lando
2018-12-18 10:48:28 +00:00
Martin Stransky
8449b576c3 Bug 1507423 - Implement StyleAppearance::MozWindowButtonBox on widget/gtk, r=mconley
Depends on D14242

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

--HG--
extra : moz-landing-system : lando
2018-12-18 19:06:08 +00:00
Martin Stransky
2e33d16018 Bug 1507423 - Don't return border/padding from MOZ_GTK_HEADER_BAR/MOZ_GTK_HEADER_BAR_MAXIMIZED, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D14242

--HG--
extra : moz-landing-system : lando
2018-12-18 10:47:48 +00:00
Martin Stransky
70f9a9330e Bug 1514828 - [Wayland] Enable CSD titlebar mode on all Wayland compositors, r=jhorak
Differential Revision: https://phabricator.services.mozilla.com/D14767

--HG--
extra : moz-landing-system : lando
2018-12-18 13:43:25 +00:00
Kris Maglione
778252994f Bug 1513366: Part 5 - Migrate extension process script to a JSM. r=aswan
This simplifies things all around, and gets rid of one more unnecessary
component registration.

--HG--
rename : toolkit/components/extensions/extension-process-script.js => toolkit/components/extensions/ExtensionProcessScript.jsm
extra : rebase_source : 7ceb6ada0730f8241bbd5ddbd889a320da22b1b1
2018-12-12 17:58:19 -08:00
Gregory Szorc
12bd06909d Bug 1513320 - SQLite package backport for Debian 7; r=glandium
The SQLite in Debian 7 (3.7.13) lacks support for common table
expressions (the WITH keyword), which was introduced in SQLite
3.8.3. The Mercurial SQLite storage backend currently relies on
CTEs. Even if a future Mercurial doesn't require CTE, it is likely
that it will still use CTE if available for performance reasons.
So, it is in our best interest to give Mercurial access to a
modern SQLite. Plus, using a modern SQLite and avoiding potential
bugs in old versions seems prudent.

This commit introduces a SQLite package backport for Debian 7
so we can use the new SQLite feature. We had to minimally patch
the build to work with an older version of TCL that isn't using
multiarch.

I observed libsqlite3 being installed as part of building various
other packages (such as Python). I initially added the package as
a dependency so packages would be built against a more modern
SQLite. But glandium doesn't believe it matters, since nothing
should be doing build-time feature detection. Python is the most
important downstream package (since Mercurial uses its SQLite).
I audited the CPython build system and did not see any build-time
SQLite feature detection or version sniffing. So I think we'll be
fine building against an older SQLite.

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

--HG--
extra : moz-landing-system : lando
2018-12-12 22:11:59 +00:00
WR Updater Bot
8753c7dcb0 Bug 1515040 - Update webrender to commit 9b6c5347c03bd123e0704b7bbd823f3f9fdc9334 (WR PR #3430). r=kats
https://github.com/servo/webrender/pull/3430

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

--HG--
extra : moz-landing-system : lando
2018-12-19 03:15:14 +00:00
Gregory Szorc
c8190b0144 Bug 1513429 - Upgrade image_builder to Ubuntu 18.04; r=dustin
This appears to "just work."

While I would like to convert this image to Debian and make it
deterministic, that is more effect than I'm willing to invest at the
moment.

The impetus for this change is unblocking partial clones. Mercurial's
SQLite storage backend apparently hits a SQLite bug in version 3.11
of SQLite (what Ubuntu 16.04 runs) where SQLite complains about
database corruption when there are readers from multiple processes.
Ubuntu 18.04 is running SQLite 3.22 and doesn't exhibit the buggy
behavior.

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

--HG--
extra : moz-landing-system : lando
2018-12-19 03:12:19 +00:00
k88hudson
2c424c573a Bug 1515206 - Add Pocket layout code, snippets and perf bug fixes to Activity Stream r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D14923

--HG--
extra : moz-landing-system : lando
2018-12-19 01:52:03 +00:00
Mike Hommey
0fc58f5ee3 Bug 1514122 - Make rust code use mozjemalloc directly. r=froydnj
Until rust 1.28, there was no stable way to change the allocator used by
rust code. In bug 1280578, we hooked HeadAlloc/HeapFree/HeapRealloc,
that the default rust system allocator uses. On other platforms, rust
code just ended up using malloc/free/realloc like everything else.

As of rust 1.28, though, it is now possible to use the GlobalAlloc trait
and the #[global_allocator] attribute to set an allocator. On Windows,
this can allow us to hook mozjemalloc directly, rather than using an
indirection through HeapAlloc/etc. (which require an extra call to
GetProcessHeap), so let's do this. On other platforms, this just ends up
doing the same thing as the default rust system allocator (except for
the memalign limit on 32-bits platforms).

We still need the HeapAlloc/etc. hooks for some C++ code using it, though.

Another benefit is that the HeapAlloc GlobalAlloc implementation needs
to do its own memalign, which it does by overallocating and aligning
manually. We obviously don't need to do this when we using
memalign/_aligned_malloc directly.

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

--HG--
extra : moz-landing-system : lando
2018-12-19 01:47:40 +00:00
Dragana Damjanovic
afe6b3fa9c Bug 1513542 - Fix static deinit of the nsStandardURL leak debugging helper. r=valentin
It was crashing in DumpLeakedURLs::~DumpLeakedURLs(). If we have never used DumpLeakedURLs we were initializing gAllURLsMutex in a destructor of another static variable.

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

--HG--
extra : moz-landing-system : lando
2018-12-18 23:58:51 +00:00
Chris H-C
c50e366300 bug 1512503 - Instrument about:telemetry for pageloads r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D14266

--HG--
extra : moz-landing-system : lando
2018-12-12 17:02:36 +00:00
Jean-Yves Avenard
25657ee569 Bug 1513511 - P2. Ensure all frames are decoded. r=bryce
vp9 streams contains superframes. Ensure they are all properly handled.

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

--HG--
extra : moz-landing-system : lando
2018-12-17 20:30:46 +00:00
Jean-Yves Avenard
0855e7a7da Bug 1513511 - P1. Use new FFmpeg decode API with recent FFmpeg version. r=bryce
In libavcodec 58 and later, the old avcodec_decode_video2 is broken and only return the first visible frame found after a VP9 super-frame.

This resulted in some YouTube videos for about 10% of the frames to never be returned.

Only the new API properly behaves so we upgrade our code to use it.

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

--HG--
extra : moz-landing-system : lando
2018-12-17 17:29:13 +00:00
Logan Smyth
f6b29a07c4 Bug 1510463 - Allow adding breakpoints without pausing. r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D13737

--HG--
extra : moz-landing-system : lando
2018-12-17 19:20:05 +00:00
Art-Vanderlay
6c4784ab31 Bug 1508724 - Checkbox label for Shockwave Flash in about:addons plugins has improper tab_focus r=Felipe
Hid the checkbox-label-box from the Shockwave plugin to correct the tab focus.

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

--HG--
extra : moz-landing-system : lando
2018-12-17 20:12:53 +00:00
khyperia
459b5b3ae0 Bug 1513040 - Change FOR_EACH_PARSE_NODE_KIND to use type instead of arity. r=jorendorff
Depends on D14321

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

--HG--
extra : moz-landing-system : lando
2018-12-17 17:05:42 +00:00
khyperia
d2784c93ca Bug 1513040 - Rename ParseNodeKinds to end with Stmt or Expr. r=jorendorff
Depends on D13991

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

--HG--
extra : moz-landing-system : lando
2018-12-17 20:00:00 +00:00
khyperia
99e241ea60 Bug 1512428 - Create a ParseNodeVisitor and use it for constant folding. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D13991

--HG--
extra : moz-landing-system : lando
2018-12-17 17:05:38 +00:00
Tom Schuster
be525ca8b0 Bug 1462741 - Update tests. r=jorendorff
Depends on D14704

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

--HG--
extra : moz-landing-system : lando
2018-12-17 18:40:13 +00:00
Tom Schuster
008b4aef30 Bug 1462741 - Make Function.prototype a native function. r=jorendorff
Differential Revision: https://phabricator.services.mozilla.com/D14704

--HG--
extra : moz-landing-system : lando
2018-12-17 19:49:23 +00:00
Ehsan Akhgari
e8796fe60d Bug 1512625 - Ensure that the allow-mode argument in the PContent::FirstPartyStorageAccessGrantedForOrigin() IPC call doesn't get converted down to 0/1 r=baku
Differential Revision: https://phabricator.services.mozilla.com/D14478

--HG--
extra : moz-landing-system : lando
2018-12-17 16:19:43 +00:00
Dan Minor
3430187119 Bug 1498253 - Remove mozAvSyncDelay and mozJitterBufferDelay from webidl; r=baku
These are undocumented and were only used for the about:webrtc page. They can
be removed without first deprecating them.

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

--HG--
extra : moz-landing-system : lando
2018-12-17 16:20:01 +00:00
Dan Minor
73d9c4cce6 Bug 1498253 - Remove mozAvSyncDelay and mozJitterBufferDelay; r=ng
The value for mozAvSyncDelay has been broken since the branch 57 update
(Bug 1341285). We added SetCurrentSyncOffset() but never called it from
anywhere.

In the future we should be getting stats from AudioReceiveStream rather than
modifying the channel code, the delay_estimate_ms field provides almost the
same information.

Since we're attempting to get rid of moz prefixed stats, it makes sense to just
remove this code rather than fix it. The associated telemetry code has been
broken since Bug 1341285 as well so I think it is safe to remove.

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

--HG--
extra : moz-landing-system : lando
2018-12-14 13:08:12 +00:00
Jason Orendorff
b946e7ce00 Bug 1491924 - Split test-macosx64/debug-jsreftest-e10s across 3 chunks rather than 2, to stop timeouts. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D14763

--HG--
extra : moz-landing-system : lando
2018-12-17 18:06:33 +00:00
Sylvestre Ledru
48ac5d6783 Bug 1514770 - Fix the clang-format hook for git r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D14754

--HG--
extra : moz-landing-system : lando
2018-12-17 19:12:06 +00:00
Nan Jiang
3ae1832e23 Bug 1514353 - Turn on topsites search shortcuts in all channels r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D14619

--HG--
extra : moz-landing-system : lando
2018-12-14 21:34:28 +00:00
Botond Ballo
ad8b8390a7 Bug 1511915 - Annotate some shape-margin-001.html test failures with the bug that will fix them. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D14770

--HG--
extra : moz-landing-system : lando
2018-12-17 18:47:24 +00:00
Jim Blandy
2bb93ce5ff Bug 1482082: Delete JSObject::deprecatedGlobal, since it is unused. r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D14691

--HG--
extra : moz-landing-system : lando
2018-12-17 18:39:23 +00:00
Jim Blandy
a9a44998b1 Bug 1482215: Make Debugger visibility per-Compartment, and ensure realms match their compartments. r=jorendorff
Debugger invisibility is only practical to enforce on compartment boundaries,
and for its proper uses, that's good enough. Unfortunately, at present, debugger
invisibility is a flag on realms. This misfit is the reason for the sole
remaining code that assumes that every object is associated with a particular
realm: Debugger.Object.prototype.unwrap consults the unwrapped object's global
to see whether it is about to reveal an object that it must not. We would like
to remove this code.

This patch:

- adds an `invisibleToDebugger` flag to JS::Compartment, and sets it from the
  Realm options (since there is no API for creating compartments directly; only
  the act of creating a Realm can create a compartment to hold it);

- changes Debugger.Object.prototype.unwrap to check the compartment's flag, thus
  removing the final use of JSObject::deprecatedRealm;

- asserts that new realms added to a compartment have a compatible visibility; and

- changes the shell primitive for creating realms to throw an error in case of
  incompatible requested visibilities, rather than crashing.

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

--HG--
extra : moz-landing-system : lando
2018-12-17 18:37:29 +00:00
James Willcox
6042d9482d Bug 1511132 - Disable ServiceWindowClients.openWindow() under GeckoView r=asuth
This also disables test_openWindow.html when running in GeckoView.

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

--HG--
extra : moz-landing-system : lando
2018-12-14 21:28:14 +00:00
James Willcox
30201ae152 Bug 1514255 - Skip passwordmgr tests on GeckoView as it's unsupported r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D14563

--HG--
extra : moz-landing-system : lando
2018-12-14 21:46:12 +00:00
James Willcox
e67010fdec Bug 1514360 - Fix test_navigator_buildID.html under GeckoView r=Ehsan
Depends on D14613

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

--HG--
extra : moz-landing-system : lando
2018-12-14 22:51:58 +00:00
James Willcox
6314eb8c80 Bug 1514360 - Add nsIWindowMediator.getMostRecentBrowserWindow() r=Ehsan
We currently don't use 'navigator:browser' for GeckoView windows because
we need an easy way to disambiguate from Fennec windows. Instead, we use
'navigator:geckoview' for those windows. This adds a method that falls
back to that automatically, useful in cases where you want it to work on
both Desktop/Fennec and GeckoView.

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

--HG--
extra : moz-landing-system : lando
2018-12-14 22:53:21 +00:00
Noemi Erli
c03f25ec80 Backed out changeset 4700e46a32dd (bug 1514212) for reftest failures in block-scoped-functions-annex-b-with.js CLOSED TREE 2018-12-17 20:26:40 +02:00
Kartikaya Gupta
e8565762a1 Bug 1508647 - Don't treat mSeparateLeaf as an output. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D14473

--HG--
extra : moz-landing-system : lando
2018-12-17 17:41:48 +00:00
John Lin
9ae8026add Bug 1486659 - p3: copy texture contents for remote allocated Surface. r=snorp
Child processes cannot access textures allocated in the parent process,
which is needed by the compositor to render video elements efficiently.
Unfortunately, Android doesn't expose Sufrace buffers (sharable across
processes) in the SDK/NDK as other platforms, so we need to generate
extra texture/surface in the child process and update texture images
through the surface, which is passed to the parent process for the remote
texture to copy its contents into.

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

--HG--
rename : mobile/android/geckoview/src/main/aidl/org/mozilla/gecko/gfx/ISurfaceAllocator.aidl => mobile/android/geckoview/src/main/aidl/org/mozilla/gecko/gfx/SyncConfig.aidl
extra : moz-landing-system : lando
2018-12-14 21:34:55 +00:00
John Lin
82531b5e45 Bug 1486659 - p2: expose native GL blitter to Java. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D11938

--HG--
extra : moz-landing-system : lando
2018-12-14 21:34:11 +00:00
John Lin
a1926ace73 Bug 1486659 - p1: conform SharedMemory.describeContents() to Android API spec. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D11936

--HG--
extra : moz-landing-system : lando
2018-12-14 21:34:09 +00:00
André Bargull
6d7530556c Bug 1514212: Global var-declarations are only configurable on nightly. r=jorendorff 2018-12-14 06:35:03 -08:00
Honza Bambas
25a593d03e Bug 1506821 - Redirect content is shown when redirecting to a blacklisted port. r=dragana 2018-12-14 09:25:00 -05:00
Barret Rennie
c81941d10b Bug 1514393 - Export nsJPEGEncoder header r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D14639

--HG--
extra : moz-landing-system : lando
2018-12-17 16:47:09 +00:00
Barret Rennie
01fc450cb2 Bug 1514393 - Isolate internals of nsJPEGEncoder r=aosmond
Both libjpeg and windows.h typedef `boolean` to different types (`int` and
`unsiched char` respectively) and nsJPEGEncoder's public definition includes a
function that returns a `boolean`. Exposing this header results in type
conflicts.

We now isolate the internals of nsJPEGEncoder into a friend class whose
internals are hidden from the publica, allowing the header to exported.

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

--HG--
extra : moz-landing-system : lando
2018-12-17 16:47:09 +00:00
Jonathan Kingston
c5d29c382e Bug 903372 - Remove xml:base from parser. r=hsivonen 2018-12-13 15:47:01 +00:00
Jonathan Kingston
943bc1976a Bug 903372 - Removal of xml:base. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D13457
2018-12-13 15:16:52 +00:00
Jonathan Kingston
9c1d3b46db Bug 1508654 - adding in assert for referrer implied codebase principal. r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D12436

--HG--
extra : moz-landing-system : lando
2018-12-17 15:35:45 +00:00
Ciure Andrei
a464905af4 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-12-17 18:43:49 +02:00
Ciure Andrei
900aa00755 Merge inbound to mozilla-central. a=merge 2018-12-17 18:41:54 +02:00
Razvan Caliman
081ab9f961 Bug 1512634 - Ensure cssProperties validates in lowercase. r=pbro
[Bug 1512634](https://bugzilla.mozilla.org/show_bug.cgi?id=1512634) occurred because the Rule view marks CSS properties as overriden when they are not lowercase. This happens because `ElementStyle.markOverridden()` relies on computed properties. They get built using `CSSProperties.getSubproperties()`. If the input to that method is not lowercase, it doesn't match properties from the CSS database and returns an empty array. This has a side-effect of marking the property as overriden.

In this patch we allow users to type property names in any case, but we validate the lowercase version of them.

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

--HG--
extra : moz-landing-system : lando
2018-12-17 16:26:18 +00:00