Skip to content

Fix #3939 - update firefox specific code in renderAd function#3980

Merged
jsnellbaker merged 2 commits intomasterfrom
firefox_render_code
Jul 9, 2019
Merged

Fix #3939 - update firefox specific code in renderAd function#3980
jsnellbaker merged 2 commits intomasterfrom
firefox_render_code

Conversation

@jsnellbaker
Copy link
Collaborator

Type of change

  • Bugfix

Description of change

This change updates the firefox specific logic in the renderAd function to only run if the user is using a version of Firefox below 67 (since Mozilla fixed the original bug in 67.0).

Additional references relevant to this overall change:

Copy link
Collaborator

@snapwich snapwich left a comment

Choose a reason for hiding this comment

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

LGTM

src/prebid.js Outdated
doc.open('text/html', 'replace');
// will check if browser is firefox and below version 67, if so execute special doc.open()
// for details see: https://github.com/prebid/Prebid.js/pull/3524
// TODO remove this browser specific code at later date
Copy link
Contributor

Choose a reason for hiding this comment

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

I would just add here ...later date when Firefox < 67 usage is mostly gone

Copy link
Contributor

@mkendall07 mkendall07 left a comment

Choose a reason for hiding this comment

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

lgtm

@jsnellbaker jsnellbaker merged commit 1086def into master Jul 9, 2019
@jsnellbaker jsnellbaker deleted the firefox_render_code branch July 16, 2019 17:48
leonardlabat pushed a commit to criteo-forks/Prebid.js that referenced this pull request Jul 30, 2019
…rebid#3980)

* update browser specific code in renderAd function

* update TODO comment
VideoReach pushed a commit to VideoReach/Prebid.js that referenced this pull request Aug 1, 2019
…rebid#3980)

* update browser specific code in renderAd function

* update TODO comment
sa1omon pushed a commit to gamoshi/Prebid.js that referenced this pull request Nov 28, 2019
…rebid#3980)

* update browser specific code in renderAd function

* update TODO comment
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.

4 participants

Comments