Closed
Bug 1601261
Opened 6 years ago
Closed 6 years ago
Flash of unstyled content on https://www.srihash.org/
Categories
(Core :: General, defect)
Core
General
Tracking
()
RESOLVED
DUPLICATE
of bug 687441
People
(Reporter: nchevobbe, Unassigned)
Details
Attachments
(1 file)
|
287 bytes,
text/html
|
Details |
Steps to reproduce
- Open https://www.srihash.org/
- Hard refresh just in case
Actual results
There's a flash of unstyled content (See https://www.dropbox.com/s/ek1g8f8a0ecql8a/2019-12-04_14-51-59.mp4?dl=0), although the stylesheet is declared in the head and there's no script on this page.
I can reproduce this with a clean profile (so no addons would mess with the page)
Flags: needinfo?(emilio)
Comment 1•6 years ago
|
||
Relevant stack:
(rr) bt
#0 0x0000000070000002 in ()
#1 0x00007f6ad3539214 in _raw_syscall () at /usr/local/bin/../lib64/rr/librrpreload.so
#2 0x00007f6ad3537436 in syscall_hook_internal (call=<optimized out>) at /home/emilio/src/moz/rr/src/preload/syscallbuf.c:1902
#3 0x00007f6ad35339b6 in syscall_hook (call=0x681fffa0) at /home/emilio/src/moz/rr/src/preload/syscallbuf.c:2977
#4 0x00007f6ad35330aa in _syscall_hook_trampoline () at /usr/local/bin/../lib64/rr/librrpreload.so
#5 0x00007f6ad35330da in __morestack () at /usr/local/bin/../lib64/rr/librrpreload.so
#6 0x00007f6ad35330f5 in _syscall_hook_trampoline_48_3d_00_f0_ff_ff () at /usr/local/bin/../lib64/rr/librrpreload.so
#7 0x00007f6ad30b4295 in write () at /lib64/libc.so.6
#8 0x00007f6ad30443fd in _IO_file_write@@GLIBC_2.2.5 () at /lib64/libc.so.6
#9 0x00007f6ad3043756 in new_do_write () at /lib64/libc.so.6
#10 0x00007f6ad3044b2e in __GI__IO_file_xsputn () at /lib64/libc.so.6
#11 0x00007f6ad3030661 in buffered_vfprintf () at /lib64/libc.so.6
#12 0x00007f6ad302d604 in __vfprintf_internal () at /lib64/libc.so.6
#13 0x00007f6ad3019d0f in printf () at /lib64/libc.so.6
#14 0x00007f6aca585f99 in nsContentSink::StartLayout(bool) (this=0x7f6ab35bd000, aIgnorePendingSheets=<optimized out>) at /home/emilio/src/moz/mozilla-central/dom/base/nsContentSink.cpp:1154
#15 0x00007f6aca4bb989 in mozilla::dom::Document::FlushPendingNotifications(mozilla::ChangesToFlush) (this=0x7f6ab51c6000, aFlush=...) at /home/emilio/src/moz/mozilla-central/dom/base/Document.cpp:9773
#16 0x00007f6aca4bb9d9 in mozilla::dom::Document::FlushPendingNotifications(mozilla::ChangesToFlush) (this=0x7f6ab5480000, aFlush=...) at /home/emilio/src/moz/mozilla-central/dom/base/Document.cpp:9799
#17 0x00007f6ac9e8f6cc in nsDocLoader::DocLoaderIsEmpty(bool) (this=0x7f6ab51a0000, aFlushLayout=<optimized out>) at /home/emilio/src/moz/mozilla-central/uriloader/base/nsDocLoader.cpp:680
#18 0x00007f6ac9e904ae in nsDocLoader::OnStopRequest(nsIRequest*, nsresult) (this=0x7f6ab51a0000, aRequest=<optimized out>, aStatus=nsresult::NS_OK) at /home/emilio/src/moz/mozilla-central/uriloader/base/nsDocLoader.cpp:619
#19 0x00007f6ac9e90a4f in non-virtual thunk to nsDocLoader::OnStopRequest(nsIRequest*, nsresult) () at /home/emilio/src/moz/mozilla-central/obj-debug/dist/bin/libxul.so
#20 0x00007f6ac922a698 in mozilla::net::nsLoadGroup::NotifyRemovalObservers(nsIRequest*, nsresult) (this=0x7f6ab51a84c0, request=0x7f6ab543e380, aStatus=<optimized out>)
at /home/emilio/src/moz/mozilla-central/netwerk/base/nsLoadGroup.cpp:595
#21 0x00007f6ac922b4d7 in mozilla::net::nsLoadGroup::RemoveRequest(nsIRequest*, nsISupports*, nsresult) (this=0x7f6ab51a84c0, request=0x7f6ab543e380, ctxt=<optimized out>, aStatus=nsresult::NS_OK)
at /home/emilio/src/moz/mozilla-central/netwerk/base/nsLoadGroup.cpp:502
#22 0x00007f6aca4bd89b in mozilla::dom::Document::DoUnblockOnload() (this=<optimized out>) at /home/emilio/src/moz/mozilla-central/dom/base/Document.cpp:10499
#23 0x00007f6aca4a7ea0 in mozilla::dom::Document::UnblockOnload(bool) (this=0x7f6ab5480000, aFireSync=true) at /home/emilio/src/moz/mozilla-central/dom/base/Document.cpp:10431
#24 0x00007f6aca4b2935 in mozilla::dom::Document::DispatchContentLoadedEvents() (this=<optimized out>) at /home/emilio/src/moz/mozilla-central/dom/base/Document.cpp:7114
#25 0x00007f6aca506285 in mozilla::detail::RunnableMethodArguments<>::applyImpl<mozilla::dom::Document, void (mozilla::dom::Document::*)()>(mozilla::dom::Document*, void (mozilla::dom::Document::*)(), mozilla::Tuple<>&, std::integer_sequence<unsigned long>) (o=<optimized out>, m=<optimized out>, args=...) at /home/emilio/src/moz/mozilla-central/obj-debug/dist/include/nsThreadUtils.h:1124
#26 mozilla::detail::RunnableMethodArguments<>::apply<mozilla::dom::Document, void (mozilla::dom::Document::*)()>(mozilla::dom::Document*, void (mozilla::dom::Document::*)()) (this=<optimized out>, o=<optimized out>, m=<optimized out>)
at /home/emilio/src/moz/mozilla-central/obj-debug/dist/include/nsThreadUtils.h:1130
#27 mozilla::detail::RunnableMethodImpl<mozilla::dom::Document*, void (mozilla::dom::Document::*)(), true, (mozilla::RunnableKind)0>::Run() (this=<optimized out>)
at /home/emilio/src/moz/mozilla-central/obj-debug/dist/include/nsThreadUtils.h:1176
#28 0x00007f6ac9114b7e in mozilla::SchedulerGroup::Runnable::Run() (this=0x7f6ab544c510) at /home/emilio/src/moz/mozilla-central/xpcom/threads/SchedulerGroup.cpp:295
#29 0x00007f6ac9127c94 in nsThread::ProcessNextEvent(bool, bool*) (this=0x7f6ab65b3100, aMayWait=<optimized out>, aResult=0x7ffd3ddfbc27) at /home/emilio/src/moz/mozilla-central/xpcom/threads/nsThread.cpp:1250
#30 0x00007f6ac912a69b in NS_ProcessNextEvent(nsIThread*, bool) (aThread=0x1, aMayWait=false) at /home/emilio/src/moz/mozilla-central/xpcom/threads/nsThreadUtils.cpp:486
#31 0x00007f6ac979ec6c in mozilla::ipc::MessagePump::Run(base::MessagePump::Delegate*) (this=0x7f6ad2da3ab0, aDelegate=0x7ffd3ddfbe08) at /home/emilio/src/moz/mozilla-central/ipc/glue/MessagePump.cpp:88
#32 0x00007f6ac972b793 in MessageLoop::RunHandler() (this=0x7ffd3ddfbe08) at /home/emilio/src/moz/mozilla-central/ipc/chromium/src/base/message_loop.cc:308
#33 MessageLoop::Run() (this=0x7ffd3ddfbe08) at /home/emilio/src/moz/mozilla-central/ipc/chromium/src/base/message_loop.cc:290
#34 0x00007f6acbfd83dd in nsBaseAppShell::Run() (this=0x7f6ab65ee2e0) at /home/emilio/src/moz/mozilla-central/widget/nsBaseAppShell.cpp:137
#35 0x00007f6acd3b4d47 in XRE_RunAppShell() () at /home/emilio/src/moz/mozilla-central/toolkit/xre/nsEmbedFunctions.cpp:932
#36 0x00007f6ac979f24b in mozilla::ipc::MessagePumpForChildProcess::Run(base::MessagePump::Delegate*) (this=0x7f6ad2da3ab0, aDelegate=0x7ffd3ddfbe08) at /home/emilio/src/moz/mozilla-central/ipc/glue/MessagePump.cpp:238
#37 0x00007f6ac972b793 in MessageLoop::RunHandler() (this=0x7ffd3ddfbe08) at /home/emilio/src/moz/mozilla-central/ipc/chromium/src/base/message_loop.cc:308
#38 MessageLoop::Run() (this=0x7ffd3ddfbe08) at /home/emilio/src/moz/mozilla-central/ipc/chromium/src/base/message_loop.cc:290
#39 0x00007f6acd3b4635 in XRE_InitChildProcess(int, char**, XREChildData const*) (aArgc=<optimized out>, aArgv=<optimized out>, aChildData=<optimized out>) at /home/emilio/src/moz/mozilla-central/toolkit/xre/nsEmbedFunctions.cpp:767
#40 0x00005630bb89213e in content_process_main(mozilla::Bootstrap*, int, char**) (bootstrap=0x7f6ad2d026d0, argc=15, argv=0x7ffd3ddfd268) at /home/emilio/src/moz/mozilla-central/browser/app/../../ipc/contentproc/plugin-container.cpp:56
#41 0x00005630bb89242c in main(int, char**, char**) (argc=16, argv=0x7ffd3ddfd268, envp=<optimized out>) at /home/emilio/src/moz/mozilla-central/browser/app/nsBrowserApp.cpp:272
Updated•6 years ago
|
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE
Comment 3•6 years ago
|
||
So the <iframe> makes us FOUC as we need to check whether it has really finished loading, for which we need to check whether there are any style system loads, and fonts, and such:
Boris, any good idea here? I need to go afk in a bit but I'll be back later.
Flags: needinfo?(bzbarsky)
Comment 4•6 years ago
|
||
I don't know that I have anything to add to what I already said in bug 687441.
Flags: needinfo?(bzbarsky)
Comment 5•6 years ago
|
||
Err, sorry, apparently what happened is that I mid-aired with you.
Flags: needinfo?(emilio)
Updated•6 years ago
|
Attachment #9113544 -
Attachment mime type: text/plain → text/html
You need to log in
before you can comment on or make changes to this bug.
Description
•