Skip to content

Commit

Permalink
Delete URLUtilsReadOnly docs, redirect to WorkerLocation docs
Browse files Browse the repository at this point in the history
whatwg/html@32a7a20 completely removed the
URLUtilsReadOnly interface and moved/inlined/hoisted its members up
into the WorkerLocation interface. So this change deletes all the
URLUtilsReadOnly docs, and redirects them to the WorkerLocation docs.

Related BCD change: mdn/browser-compat-data#10347
  • Loading branch information
sideshowbarker committed May 7, 2021
1 parent 0130a34 commit 5c788dd
Show file tree
Hide file tree
Showing 25 changed files with 615 additions and 733 deletions.
47 changes: 24 additions & 23 deletions files/en-us/_redirects.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7063,7 +7063,7 @@
/en-US/docs/URI/www and non-www URLs /en-US/docs/Web/HTTP/Basics_of_HTTP/Choosing_between_www_and_non-www_URLs
/en-US/docs/URI/www_vs_non-www_URLs /en-US/docs/Web/HTTP/Basics_of_HTTP/Choosing_between_www_and_non-www_URLs
/en-US/docs/URL.createObjectURL /en-US/docs/Web/API/URL/createObjectURL
/en-US/docs/URLUtilsReadOnly.origin /en-US/docs/Web/API/URLUtilsReadOnly/origin
/en-US/docs/URLUtilsReadOnly.origin /en-US/docs/Web/API/WorkerLocation/origin
/en-US/docs/USA /en-US/docs/Web/Progressive_web_apps
/en-US/docs/USA-redirect-1 /en-US/docs/Web/Progressive_web_apps
/en-US/docs/USE_EXTENSION_MANIFEST https://github.com/mdn/archived-content/tree/main/files/en-us/mozilla/developer_guide/build_instructions/configuring_build_options
Expand Down Expand Up @@ -9023,18 +9023,29 @@
/en-US/docs/Web/API/URL.URL /en-US/docs/Web/API/URL/URL
/en-US/docs/Web/API/URL.createObjectURL /en-US/docs/Web/API/URL/createObjectURL
/en-US/docs/Web/API/URL.revokeObjectURL /en-US/docs/Web/API/URL/revokeObjectURL
/en-US/docs/Web/API/URLReadOnlyUtils.origin /en-US/docs/Web/API/URLUtilsReadOnly/origin
/en-US/docs/Web/API/URLReadOnlyUtils.origin /en-US/docs/Web/API/WorkerLocation/origin
/en-US/docs/Web/API/URLUtils/createObjectURL /en-US/docs/Web/API/URL/createObjectURL
/en-US/docs/Web/API/URLUtilsReadOnly.hash /en-US/docs/Web/API/URLUtilsReadOnly/hash
/en-US/docs/Web/API/URLUtilsReadOnly.host /en-US/docs/Web/API/URLUtilsReadOnly/host
/en-US/docs/Web/API/URLUtilsReadOnly.hostname /en-US/docs/Web/API/URLUtilsReadOnly/hostname
/en-US/docs/Web/API/URLUtilsReadOnly.href /en-US/docs/Web/API/URLUtilsReadOnly/href
/en-US/docs/Web/API/URLUtilsReadOnly.origin /en-US/docs/Web/API/URLUtilsReadOnly/origin
/en-US/docs/Web/API/URLUtilsReadOnly.pathname /en-US/docs/Web/API/URLUtilsReadOnly/pathname
/en-US/docs/Web/API/URLUtilsReadOnly.port /en-US/docs/Web/API/URLUtilsReadOnly/port
/en-US/docs/Web/API/URLUtilsReadOnly.protocol /en-US/docs/Web/API/URLUtilsReadOnly/protocol
/en-US/docs/Web/API/URLUtilsReadOnly.search /en-US/docs/Web/API/URLUtilsReadOnly/search
/en-US/docs/Web/API/URLUtilsReadOnly.toString /en-US/docs/Web/API/URLUtilsReadOnly/toString
/en-US/docs/Web/API/URLUtilsReadOnly /en-US/docs/Web/API/WorkerLocation
/en-US/docs/Web/API/URLUtilsReadOnly.hash /en-US/docs/Web/API/WorkerLocation/hash
/en-US/docs/Web/API/URLUtilsReadOnly.host /en-US/docs/Web/API/WorkerLocation/host
/en-US/docs/Web/API/URLUtilsReadOnly.hostname /en-US/docs/Web/API/WorkerLocation/hostname
/en-US/docs/Web/API/URLUtilsReadOnly.href /en-US/docs/Web/API/WorkerLocation/href
/en-US/docs/Web/API/URLUtilsReadOnly.origin /en-US/docs/Web/API/WorkerLocation/origin
/en-US/docs/Web/API/URLUtilsReadOnly.pathname /en-US/docs/Web/API/WorkerLocation/pathname
/en-US/docs/Web/API/URLUtilsReadOnly.port /en-US/docs/Web/API/WorkerLocation/port
/en-US/docs/Web/API/URLUtilsReadOnly.protocol /en-US/docs/Web/API/WorkerLocation/protocol
/en-US/docs/Web/API/URLUtilsReadOnly.search /en-US/docs/Web/API/WorkerLocation/search
/en-US/docs/Web/API/URLUtilsReadOnly.toString /en-US/docs/Web/API/WorkerLocation/toString
/en-US/docs/Web/API/URLUtilsReadOnly/hash /en-US/docs/Web/API/WorkerLocation/hash
/en-US/docs/Web/API/URLUtilsReadOnly/host /en-US/docs/Web/API/WorkerLocation/host
/en-US/docs/Web/API/URLUtilsReadOnly/hostname /en-US/docs/Web/API/WorkerLocation/hostname
/en-US/docs/Web/API/URLUtilsReadOnly/href /en-US/docs/Web/API/WorkerLocation/href
/en-US/docs/Web/API/URLUtilsReadOnly/origin /en-US/docs/Web/API/WorkerLocation/origin
/en-US/docs/Web/API/URLUtilsReadOnly/pathname /en-US/docs/Web/API/WorkerLocation/pathname
/en-US/docs/Web/API/URLUtilsReadOnly/port /en-US/docs/Web/API/WorkerLocation/port
/en-US/docs/Web/API/URLUtilsReadOnly/protocol /en-US/docs/Web/API/WorkerLocation/protocol
/en-US/docs/Web/API/URLUtilsReadOnly/search /en-US/docs/Web/API/WorkerLocation/search
/en-US/docs/Web/API/URLUtilsReadOnly/toString /en-US/docs/Web/API/WorkerLocation/toString
/en-US/docs/Web/API/USBDevice/USBDevice.deviceClass /en-US/docs/Web/API/USBDevice/deviceClass
/en-US/docs/Web/API/Uint16Array /en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint16Array
/en-US/docs/Web/API/Uint32Array /en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint32Array
Expand Down Expand Up @@ -9328,17 +9339,7 @@
/en-US/docs/Web/API/WorkerGlobalScope/indexedDB /en-US/docs/Web/API/WindowOrWorkerGlobalScope/indexedDB
/en-US/docs/Web/API/WorkerGlobalScope/setInterval /en-US/docs/Web/API/WindowOrWorkerGlobalScope/setInterval
/en-US/docs/Web/API/WorkerGlobalScope/setTimeout /en-US/docs/Web/API/WindowOrWorkerGlobalScope/setTimeout
/en-US/docs/Web/API/WorkerLocation.hash /en-US/docs/Web/API/URLUtilsReadOnly/hash
/en-US/docs/Web/API/WorkerLocation/hash /en-US/docs/Web/API/URLUtilsReadOnly/hash
/en-US/docs/Web/API/WorkerLocation/host /en-US/docs/Web/API/URLUtilsReadOnly/host
/en-US/docs/Web/API/WorkerLocation/hostname /en-US/docs/Web/API/URLUtilsReadOnly/hostname
/en-US/docs/Web/API/WorkerLocation/href /en-US/docs/Web/API/URLUtilsReadOnly/href
/en-US/docs/Web/API/WorkerLocation/origin /en-US/docs/Web/API/URLUtilsReadOnly/origin
/en-US/docs/Web/API/WorkerLocation/pathname /en-US/docs/Web/API/URLUtilsReadOnly/pathname
/en-US/docs/Web/API/WorkerLocation/port /en-US/docs/Web/API/URLUtilsReadOnly/port
/en-US/docs/Web/API/WorkerLocation/protocol /en-US/docs/Web/API/URLUtilsReadOnly/protocol
/en-US/docs/Web/API/WorkerLocation/search /en-US/docs/Web/API/URLUtilsReadOnly/search
/en-US/docs/Web/API/WorkerLocation/toString /en-US/docs/Web/API/URLUtilsReadOnly/toString
/en-US/docs/Web/API/WorkerLocation.hash /en-US/docs/Web/API/WorkerLocation/hash
/en-US/docs/Web/API/WorkerNavigator/appCodeName /en-US/docs/Web/API/NavigatorID/appCodeName
/en-US/docs/Web/API/WorkerNavigator/appName /en-US/docs/Web/API/NavigatorID/appName
/en-US/docs/Web/API/WorkerNavigator/appVersion /en-US/docs/Web/API/NavigatorID/appVersion
Expand Down
178 changes: 83 additions & 95 deletions files/en-us/_wikihistory.json
Original file line number Diff line number Diff line change
Expand Up @@ -84525,101 +84525,6 @@
"teoli"
]
},
"Web/API/URLUtilsReadOnly": {
"modified": "2020-11-13T08:33:28.460Z",
"contributors": [
"Rumyra",
"alattalatta",
"sideshowbarker",
"Sheppy",
"connorshea",
"chrisdavidmills",
"teoli"
]
},
"Web/API/URLUtilsReadOnly/hash": {
"modified": "2020-10-15T21:24:48.282Z",
"contributors": [
"connorshea",
"Sebastianz",
"teoli",
"kscarfone"
]
},
"Web/API/URLUtilsReadOnly/host": {
"modified": "2020-10-15T21:24:47.049Z",
"contributors": [
"connorshea",
"teoli",
"kscarfone"
]
},
"Web/API/URLUtilsReadOnly/hostname": {
"modified": "2020-10-15T21:24:48.709Z",
"contributors": [
"connorshea",
"teoli",
"namolmes"
]
},
"Web/API/URLUtilsReadOnly/href": {
"modified": "2020-10-15T21:24:47.886Z",
"contributors": [
"chrisdavidmills",
"connorshea",
"teoli",
"namolmes"
]
},
"Web/API/URLUtilsReadOnly/origin": {
"modified": "2020-10-15T21:29:33.056Z",
"contributors": [
"connorshea",
"teoli"
]
},
"Web/API/URLUtilsReadOnly/pathname": {
"modified": "2020-11-13T08:37:16.486Z",
"contributors": [
"Rumyra",
"connorshea",
"teoli",
"namolmes"
]
},
"Web/API/URLUtilsReadOnly/port": {
"modified": "2020-10-15T21:24:48.116Z",
"contributors": [
"connorshea",
"teoli",
"namolmes"
]
},
"Web/API/URLUtilsReadOnly/protocol": {
"modified": "2020-10-15T21:24:48.030Z",
"contributors": [
"connorshea",
"teoli",
"namolmes"
]
},
"Web/API/URLUtilsReadOnly/search": {
"modified": "2020-10-15T21:24:48.707Z",
"contributors": [
"connorshea",
"teoli",
"namolmes"
]
},
"Web/API/URLUtilsReadOnly/toString": {
"modified": "2020-10-15T21:24:47.891Z",
"contributors": [
"sideshowbarker",
"connorshea",
"teoli",
"namolmes"
]
},
"Web/API/URL_API": {
"modified": "2020-12-14T00:08:04.182Z",
"contributors": [
Expand Down Expand Up @@ -94742,6 +94647,89 @@
"teoli"
]
},
"Web/API/WorkerLocation/hash": {
"modified": "2020-10-15T21:24:48.282Z",
"contributors": [
"connorshea",
"Sebastianz",
"teoli",
"kscarfone"
]
},
"Web/API/WorkerLocation/host": {
"modified": "2020-10-15T21:24:47.049Z",
"contributors": [
"connorshea",
"teoli",
"kscarfone"
]
},
"Web/API/WorkerLocation/hostname": {
"modified": "2020-10-15T21:24:48.709Z",
"contributors": [
"connorshea",
"teoli",
"namolmes"
]
},
"Web/API/WorkerLocation/href": {
"modified": "2020-10-15T21:24:47.886Z",
"contributors": [
"chrisdavidmills",
"connorshea",
"teoli",
"namolmes"
]
},
"Web/API/WorkerLocation/origin": {
"modified": "2020-10-15T21:29:33.056Z",
"contributors": [
"connorshea",
"teoli"
]
},
"Web/API/WorkerLocation/pathname": {
"modified": "2020-11-13T08:37:16.486Z",
"contributors": [
"Rumyra",
"connorshea",
"teoli",
"namolmes"
]
},
"Web/API/WorkerLocation/port": {
"modified": "2020-10-15T21:24:48.116Z",
"contributors": [
"connorshea",
"teoli",
"namolmes"
]
},
"Web/API/WorkerLocation/protocol": {
"modified": "2020-10-15T21:24:48.030Z",
"contributors": [
"connorshea",
"teoli",
"namolmes"
]
},
"Web/API/WorkerLocation/search": {
"modified": "2020-10-15T21:24:48.707Z",
"contributors": [
"connorshea",
"teoli",
"namolmes"
]
},
"Web/API/WorkerLocation/toString": {
"modified": "2020-10-15T21:24:47.891Z",
"contributors": [
"sideshowbarker",
"connorshea",
"teoli",
"namolmes"
]
},
"Web/API/WorkerNavigator": {
"modified": "2020-10-15T21:24:57.936Z",
"contributors": [
Expand Down
2 changes: 0 additions & 2 deletions files/en-us/web/api/url_api/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,6 @@ <h2 id="URL_API_interfaces">URL API interfaces</h2>
</ul>
</div>

<p>Older versions of the specification included an interface called {{domxref("URLUtilsReadOnly")}}, which has since been merged into the {{domxref("WorkerLocation")}} interface.</p>

<h2 id="Examples">Examples</h2>

<p>If you want to process the parameters included in a URL, you could do it manually, but it's much easier to create a <code>URL</code> object to do it for you. The <code>fillTableWithParameters()</code> function below takes as input a {{domxref("HTMLTableElement")}} object representing a {{HTMLElement("table")}}. Rows are added to the table, one for each key found in the parameters, with the first column containing the key's name, and the second column having the value.</p>
Expand Down
53 changes: 0 additions & 53 deletions files/en-us/web/api/urlutilsreadonly/hash/index.html

This file was deleted.

54 changes: 0 additions & 54 deletions files/en-us/web/api/urlutilsreadonly/host/index.html

This file was deleted.

Loading

0 comments on commit 5c788dd

Please sign in to comment.