WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
185259
REGRESSION: Layout Test http/tests/security/location-cross-origin.html is a flaky failure
https://bugs.webkit.org/show_bug.cgi?id=185259
Summary
REGRESSION: Layout Test http/tests/security/location-cross-origin.html is a f...
Ryan Haddad
Reported
2018-05-03 10:19:27 PDT
The following layout test is flaky on debug bots. http/tests/security/location-cross-origin.html Probable cause: Unknown. Flakiness Dashboard:
https://webkit-test-results.webkit.org/dashboards/flakiness_dashboard.html#showAllRuns=true&tests=http%2Ftests%2Fsecurity%2Flocation-cross-origin.html
--- /Volumes/Data/slave/sierra-debug-tests-wk2/build/layout-test-results/http/tests/security/location-cross-origin-expected.txt +++ /Volumes/Data/slave/sierra-debug-tests-wk2/build/layout-test-results/http/tests/security/location-cross-origin-actual.txt @@ -49,7 +49,7 @@ PASS Object.getOwnPropertyDescriptor(window.location, 'hash').set.call(frames[0].location, 1) threw exception SecurityError: Blocked a frame with origin "
http://127.0.0.1:8000
" from accessing a cross-origin frame. Protocols, domains, and ports must match.. PASS Object.defineProperty(frames[0].location, 'foo', { value: 1 }) threw exception SecurityError: Blocked a frame with origin "
http://127.0.0.1:8000
" from accessing a cross-origin frame. Protocols, domains, and ports must match.. PASS frames[0].location.href = 'about:blank' did not throw exception. -PASS frames[0].location.href is "about:blank" +FAIL frames[0].location.href should be about:blank. Threw exception SecurityError: Blocked a frame with origin "
http://127.0.0.1:8000
" from accessing a cross-origin frame. Protocols, domains, and ports must match. PASS successfullyParsed is true TEST COMPLETE
Attachments
Patch
(1.84 KB, patch)
2018-05-03 10:35 PDT
,
Chris Dumez
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Ryan Haddad
Comment 1
2018-05-03 10:21:26 PDT
Flakiness dashboard suggests that this regressed with
https://trac.webkit.org/changeset/230926
, but I have not yet attempted to reproduce the failure locally.
Chris Dumez
Comment 2
2018-05-03 10:24:08 PDT
(In reply to Ryan Haddad from
comment #1
)
> Flakiness dashboard suggests that this regressed with >
https://trac.webkit.org/changeset/230926
, but I have not yet attempted to > reproduce the failure locally.
Will look now.
Chris Dumez
Comment 3
2018-05-03 10:25:44 PDT
(In reply to Chris Dumez from
comment #2
)
> (In reply to Ryan Haddad from
comment #1
) > > Flakiness dashboard suggests that this regressed with > >
https://trac.webkit.org/changeset/230926
, but I have not yet attempted to > > reproduce the failure locally. > > Will look now.
shouldNotThrow("frames[0].location.href = 'about:blank'"); setTimeout(function() { shouldBeEqualToString("frames[0].location.href", "about:blank"); finishJSTest(); }, 100); setTimeout 100, great.
Chris Dumez
Comment 4
2018-05-03 10:35:49 PDT
Created
attachment 339425
[details]
Patch
WebKit Commit Bot
Comment 5
2018-05-03 11:13:59 PDT
Comment on
attachment 339425
[details]
Patch Clearing flags on attachment: 339425 Committed
r231315
: <
https://trac.webkit.org/changeset/231315
>
WebKit Commit Bot
Comment 6
2018-05-03 11:14:00 PDT
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 7
2018-05-03 11:14:29 PDT
<
rdar://problem/39947471
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug