Comments (5)
I mean, embed and object are also kind of deprecated... I guess not formally in the spec.
I tend to think we should either shoot for modern-BC-containers only (= iframe and maybe in the future portal), or we should do all BC-containers (including frame).
from longtasks.
@spanicker might have more context here. It appears that we would need to handle other cases in a case-by-case basis. For iframe/embed we'd like to use src, but for object we'd like to use data, and not sure what else can be a browsing context container.
from longtasks.
What does Chrome implement?
I think the complete list should be embed, iframe, frame, object.
from longtasks.
Ok, I did some testing and it looks like the longtasks are reported as you'd expect, except containerSrc is empty for object (due to the URL coming from data instead of src).
from longtasks.
Given that frame
is effectively deprecated, I think we should probably stick to embed
, iframe
, and object
. Does that sound reasonable?
from longtasks.
Related Issues (20)
- Some references are broken after navigation refactor
- New proposal: long animation frames HOT 6
- Broken references in Long Tasks API
- Consider to have a separate spec for Long Animation Frame API HOT 3
- Overloading PerformanceEntry HOT 1
- Seo
- containerType is confusing HOT 5
- containerSrc could be long (a data URI) HOT 16
- Container information should be hidden if container appeared in cross-origin frames
- "multiple-contexts" doesn't seem useful HOT 4
- Top-level browsing context scoping HOT 10
- Event loop timing reporting seems to ignore reentrancy HOT 13
- Reporting work outside of event loop can cause leaks HOT 9
- Combination of paint timing and long tasks can expose precise paint timing HOT 3
- Attribution for alert() or other tasks blocked by user input
- Privacy & Security mitigations should not be in an external document
- Should LongTasks from same-origin same-event-loop tabs be reported? HOT 2
- Generic model for causal attribution (non-sampling based) HOT 9
- Demo links don't work HOT 4
- Task duration should be coarsened for each context HOT 7
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 longtasks.