Commit 6af5a79
committed
Media: Use Document-Isolation-Policy for cross-origin isolation.
Replace COEP/COOP headers with Document-Isolation-Policy (DIP) for cross-origin isolation in the block editor. DIP enables sharedBufferArray while avoiding the breakage COEP/COOP caused for third-party plugins whose iframes lost credentials and DOM access. Non supporting browsers have the client-side media feature disabled by default - falling back to the existing server side processing - to avoid a degraded editor experience.
Developed in WordPress/wordpress-develop#11098
Props adamsilverstein, westonruter, manhar, swissspidy, mukesh27.
Fixes #64766.
Built from https://develop.svn.wordpress.org/trunk@61844
git-svn-id: http://core.svn.wordpress.org/trunk@61131 1a063a9b-81f0-0310-95a4-ce76da25c4cd1 parent f51b21a commit 6af5a79
2 files changed
Lines changed: 36 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6393 | 6393 | | |
6394 | 6394 | | |
6395 | 6395 | | |
| 6396 | + | |
| 6397 | + | |
| 6398 | + | |
| 6399 | + | |
| 6400 | + | |
| 6401 | + | |
6396 | 6402 | | |
6397 | 6403 | | |
6398 | 6404 | | |
| |||
6405 | 6411 | | |
6406 | 6412 | | |
6407 | 6413 | | |
| 6414 | + | |
| 6415 | + | |
| 6416 | + | |
| 6417 | + | |
| 6418 | + | |
| 6419 | + | |
| 6420 | + | |
| 6421 | + | |
| 6422 | + | |
| 6423 | + | |
| 6424 | + | |
| 6425 | + | |
| 6426 | + | |
| 6427 | + | |
| 6428 | + | |
| 6429 | + | |
| 6430 | + | |
| 6431 | + | |
| 6432 | + | |
6408 | 6433 | | |
6409 | 6434 | | |
6410 | 6435 | | |
6411 | 6436 | | |
6412 | | - | |
| 6437 | + | |
| 6438 | + | |
6413 | 6439 | | |
6414 | 6440 | | |
6415 | | - | |
6416 | | - | |
6417 | 6441 | | |
6418 | 6442 | | |
6419 | 6443 | | |
| |||
6439 | 6463 | | |
6440 | 6464 | | |
6441 | 6465 | | |
6442 | | - | |
| 6466 | + | |
6443 | 6467 | | |
6444 | | - | |
6445 | | - | |
| 6468 | + | |
6446 | 6469 | | |
6447 | 6470 | | |
6448 | | - | |
6449 | | - | |
6450 | | - | |
6451 | | - | |
6452 | 6471 | | |
6453 | 6472 | | |
6454 | | - | |
| 6473 | + | |
6455 | 6474 | | |
6456 | | - | |
| 6475 | + | |
| 6476 | + | |
| 6477 | + | |
6457 | 6478 | | |
6458 | 6479 | | |
6459 | | - | |
6460 | | - | |
6461 | | - | |
| 6480 | + | |
| 6481 | + | |
6462 | 6482 | | |
6463 | 6483 | | |
6464 | 6484 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
0 commit comments