Skip to content

Commit 39cd80f

Browse files
committed
[chrome] fix instance of legacy headers, remote useless console logs
1 parent dc5c14d commit 39cd80f

File tree

3 files changed

+1
-5
lines changed

3 files changed

+1
-5
lines changed

packages/chrome/src/components/BookmarksStrip.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ export function BookmarksStrip(props: {}, cx: ComponentContext) {
1919
},
2020
]);
2121
};
22-
console.log(browser.bookmarks);
2322
return (
2423
<div>
2524
{use(browser.bookmarks).mapEach((b) => (

packages/chrome/src/proxy/Controller.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,7 @@ export class Controller {
7373
{
7474
status: 500,
7575
statusText: "Internal Server Error",
76-
headers: {
77-
"Content-Type": "text/html",
78-
},
76+
headers: [["Content-Type", "text/html"]],
7977
body: renderErrorPage(this, e),
8078
},
8179
];

packages/chrome/src/proxy/scramjet.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,6 @@ class ProxyFrameContext {
9696
{
9797
load: async ({ url, sequence }) => {
9898
this.windowproxy = reduceSequence(sequence);
99-
console.log("WP" + id, this.windowproxy);
10099
tab =
101100
browser.tabs.find(
102101
(t) => t.frame.frame.contentWindow === this.windowproxy

0 commit comments

Comments
 (0)