1
0
mirror of https://github.com/roytam1/UXP.git synced 2026-05-26 13:58:49 +00:00
Commit Graph

186 Commits

Author SHA1 Message Date
Moonchild 17f1bcac4c Make ECMA v6 the default for devtools pretty-printing. 2023-11-04 11:42:01 +08:00
Martok 9042881cea Issue #2026 - Part 3c - Add BigInt Devtools support. (new frontend) 2023-07-29 23:42:19 +08:00
Martok 61efc86b21 Issue #2026 - Part 3b - Add BigInt Devtools support. (legacy frontend) 2023-07-29 23:41:42 +08:00
Brian Smith e861cd3b3a Issue #2026 - Part 3a - Add support for BigInt in devtools. (Server side) https://bugzilla.mozilla.org/show_bug.cgi?id=1527867 2023-07-29 23:39:11 +08:00
Job Bautista 69e45fd84e Issue #2241 - Part 4.3: Move devtools over to getBounds().
This leaves getAdjustedQuads alone because it lives in its own world and its
result gets sent over IPC. That leaves things in a bit of an intermediate state,
but that should be OK for now.

Backported from Mozilla bug 1186265.
2023-05-15 09:11:07 +08:00
Moonchild d388e478a0 Issue #1656 - Remove more vim control lines.
Vim control lines were re-introduced or not entirely cleaned up.
This nukes them again.
Removing from the rest of js, caps, chrome, config, devtools, docshell,
image, intl. More to come.
2023-05-04 10:46:38 +08:00
Moonchild 47bcca168c [devtools] Don't allow sourcemap URLs to redirect 2023-04-13 09:24:00 +08:00
FranklinDM ae26d8a048 Issue #2136 - Part 2: Regenerate devtools CSS database 2023-03-06 16:28:13 +08:00
FranklinDM 45c179d01b Issue #2135 - Bug 1453789: Remove Element.createShadowRoot 2023-03-06 16:16:40 +08:00
Moonchild 7764640b0b [devtools] Improve Copy as cURL
Windows commonly fails to work because of --compressed, and its string
escaping needed improvement because of the complexities of argument
parsing in command windows.
2023-01-19 09:42:21 +08:00
Moonchild 48087df576 Issue #2075 - Part 3: Regenerate devtools CSS database
Using `mach devtools-css-db`
2023-01-06 20:36:10 +08:00
Moonchild 07af4123d1 Issue #2075 - Part 2: Update devtools for inset-* 2023-01-06 20:35:53 +08:00
FranklinDM d023830727 Issue #1829 - Follow-up: Mac-specific shortcut key for closing the developer tools toolbox window should not be excluded from other platforms 2022-10-27 08:58:38 +08:00
Moonchild 5abfd892af Issue #1992 - Part 2: Regenerate devtools CSS database.
Using `mach devtools-css-db`
Note: this also picked up a break-spaces entry that was missed previously.
2022-09-23 11:03:46 +08:00
Moonchild fa8bc1e81c Issue #1992 - Part 1: Un-prefix -moz-{min|max}-content keywords. 2022-09-23 11:03:34 +08:00
Moonchild afbfbcb1e1 Issue #1914 - Implement white-space: break-spaces
This also simplifies GetCSSWhitespaceToCompressionMode (FFS with the function
names, Mozilla!) to be less fragile.
2022-06-13 09:10:57 +08:00
FranklinDM 2e975416bf No issue - Add null check to send packet function in the developer tools server
This resolves some of the useless log spam thrown in the browser console by the developer tools.
2022-05-22 06:46:57 +08:00
Moonchild 349d3d96a2 Issue #1899 - Make sure the test for it still works
Some hoops to make sure the test still works if the default value for the pref
is false, requiring setting and resetting it and making sure the observers have
time to react to these changes before testing.
2022-05-19 20:59:29 +08:00
Moonchild 0749a8828c Issue #1899 - Disable the (broken) MDN integration widget by default. 2022-05-19 20:59:23 +08:00
FranklinDM c8d825af39 Issue #1658 - Part 7: Implement support for optional chaining in console autocomplete
This works by stripping the optional chaining characters from the completion part variable, allowing the developer tools' parser to proceed as if it were a regular, non-optional expression.

Tests were partially based on: https://bugzilla.mozilla.org/show_bug.cgi?id=1594009

Tests for features that do not apply to our version of developer tools (e.g. autocomplete for integer literals, ignoring spaces between property accessors, etc) were excluded.
2022-05-05 09:05:02 +08:00
FranklinDM c8fa61323d Regenerate developer tools' static CSS properties database 2022-05-04 10:11:13 +08:00
FranklinDM 30e2ac2c21 Fix generation of developer tools' static CSS properties database
- Remove `resolve_path` method and use `mozpath` instead for path operations
- Store target developer tools path as an instance variable to avoid duplicate checks for path existence
2022-05-04 10:11:02 +08:00
Brian Smith 13fcc4a046 Issue #1829 - Revert "Issue #1751" 2022-05-04 09:40:24 +08:00
Moonchild d562709920 Issue #21 - Remove calls to Services.telemetry and nsITelemetry
These calls would cause breakage without the supporting plumbing.
2022-04-28 10:38:12 +08:00
Moonchild 69ebaa5450 Issue #21 - Remove Telemetry from Push and devtools. 2022-04-28 10:28:01 +08:00
Moonchild d4eac725fd Issue #1877 - Resolve RELEASE_OR_BETA conditionals. 2022-04-21 21:46:47 +08:00
FranklinDM 581097efe6 Issue #1370 - Part 5: Regenerate developer tools' static CSS properties database 2022-04-19 21:56:44 +08:00
FranklinDM 4f6d331558 Issue #1838 - Part 3: Regenerate developer tools' static CSS properties database 2022-04-19 21:55:57 +08:00
Moonchild 168e8bebd0 [devtools] Restrict sourcemap URLs 2022-04-10 22:58:55 +08:00
roytam1 5ad78a48db Bug 1737252 - [devtools] Escaping back tick signs. r=nchevobbe, a=RyanVM 2022-01-19 10:28:07 +08:00
Moonchild a4b0f333ba Issue #1751 -- Remove XP_MACOSX conditionals from the rest of the tree.
This also removes some PP abuse and takes file entries out of PP when no longer
needed without XP_MACOSX conditionals.
2021-05-07 09:53:59 +08:00
Moonchild 8e08d8bfd3 Issue #1705 - Part 4: Add scrollbar-width CSS keyword to CSS parser.
This should be all parts needed to add a brand new enum keyword including
getting the computed style from it...
2021-01-14 22:19:55 +08:00
Moonchild 8e43c8250c Revert "Issue #1686 - Align a keybinding definition with the others"
This reverts commit 85dc118aaca8446cbe33671446ac23147daec44c.
2020-12-21 15:12:24 +08:00
Alessio Vanni 4faa760967 Issue #1686 - Align a keybinding definition with the others 2020-11-20 09:31:49 +08:00
athenian200 7373069560 Issue #1673 - Part 4: Unprefix -moz-tab-size.
While we do fail a couple of tests, the other mainstream browsers also fail them and I think our implementation of tab-size is good enough to be unprefixed at this point. Having this patch also makes testing easier.
2020-11-06 09:42:27 +08:00
athenian200 33e50615d9 Issue #1668 - Part 1: Implement support for caret-color property.
This CSS property allows input carets (that blinking input cursor you see in text fields), to be given a custom color. This was implemented in Firefox 53, and it was such a minor feature that no one ever missed it, but I don't see any harm in implementing this.

https://bugzilla.mozilla.org/show_bug.cgi?id=1063162
2020-10-23 10:05:51 +08:00
Moonchild e3f6690ee7 Issue #1671 - Unprefix ::-moz-selection
This actually keeps both pseudo-elements for now, since the prefixed version is
still used internally, but we need the unprefixed version for web compat.
Note: while unprefixing a non-spec-compliant pseudo here, it's exactly in line
with what other browsers do. Nobody is following the spec here and at least
we'll be doing what everyone else is with our unprefixed version.
2020-10-23 10:05:49 +08:00
Moonchild 82fe52adab [devtools] Teach devtools about overflow-wrap: anywhere
Tag #1666
2020-10-09 21:00:01 +08:00
Moonchild d5919942ff Issue #1656 - Part 8: Devtools and misc. 2020-09-25 22:06:55 +08:00
Moonchild 0cd673d720 Issue #1656 - Part 6: Clean up the build files 2020-09-25 22:04:23 +08:00
Moonchild 538b420319 Issue #1656 - Part 4: Manual cleanup 2020-09-25 22:04:20 +08:00
Moonchild d7a4abc3d4 Issue #1656 - Part 4: Tackle *.idl, *.css, *.ipdlh, *.webidl, *.cc 2020-09-25 22:04:18 +08:00
Moonchild 30df895eb2 Issue #1656 - Part 3: Nuke more vim config lines in the tree.
Another S&R run with some smarter matching.
2020-09-25 22:04:17 +08:00
Moonchild ed7e49eda6 Issue #1656 - Part 2: Unmangle some unfortunate UTF-8 victims.
The poor fellows got lost in an ASCII-interpretation of the world.
2020-09-25 22:04:14 +08:00
Moonchild 8c395520d9 Issue #1656 - Part 1: Nuke most vim config lines in the tree.
Since these are just interpreted comments, there's 0 impact on actual code.
This removes all lines that match /* vim: set(.*)tw=80: */ with S&R -- there are
a few others scattered around which will be removed manually in a second part.
2020-09-25 22:04:12 +08:00
Moonchild 105c7abd40 [devtools] Port various upstream fixes 2020-05-09 06:56:32 +08:00
Matt A. Tobin d3ffda520f Bug 1355351 - Make pseudo-elements return the correct style via getComputedStyle
* Add a node property to access the ::before and ::after pseudo-elements
* Look for the frame for ::before and ::after pseudos
* Clean up pseudo-element props
* Simplify nsLayoutUtils callers, and make child iterators notice display: contents pseudos

Tag #1375
2020-04-18 07:03:44 +08:00
wolfbeast fa44a33a4b Issue #1280 - Stop requesting HPKP state from within devtools. 2020-04-03 09:30:05 +08:00
wolfbeast aa637c405a [devtools] Properly escape method arguments for curl. 2020-03-20 08:58:37 +08:00
Matt A. Tobin 021bff6bf8 Follow-up to 4e2e9be6a - Move HeapSnapshot DevTools-only Modules back to DevTools
I am so done with this.

Resolves #316
2020-02-27 07:31:26 +08:00