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

642867 Коммитов

Автор SHA1 Сообщение Дата
Alex Gaynor 1ad3f60e94 Bug 1536163 - Part 2 - use native Maybe syntax in place of MaybePrefValue in IPDL; r=mccr8
--HG--
extra : rebase_source : 9c93e3b61ceef67e33242af4415e144ff16ba49d
2019-03-21 06:51:43 +02:00
Alex Gaynor 5b83ddbaf3 Bug 1536163 - Part 1 - use native Maybe syntax in place of OptionalWebProgressData in IPDL; r=baku
--HG--
extra : rebase_source : 0836af776b25a3bc6e802ff1d569f5bf9e0b42c6
2019-03-21 06:50:53 +02:00
Cameron McCormack ca2fb0a357 Bug 282126 - Part 5: Tests. r=jfkthame,emilio
MozReview-Commit-ID: 1c0yMdUt7QG

Depends on D23426

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

--HG--
extra : moz-landing-system : lando
2019-03-21 04:50:49 +00:00
Cameron McCormack 0b3540c9bb Bug 282126 - Part 4: Use horizontal metrics for ch in vertical mixed/sideways writing modes and for ex always. r=emilio
Depends on D23425

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

--HG--
extra : moz-landing-system : lando
2019-03-21 04:50:47 +00:00
Cameron McCormack 1e3269f7e9 Bug 282126 - Part 3: Don't compute ch to the average glyph width when there is no zero glyph. r=emilio
Depends on D23424

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

--HG--
extra : moz-landing-system : lando
2019-03-21 04:50:45 +00:00
Cameron McCormack 076c3e7246 Bug 282126 - Part 2: Allow FontMetricsProvider to produce ex height and zero width independently. r=emilio
We are always able to produce an x height, but depending on whether the
glyph exists, we sometimes can't produce a zero glyph width.

Depends on D23423

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

--HG--
extra : moz-landing-system : lando
2019-03-21 04:50:43 +00:00
Cameron McCormack c1e712e277 Bug 282126 - Part 1: Allow getting zero glyph width from nsFontMetrics without falling back to average glyph width. r=jfkthame
While we're here, fix the measurement of ' ' and 'x' so that we don't
measure the .notdef glyph if those glyphs aren't present.

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

--HG--
extra : moz-landing-system : lando
2019-03-21 04:50:41 +00:00
Boris Zbarsky 3eff432187 Bug 1535384 part 14. Remove MOZ_CAN_RUN_SCRIPT_BOUNDARY from PlacesEventCallback. r=dthayer
Differential Revision: https://phabricator.services.mozilla.com/D23785

--HG--
extra : moz-landing-system : lando
2019-03-19 07:12:29 +00:00
Boris Zbarsky 6ef9105d1f Bug 1535384 part 13. Remove MOZ_CAN_RUN_SCRIPT_BOUNDARY from IdleRequestCallback. r=farre
Differential Revision: https://phabricator.services.mozilla.com/D23784

--HG--
extra : moz-landing-system : lando
2019-03-19 07:22:05 +00:00
Boris Zbarsky 9c586db495 Bug 1535384 part 12. Remove MOZ_CAN_RUN_SCRIPT_BOUNDARY from FrameRequestCallback. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D23783

--HG--
extra : moz-landing-system : lando
2019-03-19 16:02:12 +00:00
Boris Zbarsky 960ef74fa8 Bug 1535384 part 11. Remove MOZ_CAN_RUN_SCRIPT_BOUNDARY for getUserMedia callbacks. r=jib
nsIDOMGetUserMediaErrorCallback, nsIDOMGetUserMediaSuccessCallback,
and nsIGetUserMediaDevicesSuccessCallback were completely unused, so
they could just go away and all the code got simpler.

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

--HG--
extra : moz-landing-system : lando
2019-03-19 04:36:46 +00:00
Boris Zbarsky b21a31cc49 Bug 1535384 part 10. Remove MOZ_CAN_RUN_SCRIPT_BOUNDARY for FontFaceSetForEachCallback. r=heycam
This code should all go away (bug 1311198), but in the meantime...

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

--HG--
extra : moz-landing-system : lando
2019-03-19 04:36:18 +00:00
Boris Zbarsky 5869bb7df1 Bug 1535384 part 9. Remove MOZ_CAN_RUN_SCRIPT_BOUNDARY for u2f callbacks. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D23780

--HG--
extra : moz-landing-system : lando
2019-03-19 20:53:55 +00:00
Boris Zbarsky 3cd3acc695 Bug 1535384 part 8. Remove MOZ_CAN_RUN_SCRIPT_BOUNDARY for Web IDL Function. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D23779

--HG--
extra : moz-landing-system : lando
2019-03-19 20:52:03 +00:00
Boris Zbarsky 295d09cba1 Bug 1535384 part 7. Get rid of MOZ_CAN_RUN_SCRIPT_BOUNDARY for filesystem callbacks. r=mccr8
I'm a bit torn between the const-member-and-MOZ_KnownLive approach
here and just taking extra stack refs...

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

--HG--
extra : moz-landing-system : lando
2019-03-19 15:53:43 +00:00
Boris Zbarsky ae274eb82a Bug 1535384 part 6. Get rid of MOZ_CAN_RUN_SCRIPT_BOUNDARY for webaudio callbacks. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D23777

--HG--
extra : moz-landing-system : lando
2019-03-19 04:34:42 +00:00
Boris Zbarsky 10d7ccf23e Bug 1535384 part 5. Eliminate MOZ_CAN_RUN_SCRIPT_BOUNDARY for mutation callbacks. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D23776

--HG--
extra : moz-landing-system : lando
2019-03-19 15:14:11 +00:00
Boris Zbarsky adec753d03 Bug 1535384 part 4. Eliminate MOZ_CAN_RUN_SCRIPT_BOUNDARY for the reporting observer callback. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D23775

--HG--
extra : moz-landing-system : lando
2019-03-19 04:33:54 +00:00
Boris Zbarsky 1443d56a82 Bug 1535384 part 3. Eliminate MOZ_CAN_RUN_SCRIPT_BOUNDARY on console callbacks. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D23774

--HG--
extra : moz-landing-system : lando
2019-03-19 04:33:32 +00:00
Boris Zbarsky f81be92ae2 Bug 1535384 part 2. Eliminate MOZ_CAN_RUN_SCRIPT_BOUNDARY on some webrtc callbacks. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D23773

--HG--
extra : moz-landing-system : lando
2019-03-19 04:32:43 +00:00
Boris Zbarsky 1c3e10afc5 Bug 1535384 part 1. Eliminate some easy cases of MOZ_CAN_RUN_SCRIPT_BOUNDARY on webidl callbacks. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D23771

--HG--
extra : moz-landing-system : lando
2019-03-19 05:24:39 +00:00
Emilio Cobos Álvarez cdd51a7d35 Bug 1536264 - Only reset color / background / text-shadow for active options. r=jaws
Otherwise you see font changes when hovering, which is not really desirable.

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

--HG--
extra : moz-landing-system : lando
2019-03-21 02:28:24 +00:00
Glenn Watson 8452fc14bc Bug 1536732 - Add experimental pixel-local-storage render path to WR r=kvark
Add an experimental code path that makes use of the pixel local
storage extension available on many mobile GPUs.

This code path is currently disabled by default, as the support
is not complete for all primitives and blend modes. The initial
aim is to get feature parity with the existing renderer.

Once that's complete, we can take advantage of the (minimum)
12 bytes per pixel of high speed on-tile memory to store custom
data.

Clip masks are a good use case for this, since they map 1:1 with
the position of the fragment they are clipping. Using this for
clip masks allows us to handle clipping on mobile GPUs in a much
more efficient way - we can skip (a) separate render targets,
(b) target resolve (c) sample the mask texture during rendering.

Depends on D24123

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

--HG--
extra : moz-landing-system : lando
2019-03-21 02:59:04 +00:00
Narcis Beleuzu 8f2eeb4b40 Backed out 2 changesets (bug 1530931, bug 1473234) for crashtest failures on RootAccessible::RemoveEventListeners . CLOSED TREE
Backed out changeset 54057e1121b5 (bug 1473234)
Backed out changeset faa43bdd3347 (bug 1530931)
2019-03-21 05:53:57 +02:00
Brindusan Cristian 548922c93a Backed out 2 changesets (bug 1499224) for android checkstyle bustage. CLOSED TREE
Backed out changeset 952739f9d46f (bug 1499224)
Backed out changeset e1a8b3a2932c (bug 1499224)
2019-03-21 04:52:53 +02:00
Brindusan Cristian 327ca02963 Backed out 2 changesets (bug 1535760, bug 1535748) for ESlint failure at browser_contextMenu.js:66:11. CLOSED TREE
Backed out changeset 8ab3c856b9c2 (bug 1535748)
Backed out changeset a9a01b1c9e3a (bug 1535760)
2019-03-21 04:35:52 +02:00
James Teh 44f8fe46e4 Bug 1473234: make a11y listen to DOM events from iframes and shadow DOM. r=eeejay
1. Register with the root document window's parent target, since this receives events for iframes and shadow DOM. (The root document itself doesn't.)
2. Hold onto the target node when scheduling processing of the DOM event, as GetOriginalTarget returns null when we process shadow DOM events async.

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

--HG--
extra : moz-landing-system : lando
2019-03-01 02:48:47 +00:00
James Teh d4b9670c0d Bug 1530931: Correctly handle retrieving a container accessible for a shadow root. r=eeejay
This can happen, for example, when GetAccessibleOrContainer is called within SelectionManager::ProcessSelectionChanged due to focusing a direct child of a shadow root.
In this case, the common ancestor is the shadow root itself.
Previously, we returned null in this case because GetFlattenedTreeParent doesn't work on the shadow root itself.
Now, we check if the given node is the shadow root, and if so, we use the shadow host instead.

This prevents the "We must reach document accessible implementing text interface!" assertion in SelectionManager::ProcessSelectionChanged when a direct child of a shadow root gets focus.

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

--HG--
extra : moz-landing-system : lando
2019-03-20 15:19:44 +00:00
Emilio Cobos Álvarez bdf43f53c2 Bug 1536689 - Make AssertValidDependentString asserts more fatal. r=bholley
We should catch these issues ASAP. This NS_ASSERTION also bit me in the past.

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

--HG--
extra : moz-landing-system : lando
2019-03-20 23:13:14 +00:00
Dimi Lee 9b8bb702a9 Bug 1536020 - Add "mobileconfig" to the list of executable extensions in download protection. r=Gijs
This is from Chromium's change log:
.mobileconfig files gives powerful controls over both system settings
and Chrome settings on MacOS, with a fairly straightforward installation process.

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

--HG--
extra : moz-landing-system : lando
2019-03-20 22:56:49 +00:00
Emilio Cobos Álvarez 0f9d0b6755 Bug 1537576 - fix some rust-nightly warnings about unused doc comments. r=boris
Differential Revision: https://phabricator.services.mozilla.com/D24287

--HG--
extra : moz-landing-system : lando
2019-03-20 22:47:30 +00:00
Mike Hommey 7e282558ea Bug 1524429 - Move build/autoconf/arch.m4 to python configure. r=nalexander
The file is essentially limited to ARM flag tweaks, so we make the
corresponding python configure code ARM-only. In large parts, the
python code sets things up similarly, although in a few places we try to
be smarter about than the current autoconf-based code.

The resulting config.status have been verified to only have
insignificant differences on both arm and aarch64 android builds.

Depends on D24000

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

--HG--
extra : moz-landing-system : lando
2019-03-20 16:17:57 +00:00
Mike Hommey e267d3e594 Bug 1524429 - MOZ_ANDROID_CPU_ARCH doesn't need MOZ_ARCH. r=nalexander
It hasn't needed it since bug 1397776.

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

--HG--
extra : moz-landing-system : lando
2019-03-20 22:46:10 +00:00
Jean-Yves Avenard 2060818e84 Bug 1533252 - P4. Serialize all the video MediaCapabilities queries. r=pehrsons
Differential Revision: https://phabricator.services.mozilla.com/D23653

--HG--
extra : moz-landing-system : lando
2019-03-15 13:54:19 +00:00
Jean-Yves Avenard 7e095aad11 Bug 1533252 - P3. Rename LocalAllocPolicy into SingleAllocPolicy. r=pehrsons
It's more descriptive with what it actually does.

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

--HG--
extra : moz-landing-system : lando
2019-03-15 13:35:53 +00:00
Jean-Yves Avenard cbf34767dd Bug 1533252 - P2. Make LocalAllocPolicy inherit from AllocPolicy. r=pehrsons
Despite its name and apparent use LocalAllocPolicy could only handle a single call to Alloc() at a time which was okay due to how it was used by the MediaFormatReader.

However, we do want to handle multiple calls to Alloc().

These changes allow to perform simultaneous requests and have them be processed one at a time serially.

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

--HG--
extra : moz-landing-system : lando
2019-03-15 13:35:42 +00:00
Jean-Yves Avenard bbdbe29869 Bug 1533252 - P1. Extract LocalAllocPolicy from MFR. r=pehrsons
So we can re-use it later.

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

--HG--
extra : moz-landing-system : lando
2019-03-15 13:55:12 +00:00
Ting-Yu Lin 0ac3561306 Bug 1533885 - Bail out from MaybeRecreateForColumnSpan if aFrameList is empty. r=dbaron
The test case triggers MOZ_ASSERT(!IsFramePartOfIBSplit(aParentFrame))
in MaybeRecreateForColumnSpan() because WipeContainingBlock() returns
early when the FrameConstructionItemList is empty. Thus, it doesn't wipe
the aParentFrame even if it's part of an IB split.

An empty FrameConstructionItemList constructs no frames. Therefore,
MaybeRecreateForColumnSpan() doesn't need to do anything if aFrameList is empty
since an empty frame list cannot contain any column-span.

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

--HG--
extra : moz-landing-system : lando
2019-03-20 21:17:38 +00:00
John Lin 758616336e Bug 1533901 - Add profiler markers for VideoSink. r=padenot
Add profiler marker to show when VideoSink sends frames to compositor
and when it discards frames that are outdated according to current
audio position.

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

--HG--
extra : moz-landing-system : lando
2019-03-20 11:00:06 +00:00
John Lin 43ae2383c9 Bug 1499224 - p2: Keep remote decoder process alive when client record is good. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D23738

--HG--
extra : moz-landing-system : lando
2019-03-20 22:26:31 +00:00
John Lin fdd8992351 Bug 1499224 - p1: keep record of active remote objects in MediaManager. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D23736

--HG--
extra : moz-landing-system : lando
2019-03-20 22:26:21 +00:00
Mike Conley 47e70b9c38 Bug 1535748 - Remove NIGHTLY_BUILD build-time switches for Picture-in-Picture. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D23948

--HG--
extra : moz-landing-system : lando
2019-03-20 21:24:15 +00:00
Mike Conley 50371e1fee Bug 1535760 - Update strings and controls for toggling Picture-in-Picture from the context menu. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D23947

--HG--
extra : moz-landing-system : lando
2019-03-20 21:24:37 +00:00
Jason Laster ec92a2c078 Bug 1535043 - loading a source should not block on breakpoint positions. r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D23341

--HG--
extra : moz-landing-system : lando
2019-03-20 16:54:39 +00:00
Jason Laster 75279f4310 Bug 1536113 - Column Breakpoints have a blue background. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D24108

--HG--
extra : moz-landing-system : lando
2019-03-20 21:18:59 +00:00
Brad Werth 3b13e0d0d2 Bug 1343014 Part 1: Make RDM viewport dimension inputs have input type "number". r=gl
This also changes the styling to prevent "spinners" from appearing.

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

--HG--
extra : moz-landing-system : lando
2019-03-20 20:44:34 +00:00
Brindusan Cristian 62141262e0 Backed out changeset de836d015f32 (bug 1536264) for bc failures at browser_selectpopup_colors.js. CLOSED TREE
--HG--
extra : histedit_source : 572060c8c60b3a71548f85c2d5ffab1d480099a3
2019-03-21 02:29:59 +02:00
Brindusan Cristian 4ecacf2c58 Backed out changeset 9e30503eb033 (bug 1468140) for mochitest-chrome failures at test_selectAtPoint.html and wr failures at abspos-containing-block-initial-004b.xht. CLOSED TREE
--HG--
extra : histedit_source : 7a33e3c90731d32c34606da1585b7de45f9b0715
2019-03-21 02:28:24 +02:00
Jeff Walden 58b7603710 Bug 1535446 - Move realm options into a new js/public/RealmOptions.h header. r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D23582

--HG--
rename : js/src/jsapi.h => js/public/RealmOptions.h
extra : moz-landing-system : lando
2019-03-20 20:28:43 +00:00
Drew Willcoxon 66b8f1c131 Bug 1529931 - Avoid autofill flicker: Fix reflow performance tests. r=mconley
Replace a couple of popup methods so that they call dirtyFrame(), so that reflows happen deterministically.

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

--HG--
extra : moz-landing-system : lando
2019-03-20 16:08:21 +00:00