Skip to content

Implement CNAME edgeDomain use case.#487

Merged
jfkhoury merged 6 commits intomasterfrom
feature/C148846
May 7, 2020
Merged

Implement CNAME edgeDomain use case.#487
jfkhoury merged 6 commits intomasterfrom
feature/C148846

Conversation

@jfkhoury
Copy link
Contributor

@jfkhoury jfkhoury commented May 6, 2020

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Improvement (non-breaking change which does not add functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • I have signed the Adobe Open Source CLA or I'm an Adobe employee.
  • I have made any necessary test changes and all tests pass.
  • I have run the Sandbox successfully.

// Expects the CNAME request header to contain the Konductor state cookies.
// Expects the CNAME response body to not contain the Konductor state.
// Expects the CNAME response header to contain the Konductor state.
await assertCnameUseCases(secondRequest, cnameStateHandle);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps move this out of the if-else because it is the same for both and keep the comments

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

YES!

const identityCookieName = "kndctr_334F60F35E1597910A495EC2_AdobeOrg_identity";

const areThirdPartyCookiesSupportedByBrowserByDefault = () =>
browsersSupportingThirdPartyCookiesByDefault.indexOf(t.browser.name) !== -1;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It might be worth moving this (and the list of browsers) into a helper, since it's also used in another test and potentially future tests.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good idea, will do.

@jfkhoury jfkhoury force-pushed the feature/C148846 branch from c97f7be to 19b2ceb Compare May 7, 2020 22:37

const identityCookieName = "kndctr_334F60F35E1597910A495EC2_AdobeOrg_identity";

const areThirdPartyCookiesSupportedByBrowserByDefault = () =>
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done @Aaronius

@jfkhoury jfkhoury merged commit a2ea78c into master May 7, 2020
@jfkhoury jfkhoury deleted the feature/C148846 branch May 7, 2020 22:47
Spencer-Smith pushed a commit that referenced this pull request Feb 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants