bug: Deprecated warning on Chrome
Type: bug
Platform: desktop browser
Occasionally I see this warning on Chrome Version 45.0.2454.46 beta (64-bit) running on OSX 10.10.4.
'Touch.webkitRadiusX' is deprecated and will be removed in M47, around November 2015. Please use 'Touch.radiusX' instead. ionic.bundle.js:1162
@vko-online Modernizr would really be a good fit here. Not really needed.
@mhartington Agree. Anyway those warnings make no sense in mobile browsers, as they are older than desktop versions imo.
Well, they make sense on android, since 5.0 updates the system webview separately from the OS. So that webview will be the same as desktop chrome
Touch.webkitForce is deprecated where can i find this usage in code? https://github.com/driftyco/ionic/search?q=webkitForce no result
Will simple refactoring fix that issue?
Hmm, yeah not seeing it either. Hmm, will test on chrome canary and maybe even build chromium to check it out.
You don't need Canary. We are seeing this warning appear on the production version of chrome (latest version, you may just need to update).
Mike Nelson // CEO (and Developer) beweb // p. 09 3077042 // m. 027 4403757
On 9/09/2015, at 5:43 am, Mike Hartington [email protected] wrote:
Hmm, yeah not seeing it either. Hmm, will test on chrome canary and maybe even build chromium to check it out.
— Reply to this email directly or view it on GitHub.
not for that, but to see if anything breaks in canary or chromium
Don't worry boys, all of this warnings are just browser internal things, we don't need to do anything. Here's demo.
Before we start
- Make sure you have touch events enabled, go to chrome://flags/ then select enabled on Enable touch events Mac, Windows, Linux, Chrome OS use CMD + F to search By default it's auto, which will not work
- Prepare sample, i used this
function handleStart(evt) { evt.preventDefault(); console.log(evt); }andvar el = document.body; el.addEventListener("touchstart", handleStart, false);
Result

Now i see webkitForce, and notice, there is also force, just like webkitRadiusX, radiusX
I guess chrome is built by modules, and some modules use old events.
Don't worry imho
just to clarify is this just a fix for the Touch.webkitForce errors? because I am still getting the same errors that I noted above with ionic.bundle.js
@atans2468 it is not fix, it's just proof that those warnings your receive in console are ignorable, it will not break your code, it has nothing to do with ionic i believe. And note: they are just warnings
hmmmm well I'm still having an unexplainable issue with the ionic.bundle.js file that is keeping anything in my app from submitting to firebase. Were you just referring to the webkit warnings or also the "SVG's SMIL animations....." warning, I'll attach an image so that you can see exactly what I'm seeing:

SVG animations: Yes those are in ionics code, I will look into them and move them over to css.
As for the Touch warnings, I'm on @vko-online side, I don't think we have anything to worry about.
No need to keep commenting and. I know where the svg errors are coming from.
I have the same warning...
Same warning while using "$ionicHistory.goBack();"
Same warning in the tab application example: ionic.bundle.js:1162 'Touch.webkitRadiusX' is deprecated and will be removed in M47, around November 2015. Please use 'Touch.radiusX' instead.
It's a bit worrying, we are approaching november.
When do you plan to fix this warning?
Again, I've said this before....
As for the Touch warnings, we have anything to worry about.
If you look through Ionic and angular's source code, you won't find Touch.webkitRadiusX anywhere.
This is just a generic warning that chrome is giving incase any framework is using that method. We are all set :+1: @cihadhoruzoglu and @loian
+1
Again, nothing for us to do here. These are generic warnings inside of chrome in case anyone was using those prefixed APIs, which ionic is not.
If there's nothing to worry about, how about closing this bug? ;)