Either the server needs to omit these from the registry with state=error output to the client (and server-side error logging), or it needs to detect them, and transport them unchanged, so that the existing client-side logic can handle it. This patch does the latter. Without the source code change in this patch, the added test case fails due to "top" and "middle1" then being registered with an empty array as dependencies. Bug: T223402 Change-Id: I57502d7c4e434de4737759aed325dd4200ca89bf
26 lines
918 B
PHP
26 lines
918 B
PHP
<?php
|
|
/**
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License along
|
|
* with this program; if not, write to the Free Software Foundation, Inc.,
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
|
* http://www.gnu.org/copyleft/gpl.html
|
|
*
|
|
* @file
|
|
*/
|
|
|
|
/**
|
|
* @internal For use by ResourceLoaderStartUpModule only
|
|
*/
|
|
class ResourceLoaderCircularDependencyError extends Exception {
|
|
}
|