StackOverflow HTML render error - ERR_SSL_PROTOCOL_ERROR? - google-chrome

Why did StackOverflow HTML render like this? I'm unable to reproduce the weird rendering if I take the exact same HTML source code, save to file.html and open the file.html file. Below is the error I got in the browser console. The css file was probably omitted in the browser source code because of the sequence of this error and when css renders the html source code, so is this a Google Chrome (chromium framework) issue?
Google Chrome console error:
Failed to load resource: net::ERR_SSL_PROTOCOL_ERROR
pubads_impl_2022102601.js?cb=31070593:10 The following functions are deprecated: googletag.pubads().setTagForChildDirectedTreatment(), googletag.pubads().clearTagForChildDirectedTreatment(), googletag.pubads().setRequestNonPersonalizedAds(), and googletag.pubads().setTagForUnderAgeOfConsent(). Please use googletag.pubads().setPrivacySettings() instead.
hv # pubads_impl_2022102601.js?cb=31070593:10
​ Unrecognized feature: 'attribution-reporting'.
$f # impl_v91.js:100
​ Unrecognized feature: 'attribution-reporting'.
$f # impl_v91.js:100
​ a: 0.0029296875 ms

Related

Why does "Failed to load resource" text show for "DOCTYPE HTML" tag with "/undefined?235" request in Symfony 2?

I've found an error in my Symfony2 website, what you can see below with the link:
https://drive.google.com/open?id=0B430tyHOr_s0SDdFXzJ2T1hVVEE&authuser=0
I use SonataPageBundle and SonataSeoBundle for html rendering, but I don't find the source of this bug.
Could anybody say something for this?
Regards,
Norbert

Html from Silverlight (not out of browser)

I am trying to open HTML file from the local URI which I use as XML Editor, to edit xml data that come from Silverlight application, then close browser window and return back edited xml data to the Silverlight application.
I tried to use HtmlPage.Window.Navigate but I don't quit like it.
I have tried using a method from: http://weblogs.asp.net/dwahlin/archive/2010/05/10/integrating-html-into-silverlight-applications.aspx
but instanly got an exception "failed to invoke ShowJobPlanIFrame"
Is there any way to handle this task?
"Out of browser" mode doesn't fit.
Thanks.
===========================================================================
Update:
It worked out using IFrame overlay.
Button click invokes the following code in C#:
var scriptObject = (ScriptObject)HtmlPage.Window.GetProperty("ShowJobPlanIFrame");
scriptObject.InvokeSelf(url);
Where "ShowJobPlanIFrame" is as defined at:
http://weblogs.asp.net/dwahlin/archive/2010/05/10/integrating-html-into-silverlight-applications.aspx
This allowed me to pass data into XML editor and then get it back.
An error with JavaScript function invocation I told above, was my fault in JavaScript code itself.
A very similar scenario: https://stackoverflow.com/a/7919065/384316
Try using an iframe overlay, then you can load any HTML-like content.
There is an excellent explanation of how to do this here:
http://www.wintellect.com/cs/blogs/jlikness/archive/2010/09/19/hosting-html-in-silverlight-not-out-of-browser.aspx
It worked out using IFrame overlay.
Button click invokes the following code in C#:
var scriptObject = (ScriptObject)HtmlPage.Window.GetProperty("ShowJobPlanIFrame");
scriptObject.InvokeSelf(url);
Where "ShowJobPlanIFrame" is as defined at:
http://weblogs.asp.net/dwahlin/archive/2010/05/10/integrating-html-into-silverlight-applications.aspx
This allowed me to pass data into XML editor and then get it back.
An error with JavaScript function invocation I told above, was my fault in JavaScript code itself.
Did you try NavigationFramework of Silverlight? It's capability may support your needs in a more simple way than using multiple browser pages.

iframe not displaying the html page

Inside the iframe tag - a CGI script is called - which return's HTML but which is not displayed. Even viewing the iframe -> view source gives nothing but empty HTML page.
While invoking the same CGI script directly from browser it works properly. It shows a simple html page with a single table.
What are all the likely issues ? Can somebody help ?
Issue in real context:
It is a reporting script from bugzilla 3.6 which is called in IFRAME which shows report properly in iframe. But the same script in bugzilla 4.0 which is called is not showing anything only in iframe.
I executed both scripts using wget - both gives exactly same html ( except some table fields - which cannot be an issue).
Direct cgi execution from browser of both scripts - and save page as html - both are same ( except some table fields - which cannot be an issue).
Tried debugging the cgi script - both prints almost same messages - some arguments - dumper and like ...
I have no idea of what else to check, please help. Thanks.
I came across the same issue and found the following in the Bugzilla 4.0 release notes
Bugzilla now sends the X-Frame-Options: SAMEORIGIN header with every
page request in order to prevent "clickjacking" attacks. Note that
this prevents other domains from displaying Bugzilla in an HTML frame.
Comment out the following lines in CGI.pm to prevent Bugzilla from setting the header.
# Add X-Frame-Options header to prevent framing and subsequent
# possible clickjacking problems.
unless ($self->url_is_attachment_base) {
unshift(#_, '-x_frame_options' => 'SAMEORIGIN');
}

RewriteURL cause chrome Exception

I'm using FormRewriterControlAdapter to rewrite URL
But when I use Google chrome, I had a exception in
Exception:Cannot use a leading .. to exit above the top directory
Stack Trace: 於 System.Web.Util.UrlPath.ReduceVirtualPath(String path)
my web site is http://ranking.heeact.edu.tw
and I've already added
genericmozilla5.browser
Google.browser
Yahooslurp.browser
from
http://todotnet.com/post/2006/07/01/Get-GoogleBot-to-crash-your-NET-20-site.aspx
does anybody know what's wrong?
My got answer.
It's not URL rewriting problem. Just a asp.net control menuitem cause Chrome render html tag cuase exception.
http://www.google.com/support/forum/p/Chrome/thread?tid=7506cca26ec06af7&hl=en

How to have pdf viewer in ruby

How can I embeded pdf viewer in ruby on rail?
Now I tried
<embed src="MyPdfDocument.pdf" width="500" height="375">
but it doesn't work. I used firebug and see the error like this
[Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIStreamListener.onStopRequest]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: file:///home/bengasi/.mozilla/firefox/cmb1mbzu.default/extensions/firebug#software.joehewitt.com/components/firebug-channel-listener.js :: anonymous :: line 167" data: no]
[Break on this error] this.listener.onStopRequest(request, requestContext, statusCode);\n
firebug-...stener.js (line 167)
If you are trying to display a PDF as an image, surrounded by HTML content... then a browser won't do that, and your problem is with the browser, not Ruby on Rails. You can link to a PDF, and display it whole, but you cannot embed it in another document.
You could simulate the effect (maybe, in some browsers) with an iFrame, but that is a HTML question, not a rails question... and you would possibly spend a lot of time making it work in all browsers.
You might find this useful:
http://googlesystem.blogspot.com/2009/09/embeddable-google-document-viewer.html