Commit Graph

147 Commits

Author SHA1 Message Date
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
Matt A. Tobin 95d5dcd8c5 Reclassify heapsnapshot and nsJSInspector as not part of devtools
This resolves Issue #316
2020-02-27 07:31:01 +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
Gaming4JC bbb8b6490a Issue #1230 - Part 2: Align devtools to the changes in css-grid
Ref:
1398537 part 4 - [css-multicol] Implement percentages for 'column-gap' (automated update of devtools).
2019-10-05 07:22:14 +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 9d09cfdde9 104442 - Part 2: Add a testcase for devtools and note. 2019-07-22 19:51:23 +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
Matt A. Tobin 97059c1b48 Issue #1053 - Drop support Android and remove Fennec - Part 1b: Remove MOZ_FENNEC 2019-04-27 08:51:55 +08:00
JustOff 56ad09f64a Handle URL token in a closer way to the CSS3 spec 2019-04-27 08:23:37 +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
wolfbeast 39d5eb7759 Remove NS_IMPL_CYCLE_COLLECTION_TRAVERSE_SCRIPT_OBJECTS 2019-02-16 00:27:49 +08:00
adeshkp aea50f182f Telemetry: Remove stubs and related code 2019-02-16 00:24:04 +08:00
wolfbeast 57251fc4e7 Clean up a number of unused variables.
Tag #21.
2019-02-16 00:14: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
NTD 393dd101d4 Build nsJSInspector regardless of devtools 2019-02-16 00:14:25 +08:00
wolfbeast 8c8145e620 Remove all C++ Telemetry Accumulation calls.
This creates a number of stubs and leaves some surrounding code that may be irrelevant (eg. recorded time stamps, status variables).
Stub resolution/removal should be a follow-up to this.
2019-02-16 00:12:32 +08:00
wolfbeast e2e197cada Remove support for TLS session caches in TLSServerSocket.
This resolves #738
2019-02-16 00:12:22 +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