Comments (6)
We're likely seeing the same issue. Spotted because suddenly the optional feature application-template-wrapper
was true
, causing a visual bug due to the extra html element. Doesn't happen when ember-inspector is disabled.
from ember-inspector.
Spotted because suddenly the optional feature application-template-wrapper was true, causing a visual bug due to the extra html element.
Yes, the application-template-wrapper
setting glitching can also cause this.element
to be undefined in a rendering test, which was the case I first saw.
from ember-inspector.
Probably need to insert this at the top?
Or another way to run code in user space .
Inspector must set that property before ember loads as far as i know
from ember-inspector.
@ef4 do you have an example online website where that happens?
this should not depend on how fast inspector loads. the boot.js file is inserted into all websites before the page loads the actual html.
while debugging i found that when boot.js runs, document.documentElement.children is empty. So the page did not yet load.
so even with
document.documentElement.appendChild(script)
it will be at the top and run first.
edit: do you test with chrome or firefox?
edit2: firefox failed to release, so must be chrome
do you have other extensions installed?
from ember-inspector.
i confirmed it happens here:
https://ember-learn.github.io/ember-cli-addon-docs/
from ember-inspector.
Same here, we spend some time debugging this issue thinking it was our code, and that it was impacting our users, but we came to the conclusion that it was ember inspector that was breaking the app.
It happens on chromium browsers: with the ember inspector enabled, we can reproduce the issue, without it the app runs just fine.
Also, I confirm that the issue is random. Sometimes, the plugin's config overwrites the application's one. To reproduce it, you have to try multiple times a page refresh.
We also noticed that it's related to the application-template-wrapper
param.
from ember-inspector.
Related Issues (20)
- v4.8.0 on Chrome raises errors from Testem during Integration Tests
- ember inspector stops responding, error: Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node. HOT 2
- Including the `ember` npm package in app's dependencies breaks Ember Inspector HOT 2
- Ember Inspector release `4.9.0` failed to publish to Firefox HOT 1
- Ember inspector not loading: TypeError: window.requireModule.has is not a function HOT 3
- Property Inspector attempts nested access of a property whose name includes a period
- in-page-script.js inserted into Wordpress editor HOT 2
- Scroll to matches in component tree instead of filtering HOT 1
- Option to guess at better pathings? HOT 6
- Breaks on ember 5.2 w/ staticEmberSource: true HOT 17
- Could Ember Inspector deobfuscate component names? HOT 2
- Ember inspector 4.10 not working with 3.28 HOT 16
- Inspector not loading: issues with chrome api
- error when inspecting models HOT 2
- Ember application not detected with Firefox 120.0 HOT 8
- CalculateCPError on Nested Arrays with Objects & Unresponsive After Less than 3 Mintues
- Inspector Becomes Unresponsive When Left Open for a Few Minutes HOT 5
- Add support for Element Modifiers HOT 3
- Public API for 3rd party integration HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ember-inspector.