Commit graph

130 commits

Author SHA1 Message Date
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
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
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
924da4a2cc Merge remote-tracking branch 'origin/master' into custom 2020-04-18 07:25:50 +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
Roy Tam
4ecaa49dd0 Merge remote-tracking branch 'origin/master' into custom 2020-04-03 09:57:28 +08:00
wolfbeast
fa44a33a4b Issue #1280 - Stop requesting HPKP state from within devtools. 2020-04-03 09:30:05 +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
d2b5ffafc2 Merge remote-tracking branch 'origin/master' into custom 2019-11-15 15:03:49 +08:00
wolfbeast
08a2dbad4c Issue #1289 - Part 3: Update tests. 2019-11-15 14:24:07 +08:00
Roy Tam
038ec9ba75 Merge remote-tracking branch 'origin/master' into custom 2019-11-01 10:26:56 +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
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
Roy Tam
18869d3807 Merge remote-tracking branch 'origin/master' into custom 2019-08-17 13:34:39 +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
Roy Tam
93601ea999 Merge remote-tracking branch 'origin/master' into custom 2019-08-10 06:32:58 +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
Roy Tam
5fda7c378f Merge remote-tracking branch 'origin/master' into custom 2019-07-22 20:08:59 +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
Roy Tam
2afee714fb Merge remote-tracking branch 'origin/master' into custom 2019-07-19 10:08:05 +08:00
wolfbeast
8c1500707f Remove WebIDE devtools component.
This resolves #1123
2019-07-19 10:01:13 +08:00
Roy Tam
2cb30a238c Merge remote-tracking branch 'origin/master' into custom 2019-04-27 09:01:02 +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
Roy Tam
2b48a6c6ee Merge remote-tracking branch 'origin/master' into custom 2019-04-13 07:34:39 +08:00
Tooru Fujisawa
5676f63f41 Stage 1-4: Update tests 2019-04-13 07:00:27 +08:00
Roy Tam
393112bc29 Revert "Issue #756 - Remove Contextual Identity from DevTools"
This reverts commit 091435f2fd.
2019-04-04 19:35: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