Closed Bug 908489 Opened 6 years ago Closed 6 years ago

js/ipc/JavaScriptParent.h:58:65: error: 'js::ESClassValue' has not been declared

Categories

(Core :: JavaScript Engine, defect)

x86_64
FreeBSD
defect
Not set

Tracking

()

RESOLVED FIXED
mozilla26

People

(Reporter: jbeich, Assigned: njn)

References

Details

In file included from js/ipc/JavaScriptParent.cpp:8:
js/ipc/JavaScriptParent.h:58:65: error:
      no type named 'ESClassValue' in namespace 'js'
    bool objectClassIs(JSContext *cx, JS::HandleObject obj, js::ESClassValu...
                                                            ~~~~^
js/ipc/JavaScriptParent.cpp:109:10: error:
      cannot initialize object parameter of type 'mozilla::jsipc::PJavaScriptParent'
      with an expression of type 'mozilla::jsipc::JavaScriptParent'
    if (!CallPreventExtensions(objId, &status))
         ^~~~~~~~~~~~~~~~~~~~~
js/ipc/JavaScriptParent.cpp:129:10: error:
      cannot initialize object parameter of type 'mozilla::jsipc::JavaScriptShared'
      with an expression of type 'mozilla::jsipc::JavaScriptParent'
    if (!convertIdToGeckoString(cx, id, &idstr))
         ^~~~~~~~~~~~~~~~~~~~~~
js/ipc/JavaScriptParent.cpp:134:10: error:
      cannot initialize object parameter of type 'mozilla::jsipc::PJavaScriptParent'
      with an expression of type 'mozilla::jsipc::JavaScriptParent'
    if (!CallGetPropertyDescriptor(objId, idstr, flags, &status, &result))
         ^~~~~~~~~~~~~~~~~~~~~~~~~
js/ipc/JavaScriptParent.cpp:139:12: error:
      cannot initialize object parameter of type 'mozilla::jsipc::JavaScriptShared'
      with an expression of type 'mozilla::jsipc::JavaScriptParent'
    return toDescriptor(cx, result, desc);
           ^~~~~~~~~~~~
js/ipc/JavaScriptParent.cpp:157:10: error:
      cannot initialize object parameter of type 'mozilla::jsipc::JavaScriptShared'
      with an expression of type 'mozilla::jsipc::JavaScriptParent'
    if (!convertIdToGeckoString(cx, id, &idstr))
         ^~~~~~~~~~~~~~~~~~~~~~
js/ipc/JavaScriptParent.cpp:162:10: error:
      cannot initialize object parameter of type 'mozilla::jsipc::PJavaScriptParent'
      with an expression of type 'mozilla::jsipc::JavaScriptParent'
    if (!CallGetOwnPropertyDescriptor(objId, idstr, flags, &status, &result))
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
js/ipc/JavaScriptParent.cpp:167:12: error:
      cannot initialize object parameter of type 'mozilla::jsipc::JavaScriptShared'
      with an expression of type 'mozilla::jsipc::JavaScriptParent'
    return toDescriptor(cx, result, desc);
           ^~~~~~~~~~~~
js/ipc/JavaScriptParent.cpp:184:10: error:
      cannot initialize object parameter of type 'mozilla::jsipc::JavaScriptShared'
      with an expression of type 'mozilla::jsipc::JavaScriptParent'
    if (!convertIdToGeckoString(cx, id, &idstr))
         ^~~~~~~~~~~~~~~~~~~~~~
js/ipc/JavaScriptParent.cpp:188:10: error:
      cannot initialize object parameter of type 'mozilla::jsipc::JavaScriptShared'
      with an expression of type 'mozilla::jsipc::JavaScriptParent'
    if (!fromDescriptor(cx, desc, &descriptor))
         ^~~~~~~~~~~~~~
js/ipc/JavaScriptParent.cpp:192:10: error:
      cannot initialize object parameter of type 'mozilla::jsipc::PJavaScriptParent'
      with an expression of type 'mozilla::jsipc::JavaScriptParent'
    if (!CallDefineProperty(objId, idstr, descriptor, &status))
         ^~~~~~~~~~~~~~~~~~
js/ipc/JavaScriptParent.cpp:222:10: error:
      cannot initialize object parameter of type 'mozilla::jsipc::JavaScriptShared'
      with an expression of type 'mozilla::jsipc::JavaScriptParent'
    if (!convertIdToGeckoString(cx, id, &idstr))
         ^~~~~~~~~~~~~~~~~~~~~~
js/ipc/JavaScriptParent.cpp:226:10: error:
      cannot initialize object parameter of type 'mozilla::jsipc::PJavaScriptParent'
      with an expression of type 'mozilla::jsipc::JavaScriptParent'
    if (!CallDelete(objId, idstr, &status, bp))
         ^~~~~~~~~~
js/ipc/JavaScriptParent.cpp:256:10: error:
      cannot initialize object parameter of type 'mozilla::jsipc::JavaScriptShared'
      with an expression of type 'mozilla::jsipc::JavaScriptParent'
    if (!convertIdToGeckoString(cx, id, &idstr))
         ^~~~~~~~~~~~~~~~~~~~~~
js/ipc/JavaScriptParent.cpp:260:10: error:
      cannot initialize object parameter of type 'mozilla::jsipc::PJavaScriptParent'
      with an expression of type 'mozilla::jsipc::JavaScriptParent'
    if (!CallHas(objId, idstr, &status, bp))
         ^~~~~~~
js/ipc/JavaScriptParent.cpp:278:10: error:
      cannot initialize object parameter of type 'mozilla::jsipc::JavaScriptShared'
      with an expression of type 'mozilla::jsipc::JavaScriptParent'
    if (!convertIdToGeckoString(cx, id, &idstr))
         ^~~~~~~~~~~~~~~~~~~~~~
js/ipc/JavaScriptParent.cpp:282:10: error:
      cannot initialize object parameter of type 'mozilla::jsipc::PJavaScriptParent'
      with an expression of type 'mozilla::jsipc::JavaScriptParent'
    if (!CallHasOwn(objId, idstr, &status, bp))
         ^~~~~~~~~~
js/ipc/JavaScriptParent.cpp:303:10: error:
      cannot initialize object parameter of type 'mozilla::jsipc::JavaScriptShared'
      with an expression of type 'mozilla::jsipc::JavaScriptParent'
    if (!convertIdToGeckoString(cx, id, &idstr))
         ^~~~~~~~~~~~~~~~~~~~~~
js/ipc/JavaScriptParent.cpp:308:10: error:
      cannot initialize object parameter of type 'mozilla::jsipc::PJavaScriptParent'
      with an expression of type 'mozilla::jsipc::JavaScriptParent'
    if (!CallGet(objId, receiverId, idstr, &status, &val))
         ^~~~~~~
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
gone after Part 3 of bug 905017 landed
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Assignee: general → n.nethercote
Target Milestone: --- → mozilla26
You need to log in before you can comment on or make changes to this bug.