WebKit Bugzilla
Attachment 359965 Details for
Bug 193686
: Web Inspector: Audit: add supports key to test/group for compatibility
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch
bug-193686-20190123130211.patch (text/plain), 24.06 KB, created by
Devin Rousso
on 2019-01-23 15:45:54 PST
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Devin Rousso
Created:
2019-01-23 15:45:54 PST
Size:
24.06 KB
patch
obsolete
>diff --git a/Source/WebInspectorUI/ChangeLog b/Source/WebInspectorUI/ChangeLog >index 2e5a48d963dbcfe67032a7c13a47012dc46c3de7..c9b462eb92abf00c7c796efe0f917f8ca8bcf9e6 100644 >--- a/Source/WebInspectorUI/ChangeLog >+++ b/Source/WebInspectorUI/ChangeLog >@@ -1,3 +1,60 @@ >+2019-01-23 Devin Rousso <drousso@apple.com> >+ >+ Web Inspector: Audit: add supports key to test/group for compatibility >+ https://bugs.webkit.org/show_bug.cgi?id=193686 >+ <rdar://problem/47460872> >+ >+ Reviewed by NOBODY (OOPS!). >+ >+ * UserInterface/Models/AuditTestBase.js: >+ (WI.AuditTestBase): >+ (WI.AuditTestBase.prototype.get supported): Added. >+ (WI.AuditTestBase.prototype.set supported): Added. >+ (WI.AuditTestBase.prototype.set disabled): >+ (WI.AuditTestBase.prototype.async start): >+ (WI.AuditTestBase.prototype.stop): >+ (WI.AuditTestBase.toJSON): >+ * UserInterface/Models/AuditTestCase.js: >+ (WI.AuditTestCase.async fromPayload): >+ * UserInterface/Models/AuditTestGroup.js: >+ (WI.AuditTestGroup): >+ (WI.AuditTestGroup.async fromPayload): >+ (WI.AuditTestGroup.prototype.get supported): Added. >+ (WI.AuditTestGroup.prototype.set supported): Added. >+ Add support for a "supports" key in the test JSON that prevents the test from being run if >+ it's value is lower than the frontend/backend version. >+ >+ * UserInterface/Views/AuditTreeElement.js: >+ (WI.AuditTreeElement.prototype.onattach): >+ (WI.AuditTreeElement.prototype.ondelete): >+ (WI.AuditTreeElement.prototype.populateContextMenu): >+ (WI.AuditTreeElement.prototype._updateStatus): Added. >+ (WI.AuditTreeElement.prototype._showRunningSpinner): >+ (WI.AuditTreeElement.prototype._showRunningProgress): >+ (WI.AuditTreeElement.prototype._updateTestGroupDisabled): >+ (WI.AuditTreeElement.prototype._handleTestCaseCompleted): >+ (WI.AuditTreeElement.prototype._handleTestResultCleared): >+ (WI.AuditTreeElement.prototype._handleTestGroupCompleted): >+ (WI.AuditTreeElement.prototype._handleManagerEditingChanged): >+ (WI.AuditTreeElement.prototype.canSelectOnMouseDown): Deleted. >+ (WI.AuditTreeElement.prototype._updateLevel): Deleted. >+ * UserInterface/Views/AuditTreeElement.css: >+ (.tree-outline .item.audit:matches(.test-case, .test-group):not(.unsupported, .manager-active) > .status:hover > img): Added. >+ (.tree-outline .item.audit > .status:not(:hover) > img.show-on-hover, .tree-outline .item.audit.test-group.expanded:not(.unsupported, .editing-audits) > .status:not(:hover)): Added. >+ (.tree-outline .item.audit.manager-active > .status > img.show-on-hover, .tree-outline .item.audit.test-group.expanded:not(.editing-audits) > .status:hover > :not(img), .tree-outline .item.audit.test-group-result.expanded > .status, .tree-outline .item.audit.unsupported + .children .item.audit.unsupported > .status > img): Added. >+ (.tree-outline .item.audit.unsupported:not(.selected) > :matches(.icon, .titles)): Added. >+ (.tree-outline .item.audit.unsupported > .status > img): Added. >+ (.tree-outline .item.audit:matches(.test-case, .test-group):not(.manager-active) > .status:hover > img): Deleted. >+ (.tree-outline .item.audit > .status:not(:hover) > img.show-on-hover, .tree-outline .item.audit.test-group.expanded:not(.editing-audits) > .status:not(:hover)): Deleted. >+ (.tree-outline .item.audit.manager-active > .status > img.show-on-hover, .tree-outline .item.audit.test-group.expanded:not(.editing-audits) > .status:hover > :not(img), .tree-outline .item.audit.test-group-result.expanded > .status): Deleted. >+ Hide unsupported tests unless in edit mode, where they are greyed out and cannot be enabled. >+ Drive-by: only allow tests to be deleted when in edit mode. >+ >+ * UserInterface/Views/AuditNavigationSidebarPanel.js: >+ (WI.AuditNavigationSidebarPanel.prototype._treeSelectionDidChange): >+ >+ * Localizations/en.lproj/localizedStrings.js: >+ > 2019-01-22 Devin Rousso <drousso@apple.com> > > Web Inspector: expose Audit and Recording versions to the frontend >diff --git a/Source/WebInspectorUI/Localizations/en.lproj/localizedStrings.js b/Source/WebInspectorUI/Localizations/en.lproj/localizedStrings.js >index a6ac3b2ca2d6546e686146245cb351a03b66c5ed..93f02687e3f7f71e9364d8d8eeabaa60b53f67f0 100644 >--- a/Source/WebInspectorUI/Localizations/en.lproj/localizedStrings.js >+++ b/Source/WebInspectorUI/Localizations/en.lproj/localizedStrings.js >@@ -950,6 +950,7 @@ localizedStrings["These are all of the different types of data that can be retur > localizedStrings["These tests serve as a demonstration of the functionality and structure of audits."] = "These tests serve as a demonstration of the functionality and structure of audits."; > localizedStrings["This action causes no visual change"] = "This action causes no visual change"; > localizedStrings["This action moves the path outside the visible area"] = "This action moves the path outside the visible area"; >+localizedStrings["This audit is not supported"] = "This audit is not supported"; > localizedStrings["This is an example of how errors are shown. The error was thrown manually, but execution errors will appear in the same way."] = "This is an example of how errors are shown. The error was thrown manually, but execution errors will appear in the same way."; > localizedStrings["This is an example of how result DOM nodes are shown. It will pass with all elements with an id attribute."] = "This is an example of how result DOM nodes are shown. It will pass with all elements with an id attribute."; > localizedStrings["This is an example of how result DOM nodes are shown. It will pass with the <body> element."] = "This is an example of how result DOM nodes are shown. It will pass with the <body> element."; >diff --git a/Source/WebInspectorUI/UserInterface/Models/AuditTestBase.js b/Source/WebInspectorUI/UserInterface/Models/AuditTestBase.js >index d41dafb36bce5e87f53d34881e08f6ec2a60fa3c..dec3c3273947c074b011dfcdff9dff99e86f5b94 100644 >--- a/Source/WebInspectorUI/UserInterface/Models/AuditTestBase.js >+++ b/Source/WebInspectorUI/UserInterface/Models/AuditTestBase.js >@@ -25,10 +25,11 @@ > > WI.AuditTestBase = class AuditTestBase extends WI.Object > { >- constructor(name, {description, disabled} = {}) >+ constructor(name, {description, supports, disabled} = {}) > { > console.assert(typeof name === "string"); > console.assert(!description || typeof description === "string"); >+ console.assert(supports === undefined || typeof supports === "number"); > console.assert(disabled === undefined || typeof disabled === "boolean"); > > super(); >@@ -38,6 +39,18 @@ WI.AuditTestBase = class AuditTestBase extends WI.Object > > this._name = name; > this._description = description || null; >+ this._supports = supports; >+ >+ this._supported = true; >+ if (typeof this._supports === "number") { >+ if (this._supports > WI.AuditTestBase.Version) >+ this._supported = false; >+ else if (InspectorBackend.domains.Audit && this._supports > InspectorBackend.domains.Audit.VERSION) >+ this._supported = false; >+ } >+ >+ if (!this.supported) >+ disabled = true; > > this._runningState = disabled ? WI.AuditManager.RunningState.Disabled : WI.AuditManager.RunningState.Inactive; > this._result = null; >@@ -50,6 +63,18 @@ WI.AuditTestBase = class AuditTestBase extends WI.Object > get runningState() { return this._runningState; } > get result() { return this._result; } > >+ get supported() >+ { >+ return this._supported; >+ } >+ >+ set supported(supported) >+ { >+ this._supported = supported; >+ if (!this._supported) >+ this.disabled = true; >+ } >+ > get disabled() > { > return this._runningState === WI.AuditManager.RunningState.Disabled; >@@ -61,6 +86,9 @@ WI.AuditTestBase = class AuditTestBase extends WI.Object > if (this._runningState !== WI.AuditManager.RunningState.Disabled && this._runningState !== WI.AuditManager.RunningState.Inactive) > return; > >+ if (!this.supported) >+ disabled = true; >+ > let runningState = disabled ? WI.AuditManager.RunningState.Disabled : WI.AuditManager.RunningState.Inactive; > if (runningState === this._runningState) > return; >@@ -77,6 +105,8 @@ WI.AuditTestBase = class AuditTestBase extends WI.Object > if (this.disabled) > return; > >+ console.assert(this.supported); >+ > console.assert(WI.auditManager.runningState === WI.AuditManager.RunningState.Active); > > console.assert(this._runningState === WI.AuditManager.RunningState.Inactive); >@@ -99,6 +129,8 @@ WI.AuditTestBase = class AuditTestBase extends WI.Object > if (this.disabled) > return; > >+ console.assert(this.supported); >+ > console.assert(WI.auditManager.runningState === WI.AuditManager.RunningState.Stopping); > > if (this._runningState !== WI.AuditManager.RunningState.Active) >@@ -134,6 +166,8 @@ WI.AuditTestBase = class AuditTestBase extends WI.Object > }; > if (this._description) > json.description = this._description; >+ if (typeof this._supports === "number") >+ json.supports = this._supports; > if (key === WI.ObjectStore.toJSONSymbol) > json.disabled = this.disabled; > return json; >@@ -147,6 +181,9 @@ WI.AuditTestBase = class AuditTestBase extends WI.Object > } > }; > >+// Keep this in sync with Inspector::Protocol::Audit::VERSION. >+WI.AuditTestBase.Version = 1; >+ > WI.AuditTestBase.Event = { > Completed: "audit-test-base-completed", > DisabledChanged: "audit-test-base-disabled-changed", >diff --git a/Source/WebInspectorUI/UserInterface/Models/AuditTestCase.js b/Source/WebInspectorUI/UserInterface/Models/AuditTestCase.js >index e670590ac68fb3f28e91fe94f4e4d202e171658c..6c367650c4d17d298b3b4ca03e60f3b0e1339fba 100644 >--- a/Source/WebInspectorUI/UserInterface/Models/AuditTestCase.js >+++ b/Source/WebInspectorUI/UserInterface/Models/AuditTestCase.js >@@ -41,7 +41,7 @@ WI.AuditTestCase = class AuditTestCase extends WI.AuditTestBase > if (typeof payload !== "object" || payload === null) > return null; > >- let {type, name, test, description, disabled} = payload; >+ let {type, name, test, description, supports, disabled} = payload; > > if (type !== WI.AuditTestCase.TypeIdentifier) > return null; >@@ -55,6 +55,8 @@ WI.AuditTestCase = class AuditTestCase extends WI.AuditTestBase > let options = {}; > if (typeof description === "string") > options.description = description; >+ if (typeof supports === "number") >+ options.supports = supports; > if (typeof disabled === "boolean") > options.disabled = disabled; > >@@ -279,7 +281,4 @@ WI.AuditTestCase = class AuditTestCase extends WI.AuditTestBase > } > }; > >-// Keep this in sync with Inspector::Protocol::Audit::VERSION. >-WI.AuditTestCase.Version = 1; >- > WI.AuditTestCase.TypeIdentifier = "test-case"; >diff --git a/Source/WebInspectorUI/UserInterface/Models/AuditTestGroup.js b/Source/WebInspectorUI/UserInterface/Models/AuditTestGroup.js >index 2a1631323a271ac3b3429e5a04e97bd7fbb9c02a..cda7d4e71f45239bd190748881a5c51dc75bf3c5 100644 >--- a/Source/WebInspectorUI/UserInterface/Models/AuditTestGroup.js >+++ b/Source/WebInspectorUI/UserInterface/Models/AuditTestGroup.js >@@ -38,14 +38,25 @@ WI.AuditTestGroup = class AuditTestGroup extends WI.AuditTestBase > this._tests = tests; > this._preventDisabledPropagation = false; > >- if (disabled) >- this.disabled = disabled; >+ if (disabled || !this.supported) >+ this.disabled = true; >+ >+ let hasSupportedTest = false; > > for (let test of this._tests) { >+ if (!this.supported) >+ test.supported = false; >+ else if (test.supported) >+ hasSupportedTest = true; >+ > test.addEventListener(WI.AuditTestBase.Event.Completed, this._handleTestCompleted, this); > test.addEventListener(WI.AuditTestBase.Event.DisabledChanged, this._handleTestDisabledChanged, this); > test.addEventListener(WI.AuditTestBase.Event.Progress, this._handleTestProgress, this); >+ > } >+ >+ if (!hasSupportedTest) >+ this.supported = false; > } > > // Static >@@ -55,7 +66,7 @@ WI.AuditTestGroup = class AuditTestGroup extends WI.AuditTestBase > if (typeof payload !== "object" || payload === null) > return null; > >- let {type, name, tests, description, disabled} = payload; >+ let {type, name, tests, description, supports, disabled} = payload; > > if (type !== WI.AuditTestGroup.TypeIdentifier) > return null; >@@ -84,6 +95,8 @@ WI.AuditTestGroup = class AuditTestGroup extends WI.AuditTestBase > let options = {}; > if (typeof description === "string") > options.description = description; >+ if (typeof supports === "number") >+ options.supports = supports; > if (typeof disabled === "boolean") > options.disabled = disabled; > >@@ -94,6 +107,19 @@ WI.AuditTestGroup = class AuditTestGroup extends WI.AuditTestBase > > get tests() { return this._tests; } > >+ get supported() >+ { >+ return super.supported; >+ } >+ >+ set supported(supported) >+ { >+ for (let test of this._tests) >+ test.supported = supported; >+ >+ super.supported = supported; >+ } >+ > get disabled() > { > return super.disabled; >diff --git a/Source/WebInspectorUI/UserInterface/Views/AuditNavigationSidebarPanel.js b/Source/WebInspectorUI/UserInterface/Views/AuditNavigationSidebarPanel.js >index 9c8fa8361169e12f270d3967c2f04061c39e19d7..1c17635cf484e2b683ad4e387eaae800fb127f6c 100644 >--- a/Source/WebInspectorUI/UserInterface/Views/AuditNavigationSidebarPanel.js >+++ b/Source/WebInspectorUI/UserInterface/Views/AuditNavigationSidebarPanel.js >@@ -294,7 +294,6 @@ WI.AuditNavigationSidebarPanel = class AuditNavigationSidebarPanel extends WI.Na > return; > } > >- console.assert(!WI.auditManager.editing); > if (WI.auditManager.editing) > return; > >diff --git a/Source/WebInspectorUI/UserInterface/Views/AuditTreeElement.css b/Source/WebInspectorUI/UserInterface/Views/AuditTreeElement.css >index 6922f6a69462c89b892956c007e2e83e0a37c0e9..1b909ff4e8ba922f42d0d789c4504ca6e52e3a98 100644 >--- a/Source/WebInspectorUI/UserInterface/Views/AuditTreeElement.css >+++ b/Source/WebInspectorUI/UserInterface/Views/AuditTreeElement.css >@@ -35,7 +35,7 @@ > height: 100%; > } > >-.tree-outline .item.audit:matches(.test-case, .test-group):not(.manager-active) > .status:hover > img { >+.tree-outline .item.audit:matches(.test-case, .test-group):not(.unsupported, .manager-active) > .status:hover > img { > width: 75%; > height: 75%; > margin: 0 auto; >@@ -43,16 +43,28 @@ > } > > .tree-outline .item.audit > .status:not(:hover) > img.show-on-hover, >-.tree-outline .item.audit.test-group.expanded:not(.editing-audits) > .status:not(:hover) { >+.tree-outline .item.audit.test-group.expanded:not(.unsupported, .editing-audits) > .status:not(:hover) { > opacity: 0; > } > > .tree-outline .item.audit.manager-active > .status > img.show-on-hover, > .tree-outline .item.audit.test-group.expanded:not(.editing-audits) > .status:hover > :not(img), >-.tree-outline .item.audit.test-group-result.expanded > .status { >+.tree-outline .item.audit.test-group-result.expanded > .status, >+.tree-outline .item.audit.unsupported + .children .item.audit.unsupported > .status > img { > display: none; > } > >+.tree-outline .item.audit.unsupported:not(.selected) > :matches(.icon, .titles) { >+ opacity: 0.5; >+} >+ >+.tree-outline .item.audit.unsupported > .status > img { >+ width: 75%; >+ height: 75%; >+ margin: 0 auto; >+ content: url(../Images/Warning.svg); >+} >+ > .tree-outline .item.audit > .status > img.pass { > content: url(../Images/AuditTestPass.svg); > } >diff --git a/Source/WebInspectorUI/UserInterface/Views/AuditTreeElement.js b/Source/WebInspectorUI/UserInterface/Views/AuditTreeElement.js >index 62f92b40d0158bcb9ab5225355760d1c3dd5cb50..1b9228a356e8194634510c0fbea46bdfca353aa3 100644 >--- a/Source/WebInspectorUI/UserInterface/Views/AuditTreeElement.js >+++ b/Source/WebInspectorUI/UserInterface/Views/AuditTreeElement.js >@@ -74,10 +74,10 @@ WI.AuditTreeElement = class AuditTreeElement extends WI.GeneralTreeElement > WI.auditManager.addEventListener(WI.AuditManager.Event.TestCompleted, this._handleAuditManagerTestCompleted, this); > } > >- if (this._expandedSetting && this._expandedSetting.value) >+ if (this.representedObject.supported && this._expandedSetting && this._expandedSetting.value) > this.expand(); > >- this._updateLevel(); >+ this._updateStatus(); > } > > ondetach() >@@ -132,6 +132,9 @@ WI.AuditTreeElement = class AuditTreeElement extends WI.GeneralTreeElement > if (!(this.parent instanceof WI.TreeOutline)) > return false; > >+ if (!WI.auditManager.editing) >+ return false; >+ > WI.auditManager.removeTest(this.representedObject); > > return true; >@@ -147,7 +150,7 @@ WI.AuditTreeElement = class AuditTreeElement extends WI.GeneralTreeElement > > contextMenu.appendSeparator(); > >- if (this.representedObject instanceof WI.AuditTestCase || this.representedObject instanceof WI.AuditTestGroup) { >+ if (this.representedObject instanceof WI.AuditTestBase) { > contextMenu.appendItem(WI.UIString("Export Test"), (event) => { > WI.auditManager.export(this.representedObject); > }); >@@ -164,11 +167,6 @@ WI.AuditTreeElement = class AuditTreeElement extends WI.GeneralTreeElement > super.populateContextMenu(contextMenu, event); > } > >- canSelectOnMouseDown(event) >- { >- return !WI.auditManager.editing; >- } >- > // Private > > _start() >@@ -179,8 +177,27 @@ WI.AuditTreeElement = class AuditTreeElement extends WI.GeneralTreeElement > WI.auditManager.start([this.representedObject]); > } > >- _updateLevel() >+ _updateStatus() > { >+ if (this.representedObject instanceof WI.AuditTestBase && !this.representedObject.supported) { >+ this.status = document.createElement("img"); >+ this.status.title = WI.UIString("This audit is not supported"); >+ this.addClassName("unsupported"); >+ return; >+ } >+ >+ if (WI.auditManager.editing) { >+ this.status = document.createElement("input"); >+ this.status.type = "checkbox"; >+ this._updateTestGroupDisabled(); >+ this.status.addEventListener("change", () => { >+ this.representedObject.disabled = !this.representedObject.disabled; >+ }); >+ >+ this.addClassName("editing-audits"); >+ return; >+ } >+ > let className = ""; > > let result = this.representedObject.result; >@@ -199,7 +216,7 @@ WI.AuditTreeElement = class AuditTreeElement extends WI.GeneralTreeElement > > this.status = document.createElement("img"); > >- if (this.representedObject instanceof WI.AuditTestCase || this.representedObject instanceof WI.AuditTestGroup) { >+ if (this.representedObject instanceof WI.AuditTestBase) { > this.status.title = WI.UIString("Start"); > this.status.addEventListener("click", this._handleStatusClick.bind(this)); > >@@ -208,12 +225,14 @@ WI.AuditTreeElement = class AuditTreeElement extends WI.GeneralTreeElement > } > > this.status.classList.add(className); >+ >+ this.removeClassName("editing-audits"); > } > > _showRunningSpinner() > { > if (this.representedObject.runningState === WI.AuditManager.RunningState.Inactive) { >- this._updateLevel(); >+ this._updateStatus(); > return; > } > >@@ -227,7 +246,7 @@ WI.AuditTreeElement = class AuditTreeElement extends WI.GeneralTreeElement > _showRunningProgress(progress) > { > if (!this.representedObject.runningState === WI.AuditManager.RunningState.Inactive) { >- this._updateLevel(); >+ this._updateStatus(); > return; > } > >@@ -243,15 +262,17 @@ WI.AuditTreeElement = class AuditTreeElement extends WI.GeneralTreeElement > { > this.status.checked = !this.representedObject.disabled; > >- if (this.representedObject instanceof WI.AuditTestGroup) >- this.status.indeterminate = this.representedObject.tests.some((test) => test.disabled !== this.representedObject.tests[0].disabled); >+ if (this.representedObject instanceof WI.AuditTestGroup) { >+ let firstSupportedTest = this.representedObject.tests.find((test) => test.supported); >+ this.status.indeterminate = this.representedObject.tests.some((test) => test.supported && test.disabled !== firstSupportedTest.disabled); >+ } > } > > _handleTestCaseCompleted(event) > { > this.representedObject.removeEventListener(WI.AuditTestBase.Event.Completed, this._handleTestCaseCompleted, this); > >- this._updateLevel(); >+ this._updateStatus(); > } > > _handleTestDisabledChanged(event) >@@ -262,7 +283,7 @@ WI.AuditTreeElement = class AuditTreeElement extends WI.GeneralTreeElement > > _handleTestResultCleared(event) > { >- this._updateLevel(); >+ this._updateStatus(); > } > > _handleTestCaseScheduled(event) >@@ -277,7 +298,7 @@ WI.AuditTreeElement = class AuditTreeElement extends WI.GeneralTreeElement > this.representedObject.removeEventListener(WI.AuditTestBase.Event.Completed, this._handleTestGroupCompleted, this); > this.representedObject.removeEventListener(WI.AuditTestBase.Event.Progress, this._handleTestGroupProgress, this); > >- this._updateLevel(); >+ this._updateStatus(); > } > > _handleTestGroupProgress(event) >@@ -296,20 +317,7 @@ WI.AuditTreeElement = class AuditTreeElement extends WI.GeneralTreeElement > > _handleManagerEditingChanged(event) > { >- if (WI.auditManager.editing) { >- this.status = document.createElement("input"); >- this.status.type = "checkbox"; >- this._updateTestGroupDisabled(); >- this.status.addEventListener("change", () => { >- this.representedObject.disabled = !this.representedObject.disabled; >- }); >- >- this.addClassName("editing-audits"); >- } else { >- this.removeClassName("editing-audits"); >- >- this._updateLevel(); >- } >+ this._updateStatus(); > } > > _handleAuditManagerTestScheduled(event) >diff --git a/LayoutTests/ChangeLog b/LayoutTests/ChangeLog >index 501477a57713bdebce2523500a4c519526a9d929..3dc141fdb7930949b73b3970d0357a051e575465 100644 >--- a/LayoutTests/ChangeLog >+++ b/LayoutTests/ChangeLog >@@ -1,3 +1,13 @@ >+2019-01-23 Devin Rousso <drousso@apple.com> >+ >+ Web Inspector: Audit: add supports key to test/group for compatibility >+ https://bugs.webkit.org/show_bug.cgi?id=193686 >+ <rdar://problem/47460872> >+ >+ Reviewed by NOBODY (OOPS!). >+ >+ * inspector/audit/version.html: >+ > 2019-01-22 Devin Rousso <drousso@apple.com> > > Web Inspector: expose Audit and Recording versions to the frontend >diff --git a/LayoutTests/inspector/audit/version.html b/LayoutTests/inspector/audit/version.html >index e3cd7f276e602f14df316e30c7dfe18018c61073..1ba10538d8d40ecbade62fad73ffcc0a567d98e0 100644 >--- a/LayoutTests/inspector/audit/version.html >+++ b/LayoutTests/inspector/audit/version.html >@@ -11,7 +11,7 @@ function test() > name: "Audit.VERSION.MatchesFrontend", > description: "Check that the audit system version is in sync with the frontend version.", > test() { >- InspectorTest.expectEqual(AuditAgent.VERSION, WI.AuditTestCase.Version, "The audit system version should match the frontend version."); >+ InspectorTest.expectEqual(AuditAgent.VERSION, WI.AuditTestBase.Version, "The audit system version should match the frontend version."); > return true; > }, > });
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Formatted Diff
|
Diff
Attachments on
bug 193686
:
359932
|
359933
| 359965