Port MASTG-TEST-0077 WebView file access testing to v2 (iOS)#3591
Draft
Port MASTG-TEST-0077 WebView file access testing to v2 (iOS)#3591
Conversation
Co-authored-by: cpholguera <29175115+cpholguera@users.noreply.github.com>
Co-authored-by: cpholguera <29175115+cpholguera@users.noreply.github.com>
cpholguera
reviewed
Dec 15, 2025
| profiles: [L1, L2] | ||
| status: deprecated | ||
| covered_by: [MASTG-TEST-0318, MASTG-TEST-0319] | ||
| deprecation_note: "This test has been split into multiple atomic v2 tests. For WebView file access testing, use MASTG-TEST-0318 (static) and MASTG-TEST-0319 (dynamic)." |
Collaborator
There was a problem hiding this comment.
Suggested change
| deprecation_note: "This test has been split into multiple atomic v2 tests. For WebView file access testing, use MASTG-TEST-0318 (static) and MASTG-TEST-0319 (dynamic)." | |
| deprecation_note: New version available in MASTG V2 |
Copilot
AI
changed the title
[WIP] Port MASTG-TEST-0077: Testing WebView Protocol Handlers (ios)
Port MASTG-TEST-0077 WebView file access testing to v2 (iOS)
Dec 15, 2025
Collaborator
|
@copilot add one demo per new test but ignore the UIWebView case |
Co-authored-by: cpholguera <29175115+cpholguera@users.noreply.github.com>
Contributor
Author
Created two demos in bc6ed86:
Both demos focus on WKWebView file access configuration (ignoring UIWebView as requested). |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR closes #3185
Description
Ports the WebView file access portion of MASTG-TEST-0077 to v2 atomic tests, mirroring the Android implementation in MASTG-TEST-0252/0253.
New Tests:
allowFileAccessFromFileURLs,allowUniversalAccessFromFileURLs(undocumented KVC-only properties),UIWebViewusage, andloadFileURL:allowingReadAccessToURL:configurationsBest Practice:
baseURLhandlingKnowledge Updates:
Demos:
Deprecation:
covered_byreferences to new testsAll tests reference MASWE-0069 and link to platform-specific knowledge (MASTG-KNOW-0076) and best practices. The demos focus on WKWebView only (UIWebView excluded as deprecated).
[x] I have read the contributing guidelines.
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.