Web Inspector: move lastWMLErrorMessage from Console to LayoutTestController. This method is only used on layout tests and should not be exposed as part of public console API.
I like this idea. I wonder if there is a way we can tell if it is still used anywhere in the wild. Although this would remove a public API and could technically break a website, it is really only for debugging code (as with all console.* functions) so I think this would be fine. I can't imagine anyone using this in the wild either.
(In reply to comment #1) > I like this idea. I wonder if there is a way we can tell if it is still used anywhere in the wild. > Although this would remove a public API and could technically break a website, it is really > only for debugging code (as with all console.* functions) so I think this would be fine. I > can't imagine anyone using this in the wild either. This API never shipped, I only added it as debugging helper. Note that WML doesn't support JavaScript, so it was never reachable from a WML page....
(In reply to comment #2) > (In reply to comment #1) > > I like this idea. I wonder if there is a way we can tell if it is still used anywhere in the wild. > > Although this would remove a public API and could technically break a website, it is really > > only for debugging code (as with all console.* functions) so I think this would be fine. I > > can't imagine anyone using this in the wild either. > > This API never shipped, I only added it as debugging helper. Note that WML doesn't support JavaScript, so it was never reachable from a WML page.... There are three layout tests that call this method (http://codesearch.google.com/codesearch?hl=en&vert=chromium&lr=&q=lastWMLErrorMessage+file:LayoutTests&sbtn=Search), all of them are failing as I can see, should we remove them?
Created attachment 78807 [details] Patch
Closing this bug as it was fixed as part of r75792.