endTagScript method

void endTagScript(
  1. EndTagToken token
)

Implementation

void endTagScript(EndTagToken token) {
  final node = tree.openElements.removeLast();
  assert(node.localName == 'script');
  parser.phase = parser.originalPhase!;
  //The rest of this method is all stuff that only happens if
  //document.write works
}