-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[MotionMark] Live version of 4 tests just show a 403 Access Denied page #12213
[MotionMark] Live version of 4 tests just show a 403 Access Denied page #12213
Conversation
EWS run on previous version of this PR (hash b47aa4c) |
b47aa4c
to
cb4340e
Compare
@@ -49,7 +49,7 @@ BouncingCanvasImagesStage = Utilities.createSubclass(BouncingCanvasParticlesStag | |||
initialize: function(benchmark, options) | |||
{ | |||
BouncingCanvasParticlesStage.prototype.initialize.call(this, benchmark, options); | |||
var imageSrc = options["imageSrc"] || "resources/yin-yang.svg"; | |||
var imageSrc = options["imageSrc"] || "../resources/yin-yang.svg"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this actually work? Because there's still a ../
. Or is that OK because it's not in query any more?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It does work. I've worked with Ling to run a test version of the same server, and verified that it does, in fact, fix the problem. The problem doesn't seem to be relative paths themselves, but just when ../
paths appear inside query parameters.
EWS run on current version of this PR (hash cb4340e) |
https://bugs.webkit.org/show_bug.cgi?id=254782 rdar://107208247 Reviewed by Alexey Proskuryakov. Apparently, the firewall that the live MotionMark site is behind doesn't like it when paths that include the "../" string are part of query parameters in URLs. Luckily, MotionMark is already set up to do the right thing when the query parameter is omitted, so this patch just deletes those query parameters and uses the test-specific logic to fall back to the correct string anyway. * Websites/browserbench.org/MotionMark1.2/resources/debug-runner/tests.js: * Websites/browserbench.org/MotionMark1.2/tests/bouncing-particles/resources/bouncing-canvas-images.js: (BouncingCanvasParticlesStage.call.initialize): * Websites/browserbench.org/MotionMark1.2/tests/bouncing-particles/resources/bouncing-svg-images.js: (BouncingSvgParticlesStage.call.initialize): Canonical link: https://commits.webkit.org/262382@main
cb4340e
to
7e8331b
Compare
Committed 262382@main (7e8331b): https://commits.webkit.org/262382@main Reviewed commits have been landed. Closing PR #12213 and removing active labels. |
7e8331b
cb4340e
π wpeπ wincairoπ mac-AS-debugπ§ͺ wpe-wk2π§ͺ ios-wk2π§ͺ api-macπ gtkπ§ͺ api-iosπ§ͺ mac-wk1π§ͺ gtk-wk2π tvπ§ͺ api-gtkπ tv-simπ§ͺ mac-AS-debug-wk2π watch