Skip to content

Commit bb72c20

Browse files
committed
Replace one partial backlink hack with another
The WorkerGlobalScope hack no longer has any effect, so just use the same hack for NavigatorID. The only change in the output from this is that "also has obsolete members" becomes "also has additional members in a partial interface". Fixes whatwg/html#882
1 parent 2e442e4 commit bb72c20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: .post-process-partial-backlink-generator.pl

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
$inpre = 1 if /<pre class=idl>/os;
1010
if ($inpre && /(partial )?interface <(span|dfn|a href=#[^ >]*) id=([^ >]*).*?>([^<:]*)?<\/(span|dfn|a)>(.*<!-- not obsolete -->)?/os) {
1111
my ($partial, $id, $name, $notobs) = ($1, $3, $4, $6);
12-
$notobs = $name eq 'WorkerGlobalScope'; # XXX hack for now
12+
$notobs = $name eq 'NavigatorID'; # XXX hack for now
1313
$definitions{$name} = { } unless defined $definitions{$name};
1414
if ($partial) {
1515
$definitions{$name}{partial} = [] unless exists $definitions{$name}{partial};

0 commit comments

Comments
 (0)