Closed Bug 1072310 Opened 10 years ago Closed 10 years ago

Build more DOM code in unified mode

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla35

People

(Reporter: ehsan.akhgari, Assigned: ehsan.akhgari)

References

Details

Attachments

(1 file, 1 obsolete file)

No description provided.
Attached patch Build more DOM code in unified mode (obsolete) (deleted) — Splinter Review
Assignee: nobody → ehsan.akhgari
Blocks: unified
Attachment #8494516 - Flags: review?(amarchesini)
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 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.)
Attachment #8494516 - Attachment is obsolete: true
Attachment #8494516 - Flags: review?(amarchesini)
Attachment #8494984 - Flags: review?(amarchesini)
Attachment #8494984 - Flags: review?(amarchesini) → review+
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla35
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: