Closed
Bug 1273203
Opened 9 years ago
Closed 9 years ago
Remove the getStructuredData API from BrowserElement
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla49
Tracking | Status | |
---|---|---|
firefox49 | --- | fixed |
People
(Reporter: bzbarsky, Assigned: bzbarsky)
References
Details
(Whiteboard: btpp-active)
Attachments
(1 file)
21.25 KB,
patch
|
kanru
:
review+
|
Details | Diff | Splinter Review |
It's not used, and it's using the microdata API, which we want to remove.
Assignee | ||
Comment 1•9 years ago
|
||
Assignee | ||
Comment 2•9 years ago
|
||
Attachment #8753031 -
Flags: review?(kchen)
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → bzbarsky
Status: NEW → ASSIGNED
Comment 3•9 years ago
|
||
Comment on attachment 8753031 [details] [diff] [review]
Remove the getStructuredData API from BrowserElement
Review of attachment 8753031 [details] [diff] [review]:
-----------------------------------------------------------------
> Cu.import("resource://gre/modules/Task.jsm");
> Cu.import("resource://gre/modules/Microformats.js");
Can be removed too.
Basically I think you can revert the changes in bug 1195801.
::: dom/browser-element/BrowserElementChildPreload.js
@@ -1696,1 @@
> _processMicroformatValue(field, value) {
_processMicroformatValue() and _processMicroformatItem() can be removed too.
::: dom/browser-element/BrowserElementParent.js
@@ -1207,5 @@
> });
> return req;
> },
>
> - getStructuredData: defineDOMRequestMethod('get-structured-data'),
Also need to remove the "got-structured-data": this._gotDOMRequestResult entry in mmCalls.
Attachment #8753031 -
Flags: review?(kchen) → review+
Assignee | ||
Comment 4•9 years ago
|
||
> _processMicroformatValue() and _processMicroformatItem() can be removed too.
Ah, good catch. Removed those and the other bits.
Comment 7•9 years ago
|
||
Backed out for breaking many mochitests related to IPC.
Backout: https://hg.mozilla.org/integration/mozilla-inbound/rev/d236c9957bf45b47f9d7bfa1724caf0d328396cc
Push with failures: https://treeherder.mozilla.org/#/jobs?repo=mozilla-inbound&revision=57615f0d66d842f9d8ea910dca40163273378699
Flags: needinfo?(bzbarsky)
Assignee | ||
Comment 8•9 years ago
|
||
Hmm. The try run at https://treeherder.mozilla.org/#/jobs?repo=try&revision=c709f2ecdcfc didn't have those issues, so I assume they come from addressing the review comments in comment 3. :(
And indeed, those failing runs have stuff like:
07:56:03 INFO - JavaScript error: chrome://global/content/BrowserElementChildPreload.js, line 1450: ReferenceError: Task is not defined
I thought I'd checked for uses of Task in there, but clearly I failed somehow. :( It needs to stay.
Updated•9 years ago
|
Whiteboard: btpp-active
Comment 10•9 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla49
Assignee | ||
Updated•9 years ago
|
Flags: needinfo?(bzbarsky)
Comment 11•8 years ago
|
||
Should the test have been removed as well?
https://hg.mozilla.org/mozilla-central/filelog/f8e3b81a79f4/dom/browser-element/mochitest/file_microformats.html
Assignee | ||
Comment 12•8 years ago
|
||
Er, the test support files? Yes they should have.
Comment 13•8 years ago
|
||
Pushed by bzbarsky@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/16150ec04e4d
followup. Remove now-unused test support files.
Comment 14•8 years ago
|
||
bugherder |
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•