Commit Graph
2410 Commits
Author SHA1 Message Date
Staś Małolepszy 1d2c6b44d6 Bug 1568914 - Update Fluent to @fluent/bundle 0.14.0 r=zbraniecki,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D39400
2019-07-30 13:21:59 +00:00
Ciure Andrei 9595ae9a6f Backed out 2 changesets (bug 1566450) for causing browser_aboutdebugging_process_main_local.js to perma fail CLOSED TREE
Backed out changeset b0eee59fb22c (bug 1566450)
Backed out changeset ea5411c307fb (bug 1566450)
2019-07-30 13:25:30 +03:00
yulia 89846bb83d Bug 1566450 - replace getList process json with processDescriptor; r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D37712
2019-07-29 13:20:27 +00:00
Daisuke Akatsuka 47f24a4d4d Bug 1534674: Add test for CSS variable changing. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D37964
2019-07-30 08:00:45 +00:00
Julian Descottes 3467fcc9e2 Bug 1569495 - Stop using innerHTML in HTML Tooltip r=miker
Depends on D39644

Differential Revision: https://phabricator.services.mozilla.com/D39645
2019-07-29 11:56:59 +00:00
Julian Descottes 4a1d954727 Bug 1569495 - Stop using inline styles and inner HTML for image tooltip r=miker
Differential Revision: https://phabricator.services.mozilla.com/D39644
2019-07-29 11:46:53 +00:00
Kris Maglione 545eb3d999 Bug 1568035: Part 4 - Update test expections for Fission. r=mccr8
Some failures crept in and out after my last sets of annotations landed. This
patch updates most of the annotations to deal with them.

MANUAL PUSH: Lando won't let me land.

Differential Revision: https://phabricator.services.mozilla.com/D39462
2019-07-24 13:06:57 -07:00
Nicolas Chevobbe 7076d3a083 Bug 1559717 - Fix displaying getter value for getter returning falsy values. r=davidwalsh.
We were displaying result.value.throw if result.value.return
was falsy. But it can happen that a getter does return a
falsy value, and we want to display it.
So now we turn the expression the other way around, we first
check result.value.throw, and then default to result.value.return.
A mochitest is added to ensure we hav expected value for different
getters returning falsy values.

Differential Revision: https://phabricator.services.mozilla.com/D39136
2019-07-25 13:55:14 +00:00
Julian Descottes caef100907 Bug 1550476 - Replace jsol library by json5 to avoid eval-like usage r=miker
Depends on D38620

json5 is a much bigger library than JSOL but it doesn't rely on any eval-like code.
It should provide similar features, and testing locally it seems to work as expected.

Differential Revision: https://phabricator.services.mozilla.com/D38515
2019-07-24 09:35:49 +00:00
Julian Descottes 743c58e7b2 Bug 1550471 - Migrate to JSZip v3.2.1 to avoid usage of eval-like code r=Honza
Depends on D38619

The new version of JSZip doesn't rely on any eval like code.

Differential Revision: https://phabricator.services.mozilla.com/D38517
2019-07-19 06:45:21 +00:00
Julian Descottes 9992794f40 Bug 1550463 - Remove new Function usage in lodash r=jlast
Depends on D38618

The template() helper seems not used in devtools so I removed it here.
If we could generate a bundle of lodash without this method from the start that would be great.

Differential Revision: https://phabricator.services.mozilla.com/D38516
2019-07-24 15:36:02 +00:00
Julian Descottes 6dca8fae06 Bug 1550489 - Remove usage of new Function in react-redux.js r=nchevobbe
Depends on D38617

We should no longer use eval-like code in privileged modules

Differential Revision: https://phabricator.services.mozilla.com/D38513
2019-07-19 07:48:52 +00:00
Julian Descottes ab6947d1f8 Bug 1550485 - Remove usage of new Function in redux.js r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D38514
2019-07-19 08:34:19 +00:00
Julian Descottes b5d7bc9539 Bug 1568250 - Fix HTML tooltip auto height calculation r=miker,Maliha
The current auto height and auto width tests were not asserting the proper element.

Differential Revision: https://phabricator.services.mozilla.com/D39102
2019-07-24 11:49:32 +00:00
Nicolas Chevobbe 1dacfa3c68 Bug 1568193 - Remove devtools/client/shared/webpack/shims/jsterm-stub.js. r=ochameau.
The file isn't used anywhere, so we can probably
remove it safely.

Differential Revision: https://phabricator.services.mozilla.com/D39026
2019-07-23 19:26:53 +00:00
Boris Zbarsky 5c7393e484 Bug 1568278. Remove various unnecessary QIs to nsIDOMWindow. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D39065
2019-07-24 01:26:07 +00:00
Razvan Maries 3b87408004 Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2019-07-23 00:51:11 +03:00
David Walsh 53545853a9 Bug 1567250 - Move async storage and helper to shared location r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D38534
2019-07-22 14:59:55 +00:00
Gabriel Luong 12587ec458 Bug 1567276 - Refactor inspector to inspectorFront. r=rcaliman
Differential Revision: https://phabricator.services.mozilla.com/D38554
2019-07-18 15:33:55 -04:00
Brian Hackett b7561df60c Bug 1405402 - Re-expand scope entries after resuming and re-pausing in a frame, r=jlast. 2019-07-21 14:50:09 -10:00
Gurzau Raul bdae24fa42 Backed out 3 changesets (bug 1556847, bug 1556858, bug 1405402) for eslint failures at /actors/replay/debugger.js on a CLOSED TREE.
Backed out changeset 03df8624c36c (bug 1405402)
Backed out changeset 099de68d4716 (bug 1556858)
Backed out changeset 1bf0b6a8dd13 (bug 1556847)
2019-07-22 01:13:40 +03:00
Brian Hackett 4c48d27510 Bug 1405402 - Re-expand scope entries after resuming and re-pausing in a frame, r=jlast. 2019-07-17 10:10:17 -10:00
Michael Ratcliffe 7f52c192a5 Bug 1560006 - Upgrade React to v16.8.6 r=nchevobbe
### Try

All green... at least when it comes to these changes.

https://treeherder.mozilla.org/#/jobs?repo=try&revision=7d44faac0cd9cad95e0a22e4e465c130240d04f0
https://treeherder.mozilla.org/#/jobs?repo=try&revision=82aa7753e83faf3be594dd746ccba4414951def7

Just resurrected this in the hope it will help Gabe with the markup view changes.

Differential Revision: https://phabricator.services.mozilla.com/D35265
2019-07-19 09:08:36 +00:00
Oana Pop Rus 57d2f59477 Merge inbound to mozilla-central. a=merge 2019-07-19 00:52:35 +03:00
ui.manish a1aea97983 Bug 1505295 - Remove unused BarGraphWidget. r=gl 2019-07-18 14:24:57 -04:00
Alexandre Poirot 0ce86f8b2c Bug 1566457 - Remove unused provider logic from Loader.jsm. r=jdescottes
We used to have another provider which would load module via file:// URI,
directly from the disk. But the progress on artifact builds and ./mach build faster
made this obsolete and has been removed a long time ago.
We still have a lot of abstraction to support this non-existent feature.

Differential Revision: https://phabricator.services.mozilla.com/D38284
2019-07-18 12:25:05 +00:00
Alexandre Poirot 50cc9ad5c6 Bug 1566457 - Only export require, loader and DevToolsLoader from Loader.jsm r=jdescottes
The rest was legacy code to support old xul add-ons.
All mozilla-central code used to be refactored, but a few places
were still using the old codepaths.

Differential Revision: https://phabricator.services.mozilla.com/D38283
2019-07-18 12:25:03 +00:00
Alexandre Poirot 9678619dce Bug 1566457 - Remove unused codepath in the base loader for non-shared globals. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D38281
2019-07-18 12:24:54 +00:00
Nicolas Chevobbe 68aacc044c Bug 1565963 - Add props to NotificationBox to render top and bottom borders. r=Honza.
We need this in the console to put the borders on the
right position, depending on the NotificationBox place.

Differential Revision: https://phabricator.services.mozilla.com/D38039
2019-07-18 05:51:24 +00:00
Nicolas Chevobbe 378b27f450 Bug 1565662 - Fix test_HSplitBox_01.html intermittent. r=Honza.
Differential Revision: https://phabricator.services.mozilla.com/D38161
2019-07-18 08:53:24 +00:00
Armando Ferreira 00945f5389 Bug 1546347 - Message location on CSS Warnings has an erroneous title attribute. r=nchevobbe
Adding a new opcional property to Frame.js, messageSource, which will allows us to know the source of the Message. We will be using this property to display the correct tooltip message.

Differential Revision: https://phabricator.services.mozilla.com/D38139
2019-07-18 06:17:16 +00:00
Ciure Andrei 2e1e95eacf Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-07-18 00:52:45 +03:00
Gabriel Luong d3008f35ae Bug 1566467 - Speed up shared/node-attribute-parser getType function. r=nchevobbe
We can speed up the getType function by changing the dataType into an object from an array.
That way we avoid looping looking for the matching tagName and namespaceURI and access the typeData directly by their tagName.

Differential Revision: https://phabricator.services.mozilla.com/D38196
2019-07-16 11:19:59 -04:00
Maliha Islam 6630392a35 Bug 1478156 - Make color picker tooltip screen reader accessible, r=yzen,gl
Differential Revision: https://phabricator.services.mozilla.com/D35980
2019-07-15 11:01:04 +00:00
Maliha Islam 6ee0163ef7 Bug 1478156 - Make color picker tooltip keyboard accessible, r=yzen,gl
Differential Revision: https://phabricator.services.mozilla.com/D33331
2019-07-15 11:01:04 +00:00
Maliha Islam 20551f411c Bug 1478156 - Move shareable focus methods to be used for color picker accessibility, r=yzen,gl
Differential Revision: https://phabricator.services.mozilla.com/D33885
2019-07-15 11:01:04 +00:00
Maliha Islam 2e7f9f0792 Bug 1478156 - Add contrast ratio annotation title and info link to color picker, r=yzen,gl
Differential Revision: https://phabricator.services.mozilla.com/D32842
2019-07-15 11:01:03 +00:00
Maliha Islam abbbdad8fd Bug 1478156 - Add color contrast span to color picker, r=yzen,gl
Differential Revision: https://phabricator.services.mozilla.com/D32491
2019-07-15 17:25:23 +00:00
Narcis Beleuzu 309cad7d16 Backed out 6 changesets (bug 1478156) for dt failures on browser_html_tooltip_xul-wrapper.js . CLOSED TREE
Backed out changeset 5ca694230ffa (bug 1478156)
Backed out changeset fcc9123589fd (bug 1478156)
Backed out changeset 83a10c635fe9 (bug 1478156)
Backed out changeset a363971fffb0 (bug 1478156)
Backed out changeset 314855eab887 (bug 1478156)
Backed out changeset 041f51c9d4d1 (bug 1478156)
2019-07-14 05:32:45 +03:00
Maliha Islam 435e6ca00f Bug 1478156 - Make color picker tooltip screen reader accessible, r=yzen,gl
Differential Revision: https://phabricator.services.mozilla.com/D35980
2019-07-13 18:37:48 +00:00
Maliha Islam 85965fd2f0 Bug 1478156 - Make color picker tooltip keyboard accessible, r=yzen,gl
Differential Revision: https://phabricator.services.mozilla.com/D33331
2019-07-13 18:37:35 +00:00
Maliha Islam 8097eeda63 Bug 1478156 - Move shareable focus methods to be used for color picker accessibility, r=yzen,gl
Differential Revision: https://phabricator.services.mozilla.com/D33885
2019-07-13 18:37:18 +00:00
Maliha Islam 7cad67cdb1 Bug 1478156 - Add contrast ratio annotation title and info link to color picker, r=yzen,gl
Differential Revision: https://phabricator.services.mozilla.com/D32842
2019-07-13 18:37:06 +00:00
Maliha Islam 5fb22cebbe Bug 1478156 - Add color contrast span to color picker, r=yzen,gl
Differential Revision: https://phabricator.services.mozilla.com/D32491
2019-07-13 18:36:54 +00:00
Nicolas Chevobbe 98f5f7f1ef Bug 1521452 - Create a GridElementWidthResizer component. r=Honza.
This component is placed by the consumer on a grid, and act on
one of the grid element size.
The component can be placed at the inline start or the inline end
of the area it is in.
This component relies on the existing Draggable component.
A test is added to ensure this works as expected.

Differential Revision: https://phabricator.services.mozilla.com/D37686
2019-07-12 16:48:27 +00:00
Gijs Kruitbosch e3d2a654b4 Bug 1560178 - fix devtools tests that load untrusted URIs in the parent, r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D36311
2019-07-12 16:28:56 +00:00
Razvan Caliman 6e8dbdabc2 Bug 1554701 - Replace CssProperties.isValidOnClient() with CSS.supports() r=gl
Given that `CssProperties.isValidOnClient()` does only a client-side check for support of a CSS declaration, we can leverage the built-in `CSS.supports()` method and remove some of the inter-dependencies between the `CssProperties` object from the `CssPropertiesFront` and its consumers, `OutputParser` and `FilterWidget`.

Differential Revision: https://phabricator.services.mozilla.com/D37751
2019-07-12 15:28:29 +00:00
Dorel Luca a2abe7cb8f Backed out 5 changesets (bug 1560178) for Browser-chrome failures in builds/worker/workspace/build/src/dom/base/Document.cpp. CLOSED TREE
Backed out changeset 1ff8a41dd3c1 (bug 1560178)
Backed out changeset 4aaeda889656 (bug 1560178)
Backed out changeset b1dfc0b5a14c (bug 1560178)
Backed out changeset 45fca0f1b675 (bug 1560178)
Backed out changeset fc2be64e4ece (bug 1560178)
2019-07-12 18:38:34 +03:00
Gijs Kruitbosch 7a12b586b8 Bug 1560178 - fix devtools tests that load untrusted URIs in the parent, r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D36311
2019-07-12 12:36:19 +00:00
Coroiu Cristina 6d40480c9b Backed out changeset ad78f4b2fcee (bug 1521452) for chrome failures at devtools/client/shared/components/test/mochitest/test_HSplitBox_01.html 2019-07-12 10:54:47 +03:00