Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > alt.computer > #11749 > unrolled thread
| Started by | Robert Baer <robertbaer@localnet.com> |
|---|---|
| First post | 2020-06-27 16:50 -0700 |
| Last post | 2020-06-27 23:38 -0400 |
| Articles | 3 — 2 participants |
Back to article view | Back to alt.computer
Waterfall presentation of a HTML file Robert Baer <robertbaer@localnet.com> - 2020-06-27 16:50 -0700
Re: Waterfall presentation of a HTML file Robert Baer <robertbaer@localnet.com> - 2020-06-27 18:28 -0700
Re: Waterfall presentation of a HTML file Paul <nospam@needed.invalid> - 2020-06-27 23:38 -0400
| From | Robert Baer <robertbaer@localnet.com> |
|---|---|
| Date | 2020-06-27 16:50 -0700 |
| Subject | Waterfall presentation of a HTML file |
| Message-ID | <4XQJG.52807$AN2.50728@fx46.iad> |
Once upon a time, a long time ago (maybe 2 weeks) i stumbled into a
program that did a waterfall presentation of a HTML file, instead of
rendering the file "normally" as a web page.
It would nominally take 3 passes and stop with presentation at the
end of a pass.
Do not remember where it was,and i may have been one of those online
programs.
Above was a curiosity item; rater educational and useful.
Now,when i really need it, i cannot find it either as downloadable
program or otherwise (naturally, would have been available if i did NOT
want it).
Anyway, i did find with search "waterfall browser", Search Results:
** QUOTE**
Waterfall - Firefox Developer Tools | MDN
Waterfall
Firefox Developer Tools>Performance>Waterfall
The Waterfall gives you insight into the sorts of things the browser
is doing as it runs your site or app. It's based on the idea that the
things a browser does when running a site can be divided into various
types - running JavaScript, updating layout, and so on - and that at any
given point in time, the browser is doing one of those things.
** END QUOTE**
Yup! that would do...
...BUT
All they do is yap about it and give NO CLUE where/how to get it.
Help?
[toc] | [next] | [standalone]
| From | Robert Baer <robertbaer@localnet.com> |
|---|---|
| Date | 2020-06-27 18:28 -0700 |
| Message-ID | <5nSJG.52053$0W4.50413@fx42.iad> |
| In reply to | #11749 |
Robert Baer wrote:
> Once upon a time, a long time ago (maybe 2 weeks) i stumbled into a
> program that did a waterfall presentation of a HTML file, instead of
> rendering the file "normally" as a web page.
>
> It would nominally take 3 passes and stop with presentation at the
> end of a pass.
>
> Do not remember where it was,and i may have been one of those online
> programs.
>
> Above was a curiosity item; rater educational and useful.
> Now,when i really need it, i cannot find it either as downloadable
> program or otherwise (naturally, would have been available if i did NOT
> want it).
>
> Anyway, i did find with search "waterfall browser", Search Results:
> ** QUOTE**
> Waterfall - Firefox Developer Tools | MDN
>
> Waterfall
> Firefox Developer Tools>Performance>Waterfall
> The Waterfall gives you insight into the sorts of things the browser
> is doing as it runs your site or app. It's based on the idea that the
> things a browser does when running a site can be divided into various
> types - running JavaScript, updating layout, and so on - and that at any
> given point in time, the browser is doing one of those things.
> ** END QUOTE**
>
> Yup! that would do...
> ....BUT
> All they do is yap about it and give NO CLUE where/how to get it.
>
> Help?
OK;fiddling around, clicking on various parts of that line "Firefox
Developer Tools>Performance>Waterfall" i got to the performance section.
Even saw the clock icon and messed with that.
Since i could not figure out how to "run" an HTML program exactly
when the profile timing started, this was a DOA situation.
Could not figure out how to get any HTML program attached to this
otherwise useless process, or how to tell the profile "time the following".
Well, in noodling around, i DID find out something very useful.
Loaded https://oil4lessllc.com/industry-related-links.html and then
used Tools, selected Web Devlopment > Toggle Tools, let it settle down.
Then selected Console and saw three error messages.
So,i have name of js code..mumble.js:474:2.
Taking a baer grrreat leap of faith, i presume that means line 474.
**COPY**
var parseEmbedded = function (el, s) {
return;
// This function doesn't work because of a bug in IE, where
innerHTML gives us parsed css instead of raw literal.
el.cssHelperText = sanitize(s || el.innerHTML);
return parseText(el);
};
**END COPY**
Line 474 is the one starting " el." and ends with a semicolon.
So where is the beef?
Thanks.
[toc] | [prev] | [next] | [standalone]
| From | Paul <nospam@needed.invalid> |
|---|---|
| Date | 2020-06-27 23:38 -0400 |
| Message-ID | <rd93at$3kr$1@dont-email.me> |
| In reply to | #11750 |
Robert Baer wrote:
> Robert Baer wrote:
>> Once upon a time, a long time ago (maybe 2 weeks) i stumbled into a
>> program that did a waterfall presentation of a HTML file, instead of
>> rendering the file "normally" as a web page.
>>
>> It would nominally take 3 passes and stop with presentation at the
>> end of a pass.
>>
>> Do not remember where it was,and i may have been one of those
>> online programs.
>>
>> Above was a curiosity item; rater educational and useful.
>> Now,when i really need it, i cannot find it either as downloadable
>> program or otherwise (naturally, would have been available if i did
>> NOT want it).
>>
>> Anyway, i did find with search "waterfall browser", Search Results:
>> ** QUOTE**
>> Waterfall - Firefox Developer Tools | MDN
>>
>> Waterfall
>> Firefox Developer Tools>Performance>Waterfall
>> The Waterfall gives you insight into the sorts of things the
>> browser is doing as it runs your site or app. It's based on the idea
>> that the things a browser does when running a site can be divided into
>> various types - running JavaScript, updating layout, and so on - and
>> that at any given point in time, the browser is doing one of those
>> things.
>> ** END QUOTE**
>>
>> Yup! that would do...
>> ....BUT
>> All they do is yap about it and give NO CLUE where/how to get it.
>>
>> Help?
> OK;fiddling around, clicking on various parts of that line "Firefox
> Developer Tools>Performance>Waterfall" i got to the performance section.
>
> Even saw the clock icon and messed with that.
> Since i could not figure out how to "run" an HTML program exactly when
> the profile timing started, this was a DOA situation.
> Could not figure out how to get any HTML program attached to this
> otherwise useless process, or how to tell the profile "time the following".
>
> Well, in noodling around, i DID find out something very useful.
> Loaded https://oil4lessllc.com/industry-related-links.html and then
> used Tools, selected Web Devlopment > Toggle Tools, let it settle down.
> Then selected Console and saw three error messages.
> So,i have name of js code..mumble.js:474:2.
> Taking a baer grrreat leap of faith, i presume that means line 474.
>
> **COPY**
>
> var parseEmbedded = function (el, s) {
> return;
> // This function doesn't work because of a bug in IE, where
> innerHTML gives us parsed css instead of raw literal.
> el.cssHelperText = sanitize(s || el.innerHTML);
> return parseText(el);
> };
>
> **END COPY**
>
> Line 474 is the one starting " el." and ends with a semicolon.
> So where is the beef?
>
> Thanks.
>
OK, being a hobbyist, what happens if you place the // comment
thingy, in front of those two lines, like this.
var parseEmbedded = function (el, s) {
return;
// This function doesn't work because of a bug in IE, where innerHTML gives us parsed css instead of raw literal.
// el.cssHelperText = sanitize(s || el.innerHTML);
// return parseText(el);
};
Since the "return;" is the first line, the control flow is
immediately stopped at that point. The lines after it are
rendered "moot". If you comment them out, it looks
marginally cleaner.
And the file is "css3-mediaqueries.js" , as that's where
a content search of your downloaded page shows it as existing.
Paul
[toc] | [prev] | [standalone]
Back to top | Article view | alt.computer
csiph-web