Commit graph

63 commits

Author SHA1 Message Date
roytam1
ae1f9364cd Merge remote-tracking branch 'origin/tracking' into custom 2025-08-14 08:55:16 +08:00
Moonchild
842cc60707 Issue #1899 - Remove MDN docs tooltip and link code from devtools.
Resolves #1899
2025-08-14 08:11:21 +08:00
roytam1
fbb39ce322 Merge remote-tracking branch 'origin/tracking' into custom 2025-07-08 10:02:11 +08:00
Andy
1a5b3dcae6 Issue #2106 - Follow-up: Additional Un-prefixing 2025-07-08 10:00:02 +08:00
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
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
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
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
roytam1
1804fcb5d1 Merge remote-tracking branch 'origin/tracking' into custom 2024-02-23 10:53:26 +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
35252384aa Merge remote-tracking branch 'origin/tracking' into custom 2024-01-25 12:22:19 +08:00
Moonchild
eeff203318 No issue - Remove leftover beta-only dev edition promo in devtools. 2024-01-25 12:05:52 +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
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
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
roytam1
7ecc55be25 Merge remote-tracking branch 'origin/tracking' into custom 2023-01-06 20:37:26 +08:00
Moonchild
07af4123d1 Issue #2075 - Part 2: Update devtools for inset-* 2023-01-06 20:35:53 +08:00
roytam1
f84bc6d605 Merge remote-tracking branch 'origin/tracking' into custom 2022-09-23 11:04:25 +08:00
Moonchild
fa8bc1e81c Issue #1992 - Part 1: Un-prefix -moz-{min|max}-content keywords. 2022-09-23 11:03:34 +08:00
roytam1
6de07653b9 Merge remote-tracking branch 'origin/tracking' into custom 2022-04-28 10:45:19 +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
roytam1
b0eda70edf Merge remote-tracking branch 'origin/tracking' into custom 2022-01-19 10:29:12 +08:00
roytam1
5ad78a48db Bug 1737252 - [devtools] Escaping back tick signs. r=nchevobbe, a=RyanVM 2022-01-19 10:28:07 +08:00
roytam1
56aaf6a15a Merge remote-tracking branch 'origin/master' into custom 2020-09-25 22:18:48 +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
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
Roy Tam
bd1e07b203 Merge remote-tracking branch 'origin/master' into custom 2020-05-09 07:01:19 +08:00
Moonchild
105c7abd40 [devtools] Port various upstream fixes 2020-05-09 06:56:32 +08:00
Roy Tam
cf086d4da7 Merge remote-tracking branch 'origin/master' into custom 2020-03-20 09:12:43 +08:00
wolfbeast
aa637c405a [devtools] Properly escape method arguments for curl. 2020-03-20 08:58:37 +08:00
Roy Tam
df89b48e30 Revert "Remove WebIDE devtools component."
This reverts commit 8c1500707f.

# Conflicts:
#	application/basilisk/components/customizableui/CustomizableUI.jsm
2019-10-18 09:09:39 +08:00
wolfbeast
8c1500707f Remove WebIDE devtools component.
This resolves #1123
2019-07-19 10:01:13 +08:00
Brian Grinstead
d00f80f18f Escape '!' to '\041' in posix strings ($'...') 2019-03-29 22:21:50 +08:00
Gaming4JC
30797d4da8 backport mozbug 1334776 - CVE-2017-7797 Header name interning leaks across origins
Potential attack: session supercookie.

[Moz Notes](https://bugzilla.mozilla.org/show_bug.cgi?id=1334776#c5):
"The problem is that for unknown header names we store the first one we see and then later we case-insensitively match against that name *globally*. That means you can track if a user agent has already seen a certain header name used (by using a different casing and observing whether it gets normalized). This would allow you to see if a user has used a sensitive service that uses custom header names, or allows you to track a user across sites, by teaching the browser about a certain header case once and then observing if different casings get normalized to that.

What we should do instead is only store the casing for a header name for each header list and not globally. That way it only leaks where it's expected (and necessary) to leak."

[Moz fix note](https://bugzilla.mozilla.org/show_bug.cgi?id=1334776#c8):
"nsHttpAtom now holds the old nsHttpAtom and a string that is case sensitive (only for not standard headers).
So nsHttpAtom holds a pointer to a header name. (header names are store on a static structure). This is how it used to be. I left that part the same but added a nsCString which holds a string that was used to resoled the header name. So when we parse headers we call ResolveHeader with a char*. If it is a new header name the char* will be stored in a HttpHeapAtom, nsHttpAtom::_val will point to HttpHeapAtom::value and the same strings will be stored in mLocalCaseSensitiveHeader. For the first resolve request they will be the same but for the following maybe not. At the end this nsHttpAtom will be stored in nsHttpHeaderArray. For all operation we will used the old char* except when we are returning it to a script using VisitHeaders."
2019-02-16 00:14:28 +08:00
janekptacijarabaci
b1dccb759a [DevTools] Storage inspector throws an error when use arrow keys
Issue #102
2019-02-15 23:52:58 +08:00