‘Failed to find font-family tag’ when uploading using Chrome browser on Android

I have an javascript app which uploads photos. Uploading works when developing locally in my Chrome browser. However when I run the app on my android phone (or my android notepad), it ignores the first time I select a photo and only works the second time I select a photo (could be a different photo second time). This is the case when selecting an existing photo, or when taking a picture (fist time nothing happens, second time uploads as should). I tried to debug this using a usb connection with Chrome remote devices, but then suddenly the ‘bug’ is gone (photo gets uploaded on first selection).

Another thing I tried: I selected chrome://user-actions in another chrome tab. As soon as I do however the bug is gone again, it works as should so I can not debug!

On both Firefox and Safari the upload of photos works as should.

I installed Android Studio and can now connect my phone via usb and get useful logs in the Logcat window of Android Studio. When bug occurs I get following logs that look like the culprit to me:

E/ResourcesCompat: Failed to find font-family tag  

For example a succesful upload:

2019-04-20 09:42:44.669 1090-1211/? E/storaged: getDiskStats failed with result NOT_SUPPORTED and size 0 2019-04-20 09:43:00.546 1831-1875/? W/libprocessgroup: Failed to open process cgroup uid 99035 pid 17754: No such file or directory 2019-04-20 09:43:00.547 1831-1875/? E/libprocessgroup: Error encountered killing process cgroup uid 99035 pid 17754: No such file or directory 2019-04-20 09:43:00.587 1831-1878/? E/KernelCpuSpeedReader: Failed to read cpu-freq stats for CPUs 4-7 2019-04-20 09:43:00.588 1831-1878/? E/KernelCpuSpeedReader: Failed to read cpu-freq stats for CPUs 0-3 2019-04-20 09:43:22.689 905-1110/? W/qti_sensors_hal: processReportInd: lux: 123, ch0: 84, ch1: 151, pData: 24, pOffset: 6 2019-04-20 09:43:23.186 905-1650/? W/qti_sensors_hal: reportSingleEvent: NearBy 1, pData 108, pOffset 6, highThres 97, lowThres 72 2019-04-20 09:43:23.282 905-1650/? W/qti_sensors_hal: reportSingleEvent: NearBy 0, pData 31, pOffset 6, highThres 97, lowThres 72 2019-04-20 09:43:23.672 905-1110/? W/qti_sensors_hal: processReportInd: lux: 142, ch0: 95, ch1: 163, pData: 5, pOffset: 6 2019-04-20 09:43:42.544 18563-18563/? E/contentprovide: Not starting debugger since process cannot load the jdwp agent. 2019-04-20 09:43:44.671 1090-1211/? E/storaged: getDiskStats failed with result NOT_SUPPORTED and size 0 2019-04-20 09:43:46.515 905-1110/? W/qti_sensors_hal: processReportInd: lux: 165, ch0: 108, ch1: 171, pData: 6, pOffset: 6 2019-04-20 09:43:47.506 9494-9494/? E/ResourcesCompat: Failed to find font-family tag 2019-04-20 09:43:47.509 9494-9494/? E/ResourcesCompat: Failed to find font-family tag 

A Failed upload:

2019-04-20 09:45:00.184 1831-1875/? W/libprocessgroup: Failed to open process cgroup uid 99037 pid 19100: No such file or directory 2019-04-20 09:45:00.184 1831-1875/? E/libprocessgroup: Error encountered killing process cgroup uid 99037 pid 19100: No such file or directory 2019-04-20 09:45:00.216 9494-9494/? E/ResourcesCompat: Failed to find font-family tag 2019-04-20 09:45:00.225 1831-1878/? E/KernelCpuSpeedReader: Failed to read cpu-freq stats for CPUs 4-7 2019-04-20 09:45:00.222 9494-9494/? E/ResourcesCompat: Failed to find font-family tag 2019-04-20 09:45:00.227 1831-1878/? E/KernelCpuSpeedReader: Failed to read cpu-freq stats for CPUs 0-3 2019-04-20 09:45:00.247 19263-19263/? E/decoder_servic: Not starting debugger since process cannot load the jdwp agent. 2019-04-20 09:45:00.313 19263-19279/? W/FileUtils: Failed to chmod(/data/user/0/com.android.chrome/app_chrome): android.system.ErrnoException: chmod failed: EACCES (Permission denied) 2019-04-20 09:45:00.314 19263-19279/? E/cr_PathUtils: Failed to set permissions for path "/data/user/0/com.android.chrome/app_chrome" 2019-04-20 09:45:00.314 19263-19279/? W/FileUtils: Failed to chmod(/data/user/0/com.android.chrome/app_textures): android.system.ErrnoException: chmod failed: EACCES (Permission denied) 2019-04-20 09:45:00.314 19263-19279/? W/ContextImpl: Failed to ensure /data/user/0/com.android.chrome/cache: mkdir failed: EACCES (Permission denied) 2019-04-20 09:45:00.314 19263-19279/? W/ContextImpl: Failed to update user.inode_cache: stat failed: EACCES (Permission denied) 2019-04-20 09:45:00.315 19263-19279/? W/ContextImpl: Failed to ensure /data/user/0/com.android.chrome/cache: mkdir failed: EACCES (Permission denied) 2019-04-20 09:45:00.315 19263-19279/? W/ContextImpl: Failed to update user.inode_cache: stat failed: EACCES (Permission denied) 

Only pointer I find is that for all failures the Failed to find font-family tag comes BEFORE Failed to read cpu-freq stats.

Any clues?

Why I can open reddit in chrome but not in firefox?

Instead I got this

enter image description here

Basically, Firefox complains that reddit have a certificate for firstmedia.com

firstmedia.com is my ISP. In Indonesia, ISP are required to block bad sites and reddit is one of the site blocked.

They do so by poisoning DNS or something. By changing the DNS I usually can access reddit.

However, for some reason, firefox still think that reddit uses firsmedia.com’s certificate.

Chrome doesn’t.

Why?

And what should I do to be able to open reddit in firefox.

Javascript not working in IE but work works in Chrome

I had a long search and until I found a working script to use the logged in user id. Finally I have found the following Javascript code, put it in XSL to be used in an XMl viewer web part:

<script language="javascript" defer="true">       <xsl:comment>         <![CDATA[  ExecuteOrDelayUntilScriptLoaded(init,'sp.js'); var currentUser; function init(){     this.clientContext = new SP.ClientContext.get_current();     this.oWeb = clientContext.get_web();     currentUser = this.oWeb.get_currentUser();     this.clientContext.load(currentUser);     this.clientContext.executeQueryAsync(Function.createDelegate(this,this.onQuerySucceeded), Function.createDelegate(this,this.onQueryFailed)); }  function onQuerySucceeded() { }  function onQueryFailed(sender, args) {     alert('Request failed. \nError: ' + args.get_message() + '\nStackTrace: ' + args.get_stackTrace()); }          ]]>       </xsl:comment>     </script> 

I call the function like this:

<A class="bluelink" href = "javascript:void(0)" onclick="javascript:window.location='{$  mailtolink}' + '%0D%0Auserid: ' + currentUser.get_loginName() + '%0D%0Aurl: ' +  window.location; return false;">Request additional rights</A> 

The mailtolink variable represents a valid mailto: link. The problem is, that in IE11 (also in IE8 compatibility mode), the mail body ends only with

userid: i:0

However in Chrome, I get all the details I need:

userid: i:0#.w|tdomain\testuser
url: https://myserver/testsite/default.aspx

I made the mail body shorter, to make sure it is not the lenght, but I got the same results. Can someone give me a hint how to make the script work in IE?

Material Design outlined textfields filled with auto fill chrome style

We’re using outlined textfields from Material Design.

On some occasions, chrome(or any other browser I guess) can auto fill the data because the users has saved them. Chrome gives a hint to the user by setting the background color of the textfield to a light blue.

enter image description here

I find the part where the blue background crosses the label quite hard to read and very awkward.

I don’t want to force background color to white because I think overriding default browser behaviour is a bad practice that would not serve our users.

Couldn’t find any reference to that on MD docs.

Tried to force background color to white and label+outline to the “autofilled” color but I’m not sure users would take the hint.

Do you guys have any suggestions?

Why does Chrome randomly open my Gmail on a new tab?

I have my Chrome set up to open on the New Tab page but whenever I open Chrome it also opens my Gmail on another tab. It also randomly opens it whenever I’m on.

It doesn’t do it when it’s closed, so that’s good but yeah. It’s kind of annoying.

I know that I’m signed in and connected to Google with my account. Does it have anything to do with syncing? If so, will turning off the sync stop it from opening my Gmail?

ERR_SPDY_PROTOCOL_ERROR for Rails app: occurs on Chrome and Safari browsers, never locally

This is a similar question, but the answer didn’t help.

Similar questions on Stack Overflow and the web also did not help because those focused on Chrome solutions.

However, this problem hits us on Chrome and Safari. Moreover, it never happens in our development environment — only in the production environment, suggesting it’s an issue with our Rails hosting provider.

~20% of the time pages like this https://myhotpot.io/design/chrome_screenshot?id=14 never load because of this error:

Failed to load resource: net::ERR_SPDY_PROTOCOL_ERROR 

We’re using Apache and Rails 3.2.12 (migrating soon!).

Any suggestions?

localhosted Chat Apps on Chrome doesn’t work properly DJANGO

localhosted Chat Apps on Chrome doesn’t work properly DJANGO

i am developing a project which is a chat room app which runs on localhost , chrome doesn’t show up messages on android but it does on desktop idk why ? i searched and found to change site permissions to send updates but the site isn’t found in the permissions section because its a localhost i guess

the project which i develop

Dynamic table not rendered in Firefox but rendered in Chrome

In my ASP.NET CORE 2 website, I have a table with dynamic table rows (tr elements). I noticed that my table was not rendered at all when I launched my page in Firefox (I was using Chrome to develop). Can someone point out what I need to do to fix my rendering issue in Firefox?

This is my Page:

<div class="workbook-container">     <table class="table">         <tbody>         @{             foreach (var workbook in Model.Workbooks)             {                 <tr>                     <td>@Html.ActionLink(workbook.Name, "Open", "OpenAnalytics", new {id = Model.Id, workbook = workbook.Name})</td>                     <td>                         <button title="Share" class="share-button" onclick='showSharingView("@workbook.Name")'>&nbsp;</button>                     </td>                 </tr>             }         }         </tbody>     </table> </div> 

Generated HTML: enter image description here

This is how the page looks in Chrome: enter image description here