3

I remember each tab in chrome is an individual window, then why does the alert box in any tab blocks the other tabs?

Do all the tabs share the same javascript engine?

buræquete
  • 14,226
  • 4
  • 44
  • 89

2 Answers2

1

Chrome fixed this in 2017. Now, when a tab alerts, other tabs will not block.

See: https://bugs.chromium.org/p/chromium/issues/detail?id=456

JasonS
  • 7,443
  • 5
  • 41
  • 61
1

Check out these links...

http://code.google.com/p/chromium/issues/detail?id=89579

http://code.google.com/p/chromium/issues/detail?id=3658

Block javascript Alert box

buræquete
  • 14,226
  • 4
  • 44
  • 89
Karthik S
  • 847
  • 1
  • 8
  • 22
  • Thanks a lot! I've checked some similar links before but they did not mention the cause of blocking. Your first link says the blocking is caused by windows api. Does that mean all tabs in chrome share the same process so the api blocks them all ? – Singularity Mar 31 '12 at 07:51
  • In the chrome://memory-redirect/ i see not all tabs share the same process. Can not figure out why are all tabs blocked ? – Singularity Mar 31 '12 at 08:03