Code Monkey home page Code Monkey logo

Comments (9)

sylingd avatar sylingd commented on June 14, 2024 1

因为打开IndexedDB的过程是异步的,所以,如果出错,会通过onerror回调触发,例如:

let dbOpenRequest = window.indexedDB.open("headereditor", 2);
dbOpenRequest.onerror = function(event) {
console.log(event);
};

并且,不同域名的IndexedDB不互相影响

from headereditor.

sylingd avatar sylingd commented on June 14, 2024

经测试无法复现问题。
请确认Header Editor版本为最新版本(目前为2.3.0)
若仍有问题,请截图控制台

from headereditor.

xinggsf avatar xinggsf commented on June 14, 2024

error { target: IDBOpenDBRequest, isTrusted: true, eventPhase: 0, bubbles: true, cancelable: true, defaultPrevented: false, composed: false, timeStamp: 1506305181397000, cancelBubble: false, originalTarget: IDBOpenDBRequest, explicitOriginalTarget: IDBOpenDBRequest } storage.js:8:4 error { target: IDBOpenDBRequest, isTrusted: true, eventPhase: 0, bubbles: true, cancelable: true, defaultPrevented: false, composed: false, timeStamp: 1506305181399000, cancelBubble: false, originalTarget: IDBOpenDBRequest, explicitOriginalTarget: IDBOpenDBRequest } storage.js:8:4
终于复制到了,全是这样的报错信息

from headereditor.

sylingd avatar sylingd commented on June 14, 2024

1.尝试关闭隐私浏览模式
2.尝试重新安装该扩展

from headereditor.

xinggsf avatar xinggsf commented on June 14, 2024

没一点用!
另外也不能添加规则,不知道是不是我一个人这样的情况

from headereditor.

sylingd avatar sylingd commented on June 14, 2024

这是因为Header Editor无法打开数据库
因出现情况及其偶然,无法复现,原因未知,推测是Firefox的BUG。因此也无法修复

from headereditor.

xinggsf avatar xinggsf commented on June 14, 2024

但我在控制台执行:
indexedDB.open("headereditor", 2);
没报错

from headereditor.

xinggsf avatar xinggsf commented on June 14, 2024

嗯嗯,是我粗心了,试了一下这段代码。
报错!!
不知道是不是pcxFirefox的关系。56版出了有时间再更进吧

from headereditor.

sylingd avatar sylingd commented on June 14, 2024

我也用过pcx53,不过,我没有遇到这个问题。
之前有人报告过类似问题,我也测试过,通过VSCode的debugger自动新建一个新的Profile,就会出现这种问题。具体原因不清楚。可能是Firefox的BUG

from headereditor.

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.