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

622659 Коммитов

Автор SHA1 Сообщение Дата
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
Johann Hofmann 62c2a09d21 Bug 1503572 - Enable SSL_CERT_VERIFICATION_ERRORS histogram on release. r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D10875

--HG--
extra : moz-landing-system : lando
2018-11-06 22:07:36 +00:00
Jan de Mooij 46614e1f1e Bug 1503496 - Use enums + flag words for JSScript flags instead of bitfields. r=tcampbell
This makes it easier to read these flags from JIT code. The patch also splits
them in MutableFlags and ImmutableFlags, this should let us simplify XDR and
CopyScript in the future.

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

--HG--
extra : moz-landing-system : lando
2018-11-07 07:40:39 +00:00
Jan de Mooij 9bdd20cd39 Bug 1504719 - Ignore uninitialized lexicals in globalLexicals() testing function. r=jorendorff
Also uses JS_DefinePropertyById instead of JS_SetPropertyById because it's more natural.

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

--HG--
extra : moz-landing-system : lando
2018-11-06 19:51:00 +00:00
Patrick Brosset a8a08c2718 Bug 1503180 - Part 3 - Move the clamping reasons to the min and max sections; r=mtigley
Depends on D11047

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

--HG--
extra : moz-landing-system : lando
2018-11-06 20:01:05 +00:00
Patrick Brosset cf130544de Bug 1503180 - Part 2 - Simplify the base size section when it's the content size; r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D11047

--HG--
extra : moz-landing-system : lando
2018-11-06 19:50:26 +00:00
Masayuki Nakano 2d19d947df Bug 1502795 - Set keyCode or charCode of keypress event whose value is zero to the other's non-zero value by default again unless dispatched on known broken web apps r=smaug
This patch re-enables the new behavior of bug 1479964, to set keyCode or
charCode of keypress event whose value is zero to the other's non-zero value.

However, some web apps are still broken with the new behavior.  Therefore,
this patch adds a blacklist to keep using our legacy behavior in some specific
web apps.

Note that Google Docs, Gmail and Remember The Milk are reported as broken.
However, I don't see any broken shortcut with Gmail.  Therefore, this patch
adds only Google Docs and Remeber The Milk into the blacklist.

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

--HG--
extra : moz-landing-system : lando
2018-11-07 06:39:10 +00:00
Daisuke Akatsuka 7f86f123f9 Bug 1497448: Use try/catch for _handle function in ServerSocketConnection. r=ochameau,jdescottes
At first, I wanted it is better to call DebuggerServer.destroy() when
`devtools.debugger.remote-enabled` will set to false. Likewise, call
DebuggerServer.init() in case of true. But, because DebuggerServer.init() is
called by various context such as RemoteDebugger, restoring is difficult after
destroying. In this patch, simply, we make avoiding to call
DebuggerServer.closeAllListener() from inside of ServerSocketConnection.

Depends on D10864

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

--HG--
extra : moz-landing-system : lando
2018-11-07 02:17:45 +00:00
Daisuke Akatsuka 711e30b3ec Bug 1497448: Close connections that were accepted in ServerSocketListener. r=ochameau,jdescottes
Yet another approach. In the previous D9889 approach, both DebuggerSerever and
SocketServerListener retain the connections duplicately, it will be possible to
be difficult for the management. In this approach, only DebuggerSerever retains
the connections, then when ServerSocketListener was removed, removes the
connections as well that were linked the ServerSocketListener.

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

--HG--
extra : moz-landing-system : lando
2018-11-07 02:18:02 +00:00
Ryan Hunt 0a96f8f366 Bug 1503655 part 8 - Make RenderFrameParent a direct member of TabParent. r=kats
This gets rid of an unnecessary allocation.

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

--HG--
extra : rebase_source : 138c808d78e666e55242bf142269d77fb065d7a6
extra : histedit_source : de8f5f4566cb886e155bce1a22e36f40af7b26f7
2018-11-05 15:20:55 -06:00
Ryan Hunt 49ea77b59f Bug 1503655 part 7 - Remove aHasRenderFrame from PBrowser::InitRendering. r=kats
All remaining code paths hardcode true here, we can remove this argument.

It wasn't clear to me how this could ever be null before this series. The
only case I could find is that DoFakeShow might be called with a null
RenderFrameChild, but that code is gone now.

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

--HG--
extra : rebase_source : 872d78ae1b46b0651bc4e109786f4d0d332859c2
extra : histedit_source : 40719e865f2243f90618deba5261124a260ba974
2018-11-05 15:03:15 -06:00
Ryan Hunt 542d6b72a0 Bug 1503655 part 6 - Move all RenderFrameParent destruction logic to TabParent::ActorDestroy. r=kats
This commit removes all destruction code for RenderFrameParent to be handled by
TabParent. It's important that we remove the layer mapping in ActorDestroy to
prevent a race condition where the TabChild isn't fully destroyed yet and
sends a LayerTransaction constructor to the compositor and hits an
assertion.

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

--HG--
extra : rebase_source : 61df2cfa3867617c39805883c06649624fffa518
extra : histedit_source : a810303ec335b4ab064dbd56b4652ea4c66deaad
2018-11-05 14:52:47 -06:00
Ryan Hunt 2355935cef Bug 1503655 part 5 - Remove TabChild::SetRenderFrame and just use TabChild::InitRenderFrame. r=kats
SetRenderFrame() can be implemented in terms of InitRenderFrame(). I'm not sure if
the call to MaybeShow() is necessary, but to be conservative I've moved it into
the window.open path which might need it. BrowserElementParent shouldn't need it
because nsFrameLoader::SetRemoteFrame will call Show().

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

--HG--
extra : rebase_source : 7d5defc113d107bf77296f1a0a4f7e7dad910db6
extra : histedit_source : 397121af3a86ed3820f055292a8622d3e0bea2b5
2018-11-05 13:56:29 -06:00
Ryan Hunt ae3abbdb87 Bug 1503655 part 4 - Don't call TabChild::InitRenderingState from DoFakeShow. r=kats
We should just have the parent handle initialization here. This lets us
cut down on the information we have to pipe around and simplifies our
amount of code paths.

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

--HG--
extra : rebase_source : d6c52cb81c7deceb34ad6813d2a55f779d3a1a7d
extra : histedit_source : 4e5a24206e4b8142f2ee788a18c2e186969acfd7
2018-11-05 13:21:35 -06:00