1
0
mirror of https://github.com/roytam1/UXP.git synced 2026-07-04 22:28:36 +00:00
Commit Graph

119 Commits

Author SHA1 Message Date
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
janekptacijarabaci b2aa38c719 DevTools - display newlines in some console messages
Issue #614
2019-02-16 00:08:08 +08:00
janekptacijarabaci e5a253a7b0 Fix typos in comments - memory.properties 2019-02-16 00:07:59 +08:00
janekptacijarabaci e5c896ce20 Fix typo in a comment - performance.dtd 2019-02-16 00:06:42 +08:00
janekptacijarabaci 36b1662a58 Fix typos in comments - animationinspector.properties 2019-02-16 00:06:15 +08:00
NTD 10487d6802 Use MOZ_AUSTRALIS to define common shared Australis features 2019-02-16 00:06:04 +08:00
JustOff 0b79a22f0e Replace Firefox with "the browser" in webide.properties. 2019-02-16 00:04:52 +08:00
JustOff 5c9e19b2cc Add extra Firefox -> browser changes in webide.properties 2019-02-16 00:03:34 +08:00
JustOff 8bc34e125d Correct the browser and platform names in devtools\client 2019-02-16 00:03:32 +08:00
janekptacijarabaci d180a351b0 Added Ci.nsIContentPolicy.TYPE_SAVEAS_DOWNLOAD to next files 2019-02-16 00:03:28 +08:00
janekptacijarabaci 7e72997490 Fix typos in comments - scratchpad.properties 2019-02-16 00:03:07 +08:00
Ascrod 867cbe5252 Remove Social API. 2019-02-15 23:59:43 +08:00
Gaming4JC d4ac94cf3e Remove support and tests for HSTS priming from the tree. Fixes #384 2019-02-15 23:59:39 +08:00
Moonchild aa52f6bd53 Revert "Remove the Social API" 2019-02-15 23:58:52 +08:00