| Summary: | Support overriding address space for specific IP addresses in test environments | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Titouan Rigoudy <titouan> |
| Component: | Tools / Tests | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW --- | ||
| Severity: | Normal | CC: | annevk, bburg, gsnedders, webkit-bug-importer, youennf |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
|
Description
Titouan Rigoudy
2020-12-08 06:54:39 PST
Sam, Youenn, you might be able to give some input here. It seems what you are asking is an override mechanism for private/local URLs to be considered public. That seems ok (the reverse of allowing public URLS to be treated as private would probably not be great). I guess this could be built in platform agnostic code, I would guess that network stacks would provide the actual value and platform agnostic code could override it to become public. Since we are talking WPT, I guess that it would end up being a WebDriver API. We could probably start with a WTR internals API at first in WebKit. I agree with your first paragraph. As to the second part: I asked around and there seems to be little appetite for this in WebDriver, since the intended audience is mostly browser developers wishing to test their implementations rather than website developers wishing to test their websites. (In reply to Titouan Rigoudy from comment #4) > I agree with your first paragraph. > > As to the second part: I asked around and there seems to be little appetite > for this in WebDriver, since the intended audience is mostly browser > developers wishing to test their implementations rather than website > developers wishing to test their websites. Ok, but WPT would probably still like to run the tests on Safari and not WebKitTestRunner. Oh, sure! WPT will want to run tests under Safari for sure. Did I file this bug in the wrong place? I am quite unfamiliar with terminology and process around here :) (In reply to Titouan Rigoudy from comment #6) > Oh, sure! WPT will want to run tests under Safari for sure. Did I file this > bug in the wrong place? I am quite unfamiliar with terminology and process > around here :) I think we can keep track of both pieces of work, WebKit and Safari, from this bug report. Just wanted to let you know that @ddragana from Mozilla has proposed a similar, yet slightly different approach on the RFC [1]. Does that still sound good to you? If so, I will fix up the RFC, land it and get to work implementing this. [1] https://github.com/web-platform-tests/rfcs/pull/72 Hi there! Friendly ping on this. Could you take a quick look at the latest version of the RFC? The RFC is in the end unchanged - it has only sprouted a new "alternatives considered" section to describe @ddragana's suggestion. |