|
@@ -33,9 +33,6 @@ exports.module = function(phantomas) {
|
|
|
phantomas.enterContext({
|
|
|
type: 'getElementById',
|
|
|
callDetails: {
|
|
|
- context: {
|
|
|
- domElement: '#document'
|
|
|
- },
|
|
|
arguments: ['#' + id]
|
|
|
},
|
|
|
backtrace: phantomas.getBacktrace()
|
|
@@ -65,7 +62,8 @@ exports.module = function(phantomas) {
|
|
|
type: 'getElementsByClassName',
|
|
|
callDetails: {
|
|
|
context: {
|
|
|
- domElement: context
|
|
|
+ length: 1,
|
|
|
+ elements: [context]
|
|
|
},
|
|
|
arguments: ['.' + className]
|
|
|
},
|
|
@@ -103,7 +101,8 @@ exports.module = function(phantomas) {
|
|
|
type: 'getElementsByTagName',
|
|
|
callDetails: {
|
|
|
context: {
|
|
|
- domElement: context
|
|
|
+ length: 1,
|
|
|
+ elements: [context]
|
|
|
},
|
|
|
arguments: [tagName]
|
|
|
},
|
|
@@ -145,7 +144,8 @@ exports.module = function(phantomas) {
|
|
|
type: 'querySelector',
|
|
|
callDetails: {
|
|
|
context: {
|
|
|
- domElement: context
|
|
|
+ length: 1,
|
|
|
+ elements: [context]
|
|
|
},
|
|
|
arguments: [selector]
|
|
|
},
|
|
@@ -177,7 +177,8 @@ exports.module = function(phantomas) {
|
|
|
type: 'querySelectorAll',
|
|
|
callDetails: {
|
|
|
context: {
|
|
|
- domElement: context
|
|
|
+ length: 1,
|
|
|
+ elements: [context]
|
|
|
},
|
|
|
arguments: [selector]
|
|
|
},
|
|
@@ -237,7 +238,8 @@ exports.module = function(phantomas) {
|
|
|
type: 'appendChild',
|
|
|
callDetails: {
|
|
|
context: {
|
|
|
- domElement: context
|
|
|
+ length: 1,
|
|
|
+ elements: [context]
|
|
|
},
|
|
|
arguments: [appended]
|
|
|
},
|
|
@@ -256,7 +258,8 @@ exports.module = function(phantomas) {
|
|
|
type: 'insertBefore',
|
|
|
callDetails: {
|
|
|
context: {
|
|
|
- domElement: context
|
|
|
+ length: 1,
|
|
|
+ elements: [context]
|
|
|
},
|
|
|
arguments: [appended]
|
|
|
},
|
|
@@ -277,9 +280,6 @@ exports.module = function(phantomas) {
|
|
|
phantomas.enterContext({
|
|
|
type: 'createElement',
|
|
|
callDetails: {
|
|
|
- context: {
|
|
|
- domElement: '#document'
|
|
|
- },
|
|
|
arguments: [tagName]
|
|
|
},
|
|
|
backtrace: phantomas.getBacktrace()
|
|
@@ -295,9 +295,6 @@ exports.module = function(phantomas) {
|
|
|
phantomas.enterContext({
|
|
|
type: 'createTextNode',
|
|
|
callDetails: {
|
|
|
- context: {
|
|
|
- domElement: '#document'
|
|
|
- },
|
|
|
arguments: [text]
|
|
|
},
|
|
|
backtrace: phantomas.getBacktrace()
|
|
@@ -313,9 +310,6 @@ exports.module = function(phantomas) {
|
|
|
phantomas.enterContext({
|
|
|
type: 'createDocumentFragment',
|
|
|
callDetails: {
|
|
|
- context: {
|
|
|
- domElement: '#document'
|
|
|
- },
|
|
|
arguments: []
|
|
|
},
|
|
|
backtrace: phantomas.getBacktrace()
|