1
0
mirror of https://github.com/roytam1/UXP.git synced 2026-06-11 10:58:34 +00:00
Commit Graph

132 Commits

Author SHA1 Message Date
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 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 fa8bc1e81c Issue #1992 - Part 1: Un-prefix -moz-{min|max}-content keywords. 2022-09-23 11:03:34 +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
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
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 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
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 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 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
wolfbeast 08a2dbad4c Issue #1289 - Part 3: Update tests. 2019-11-15 14:24:07 +08:00
wolfbeast 3d8d9f95df Issue #1257 - Part 3: Remove/update tests.
This removes a ton of tests that are no longer relevant with (un)watch
removed (e.g. testing stability/bugs in the watchpoint system itself
which has never been the most stable), and updates others that would
previously rely on watch/unwatch, so that they don't unexpectedly fail.
2019-11-01 10:25:02 +08:00
wolfbeast 1f68992bee Issue #1124: Remove Firefox Developer Edition code.
Removes all occurrences of MOZ_DEV_EDITION code and some helpers.
2019-08-17 13:32:31 +08:00
wolfbeast dc06a97ab3 Enable the JSON View tool by default.
Follow-up to issue #1138.
2019-08-17 13:31:57 +08:00
yami 73cdb3106e Issue #1138 - Part 4: fix JSON Viewer save functionality
Saving JSON from the viewer was broken, because the message passed to
the `saveToFile` function contained unneeded data. This bug was
introduced by 23e68227a2e3f3946fa4fd5589f338e6b36a6e56.
2019-08-10 06:26:03 +08:00
yami 55d401707c Issue #1138 - Part 3: avoid quirks mode in JSON Viewer
Mozilla Bug 1368899
2019-08-10 06:26:02 +08:00
yami 32b3994a7b Issue #1138 - Part 2: JSON Viewer should ignore BOM
Mozilla Bug 1395313
2019-08-10 06:26:00 +08:00
yami 8f1e1f40c7 Issue #1138 - Part 1: refactor the JSON Viewer stream converter
Mozilla Bug 1367894
2019-08-10 06:25:58 +08:00
Gaming4JC 56411e2633 104442 - Part 5: Add another testcase for devtools and note. 2019-07-22 19:51:32 +08:00
Gaming4JC 0b83f76c35 104442 - Part 4: Update stub. 2019-07-22 19:51:29 +08:00
Gaming4JC bbc11d8af8 104442 - Part 3: Add test input for mocha test. 2019-07-22 19:51:26 +08:00
Gaming4JC 2d3bf3352c 1283712 - Part 11.4: Fix assignment 2019-07-22 19:50:42 +08:00
Gaming4JC d50cd306d1 1283712 - Part 11.3: Add mocha test. 2019-07-22 19:50:39 +08:00
Gaming4JC 5ff0df93d4 1283712 - Part 11.2: Update stub. 2019-07-22 19:50:36 +08:00
Gaming4JC 9f71d02fcf 1283712 - Part 11.1: Show notes in devtools console. 2019-07-22 19:50:33 +08:00
wolfbeast 8c1500707f Remove WebIDE devtools component.
This resolves #1123
2019-07-19 10:01:13 +08:00
Ascrod 09bcb1f834 Pref try/catch block fixup. Tag #991. 2019-04-27 08:22:27 +08:00
Ascrod e2e42f0e1a Issue #991 Part 3: Devtools 2019-04-27 08:21:50 +08:00
Tooru Fujisawa 5676f63f41 Stage 1-4: Update tests 2019-04-13 07:00:27 +08:00
Gaming4JC 091435f2fd Issue #756 - Remove Contextual Identity from DevTools 2019-03-29 22:26:15 +08:00
Brian Grinstead d00f80f18f Escape '!' to '\041' in posix strings ($'...') 2019-03-29 22:21:50 +08:00
wolfbeast c9b76fb369 Stop using hard-coded URL for "get more devtools" 2019-02-17 12:07:03 +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