Closed
Bug 1072310
Opened 10 years ago
Closed 10 years ago
Build more DOM code in unified mode
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla35
People
(Reporter: ehsan.akhgari, Assigned: ehsan.akhgari)
References
Details
Attachments
(1 file, 1 obsolete file)
13.38 KB,
patch
|
baku
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•10 years ago
|
||
Assignee | ||
Updated•10 years ago
|
Attachment #8494516 -
Flags: review?(amarchesini)
Comment 2•10 years ago
|
||
Comment on attachment 8494516 [details] [diff] [review]
Build more DOM code in unified mode
Review of attachment 8494516 [details] [diff] [review]:
-----------------------------------------------------------------
why you use 'workers' namespace in such way?
::: dom/workers/XMLHttpRequest.cpp
@@ +1211,5 @@
> if (doClone) {
> // Anything subject to GC must be cloned.
> JSStructuredCloneCallbacks* callbacks =
> aWorkerPrivate->IsChromeWorker() ?
> + workers::ChromeWorkerStructuredCloneCallbacks(true) :
is it really needed?
Assignee | ||
Comment 3•10 years ago
|
||
(In reply to Andrea Marchesini (:baku) from comment #2)
> Comment on attachment 8494516 [details] [diff] [review]
> Build more DOM code in unified mode
>
> Review of attachment 8494516 [details] [diff] [review]:
> -----------------------------------------------------------------
>
> why you use 'workers' namespace in such way?
>
> ::: dom/workers/XMLHttpRequest.cpp
> @@ +1211,5 @@
> > if (doClone) {
> > // Anything subject to GC must be cloned.
> > JSStructuredCloneCallbacks* callbacks =
> > aWorkerPrivate->IsChromeWorker() ?
> > + workers::ChromeWorkerStructuredCloneCallbacks(true) :
>
> is it really needed?
In order to make sure the compiler picks the function ChromeWorkerStructuredCloneCallbacks here, not the constructor of the ChromeWorkerStructuredCloneCallbacks class. (The function is in namespace mozilla::dom::workers. Same thing about other similar occurrences.)
Assignee | ||
Updated•10 years ago
|
Attachment #8494516 -
Attachment is obsolete: true
Attachment #8494516 -
Flags: review?(amarchesini)
Assignee | ||
Comment 4•10 years ago
|
||
Assignee | ||
Comment 5•10 years ago
|
||
Comment on attachment 8494984 [details] [diff] [review]
Build more DOM code in unified mode; r=baku
https://tbpl.mozilla.org/?tree=Try&rev=ac80b860b890
Attachment #8494984 -
Flags: review?(amarchesini)
Updated•10 years ago
|
Attachment #8494984 -
Flags: review?(amarchesini) → review+
Comment 6•10 years ago
|
||
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla35
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
•