Commit Graph

622371 Commits

Author SHA1 Message Date
Toby Ward
3b7ee7c100 Bug 1496082: Enable ESLint for docshell/test/navigation and docshell/test/unit (manual fixes) r=bzbarsky
Implemented the manual linting fixes for docshell/test/navigation, docshell/test/unit and docshell/test/unit_ipc
Depends on D9430

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

--HG--
extra : moz-landing-system : lando
2018-11-07 13:49:05 +00:00
Toby Ward
75e6200c17 Bug 1496082: Enable ESLint for docshell/test/navigation and docshell/test/unit (automatic fixes only). r=bzbarsky
Enabled ESLint for:

* docshell/test/navigation/**
* docshell/test/unit/**
* docshell/test/unit_ipc/**

Changed .eslintignore to allow for this and ran ./mach eslint --fix on the above directories and checked automatic fixes

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

--HG--
extra : moz-landing-system : lando
2018-11-07 13:55:47 +00:00
Michael Kaply
2badc48ca0 Bug 1505188 - Switch to Azerbaijan Yandex. r=flod
Differential Revision: https://phabricator.services.mozilla.com/D11126

--HG--
extra : moz-landing-system : lando
2018-11-07 05:57:05 +00:00
Andreas Tolfsen
79ae7408d8 bug 1505142: webdriver: replace iterator with literal list; r=whimboo
The iterator returned by reversed() can apparently return None in
some configurations.  WPT treats this as an in-test skip and errors
the test.  To avoid this configuration-specific problem we use a
literal list.

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

--HG--
extra : moz-landing-system : lando
2018-11-07 12:49:33 +00:00
Edgar Chen
755d5269e6 Bug 1322678 - Don't overwrite the custom-set title of ImageDocument; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D11043

--HG--
extra : moz-landing-system : lando
2018-11-07 12:58:18 +00:00
Jan-Erik Rediger
221f41f565 Bug 1498164 - Generate stores for histograms r=chutten
This generates several new things:

* store_count and store_offset in the HistogramInfo struct.
  store_count indicates the number of stores the histogram is registered in.
  store_offset is an offset into the gHistogramStoresTable array.
  If store_count == 1 && store_offset == UINT16_MAX, then the histogram is only in the main store.
* gHistogramStoresTable: An array containing the actual offsets into gHistogramStringTable to get a store's name

Depends on D10921

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

--HG--
extra : moz-landing-system : lando
2018-11-07 12:35:30 +00:00
Jan-Erik Rediger
a19f2ffdc9 Bug 1498164 - Generate stores for scalars r=chutten
This generates new things:

* store_count and store_offset in the ScalarInfo struct.
  store_count indicates the number of stores the scalar is registered in.
  store_offset is an offset into the gScalarStoresTable array.
  If store_count == 1 && store_offset == UINT16_MAX, then the scalar is only in the main store.
* gScalarStoresMap: An array containing the offsets into gScalarsStringTable to get a store's name

Depends on D10920

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

--HG--
extra : moz-landing-system : lando
2018-11-07 12:35:28 +00:00
Jan-Erik Rediger
dee6564dbb Bug 1498164 - Add support to parse record_into_store for scalars and histograms r=chutten
Depends on D10919

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

--HG--
extra : moz-landing-system : lando
2018-11-07 12:34:34 +00:00
Jan-Erik Rediger
5cfd4dcfbb Bug 1498164 - Use correct attribute to set release collection on dynamic scalar r=chutten
Depends on D10918

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

--HG--
extra : moz-landing-system : lando
2018-11-07 12:34:33 +00:00
Jan-Erik Rediger
2c0ff23692 Bug 1498164 - Fix scalar definition in parser test r=chutten
Previously the test succeeded, but not for the right reasons.

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

--HG--
extra : moz-landing-system : lando
2018-11-07 12:34:31 +00:00
Bobby Holley
cb08a18e30 Bug 1505241 - Update reftest annotations. r=kats
Depends on D11164

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

--HG--
extra : moz-landing-system : lando
2018-11-07 12:35:09 +00:00
WR Updater Bot
7a9c51ae7c Bug 1505241 - Update webrender to commit ab887f2ed4d5d378bb7536b1d721bff45c0ad0e6 (WR PR #3282). r=kats
Differential Revision: https://phabricator.services.mozilla.com/D11164

--HG--
extra : moz-landing-system : lando
2018-11-07 12:34:43 +00:00
Emilio Cobos Álvarez
4cf97e23c7 Bug 1504033 - Ensure we don't start walking past our subtree. r=mattwoodrow
In this case aAncestor is an SVGOuterSVGFrame, and aItem is a transform item for
its AnonChildFrame.

I'm not sure if it's quite expected to have such a frame generating a
transform...

Let me know if not and I can try to dig more, but this looks intentional given
the comment in nsSVGOuterSVGAnonChildFrame.

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

--HG--
extra : moz-landing-system : lando
2018-11-07 01:37:19 +00:00
Dão Gottwald
395e7c8311 Bug 1505334 - Fix --toolbarbutton-icon-fill-opacity override for the tabs toolbar using the Dark / Light themes on Aero Glass. r=ntim
Differential Revision: https://phabricator.services.mozilla.com/D11160

--HG--
extra : moz-landing-system : lando
2018-11-07 11:54:55 +00:00
Ciure Andrei
c5b96773e4 Backed out 4 changesets (bug 1491676) for browser-chrome permissions failures CLOSED TREE
Backed out changeset e860d0d115d0 (bug 1491676)
Backed out changeset 04b83b7977c4 (bug 1491676)
Backed out changeset eb19b384d908 (bug 1491676)
Backed out changeset 76ea995336dc (bug 1491676)
2018-11-07 13:44:26 +02:00
Ciure Andrei
344bd7042e Backed out changeset 6a72d0e28508 (bug 1472237) for raising failure frequency for dom/base/test/test_bug590812.html CLOSED TREE 2018-11-07 13:43:01 +02:00
Razvan Caliman
131fb3aaf1 Bug 1503896 - (Part 6) Add test for tracking changes to rule selectors; r=pbro
Depends on D11116

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

--HG--
extra : moz-landing-system : lando
2018-11-07 10:33:32 +00:00
Razvan Caliman
fc90c63836 Bug 1503896 - (Part 5) Add change type to change metadata and mark whole rules as added/removed; r=pbro
Depends on D10586

Adds a new `type` param to the `change` object passed from server to the client to describe the change type. For changes to rules, the client marks the whole rule as either added or removed and styles it accordingly in the Changes panel.

Change types for declarations are not used at this time, but are put in for consistency and future-proofing.

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

--HG--
extra : moz-landing-system : lando
2018-11-07 10:00:31 +00:00
Razvan Caliman
40321f65d7 Bug 1503896 - (Part 4) Track changes to CSS selectors; r=pbro
Depends on D10585
Renames the logChange() to logDeclarationChange() to distinguish it from the newly introduced logSelectorChange() method which tracks selector rename by logging two changes: a whole rule remove using the old selector and a whole rule insertion add using the new selector.

MozReview-Commit-ID: 9VoVMHYXumE

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

--HG--
extra : moz-landing-system : lando
2018-11-06 21:49:40 +00:00
Razvan Caliman
e0e5a38637 Bug 1503896 - (Part 3) Extract CSS rule metadata to be reused with other logging methods; r=pbro
Depends on D10584
Other methods for tracking changes need to make use of the CSS rule
metadata (selector, rule index, ancestors, etc). This extracts that
logic into an accessor on the StyleRuleActor to facilitate reuse.

The CSS rule metadata will be augmented with information about a CSS
change (declarations added or removed) before being tracked.

MozReview-Commit-ID: xXec1XgUhk

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

--HG--
extra : moz-landing-system : lando
2018-11-05 09:23:43 +00:00
Razvan Caliman
625bcbde9a Bug 1503896 - (Part 2) Support tracking multiple CSS declarations in one change; r=pbro
Depends on D10582
Improves the reducer for tracking CSS changes to handle more than one
CSS declaration changed in one operation. This is a requirement for
tracking whole rule removal or whole rule addition, like it happens
when renaming a CSS selector in the Rules view.

MozReview-Commit-ID: 25pf2GRiH4D

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

--HG--
extra : moz-landing-system : lando
2018-11-05 14:50:04 +00:00
Razvan Caliman
bed8c7e449 Bug 1503896 - (Part 1) Add keys to React components in Changes panel; r=pbro;
This isn't strictly necessary for this patch series, but it adds an
optimization to improve performance for React rendering and solves
warnings thrown while using React in dev mode.

MozReview-Commit-ID: ujqOa9qUsd

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

--HG--
extra : moz-landing-system : lando
2018-11-05 14:39:42 +00:00
Dão Gottwald
b8213d2e03 Bug 1505324 - Remove redundant compacttheme.css rules on Linux. r=ntim
Differential Revision: https://phabricator.services.mozilla.com/D11158

--HG--
extra : moz-landing-system : lando
2018-11-07 11:18:05 +00:00
Dão Gottwald
1c989d77f7 Bug 1505311 - Stop overriding --toolbarbutton-icon-fill-opacity for Dark and Light themes. r=ntim
Differential Revision: https://phabricator.services.mozilla.com/D11151

--HG--
extra : moz-landing-system : lando
2018-11-07 10:45:17 +00:00
Jack Smith
f5a2150894 Bug 1491676 - Moves permissions strings r=flod,Gijs,zbraniecki
Differential Revision: https://phabricator.services.mozilla.com/D9917

--HG--
extra : moz-landing-system : lando
2018-11-07 10:21:50 +00:00
Jack Smith
0184a8795c Bug 1491676 - Moves download folder strings r=flod,Gijs,zbraniecki
Depends on D8554

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

--HG--
extra : moz-landing-system : lando
2018-11-05 16:59:02 +00:00
Jack Smith
6d3b254582 Bug 1491676 - Moves out of space warning strings r=flod,Gijs,zbraniecki
Depends on D8553

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

--HG--
extra : moz-landing-system : lando
2018-11-05 16:57:51 +00:00
Jack Smith
14b6748808 Bug 1491676 - Moves master password dialog strings r=flod,Gijs,zbraniecki
Depends on D8552

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

--HG--
extra : moz-landing-system : lando
2018-11-05 16:57:09 +00:00
Jim Lennon
0f872927ec Bug 1491679 - Convert portions of about:addons to Fluent. r=Gijs,flod,zbraniecki
Differential Revision: https://phabricator.services.mozilla.com/D7638

--HG--
extra : moz-landing-system : lando
2018-11-07 10:20:31 +00:00
Michael Ratcliffe
af575ff9cd Bug 1501226 - Support for CSS transforms in the Flexbox highlighter r=gl
In many places we were using bounds to calculate an objects dimensions but that obviously doesn't work when an object is rotated e.g.

{F588303}

Also, we were using `getBoxQuads()`, which gives the co-ordinates of the translated object. We were then applying the transform matrix to the canvas even though the coordinates came from the object **after** it was already transformed.

Anyhow, now we get the dimensions of objects as if they are not transformed and then apply the transformation matrix, which gives a great result every time.

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

--HG--
extra : moz-landing-system : lando
2018-11-07 10:12:56 +00:00
Mike Conley
1b50b597e6 Bug 1498400 - Rename titlebar-placeholder to titlebar-spacer. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D11133

--HG--
extra : moz-landing-system : lando
2018-11-07 09:54:26 +00:00
Martin Stransky
498c306d13 Bug 1501161 - Set transparent titlebar background for normal sizemode only, r=dao
Differential Revision: https://phabricator.services.mozilla.com/D11103

--HG--
extra : moz-landing-system : lando
2018-11-06 20:47:47 +00:00
Csoregi Natalia
0f3ea39692 Merge mozilla-central to autoland. CLOSED TREE 2018-11-07 11:56:06 +02:00
Csoregi Natalia
6e0e603f48 Merge inbound to mozilla-central. a=merge 2018-11-07 11:52:57 +02:00
Masayuki Nakano
834ab00aaa Bug 1503231 - Make TextEditor::DeleteSelectionAsAction() removes removing range information from EditAction when Selection is NOT collapsed r=m_kato
When Selection is NOT collapsed, we remove selected content.  Therefore,
web apps don't need to know range information of user operation.  However, web
apps may want to know direction of the operation (backward or forward).  E.g.,
web apps may just mark selected range as "deleted" and move caret before or
after the range.

Therefore, when computed EditAction is eDeleteWordBackward or
eDeleteToBeginningOfSoftLine, we should use eDeleteBackward instead.  When it
is eDeleteWordForward or eDeleteToEndOfSoftLine, we should use eDeleteForward
instead.

Note that only on Windows, we follow behavior of richtext control (and Word).
That is, Ctrl + Backspace/Delete collapse from start of selected range to
start/end of current word.  I.e., collapsing Selection to start first and
removing to start or end of current word is Windows's standard behavior.
Currently, we do this in DeleteSelectionAsSubAction() but every caller
specifies eNone to aDirection except DeleteSelectionAsAction().  So, we can
move this before re-computing EditAction in DeleteSelectionAsAction().

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

--HG--
extra : moz-landing-system : lando
2018-11-07 08:38:15 +00:00
Tooru Fujisawa
cbfb4c370e Bug 1504597 - Use NodeName::to_rc_string. r=Yoric 2018-11-07 15:14:29 +09:00
Tooru Fujisawa
1fd8fb9353 Bug 1498101 - Part 3: Do not generate methods that is used by not-yet-implemented list. r=Yoric 2018-11-07 15:14:29 +09:00
Tooru Fujisawa
ac30e40152 Bug 1498101 - Part 2: Do not generate methods that is used by not-yet-implemented interface. r=Yoric 2018-11-07 15:14:29 +09:00
Tooru Fujisawa
d604ecb446 Bug 1498101 - Part 1: Do not generate code for disabled arm of sum node. r=Yoric 2018-11-07 15:14:29 +09:00
Ryan Hunt
5b463a82c1 Bug 1503655 part 11 - Rename RenderFrameParent to RenderFrame. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D11114

--HG--
rename : layout/ipc/RenderFrameParent.cpp => layout/ipc/RenderFrame.cpp
rename : layout/ipc/RenderFrameParent.h => layout/ipc/RenderFrame.h
extra : rebase_source : d47ebaef909d8705a7d5d9d2eab8ca2053f58054
extra : histedit_source : dc40313790b59161b3df86c09efb7092bcedb5d8
2018-11-06 15:35:37 -06:00
Ryan Hunt
d46a2d5c71 Bug 1503655 part 10 - Remove unneeded includes for RenderFrameParent. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D11112

--HG--
extra : rebase_source : 769261eb74f6b01a48f3a20ccb62c5f2f1c33f32
extra : histedit_source : 027cf9d45b82a32d0b73cb468bf9931003a62a02
2018-11-06 15:34:59 -06:00
Ryan Hunt
f6f58040a5 Bug 1503655 part 9 - Rename TabParent::InitRenderFrame() to TabParent::InitRendering(). r=kats
Differential Revision: https://phabricator.services.mozilla.com/D11111

--HG--
extra : rebase_source : 599ab7f956b3216a5b6c23c8d0388b60c0e29488
extra : histedit_source : 5a7371ca13b43a011c7fbeccaf883243ed520769
2018-11-06 15:15:07 -06:00
byron jones
9bed7ee50d Bug 1504932 - Replace libcubeb's README_Mozilla file with moz.yaml r=kinetik
Differential Revision: https://phabricator.services.mozilla.com/D10995

--HG--
extra : moz-landing-system : lando
2018-11-06 17:11:40 +00:00
Dorel Luca
0a1112ab71 Backed out 3 changesets (bug 1499903) for frequently asserting at dom/media/MediaDecoderStateMachine.cpp
Backed out changeset 634b4c2dad35 (bug 1499903)
Backed out changeset 1a77eb131a2b (bug 1499903)
Backed out changeset ed4236eceb1a (bug 1499903)
2018-11-07 05:40:07 +02:00
WR Updater Bot
7577fdbedb Bug 1504991 - Update webrender to commit 46ee0ffd00da268faf04e3263ad41733f58a6573 (WR PR #3279). r=kats
Differential Revision: https://phabricator.services.mozilla.com/D11142

--HG--
extra : moz-landing-system : lando
2018-11-07 03:21:23 +00:00
Hiroyuki Ikezoe
50f9ee4492 Bug 1504884 - Wrap AnimationInfo::mAnimationGeneration into Maybe<> and returns Nothing() if there is no animation. r=birtles
So that we don't generate anymore unnecessary change hints in
RestyleManager::AddLayerChangesForAnimation for the layer has no corresponding
animations.

Depends on D11105

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

--HG--
extra : moz-landing-system : lando
2018-11-07 03:13:04 +00:00
Hiroyuki Ikezoe
051215da7b Bug 1504884 - Drop AnimationInfo::mLayerManager. r=birtles
It's not used at all.

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

--HG--
extra : moz-landing-system : lando
2018-11-07 03:09:05 +00:00
Gabriele Svelto
60546f7ebb Bug 1502424 - Accommodate for larger ELF identifiers to prevent dynamic allocations r=ted
Differential Revision: https://phabricator.services.mozilla.com/D11027

--HG--
extra : moz-landing-system : lando
2018-11-06 14:14:02 +00:00
Marcos Cáceres
93c6c3d0a7 Bug 1472237 - Intermittent dom/base/test/test_bug590812.html | noxul domain same as ref. r=bgrins
Waits for each iframe to load before actually doing comparisons.

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

--HG--
extra : moz-landing-system : lando
2018-11-07 08:56:40 +00:00
Arnaud Bienner
00db4391dc Bug 1504982 - Add AutomationRate webidl definition. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D11023

--HG--
extra : moz-landing-system : lando
2018-11-07 08:04:41 +00:00