Edge Canary Supports Shape Detection API
Tags: microsoftedge, shapedetectionapi
Published: 2019-06-05 15:42:07

---
title: Edge Canary Supports Shape Detection API
published: true
tags: microsoft edge,shape detection api
canonical_url: https://george.mand.is/2019/05/edge-canary-support-shape-detection-api/
---

The macOS version of Microsoft Edge Insider was released today at [microsoftedgeinsider.com](https://www.microsoftedgeinsider.com/en-us/download). Currently only the Canary Channel is available, which is updated daily. The more stable Beta and Dev channels will likely become available in the coming weeks as we run the gauntlet between Microsoft Build, Google I/O, WWDC and probably some other developer-centric events I'm forgetting about that happen this time of year.

The new version of Edge is built on [Chromium](https://www.chromium.org/), which is kind of a bittersweet victory for the web depending on how you look at it. On the bitter side, choice and differentation is one of the things that makes the open web great. No one company owns the web, nor should it. For all the things it does well, adopting Google's project to power their browser feels like Microsoft ceding a little too much control to Google's grip on the web, even if I think they've generally been decent stewards.

On the sweeter side, troubleshooting and debugging a Chromium-based browser is going to be _much_ nicer than dealing with Edge! While I was at Microsoft Build the other week I asked a question about whether or not the new Edge would support the Shape Detection API. It's currently available in Chromium hidden beneath the experimental web features flag found at `chrome://flags.`

I asked about this while I was speaking at Microsoft Build the other week:

> Does anyone know if the new MS Edge based on Chromium has an equivalent of the "Experiments" page (chrome://flags) to enable experimental web platform features?  
>   
> You can enable the Shape Detection API on Chromium, which sort of surprised me. Wondering if Edge inherited this...
> 
> — George Mandis (@georgeMandis) [May 3, 2019](https://twitter.com/georgeMandis/status/1124443813110374400?ref_src=twsrc%5Etfw)

<script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>

Long-story short—looks like you can! Just go to `edge://flags` and you'll find an identical screen.

> To answer my own question: YES! In Edge Canary on macOS you can find the flags at: edge://flags/  
>   
> I also tested the Shape Detection API, and it works!!!  
>   
> Long-term, I'm excited to think this means wide-support for a very cool feature:[https://t.co/wj4CKixLGZ](https://t.co/wj4CKixLGZ) [https://t.co/Dx4Pt1fZch](https://t.co/Dx4Pt1fZch)
> 
> — George Mandis (@georgeMandis) [May 21, 2019](https://twitter.com/georgeMandis/status/1130920860330602496?ref_src=twsrc%5Etfw)

<script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>

Once you've enabled this you should be able to view this demo at my slightly neglected project **Debugging Art** :

[debuggingart.com/sketch/shape-detection-dva-brata/](https://debuggingart.com/sketch/shape-detection-dva-brata/)

Though my feelings are still mixed on the state of browser homogeneity, I _do_ think it's cool that features like this might become wide-spread more quickly.