Commit Graph

669454 Commits

Author SHA1 Message Date
Masayuki Nakano
f3b99207af Bug 1574852 - part 67-3: Split HTMLEditRules::WillDeleteSelection() to 3 methods r=m_kato
First, we can split it with 3 parts:
1. preparation with current selection part.
2. handling deletion with collapsed selection part.
3. handling deletion with non-collapsed selection part.
The first should leave in `WillDeleteSelection()`, but the others should be
moved to independent methods.

With this change, we need to fix an odd case when there is no visible node
and `GetFirstSelectedTableCellElement()` returned error due to crossing
the method boundary.  The method returns error only when there is no selection
ranges.  In such case, we cannot handle deletion of current selection anyway.
So, it must not be a problem to handle the error immediately after calling
`GetFirstSelectedTableCellElement()`.  Note that this shouldn't occur in
normal cases since `WillDoAction()` checks it before calling
`WillDeleteSelection()`.

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

--HG--
extra : moz-landing-system : lando
2019-09-05 13:37:57 +00:00
Masayuki Nakano
b9ab4d13e9 Bug 1574852 - part 67-2: Rename variables in HTMLEditRules::WillDeleteSelection() r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D44452

--HG--
extra : moz-landing-system : lando
2019-09-05 13:16:12 +00:00
Masayuki Nakano
ce5e7d1651 Bug 1574852 - part 67-1: Make HTMLEditRules::WillDeleteSelection() return EditActionResult` r=m_kato
Before moving the largest method in our tree, we should split it.  This is
first preparation of that.

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

--HG--
extra : moz-landing-system : lando
2019-09-05 13:37:42 +00:00
Thomas Wisniewski
088543f1ab Bug 1564594 - Make sure we set the correct Fennec shared prefs that the core ping is reading (without the extensions.webcompat. prefix); r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D44901

--HG--
extra : moz-landing-system : lando
2019-09-05 21:34:25 +00:00
Jason Laster
6e5a3a9907 Bug 1578606 - Fix jest. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D44591

--HG--
rename : devtools/client/debugger/flow-typed/npm-custom/devtools-shared-utils_vx.x.x.js => devtools/client/debugger/flow-typed/npm-custom/devtools-modules_vx.x.x.js
extra : moz-landing-system : lando
2019-09-05 20:38:25 +00:00
Andreea Pavel
fc4e538be5 Merge mozilla-central to autoland on a CLOSED TREE 2019-09-06 00:59:25 +03:00
Andreea Pavel
42f3d0e0b0 Merge mozilla-inbound to mozilla-central a=merge 2019-09-06 00:56:29 +03:00
Razvan Maries
d1e676c8db Backed out changeset b83d5986ddf7 (bug 1579231) for build bustages on WebRenderCommandBuilder.cpp. CLOSED TREE 2019-09-06 00:38:06 +03:00
Andreea Pavel
40d6bdbeac Bug 1578636 - disable test on fission r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D44883
2019-09-05 22:29:24 +03:00
Christian Holler
77a280300f Bug 1578186 - Add fuzzing support for HTTP2 proxy. r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D44374

--HG--
extra : moz-landing-system : lando
2019-09-05 19:26:12 +00:00
ffxbld
3e8fdbe0ed No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D44828

--HG--
extra : moz-landing-system : lando
2019-09-05 13:17:10 +00:00
Jon Coppeard
3ceda3db10 Bug 1578462 - Mark incoming CCW edges gray when the source is gray r=sfink
This splits marking of incoming CCWs from uncollected zones into two phases dependeing on the mark color of the source object. The targets of black or white wrappers are marked black (white means we don't know what color it should be), and targets of gray wrappers are marked gray. Where gray wrappers are later marked black by gray unmarking, we trigger a read barrier on the targed which will also have the effect of marking it black if it's in a zone we are marking.

I also added a shell function to dump information about cross compartment wrappers that was useful in debugging.

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

--HG--
extra : moz-landing-system : lando
2019-09-05 13:14:08 +00:00
harry
0303f92923 Bug 1578433 - Add a new TIP result type to UrlbarUtils.RESULT_TYPES. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D44714

--HG--
extra : moz-landing-system : lando
2019-09-05 13:09:47 +00:00
Dão Gottwald
fbdd2b23e3 Bug 1579051 - Megabar: Remove the layout breakout placeholder. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D44818

--HG--
extra : moz-landing-system : lando
2019-09-05 13:04:04 +00:00
Dorel Luca
7f93ef38fb Backed out changeset 0b809df52f3f (bug 1578716) for Eslint failure. CLOSED TREE 2019-09-05 15:53:25 +03:00
Nathan Froyd
18e78c6b0d Bug 1578825 - add a strict version check for the NDK version; r=nalexander
One less thing for configurations to vary is a good thing.  This change
also means that when we do NDK bumps that introduce some kind of weird
incompatible change, configuration with a newly-pulled tree and an old
NDK halts at configure, rather than giving weird build errors.

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

--HG--
extra : moz-landing-system : lando
2019-09-04 19:20:39 +00:00
Marco Zehe
32f8c059bc Bug 569313 - Get rid of redundant "Toolbar" in name of "Navigation" and "bookmarks" toolbars, r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D44810

--HG--
extra : moz-landing-system : lando
2019-09-05 12:25:13 +00:00
Sylvestre Ledru
931b1e9554 Bug 1579054 - Improve the --enable-clang-plugin description r=andi
Differential Revision: https://phabricator.services.mozilla.com/D44820

--HG--
extra : moz-landing-system : lando
2019-09-05 12:21:38 +00:00
Peter Van der Beken
212a96aecf Bug 1578716 - Make browser_ext_contextMenus_targetUrlPatterns.js wait for end of load of about:reader before sending mouse event. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D44663

--HG--
extra : moz-landing-system : lando
2019-09-05 12:15:15 +00:00
Andrew Sutherland
dbbe7fbf1f Bug 1511025 - Correct searchfox template traversal. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D44755

--HG--
extra : moz-landing-system : lando
2019-09-05 07:17:57 +00:00
Dorel Luca
3f262058ba Backed out changeset e2927c8227d9 (bug 1578231) for Browser-chrome failures browser/base/content/test/performance/browser_preferences_usage.js 2019-09-05 14:47:53 +03:00
Jan de Mooij
89bb9a8b72 Bug 1575161 part 4 - Delete now empty Assembler-shared.cpp file. r=tcampbell
Depends on D42623

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

--HG--
extra : moz-landing-system : lando
2019-09-04 19:09:42 +00:00
Jan de Mooij
a1b2325120 Bug 1575161 part 3 - Simplify CodeLocationLabel now that it's only used with absolute addresses. r=tcampbell
Depends on D42622

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

--HG--
extra : moz-landing-system : lando
2019-09-04 19:09:59 +00:00
Jan de Mooij
4d479061fd Bug 1575161 part 2 - Remove now unused CodeOffsetJump, RepatchLabel, PatchJump and related code. r=tcampbell
Removes about 850 lines of pretty complicated code.

Depends on D42621

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

--HG--
extra : moz-landing-system : lando
2019-09-04 19:05:29 +00:00
Jan de Mooij
58448b589f Bug 1575161 part 1 - Stop using CodeOffsetJump, RepatchLabel, PatchJump etc in the IonIC code. r=tcampbell
This will let us remove a lot of dead code in the next patch.

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

--HG--
extra : moz-landing-system : lando
2019-09-04 19:05:19 +00:00
Masayuki Nakano
0382baf2fe Bug 1574852 - part 66: Move HTMLEditRules::ExpandSelectionForDelete() to HTMLEditor r=m_kato
And this patch makes the new method do not touch `Selection`, instead, return
new `StaticRange`.  Although the creation cost may make damage to the
performance but let's keep using `StaticRange` for now.  There should be
a stack only class which have 2 `RangeBoundaryBase` or `EditorDOMPointBase`.

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

--HG--
extra : moz-landing-system : lando
2019-09-05 07:25:51 +00:00
Masayuki Nakano
ff5055d6e2 Bug 1574852 - part 65: Move TextEditRules::CheckBidiLevelForDeletion() to EditorBase r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D44204

--HG--
extra : moz-landing-system : lando
2019-09-05 02:21:26 +00:00
Masayuki Nakano
656648d70f Bug 1574852 - part 64: Move HTMLEditRules::MaybeDeleteTopMostEmptyAncestor() to HTMLEditor r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D44203

--HG--
extra : moz-landing-system : lando
2019-09-05 01:30:37 +00:00
Masayuki Nakano
c6648a62df Bug 1574852 - part 63: Move HTMLEditRules::GetGoodSelPointForNode() to HTMLEditor r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D44202

--HG--
extra : moz-landing-system : lando
2019-09-05 01:14:24 +00:00
Masayuki Nakano
d2ce733c6a Bug 1574852 - part 62: Move HTMLEditRules::TryToJoinBlocksWithTransaction() to HTMLEditor r=m_kato
Additionally, `WSRunObject::ScrabBlockBoundary()` and
`WSRunObject::PreparetToJoinBlocks()` are used only the it.  Therefore, we
can clean them up.

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

--HG--
extra : moz-landing-system : lando
2019-09-04 08:43:12 +00:00
Tim Huang
69c693bc22 Bug 1578105 - Fix the styling issue of the info button on Windows. r=nhnt11
The into button lacks the '-moz-appearance: none;' rule to disable the
system styling. Fix this by adding this.

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

--HG--
extra : moz-landing-system : lando
2019-09-05 10:02:17 +00:00
Coroiu Cristina
19d1a50744 Bug 1536312 - disabled browser_884402_customize_from_overflow.js on windows and mac for frequest failures r=egao
Differential Revision: https://phabricator.services.mozilla.com/D44805

--HG--
extra : moz-landing-system : lando
2019-09-05 09:56:36 +00:00
Dorel Luca
f886c9404d Merge mozilla-central to autoland
--HG--
extra : rebase_source : 1887f49c404c173e4a0d54ca5bd3082e9b23582e
2019-09-05 12:46:10 +03:00
Christoph Kerschbaumer
4e4f4a0bf6 Bug 1578231: Hardcode whitelist of about: pages where we can not apply a CSP. r=jkt
Differential Revision: https://phabricator.services.mozilla.com/D44617

--HG--
extra : moz-landing-system : lando
2019-09-05 09:44:13 +00:00
Nicolas Chevobbe
4bf8a96317 Bug 1578676 - Add missing separator left to the show content messages checkbox. r=Honza.
Differential Revision: https://phabricator.services.mozilla.com/D44636

--HG--
extra : moz-landing-system : lando
2019-09-05 09:24:25 +00:00
Nicolas Chevobbe
49076a161e Bug 1578665 - Create a dedicated pref for Browser Console editor state. r=Honza.
We want the Browser Console and WebConsole to have
distinct preferences, so you might have one in
editor mode, and the other one in inline mode if
you want.
This is as simple as adding the preference, and
stripping the devtools.webconsole. prefix in
the constant we use for retrieving the preference
value.

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

--HG--
extra : moz-landing-system : lando
2019-09-05 09:23:47 +00:00
Dorel Luca
97d9dbf374 Backed out changeset 4035fee4dd33 (bug 1538042) for Mochitest failures in toolkit/components/windowcreator/test/test_nsFind.html 2019-09-05 12:21:18 +03:00
Bogdan Tara
2c0a60b5b0 Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2019-09-05 06:51:36 +03:00
Bogdan Tara
37b20c9b16 Backed out 2 changesets (bug 1405971) for test_sanityRegisteredServiceWorker2.html failures a=backout
Backed out changeset 71d1cf219835 (bug 1405971)
Backed out changeset 207b97835f60 (bug 1405971)
2019-09-05 06:45:40 +03:00
Brindusan Cristian
30fb4bb5e7 Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-09-04 19:34:44 +03:00
Mark Banner
98c51594e4 Bug 1578679 - Remove unnecessary section from .eslintrc.js now that the xml files it references have been removed. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D44640

--HG--
extra : moz-landing-system : lando
2019-09-04 16:33:11 +00:00
Liang-Heng Chen
21ac75bbc5 Bug 1578769 - handle the "else" part of attributes; r=MattN
A `popupnotification` could be reused, we should remove/reset optional attributes to avoid unexpected behavior.

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

--HG--
extra : moz-landing-system : lando
2019-09-05 08:42:29 +00:00
Simon Giesecke
51a48d706f Bug 1578647 - Add RemoveElementAt/RemoveElementsAt overloads accepting const_iterator. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D44674

--HG--
extra : moz-landing-system : lando
2019-09-04 16:39:29 +00:00
Simon Giesecke
2ac5a4231e Bug 1578649 - Make ArrayIterator<Element&, ArrayType> convertible to ArrayIterator<const Element&, ArrayType>. r=froydnj
This matches the requirement imposed by the Container concept that its iterator type
should be convertible to its const_iterator type.

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

--HG--
extra : moz-landing-system : lando
2019-09-04 18:48:05 +00:00
Brindusan Cristian
971c2dc9aa Merge inbound to mozilla-central. a=merge 2019-09-04 19:26:46 +03:00
Mike Conley
a5be17297f Bug 1576605 - Don't fire extra MozTogglePictureInPicture when clicking toggle on videos with built-in controls. r=JSON_voorhees
In bug 1568320, we made it so that the PictureInPictureToggleChild attaches handlers to
the toggle, even on videos that have controls by default, so we don't need the
videocontrols UAWidget to call the method for firing the event anymore.

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

--HG--
extra : moz-landing-system : lando
2019-09-04 16:09:25 +00:00
Benjamin
2202fa3333 Bug 1529068 - Implementation of the navigate-to CSP directive as defined in CSP Level 3. r=ckerschb,mccr8
https://www.w3.org/TR/CSP3/#directive-navigate-to

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

--HG--
extra : moz-landing-system : lando
2019-09-04 20:29:37 +00:00
Greg Tatum
2ebfd4a2eb Bug 1575682 - Stop the profiler popup from "blipping" with unrendered content r=julienw
Differential Revision: https://phabricator.services.mozilla.com/D43121

--HG--
extra : moz-landing-system : lando
2019-09-04 20:06:37 +00:00
Greg Tatum
89ca6aada1 Bug 1575682 - Add a mechanism for the popup to signal that its size has changed r=julienw
Differential Revision: https://phabricator.services.mozilla.com/D43116

--HG--
extra : moz-landing-system : lando
2019-09-04 20:06:29 +00:00
Greg Tatum
db7a4dcd82 Bug 1575682 - Rename the recording buttons, and add a cancel button r=julienw
This is broken out into a separate commit since it is a layout change
for the DevTools as well. Note, that this area is still not localized.

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

--HG--
extra : moz-landing-system : lando
2019-09-04 20:06:06 +00:00