1
0
mirror of https://github.com/roytam1/UXP.git synced 2026-05-26 23:18:26 +00:00
Commit Graph

29 Commits

Author SHA1 Message Date
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
wolfbeast 74df182488 Remove other gonk widget conditionals and unused files.
Tag #288.
2019-02-15 23:57:15 +08:00
NTD 7a6b61c05f Issue #316 - Always build heapsnapshot regardless of the rest of the devtools for now 2019-02-15 23:55:22 +08:00
janekptacijarabaci 1f262f0d2b moebius#90: CSS - implement text-justify property 2019-02-15 23:54:04 +08:00
janekptacijarabaci 0e7a16c088 Bug 755821: Function() should use the parser's argument parsing code 2019-02-15 23:38:10 +08:00
wolfbeast b23857f77b Fix build system translation errors.
Follow-up to 11a8a39f6d2e057d51559c52c1bf0ba74bbfe189
2019-02-15 23:35:25 +08:00
janekptacijarabaci 6d865bfda3 moebius#339: Make it possible to add cookies, local and session storage entries
Issue #31
https://github.com/MoonchildProductions/moebius/pull/339
2019-02-15 23:35:16 +08:00
janekptacijarabaci e688e88257 moebius#337: Added option to remove all session cookies for a specific domain
Issue #31
https://github.com/MoonchildProductions/moebius/pull/337
2019-02-15 23:35:14 +08:00
janekptacijarabaci 1ea18fdaf7 Bug 1320362: Move indexedDb storage type in the storage inspector into a new column
Issue #31
2019-02-15 23:35:10 +08:00
janekptacijarabaci d0ef0781ff Bug 1276339: Storage inspector doesn't work on chrome:// pages and web extensions
Issue #31
2019-02-15 23:35:08 +08:00
janekptacijarabaci db0b581760 Fix nit 2019-02-15 23:34:57 +08:00
janekptacijarabaci fadd7deef2 Fix "help cmd" and "cmd refresh" in the Developer Toolbar
https://github.com/MoonchildProductions/moebius/pull/348
2019-02-15 23:34:51 +08:00
janekptacijarabaci 1a8810305a DevTools - gcli - screenshot - the vertical mode
https://github.com/MoonchildProductions/moebius/pull/166
2019-02-15 23:34:43 +08:00
janekptacijarabaci 7177b5926a DevTools - style editor - StyleSheetsActor should use the parent tabActor to retrieve the list of windows and react to new/removed windows
https://github.com/MoonchildProductions/moebius/pull/124
2019-02-15 23:34:41 +08:00
janekptacijarabaci 54f2e6eafd DevTools - network - implement the secureConnectionStart property for the PerformanceTiming
https://github.com/MoonchildProductions/moebius/pull/116
("/testing" and "/toolkit" in in the previous commit)
2019-02-15 23:34:40 +08:00
janekptacijarabaci 38e95f9e35 DevTools - network - security (improvements)
https://github.com/MoonchildProductions/moebius/pull/113
https://github.com/MoonchildProductions/moebius/pull/118
https://github.com/MoonchildProductions/moebius/pull/127
2019-02-15 23:34:38 +08:00
janekptacijarabaci 4d57ef767e DevTools - inspector - data URL source links and their tooltips are unreadable
https://github.com/MoonchildProductions/moebius/pull/95
2019-02-15 23:34:25 +08:00
janekptacijarabaci 5f86e6fd8b [partial fix] DevTools - network - proxy - throws an errors (remoteAddress)
https://github.com/MoonchildProductions/moebius/pull/63
2019-02-15 23:34:24 +08:00
janekptacijarabaci 208282c5c5 DevTools - gcli commands - cookie
https://github.com/MoonchildProductions/moebius/pull/55
2019-02-15 23:34:21 +08:00
NTD a25b655d51 Use MOZ_FENNEC and MOZ_XULRUNNER instead of checking MOZ_BUILD_APP in most places 2019-02-15 23:34:16 +08:00
janekptacijarabaci a7474395ec Support for css-color-4 (finish)
Issue #4
2019-02-15 23:29:04 +08:00
janekptacijarabaci c3a7fd56e7 Add a "copy full CSS path" option to the inspector's menu
Issue #3
2019-02-15 23:29:02 +08:00
wolfbeast 46f09ffa53 Devtools gcli commands - fix the help. 2019-02-15 23:28:47 +08:00
NTD 261374f310 Remove browser tests - Part 1: The Tests (except for experiments) 2019-02-14 14:31:58 +08:00
roytam1 dcd9973243 import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00