(global, container, requestedHeight)
| 138 | * @visibleForTesting |
| 139 | */ |
| 140 | export function resizeSuccessHandler(global, container, requestedHeight) { |
| 141 | currentAmpHeight = requestedHeight; |
| 142 | const overflow = global.document.getElementById('overflow'); |
| 143 | if (overflow) { |
| 144 | setStyle(overflow, 'display', 'none'); |
| 145 | resizeCsa(container, requestedHeight); |
| 146 | } |
| 147 | } |
| 148 | |
| 149 | /** |
| 150 | * Hanlder for When a resize request is denied |
no test coverage detected