Skip to content

core(web-inspector): keep all experiments disabled#4010

Merged
patrickhulce merged 1 commit intomasterfrom
runtimeexperiments
Dec 8, 2017
Merged

core(web-inspector): keep all experiments disabled#4010
patrickhulce merged 1 commit intomasterfrom
runtimeexperiments

Conversation

@paulirish
Copy link
Member

this fixes a conflict when LH runs in the devtools worker:

image

global.Runtime.experiments.isEnabled = global.Runtime.experiments.isEnabled || (_ => false);
// DevTools runtime doesn't know about some experiments that DTM looks for
// To avoid exceptions, we assume all experiments are disabled
global.Runtime.experiments.isEnabled = (_ => false);
Copy link
Collaborator

Choose a reason for hiding this comment

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

the fix we needed last time is just that this function existed? or did we really need to use the built-in?

Copy link
Collaborator

Choose a reason for hiding this comment

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

@patrickhulce patrickhulce merged commit d782494 into master Dec 8, 2017
@patrickhulce patrickhulce deleted the runtimeexperiments branch December 8, 2017 17:49
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.

2 participants