SimpleBrowserDotNet/SimpleBrowser

Dummy-Url error using SetContent()

franko-fox opened this issue · 3 comments

When I use SetContent() An error occours "Could not recognize namespace Dummy-url-to-use.with". The problem is caused by the SetContent method in browser.cs . I suggest removing the dummy url that makes setcontent() impossible to use in some cases.

@franci2312 I'm working on this issue today. I'm not going to remove the dummy url. I'd like to replace it with something that makes more sense. I'm considering using the app URI scheme, for example "app://content". This works in my testing, but the dummy URL works too.

How are you testing to get the error with the unrecognized namespace? I'd like to perform that same test to see if my fix worked.

@franci2312 I still can't reproduce this error. What are the test cases that cause this error?

Fixed in master