简体   繁体   中英

What is the maximum size for the postMessage method that enables inter-frame communication?

It's not clear from searching on Google and looking through documentation. What's the maximum length on a message sent via Window.postMessage ( https://developer.mozilla.org/en-US/docs/Web/API/Window.postMessage )? We assume this varies by browser?

As a data point, the WebKit implementation (used by Safari and Chrome) doesn't currently enforce any limits (other than those imposed by running out of memory).

Source : http://webcache.googleusercontent.com/search?q=cache:1qOB8DZlBCkJ:lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2009-October/235564.html+&cd=2&hl=en&ct=clnk&gl=in&client=firefox-a

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM