Posts

Showing posts from April, 2018

OSD Release 0.3 final post

Image
When I try to fix this issue  in debugger.html, I found some other bugs. Both issues are related to the "Set directory root" menu button on the left side panel of the debugger. They are not in the issues tab. The first issue occurs when there is a webpack folder. When trying to set the sub directory to the root, the content of the folder will be missing, but when setting it up directly, the content is rendered. It happens because of the webpack has different url than the ordinary ones. Issue 1 - STR: Go to  https://firefox-debugger-example-react-js.glitch.me/ On the left panel, right click on "Webpack" folder and Click on "Set directory root" Then right click on "app" foler and Click on "Set directory root" ( notice the content is missing ). Issue 2 - STR: Go to  https://davidwalsh.name/ On the left panel, right click on "davidwalsh.name" and Click on "Set directory root" Then expand the subfol

OSD lab6 blog post

Image
During this lab, I found that the Brave browser will fail to search or open the correct content for the two url: "https://www.google.ca/search?q=dog cat" "file:///Users/humphd/repos/browser-laptop/dog cat.txt" they all have a space between dog and cat, and because of that, the browser will consider they are not a valid url. I tried to fix this bug. I found when they check the url, they only trim the spaces at beginning and end. The space between dog and cat won't be replace or encoded as an url. So, I added the code. And I wrote test cases: As well as ran the unit test: