Commit Graph

618781 Commits

Author SHA1 Message Date
Jan de Mooij
6ebfbe9346 Bug 1496378 part 5 - Clean up ArrayBufferViewObject::trace. r=jwalden
Depends on D7724

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

--HG--
extra : moz-landing-system : lando
2018-10-15 11:42:35 +00:00
Jan de Mooij
6757fa195a Bug 1496378 part 4 - Move ArrayBufferViewObject and related APIs into vm/ArrayBufferViewObject.{h,cpp}. r=jwalden
Depends on D7723

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

--HG--
rename : js/src/vm/ArrayBufferObject.cpp => js/src/vm/ArrayBufferViewObject.cpp
rename : js/src/vm/ArrayBufferObject.h => js/src/vm/ArrayBufferViewObject.h
extra : moz-landing-system : lando
2018-10-15 11:42:12 +00:00
Jan de Mooij
45ab67c2d4 Bug 1496378 part 3 - Move buffer methods from DataViewObject/TypedArrayObject to ArrayBufferViewObject. r=jwalden
Depends on D7722

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

--HG--
extra : moz-landing-system : lando
2018-10-15 11:41:50 +00:00
Jan de Mooij
b94bcfafb4 Bug 1496378 part 2 - Move data pointer accessors from DataViewObject/TypedArrayObject to ArrayBufferViewObject. r=jwalden
Note that DataViewObject had dataPointer* methods but TypedArrayObject used
viewData* for this. I used dataPointer* for consistency with ArrayBufferObject
(and I like it more).

Depends on D7721

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

--HG--
extra : moz-landing-system : lando
2018-10-15 11:51:46 +00:00
Jan de Mooij
e3bba47ba5 Bug 1496378 part 1 - Make ArrayBufferViewObject a base class of TypedArrayObject and DataViewObject. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D7721

--HG--
extra : moz-landing-system : lando
2018-10-15 11:39:08 +00:00
Dorel Luca
6c423021f3 Backed out changeset 5aff488dd9e9 (bug 1496244) for Browser chrome failures in browser/components/preferences/in-content/tests/browser_search_subdialogs_within_preferences_2.js 2018-10-15 16:10:00 +03:00
florin.strugariu
6f074e6385 Bug 1465168 removeLastAddedListener is never set to a non-null value, should be removed r=jmaher igoldan jmaher
Differential Revision: https://phabricator.services.mozilla.com/D8515

--HG--
extra : moz-landing-system : lando
2018-10-15 07:56:23 +00:00
Emilio Cobos Álvarez
e088200f02 Bug 1497981 - Simplify ImageLoader::LoadImage. r=heycam
Has a single caller, from which we pass the arguments. We can just avoid that.

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

--HG--
extra : moz-landing-system : lando
2018-10-15 12:24:58 +00:00
ffxbld
7266b6209a No Bug, mozilla-central repo-update HSTS HPKP remote-settings - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D8712

--HG--
extra : moz-landing-system : lando
2018-10-15 12:23:43 +00:00
Jason Orendorff
5a431642d9 Bug 1498562 - Apply new curly-braces-required style to code introduced in bug 1385890. r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D8536

--HG--
extra : source : dc5c09d437018c7bbd72dda3b162c1b3b06b03a1
2018-10-15 10:19:03 +00:00
Dorel Luca
0b0600f8d6 Backed out changeset dc5c09d43701 (bug 1498562) for having the wrong commit message 2018-10-15 15:10:24 +03:00
Jason Orendorff
0baf97d692 Bug 1498562 - Apply new curly-braces-required style to code introduced in Bug 1498562. r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D8536

--HG--
extra : moz-landing-system : lando
2018-10-15 10:19:03 +00:00
Michael Kohler
ac301cd115 Bug 1496244 - Change 'Tracking Protection' to 'Content Blocking' in Exceptions Dialog under Content Blocking r=flod,johannh
Differential Revision: https://phabricator.services.mozilla.com/D8430

--HG--
extra : moz-landing-system : lando
2018-10-15 10:56:36 +00:00
Emilio Cobos Álvarez
076f7d04f7 Bug 1498943 - Remove PseudoElement::inherits_all. r=heycam
I plan to change servo to use all: inherit on its UA sheet.

I hope the patch below should make it good enough performance-wise. And also,
it's probably broken so I don't think it's worth supporting it specially.

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

--HG--
extra : moz-landing-system : lando
2018-10-15 03:13:09 +00:00
Emilio Cobos Álvarez
fae0e8e687 Bug 1498943 - Don't copy structs to write the same value to them. r=heycam
This makes us not allocate useless style structs when you're doing something
like resetting an already-reset property, or inheriting an already-inherited
property.

Seemed simple enough that I think we should do it. In practice we don't even
should pay an extra branch because I expect the compiler to be smart enough and
merge it with the one in the mutate() call.

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

--HG--
extra : moz-landing-system : lando
2018-10-15 03:04:44 +00:00
Sebastian Hengst
f0cdf769cb Bug 1498842 - Set layout.css.control-characters.visible to true for wpt control character tests added in bug 1497380 r=jfkthame
Set layout.css.control-characters.visible to true for wpt control character tests added in bug 1497380

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

--HG--
extra : moz-landing-system : lando
2018-10-15 11:34:58 +00:00
Dorel Luca
451e26f0c6 Backed out changeset 8d7987ea4fb1 (bug 1490257) for causing android failures. CLOSED TREE 2018-10-15 14:39:00 +03:00
Andrei Lazar
692ee0ddcb Bug 1406903 Part 2: Added support for opening HTML files. r=JanH
Added support for opening HTML files from internal storage when user is choosing fennec in the dialog picker.

Depends on D7167

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

--HG--
extra : moz-landing-system : lando
2018-10-15 11:05:26 +00:00
Andrei Lazar
10879837fd Bug 1406903 Part 1: Import code for dealing with content:// URIs from aFileChooser. r=JanH,VladBaicu
Added a part from FileUtils class with commit hash: 48d65e6 from https://github.com/iPaulPro/aFileChooser/blob/master/aFileChooser/src/com/ipaulpro/afilechooser/utils/FileUtils.java

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

--HG--
extra : moz-landing-system : lando
2018-10-12 14:12:17 +00:00
vinoth
7b887cfbbc Bug 1498885 - Assertion added in ContentSecurityPolicyPermitsJSAction() to not allow eval with SystemPrincipal r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D8683

--HG--
extra : moz-landing-system : lando
2018-10-15 08:02:04 +00:00
Alexandre Poirot
4b85a3b27f Bug 1485660 - Adapt DebuggerClient._pools to accept Front's and (now) Pool's. r=jdescottes
MozReview-Commit-ID: EWka8fMBcK5

Depends on D7462

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

--HG--
extra : moz-landing-system : lando
2018-10-15 08:36:21 +00:00
Alexandre Poirot
235c66815f Bug 1485660 - Remove gcli leftover. r=jdescottes
MozReview-Commit-ID: FMuFBTseBIx

Depends on D7461

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

--HG--
extra : moz-landing-system : lando
2018-10-15 08:36:19 +00:00
Alexandre Poirot
5303ca93db Bug 1485660 - Convert browser_db_listtabs-03.js to async and make it use TargetFront. r=jdescottes
MozReview-Commit-ID: KLqx50gwSXS

Depends on D7460

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

--HG--
extra : moz-landing-system : lando
2018-10-15 08:36:17 +00:00
Alexandre Poirot
9c63f6e5ba Bug 1485660 - Special test fixes. r=jdescottes
* browser_addons_debug_webextension_popup: It looks like frame-update events are now fired earlier.
I had to move the listener to an earlier step in order to make it work.
* helper_disable_cache + toolbox.js: this test wasn't correctly listening for reconfigure request's end.
  Not clear how this test was passing before without high rate of intermittent...
* test_webextension-addon-debugging-connect.html: We can no longer listen for frame-update *before* the target object is created.
  (because we now need a TabTarget object or the TargetFront and not just the DebuggerClient)
* Fix reload request in shadereditor which may still be pending after test ends.

MozReview-Commit-ID: 49qvWSCn6nq

Depends on D8066

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

--HG--
extra : moz-landing-system : lando
2018-10-15 08:36:15 +00:00
Alexandre Poirot
2bab2fef72 Bug 1485660 - Adapt TabClient API to protocol one. r=jdescottes
MozReview-Commit-ID: 1dC5opkgLcQ

Depends on D7459

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

--HG--
extra : moz-landing-system : lando
2018-10-15 08:36:12 +00:00
Alexandre Poirot
bbd1bcdcbe Bug 1485660 - Switch from listening from DebuggerClient to TargetFront. r=jdescottes
* debugger-controller and events.js are special and require to support two cases because this is
the only production codepath that can have a TabTarget or a WorkerTarget.
Thus, leading to either TargetFront or WorkerClient on target.activeTab.
* webide.js doesn't need to listen for tabNavigated, this is redundant with tabListChanged.
* application's initializer. In case you are wondering this code can't be spawn against a WorkerTarget.
The application panel doesn't work in worker toolboxes.
* The code modified in target is in TabTarget, so we don't have to support the WorkerClient case, we always have a TargetFront here.
* I tried to update the doc file the best I can but this all feel outdated.

MozReview-Commit-ID: 2hGchebfIub

Depends on D7458

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

--HG--
extra : moz-landing-system : lando
2018-10-15 08:36:10 +00:00
Alexandre Poirot
e7998a50ec Bug 1485660 - Convert TabClient to a front. r=jdescottes
TabClient appears to be a client for any actor that inherits from browsing context target actor.
So let it be a front for that.

MozReview-Commit-ID: KmpClxJ53N7

Depends on D7457

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

--HG--
extra : moz-landing-system : lando
2018-10-15 08:36:07 +00:00
Alexandre Poirot
9c441aadb9 Bug 1485660 - Avoid exceptions when the connection is closed in middle of the actor's id retrieval. r=jdescottes
MozReview-Commit-ID: KvwkISz7OVe

Depends on D7456

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

--HG--
extra : moz-landing-system : lando
2018-10-15 08:36:05 +00:00
Alexandre Poirot
1fd7cbd0a7 Bug 1485660 - Allows calling DebuggerClient.close twice in a row. r=jdescottes
MozReview-Commit-ID: uACM0VtJ5E

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

--HG--
extra : moz-landing-system : lando
2018-10-15 08:36:03 +00:00
Jonathan Kingston
8bcd10a7ab Bug 1490257 - Add asserts and remove implied system triggering principal code r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D8368

--HG--
extra : moz-landing-system : lando
2018-10-15 06:29:45 +00:00
ffxbld
8d49332b4b No Bug, taskcluster/docker/funsize-update-generator pipfile-update. r=sfraser
Differential Revision: https://phabricator.services.mozilla.com/D8703

--HG--
extra : moz-landing-system : lando
2018-10-15 10:38:17 +00:00
Dorel Luca
451b0f42f9 Backed out 2 changesets (bug 1494543) for causing Devtools failures in browser/base/content/test/static/browser_parsable_css.js. CLOSED TREE
Backed out changeset 744747bb295c (bug 1494543)
Backed out changeset 5a54f333b855 (bug 1494543)
2018-10-15 12:14:17 +03:00
Sebastian Hengst
d4e888a7c9 Bug 1498862 - Increase access limit for chrome.override_package.global to 70 to prevent failures for 64 beta r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D8696

--HG--
extra : moz-landing-system : lando
2018-10-15 08:22:16 +00:00
Florens Verschelde
b355fe0cc4 Bug 1495693 - Declare devtools-textinput colors explicitly; r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D8677

--HG--
extra : moz-landing-system : lando
2018-10-15 08:12:12 +00:00
Belén Albeza
96c978440f Bug 1494543 - Part 2: Add model + short runtime name to the sidebar item. r=jdescottes,daisuke
Added new getters to the ADB scanner so our runtime objects have now the information we need.

Note that the UX of the devices in this patch doesn't still match what we had in the mockups (icons don't match, and we also need a circle with a tick), but since we have another bug to handle the CSS in the Sidebar, we can always adapt it there. The information needed to display what is shown in the mockups should be passed in this patch –if I miss anything, give me a shout!

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

--HG--
extra : moz-landing-system : lando
2018-10-11 12:01:59 +00:00
Florens Verschelde
deef5c4f62 Bug 1456307 - Use more accurate flexbox icon in inspector; r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D8662

--HG--
extra : moz-landing-system : lando
2018-10-15 07:52:52 +00:00
Belén Albeza
b77f33a3d8 Bug 1494543 - Part 1: Refactor sidebar items into different components. r=jdescottes,daisuke
This is a refactor of the components used in the sidebar. TL;DR: sidebar items now use the composition approach outlined here https://reactjs.org/docs/composition-vs-inheritance.html

Before we had a container `Sidebar` component, which in turn had `SidebarItem` components inside. The issue was that depending on what item is inside, the information and UX displayed is different. Before this patch, we had an optional commponent, `DeviceSidebarItemAction` –which was featuring a "Connect" button, and was only rendered in the runtime sidebar items. However, we now need to display even more info, so continue to pass optional components to `SidebarItem` was tricky.

What this patch does is to preserve `SidebarItem` and treat is a generic container of more specific content. This is passed via the `children` prop, which React automatically maps to the DOM content that we pass to that component (this is the same concept as slots in Web Components / Vue). `SidebarItem` now only contains the logic to select items in the sidebar and render them in `<li>` elements. Two new components, `SidebarFixedItem` (for our "static" pages) and `SidebarDeviceItem` are now the ones instancing `SidebarItem` with their specific contents.

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

--HG--
extra : moz-landing-system : lando
2018-10-11 11:59:26 +00:00
Florens Verschelde
ccb44df343 Bug 1471163 - Remove devtools floating scrollbars and set scrollbar-color on Linux; r=jdescottes
Remove the floating scrollbar implementation used on Linux now that CSS scrollbar-color
landed for Linux. Also force scrollbar-color for the DevTools light theme on Linux, to
avoid visual conflicts with dark GTK themes.

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

--HG--
extra : moz-landing-system : lando
2018-10-14 17:14:10 +00:00
Andreas Farre
c9272ef398 Bug 1437064 - Remove tracking timeouts list from TimeoutManager. r=chutten,Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D7878

--HG--
extra : moz-landing-system : lando
2018-10-12 18:01:19 +00:00
Csoregi Natalia
50a1f611cf Merge mozilla-central to autoland. CLOSED TREE 2018-10-15 07:55:05 +03:00
Csoregi Natalia
adeba320b0 Merge inbound to mozilla-central. a=merge 2018-10-15 07:53:34 +03:00
Gabriel Luong
d3d023f557 Bug 1497905 - Avoid destroying the markup iframe on navigation. r=pbro 2018-10-14 22:26:05 -04:00
Jean-Yves Avenard
8ef35e13b5 Bug 1498788 - Adjust width and height so they are never bigger than source or destination. r=mattwoodrow
Why we would need this is unclear however. the destination texture should always be smaller than what comes out of the decoder.

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

--HG--
extra : moz-landing-system : lando
2018-10-14 19:01:01 +00:00
Gurzau Raul
91701fdad3 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-10-15 01:20:42 +03:00
Gurzau Raul
21b5725e3c Merge inbound to mozilla-central. a=merge 2018-10-15 01:18:18 +03:00
Gurzau Raul
f64fd67d89 Merge autoland to mozilla-central. a=merge 2018-10-15 01:17:04 +03:00
Gurzau Raul
fd63f0c02c Backed out 2 changesets (bug 1498379, bug 1498381) for permafailing at /test/tabs/browser_multiselect_tabs_drag_to_bookmarks_toolbar.js a=backout
Backed out changeset 0178681fab81 (bug 1498379)
Backed out changeset 962c7631d98c (bug 1498381)
2018-10-15 01:14:40 +03:00
Emilio Cobos Álvarez
5a86920f63 Bug 1498632 - Remove some other useless declarations in datetimebox.css. r=Gijs
* Remove unused xul namespace declaration.
 * color and font are inherited, so no need to declare anything.
 * Setting -moz-appearance: none on a div element is useless.

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

--HG--
extra : moz-landing-system : lando
2018-10-14 19:54:28 +00:00
Emilio Cobos Álvarez
d03714e54f Bug 1498632 - Remove cursor overrides from datetimebox.css r=Gijs
Instead set the cursor from the UA sheet, and allow authors to override it. This
matches what other UAs do.

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

--HG--
extra : moz-landing-system : lando
2018-10-14 19:55:22 +00:00
Miko Mynttinen
7363138acc Bug 1482403 - Always create nsDisplayOpacity for filters and masks when there is visual opacity r=jwatt
Differential Revision: https://phabricator.services.mozilla.com/D7183

--HG--
extra : moz-landing-system : lando
2018-10-14 19:27:15 +00:00