Re: [dev-servo] Feature detector detector for Servo debugging

2016-08-09 Thread Manish Goregaokar
It triggers for all, but the python script filters for accesses to properties that actually should be there. I wanted it to be easy to change the filtering logic without recompiling everything. -Manish Goregaokar ___ dev-servo mailing list

Re: [dev-servo] Feature detector detector for Servo debugging

2016-08-09 Thread Michael Howell
Does the feature detector detector trigger on undefined accesses to *all* JavaScript objects, or just host objects? On Tue, Aug 9, 2016 at 4:42 AM Manish Goregaokar wrote: > Feature detection is often a pain point when figuring out why a site > doesn't work in Servo --

[dev-servo] Feature detector detector for Servo debugging

2016-08-09 Thread Manish Goregaokar
Feature detection is often a pain point when figuring out why a site doesn't work in Servo -- regular JS errors are logged and detectable, but feature detection is silent. JavaScript's awesome coercion rules cause similar issues when a property evaluates to false when it's really undefined. To