Commit Graph

642855 Commits

Author SHA1 Message Date
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
Drew Willcoxon
674a2ade96 Bug 1529931 - Prevent autofill flicker and fix cases where we're not autofilling but should be. r=mak
* In nsAutoCompleteController, the logic that determines whether the new search is a prefix of the old search is only done in HandleText, i.e., on input, not when the value is set programmatically.

* That logic is a lot more complex in nsAutoCompleteController.

* nsAutoCompleteController autofills in one case where quantumbar doesn't: when completing the "placeholder" string before starting a new search and waiting for the async results (thereby preventing flicker).

* Some nsAutoCompleteController state gets reset each time the awesomebar is focused (see calls to attachController() in the autocomplete binding, which sets the controller's input, which calls ResetInternalState()). That state is important in regard to autofill and the placeholder string. If it's not reset, then the autofill of one search will incorrectly affect the autofill of a later search.

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

--HG--
rename : browser/components/urlbar/tests/browser/browser_UrlbarInput_autofill.js => browser/components/urlbar/tests/browser/browser_autoFill_caretNotAtEnd.js
extra : moz-landing-system : lando
2019-03-20 17:07:15 +00:00
dlee
32e02c3158 Bug 1535307 - Remove an extra bracket when set update status in aboutUrlClassifier. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D24172

--HG--
extra : moz-landing-system : lando
2019-03-20 13:57:11 +00:00
Barret Rennie
36cd17958e Bug 1444434 - Bump webrender and webrender_bindings gleam dependency to 0.6.14 r=kvark
Differential Revision: https://phabricator.services.mozilla.com/D23958

--HG--
extra : moz-landing-system : lando
2019-03-20 19:52:53 +00:00
Jason Orendorff
fe24be5220 Bug 1452473 - Fix assertion in js::ThrowUninitializedThis with debugger eval-in-frame and direct eval. r=tcampbell
I like the error message just as well without the class name. In fact, I think
the word "derived" is important to include here, so the message is even a
little better. The stack and line number make it super clear which constructor
we're talking about, so we're not really losing anything.

In Chrome, the error message is "ReferenceError: Must call super constructor in
derived class before accessing 'this' or returning from derived constructor".

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

--HG--
extra : moz-landing-system : lando
2019-03-20 19:33:48 +00:00
Jason Orendorff
c7cc4c6c91 Bug 1534776 - Don't leak the world if the shell's main() exits early. r=jwalden
This changes the order of some cleanup operations, harmlessly, to make
initialization and teardown more FIFO.

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

--HG--
extra : moz-landing-system : lando
2019-03-20 19:20:06 +00:00
Miko Mynttinen
b143cd0aa1 Bug 1536778 - Part 2: Optimize descending into lines r=mattwoodrow
Depends on D24166

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

--HG--
extra : moz-landing-system : lando
2019-03-20 19:03:13 +00:00
Miko Mynttinen
76e11fa13d Bug 1536778 - Part 1: Use aLists instead of linesDisplayListCollection r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D24166

--HG--
extra : moz-landing-system : lando
2019-03-20 18:45:11 +00:00
Emilio Cobos Álvarez
95bceb7380 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-20 19:16:40 +00:00
Ting-Yu Lin
1809f8352e Bug 1468140 - Call AccessibleCaretEventHub::Init in a ScriptRunner. r=mats
Differential Revision: https://phabricator.services.mozilla.com/D9568

--HG--
extra : moz-landing-system : lando
2019-03-20 18:15:55 +00:00
Andreea Pavel
ac4374c473 Bug 1534541 - disabled basic.html on win and linux debug r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D24121

--HG--
extra : moz-landing-system : lando
2019-03-20 10:06:28 +00:00
Christian Frey
19be7642c7 Bug 1521800 - Convert passwordManager.xul and passwordManager.js to Fluent, r=jaws,flod
Differential Revision: https://phabricator.services.mozilla.com/D19613

--HG--
extra : moz-landing-system : lando
2019-03-20 19:27:11 +00:00
Andrew Halberstadt
422288906f Bug 1530038 - [tryselect] Move taskgraph cache to new srcdir state location, r=tomprince
Depends on D24187

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

--HG--
extra : moz-landing-system : lando
2019-03-20 15:33:56 +00:00