Re: [blink-dev] Re: Intent to Ship: Speculation rules: target_hint field

2025-06-04 Thread Yoav Weiss (@Shopify)
LGTM1 On Wed, Jun 4, 2025 at 5:06 PM Barry Pollard wrote: > Looking at > https://github.com/WICG/nav-speculation/blob/main/triggers.md#window-name-targeting-hints, > what should developers do if they have multiple different targets? >> >> e.g. URL A navigates to "_blank" and URL B navigates "_se

Re: [blink-dev] Re: Intent to Ship: Speculation rules: target_hint field

2025-06-04 Thread Yoav Weiss (@Shopify)
LGTM3 even On Wed, Jun 4, 2025 at 5:24 PM Yoav Weiss (@Shopify) wrote: > LGTM1 > > On Wed, Jun 4, 2025 at 5:06 PM Barry Pollard > wrote: > >> Looking at >> https://github.com/WICG/nav-speculation/blob/main/triggers.md#window-name-targeting-hints, >> what should developers do if they have multip

Re: [blink-dev] Re: Intent to Ship: Speculation rules: target_hint field

2025-06-04 Thread 'Barry Pollard' via blink-dev
Looking at https://github.com/WICG/nav-speculation/blob/main/triggers.md#window-name-targeting-hints, what should developers do if they have multiple different targets? > > e.g. URL A navigates to "_blank" and URL B navigates "_self"? They can split the rule in two (or include two rules):