mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-07 08:18:41 +09:00
Merge remote-tracking branch 'origin/tracking' into custom
This commit is contained in:
commit
c6517989ab
5 changed files with 2182 additions and 1362 deletions
|
|
@ -485,6 +485,11 @@ Performance::Measure(JSContext* aCx,
|
|||
const Optional<nsAString>& aEndMark,
|
||||
ErrorResult& aRv)
|
||||
{
|
||||
if (!GetParentObject()) {
|
||||
aRv.Throw(NS_ERROR_DOM_INVALID_STATE_ERR);
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// Maybe is more readable than using the union type directly.
|
||||
Maybe<const PerformanceMeasureOptions&> options;
|
||||
if (aStartOrMeasureOptions.IsPerformanceMeasureOptions()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue