Skip to content

Commit b381819

Browse files
committed
Conflict fixed on "Cross-window communication" page in french language
1 parent 72257b7 commit b381819

File tree

1 file changed

+4
-8
lines changed
  • 3-frames-and-windows/03-cross-window-communication

1 file changed

+4
-8
lines changed

3-frames-and-windows/03-cross-window-communication/article.md

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -116,18 +116,14 @@ document.domain = 'site.com';
116116

117117
C'est tout. Ils peuvent maintenant interagir sans limites. Encore une fois, cela n'est possible que pour les pages ayant le même domaine de second niveau.
118118

119-
<<<<<<< HEAD
120-
## Iframe: le piège du mauvais document
121-
=======
122-
```warn header="Deprecated, but still working"
123-
The `document.domain` property is in the process of being removed from the [specification](https://html.spec.whatwg.org/multipage/origin.html#relaxing-the-same-origin-restriction). The cross-window messaging (explained soon below) is the suggested replacement.
119+
```warn header="Obsolète, mais fonctionne toujours"
120+
La propriété `document.domain` est en cours de suppression de la [spécification](https://html.spec.whatwg.org/multipage/origin.html#relaxing-the-same-origin-restriction). La messagerie inter-fenêtres (expliquée ci-dessous) est le remplacement suggéré.
124121
125-
That said, as of now all browsers support it. And the support will be kept for the future, not to break old code that relies on `document.domain`.
122+
Cela dit, actuellement tous les navigateurs le supportent. Et le support sera conservé pour l'avenir, pour ne pas casser l'ancien code qui repose sur `document.domain`.
126123
```
127124

128125

129-
## Iframe: wrong document pitfall
130-
>>>>>>> 71da17e5960f1c76aad0d04d21f10bc65318d3f6
126+
## Iframe: le piège du mauvais document
131127

132128
Lorsqu'une iframe provient de la même origine, et que nous pouvons accéder à son `document`, il y a un piège. Ce n'est pas lié à des questions d'origine croisée, mais il est important de le savoir.
133129

0 commit comments

Comments
 (0)