Git Product home page Git Product logo

Comments (4)

jonbuffington avatar jonbuffington commented on August 24, 2024

I found the following in the Browser Console on Firefox 25.0.1:

[19:20:22.829] TypeError: tabs.activeTab is null @ resource://gre/modules/XPIProvider.jsm -> jar:file:///Users/jcb/Library/Application%20Support/Firefox/Profiles/1ocfu59y.default/extensions/[email protected]!/bootstrap.js -> resource://gre/modules/commonjs/toolkit/loader.js -> resource://ember-inspector-at-emberjs-dot-com/ember-inspector/lib/devtool-panel.js:59

This is caused by running Firefox in private browsing mode. I often run Firefox in private browsing mode to avoid accumulating state (history and cookies) during testing. Is there an alternative to watching the tabs.activeTab load event to initialize the debugger?

from ember-inspector.

teddyzeenny avatar teddyzeenny commented on August 24, 2024

We should look into that.
@rpl do you have an idea about this?

from ember-inspector.

rpl avatar rpl commented on August 24, 2024

@teddyzeenny I'm pretty sure this issue is related to the private browsing permission:
https://addons.mozilla.org/en-US/developers/docs/sdk/latest/modules/sdk/private-browsing.html

I'm going to test it and create a pull request

@jonbuffington we need the tabs.activeTab to be able to route messages exchanged between the target tab and ember devtool panel, so we'll have to request private browsing permission to inspect tabs from private windows anyway.

from ember-inspector.

jonbuffington avatar jonbuffington commented on August 24, 2024

@rpl Thanks for the explanation and the patch.

from ember-inspector.

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.