gecko-dev/netwerk/test
Shih-Chiang Chien be3edff94c Bug 1404454 - use about:blank as the inital page of the testing iframe. r=dragana
In our test script we set the unload handler on the inner iframe earlier than the page is loaded, therefore it pass the origin check since the contentWindow object is for about:blank.
Security error will raise if the OnStartRequest for that iframe is received beforehand.
Use about:blank can guarantee to have same-origin window on the inner iframe.

MozReview-Commit-ID: 8AiwGIfoF4

--HG--
extra : rebase_source : cfad1803a61719470f8240700ac917c4931e3dfe
2017-12-09 20:31:29 -06:00
..
browser Bug 1425363 - remove onWindowTitleChanged given that nobody uses it, r=bgrins 2017-12-14 21:55:44 -06:00
crashtests Bug 675518 - Add crashtest. r=me 2017-10-25 14:58:33 -04:00
gtest Bug 1425318 - The second call to NS_MutateURI.Finalize should fail r=mayhemer 2017-12-19 02:06:45 +01:00
httpserver Bug 1421458 - Add more initial configuration setup and prepare .eslintignore for enabling ESLint on more xpcshell-test directories. r=mossop 2017-11-28 22:57:08 +00:00
mochitests Bug 1404454 - use about:blank as the inital page of the testing iframe. r=dragana 2017-12-09 20:31:29 -06:00
reftest Bug 1351548 - Remove reftest-stylo.lists. r=bholley 2017-04-28 11:15:58 +08:00
unit Merge mozilla-central to autoland. r=merge a=merge CLOSED TREE 2017-12-13 00:04:54 +02:00
unit_ipc Bug 1421458 - Add more initial configuration setup and prepare .eslintignore for enabling ESLint on more xpcshell-test directories. r=mossop 2017-11-28 22:57:08 +00:00
moz.build Bug 1394734 - Replace CONFIG['GNU_C*'] by CONFIG['CC_TYPE'] r=glandium 2017-12-07 22:09:15 +01:00
TestBind.cpp Bug 1313752 - Port binary tests in netwerk/test to gtest, or remove the ones that we currently aren't running. r=michal.novotny. Includes the following followups: 2016-11-29 13:53:48 -05:00
TestCommon.h Bug 1359490 - add an event loop spinning abstraction function; r=gerald 2017-05-15 09:34:19 -04:00
TestCookie.cpp Bug 1407720 - Merge nsICookieManager and nsICookieManager2 r=nwgh 2017-10-31 13:02:28 +01:00
TestNamedPipeService.cpp Bug 1411728 Resolve warnings in TestNamedPipeService.cpp r=froydnj 2017-10-25 15:27:41 -05:00
TestUDPSocket.cpp Bug 1404198: Part 2c - Switch to NS_NewTimer* in necko. r=njn 2017-10-15 23:12:02 -07:00