Commit graph

264 commits

Author SHA1 Message Date
roytam1
bd335d6284 Merge remote-tracking branch 'origin/tracking' into custom 2025-07-07 11:59:17 +08:00
Moonchild
2d9cb22a28 [devtools] Further improve special character escaping in "copy as curl".
Follow-up to 15335ce39d1ea2ef4585a36a4d562a3894459a15

Trying to cross-platform sanitize causes issues escaping too much and
as a result mangling the curl commands that get spit out.
This reverts previously added Windows-specific escaping on POSIX and
vice versa.
Since we do not offer cross-platform copying as a curl command in devtools
anyway, it makes little sense to sanitize for the O.S. we're not running on
as we would not be using the command processor in such environments that
could trip over characters for the other O.S. This was previously added
as a defense-in-depth in case we would start offering this, but I see no
real reason to do so, anyway.

Also decided to in-line comments for readability instead of a bulleted
list in the function head.

Mozilla has taken similar steps because of fall-out, but they do offer
cross-platform "copy as curl" for corner cases, so they will have to
find solutions for a problem we won't have.
2025-07-07 11:57:09 +08:00
Francis Dominic Fajardo
f0b8d1df2c Issue #2045 - Part 10: Regenerate devtools CSS database and include the revert keyword in related devtools code 2025-07-07 11:56:21 +08:00
roytam1
9175504ffc Merge remote-tracking branch 'origin/tracking' into custom 2025-07-04 22:28:17 +08:00
Andy
4cc014cb6b Unprefix -moz-read-write / -moz-read-only 2025-07-04 22:27:22 +08:00
roytam1
6414271c91 Merge remote-tracking branch 'origin/tracking' into custom 2025-06-17 09:32:50 +08:00
Moonchild
7d099a8080 [devtools] Improve special character escaping for curl 2025-06-17 09:23:44 +08:00
roytam1
6792dc4b66 Merge remote-tracking branch 'origin/tracking' into custom 2025-04-30 23:06:47 +08:00
Moonchild
ba3a5074c7 [devtools] Escape some more characters for copying as cURL on Posix. 2025-04-30 23:06:24 +08:00
roytam1
310c05b97a Merge remote-tracking branch 'origin/tracking' into custom 2024-11-21 21:09:29 +08:00
Moonchild
7b6e3a2d4a Issue #2653 - Part 1: Initial cleanup of AppId and isolated mozbrowser.
This removes a lot of the plumbing for having the platform embed itself
through IPC which was required for B2G running the browser as both
shell and browser application.
2024-11-21 21:01:27 +08:00
roytam1
d27ddaffd7 Merge remote-tracking branch 'origin/tracking' into custom 2024-08-05 10:39:53 +08:00
Moonchild
9b56867901 Issue #2515 - Guard devtools click handlers against non-primary clicks.
We only want clicks on HTML elements to respond to the primary button.
2024-08-05 10:30:00 +08:00
roytam1
f35b2f4d3d devtools: DOMUtils.getCSSValuesForProperty() and DOMUtils.getSubpropertiesForCSSProperty() can fail, wrap them in try-catch blocks 2024-06-28 22:37:19 +08:00
roytam1
0b1483068f Merge remote-tracking branch 'origin/tracking' into custom 2024-06-12 15:41:21 +08:00
Moonchild
a09accc204 [uri] Fix issues with external protocol handlers.
Remove early return in nsExternalProtocolHandler::NewChannel when handler doesn't exist.
Fix devtools expectation that newChannel throws for unsupported external handlers
2024-06-12 15:41:01 +08:00
roytam1
390799012c Merge remote-tracking branch 'origin/tracking' into custom 2024-05-08 10:05:44 +08:00
Moonchild
c77b4b0bad Issue #2510 - Unprefix -moz-fit-content
No aliasing since this has been out for a while.
Devtools db regenerated with `mach devtools-css-db`

Resolves #2510
2024-05-08 09:59:34 +08:00
Moonchild
a3826565a7 No issue - Regenerate devtools css database
We were missing ::slotted, apparently.
2024-05-08 09:58:09 +08:00
roytam1
5479b6d9c0 Merge remote-tracking branch 'origin/tracking' into custom 2024-04-11 15:58:11 +08:00
Moonchild
0c02971a44 [devtools] fix issue with ctrl+c handling
See https://repo.palemoon.org/MoonchildProductions/Pale-Moon/issues/1961
2024-04-11 15:57:39 +08:00
FranklinDM
67bded6465 Issue #2477 - Part 4: Regenerate developer tools' static CSS properties database 2024-04-11 15:57:10 +08:00
roytam1
1804fcb5d1 Merge remote-tracking branch 'origin/tracking' into custom 2024-02-23 10:53:26 +08:00
FranklinDM
58525f05f2 No issue - Replacing location might throw NS_ERROR_UNEXPECTED while the developer tools window is being destroyed 2024-02-23 10:50:38 +08:00
FranklinDM
6e1c585539 No issue - Remove leftover doorhanger code from the developer tools
Partially based on reverting https://bugzilla.mozilla.org/show_bug.cgi?id=1078539
2024-02-23 10:50:08 +08:00
roytam1
0db181d2b7 Merge remote-tracking branch 'origin/tracking' into custom 2024-01-29 15:31:31 +08:00
FranklinDM
1116e8e137 No issue - Remove leftover reference to focus handler for dev edition doorhanger
Follow-up to 038774e52bb23bff1d323b5289c05fd677043337
2024-01-29 15:28:31 +08:00
roytam1
35252384aa Merge remote-tracking branch 'origin/tracking' into custom 2024-01-25 12:22:19 +08:00
Moonchild
fd949d3245 No issue - Clean up some devtools comments and prefs. 2024-01-25 12:06:17 +08:00
Moonchild
eeff203318 No issue - Remove leftover beta-only dev edition promo in devtools. 2024-01-25 12:05:52 +08:00
roytam1
aa8671dc1b devtools: follow-up rev 759506c7 2023-11-30 13:39:15 +08:00
roytam1
3ec8369f61 devtools: don't report error if remoteAddress/remotePort returns NS_ERROR_NOT_AVAILABLE 2023-11-30 11:12:31 +08:00
roytam1
759506c751 devtools: check if impl is not null before use 2023-11-30 11:08:32 +08:00
roytam1
f08dd1422d Merge remote-tracking branch 'origin/tracking' into custom 2023-11-04 11:42:50 +08:00
Moonchild
17f1bcac4c Make ECMA v6 the default for devtools pretty-printing. 2023-11-04 11:42:01 +08:00
roytam1
65de5a7185 Merge remote-tracking branch 'origin/tracking' into custom 2023-07-29 23:43:29 +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
roytam1
a7a525c65e Merge remote-tracking branch 'origin/tracking' into custom 2023-05-15 09:19:37 +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
roytam1
6235ca420d Merge remote-tracking branch 'origin/tracking' into custom 2023-05-04 10:47:54 +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
roytam1
e361ce2b32 Merge remote-tracking branch 'origin/tracking' into custom 2023-04-13 09:24:30 +08:00
Moonchild
47bcca168c [devtools] Don't allow sourcemap URLs to redirect 2023-04-13 09:24:00 +08:00
roytam1
eb8748c537 Merge remote-tracking branch 'origin/tracking' into custom 2023-03-06 16:29: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
roytam1
cad030d6cc Merge remote-tracking branch 'origin/tracking' into custom 2023-01-19 09:43:10 +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