forked from WebKit/WebKit-http
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make crossOriginObject.then undefined for promises
https://bugs.webkit.org/show_bug.cgi?id=190094 Reviewed by Darin Adler. LayoutTests/imported/w3c: Rebaseline WPT test now that more checks are passing. * web-platform-tests/html/browsers/origin/cross-origin-objects/cross-origin-objects-expected.txt: Source/WebCore: Make crossOriginObject.then undefined for promises. This allows promises to work better with cross-origin WindowProxy and Location objects. Specification: - whatwg/html#3242 - whatwg/dom#536 This aligns our behavior with Blink and Gecko. No new tests, rebaselined existing test. * bindings/js/JSDOMWindowCustom.cpp: (WebCore::jsDOMWindowGetOwnPropertySlotRestrictedAccess): (WebCore::addCrossOriginWindowOwnPropertyNames): * bindings/js/JSLocationCustom.cpp: (WebCore::getOwnPropertySlotCommon): (WebCore::addCrossOriginLocationOwnPropertyNames): LayoutTests: Update existing tests to reflect behavior change. * http/tests/navigation/process-swap-window-open-expected.txt: * http/tests/navigation/process-swap-window-open.html: * http/wpt/cross-origin-window-policy/resources/utils.js: (testCrossOriginOption): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@236661 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
1 parent
2f92955
commit 3dd1e0f
Showing
11 changed files
with
120 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,17 @@ | ||
2018-10-01 Chris Dumez <[email protected]> | ||
|
||
Make crossOriginObject.then undefined for promises | ||
https://bugs.webkit.org/show_bug.cgi?id=190094 | ||
|
||
Reviewed by Darin Adler. | ||
|
||
Update existing tests to reflect behavior change. | ||
|
||
* http/tests/navigation/process-swap-window-open-expected.txt: | ||
* http/tests/navigation/process-swap-window-open.html: | ||
* http/wpt/cross-origin-window-policy/resources/utils.js: | ||
(testCrossOriginOption): | ||
|
||
2018-10-01 Alicia Boya García <[email protected]> | ||
|
||
[MSE][GStreamer] Reset running time in PlaybackPipeline::flush() | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,14 @@ | ||
2018-10-01 Chris Dumez <[email protected]> | ||
|
||
Make crossOriginObject.then undefined for promises | ||
https://bugs.webkit.org/show_bug.cgi?id=190094 | ||
|
||
Reviewed by Darin Adler. | ||
|
||
Rebaseline WPT test now that more checks are passing. | ||
|
||
* web-platform-tests/html/browsers/origin/cross-origin-objects/cross-origin-objects-expected.txt: | ||
|
||
2018-09-30 Walker Henderson <[email protected]> | ||
|
||
AudioNode.connect should return passed destination node | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,28 @@ | ||
2018-10-01 Chris Dumez <[email protected]> | ||
|
||
Make crossOriginObject.then undefined for promises | ||
https://bugs.webkit.org/show_bug.cgi?id=190094 | ||
|
||
Reviewed by Darin Adler. | ||
|
||
Make crossOriginObject.then undefined for promises. This allows promises to work better with cross-origin WindowProxy | ||
and Location objects. | ||
|
||
Specification: | ||
- https://github.com/whatwg/html/pull/3242 | ||
- https://github.com/whatwg/dom/issues/536 | ||
|
||
This aligns our behavior with Blink and Gecko. | ||
|
||
No new tests, rebaselined existing test. | ||
|
||
* bindings/js/JSDOMWindowCustom.cpp: | ||
(WebCore::jsDOMWindowGetOwnPropertySlotRestrictedAccess): | ||
(WebCore::addCrossOriginWindowOwnPropertyNames): | ||
* bindings/js/JSLocationCustom.cpp: | ||
(WebCore::getOwnPropertySlotCommon): | ||
(WebCore::addCrossOriginLocationOwnPropertyNames): | ||
|
||
2018-10-01 Xan Lopez <[email protected]> | ||
|
||
[SOUP] Fix the build for libsoup > 2.61.90 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters