Giter Site home page Giter Site logo

Comments (9)

tsigel avatar tsigel commented on July 20, 2024

Hi!
Your case is not repeated:
My output (Chrome, Ubuntu):

new Blob(['VI'], {type: 'text/html'}).size; // 2

Please provide more details.

from wavesgui.

 avatar commented on July 20, 2024

Ok this is on Manjaro linux (Version 74.0.3729.131 (Official Build) Manjaro Linux (64-bit))
I wonder if its just something odd with this build then. Why the text/html though? If I remove that (Presumably it defaults to UTF-8 then) Then the length is fine.

HOWEVER

Now I try what you tried in console and its fine, so only manifests in app.. I wonder if a polyfill or something is changing its behaviour.

I best do more research

from wavesgui.

 avatar commented on July 20, 2024

Updated Chromium, I was wrong, this is probably a chromium bug I suppose;

image

Version 75.0.3770.80 (Official Build) Arch Linux (64-bit)

Just out of interest though, why the text/html?

from wavesgui.

tsigel avatar tsigel commented on July 20, 2024

We will fix this case, thanks.

from wavesgui.

 avatar commented on July 20, 2024

Ok, I have managed to isolate the reproduction.. When running this when client.wavesplatform.com is open;

new Blob(['VI'], {type: 'text/html'}).size;
5153

When on any other browser tab;

new Blob(['VI'], {type: 'text/html'}).size;
2

Chromium have confirmed that this is not a chromium bug

from wavesgui.

tsigel avatar tsigel commented on July 20, 2024

Hello, please, provide more details, because we can't reproduce your issue. Do you have some browser plugins installed ? Try to execute in browser console this command - console.log(Blob); and send us the result.

from wavesgui.

 avatar commented on July 20, 2024

Ok so, In a blank tab;

console.log(Blob)
VM51:1 ƒ Blob() { [native code] }

In a client.wavesplatform.com tab;

console.log(Blob)
raven.js:58 ƒ secureBlob(...args) {
      const injectableMimeTypes = [
        { mime: 'text/html', useXMLparser: false },
        { mime: 'application/xhtml+xml', useXMLparser: true },
        { mime: 'text/xml'…

So.. Why is raven replacing blob in my browser :/

from wavesgui.

tsigel avatar tsigel commented on July 20, 2024

So.. Why is raven replacing blob in my browser :/

This is real interesting question.
We will be debug and fix this problem.
In my browser Blob is native.

from wavesgui.

tsigel avatar tsigel commented on July 20, 2024

Can you please send us your raven.js file, because we dont use secureBlob in our code at all. What is ur raven version? url where is it downloaded from? Also try to search by all files in console "secureBlob" and send us the result. Alse disable all plugins in browser. If you dont use Waves Keeper, we recommend you to create new account via Keeper and transfer all valauble assets to the new account.

from wavesgui.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.